Streaming sound with bass.dll?

BlitzMax Forums/BlitzMax Programming/Streaming sound with bass.dll?

You can only modify the playback attributes in realtime with the plugins. A sound lib is not a synthi and buffers are protected inside of bass (or fmod). That means that you can only create a soundbuffer like the code above and manipulate the channel attributes during the playback.

What you need is another way to deal with buffers and pointer routines like VSTi can do it. So, not a "soundlib" but a "waveform generator". Search this site for more informations: http://www.musicdsp.org/

In this case the "soundlib" is only used to "play" your sound (device).

cu