Jump to content

View more

Image of the Day

Inventory ! Va falloir trouver une autre couleur pour le cadre D: #AzTroScreenshot #screenshotsaturday https://t.co/PvxhGL7cOH
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Multiple Frequencies

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
1 reply to this topic

#1 medlingn   Members   

122
Like
Likes
Like

Posted 16 May 2000 - 04:50 AM

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

#2 SonicSilcion   Members   

122
Like
Likes
Like

Posted 16 May 2000 - 05:16 AM

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.




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.