access to sound buffer

BlitzPlus Forums/BlitzPlus Programming/access to sound buffer

Zster(Posted 2003) [#1]
Hi All

I've requested feature but I have noticed that B+ can poke any memory address you give it. Any ideas where to find the sound buffer for a loaded sound so that you can make chages to it?

Thanks


Parlance(Posted 2003) [#2]
I'd also suggest a function to set a callback to fill the soundbuffer.


Griz(Posted 2003) [#3]
I thought blitz peeked and poked to protected memory buffers only, not real/direct addresses. Can Blitz access system memory directly? I don't think so.


Nigel Brown(Posted 2003) [#4]
What are you trying to achive, sometimes it is better to describe you task more generally. There may be an alternative?


Zster(Posted 2003) [#5]
Hi all

I need to load up a sound and manipluate it and be able to play it (ie edit a wav file). I can do it all (the editing) using banks but if I want to play it I have to save it to a file and load it using the loadsound() command. I don't like having to use the hard drive evey time I want to play a modified sound. I could also forget about real time effects.

Thanks


Nigel Brown(Posted 2003) [#6]
Not sure if BASS Audio will do what you want but may be worth a look try http://www.un4seen.com/ there is a small userlib on my website that should get you started if not there is a full implementation of BASS using a wrapper dll at http://www.loki-sd.pwp.blueyonder.co.uk/projects.htm#bass


Zster(Posted 2003) [#7]
Thanks for the links. Bass looks like what I need but it would be nice to do it in B+ natively.