Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Multiple Frequencies

This topic is 6917 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Does anybody know how to play more than one frequency at once with the PC speaker (yes, I still use that little thing-i''ve got a 486 w/ no sound card)? P.S.: Please no assembly code--just tell me how it works and I''ll figure out the coding for it

Share this post

Link to post
Share on other sites
Er, well there''s no remotely easy way of doing this. Here''s a few methods.

Alternate between the different frequencies. Easiest to do but has a strumming or wavering effect to it.

Calculate the FM synthesis of each, average them, then if it''s above a certain threshold turn the speaker on, below, turn it off. I''ve never heard this one implemented, so I have no idea of the quality.

Mixed harmonics. Beats me what it is, just heard of it. . . once. . . don''t know where. . . don''t even know if it actually exists.

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!