Re: About BSoundPlayer

Jerome Leveque <jerl1-fBIn7JHAfCbUKx/[email protected]> Fri, 26 Sep 2003 23:58:56 +0200
Newsgroups gmane.os.openbeos.mediakit
Message-ID <[email protected]>
Hi,

>> How must I fill the buffer for doing what I want?
> The data above looks ok.
> Can you post a small sample program source code that shows the problem?
>

source are here http://jerome.leveque.free.fr/SoftSynth.zip

the soft create an SynthConsumer derived from BMidiLocalConsumer (Midi2) 
connect to it with PatchBay a producer and play.

The function that fill buffer are SynthConsumer::AddNoteToBuffer

Good night

Jerome