QB64 Phoenix Edition
BAM feature in the works: two voices for SOUND - Printable Version

+- QB64 Phoenix Edition (https://staging.qb64phoenix.com)
+-- Forum: QB64 Rising (https://staging.qb64phoenix.com/forumdisplay.php?fid=1)
+--- Forum: QBJS, BAM, and Other BASICs (https://staging.qb64phoenix.com/forumdisplay.php?fid=50)
+--- Thread: BAM feature in the works: two voices for SOUND (/showthread.php?tid=1637)



BAM feature in the works: two voices for SOUND - CharlieJV - 04-24-2023

Although the WebAudio API is a tough thing to figure out, I've managed to get two voices (oscillators) working without too much clicking between sounds.

Loads to do (like figuring out how to adjust volume, and getting more voices working without buzzing sounds), but this will have to do for a near-future release of BAM.

If you have a moment to give the following a try on your device with your particular browser, please let me know how it goes:

(EDIT: ARG!  I forgot to mention:  turn down your volume!!!)



RE: BAM feature in the works: two voices for SOUND - bplus - 04-24-2023

Oh it plays some nice sounds, I was expecting dramatic dialog ;-))


RE: BAM feature in the works: two voices for SOUND - CharlieJV - 04-24-2023

(04-24-2023, 02:07 PM)bplus Wrote: Oh it plays some nice sounds, I was expecting dramatic dialog ;-))

Oh hell.  I'm showing my age.  That flew right over my head until it boomeranged me.

Delayed reaction: No, not like the voices in my head.