SOUND and waveforms
#4
(08-13-2022, 06:41 PM)madscijr Wrote: If out of this we can get an improved sound library with a better sound function that accepts frequency, waveform (sine, square, sawtooth, triangle, white/brown/pink noise), attack/decay/sustain/release, or duration), volume, envelope, and pan/fader parameters, which returns a unique ID where multiple sounds can be created at once, start & stop routines, and the ability to alter the parameters while it's playing, that would make audio in QB64 a lot better.

I am all for anything that keeps QB64 (PE) rocking something silly.

Instead of monkeying around with new parameters for SOUND, I've setup a "in the interim"_WAVEFORM statement, which I can later replace with a QB64PE way of doing things.

Maybe.  Javascript is no fun to play with.  But at least I've figured out just enough of the Web Audio API.

To see latest BAM waveform in action:

Sound Tester:
Chaotic Scatter (based on Vince's awesome program):
Reply


Messages In This Thread
SOUND and waveforms - by CharlieJV - 08-06-2022, 07:41 PM
RE: SOUND and waveforms - by mnrvovrfc - 08-08-2022, 12:42 AM
RE: SOUND and waveforms - by madscijr - 08-13-2022, 06:41 PM
RE: SOUND and waveforms - by CharlieJV - 08-13-2022, 06:52 PM
RE: SOUND and waveforms - by madscijr - 08-16-2022, 06:15 PM
RE: SOUND and waveforms - by mnrvovrfc - 08-14-2022, 09:47 AM
RE: SOUND and waveforms - by madscijr - 08-14-2022, 11:37 AM
RE: SOUND and waveforms - by madscijr - 08-16-2022, 06:26 PM



Users browsing this thread: 3 Guest(s)