Hi all, I have start writing the softsynth for MidiKit.
The BeBook say : you need to play sounds that are being generated on-the-fly use BSoundPlayer.
when my BufferProc are called (for generating the sound) my media_raw_audio_format variable are like this : frame_rate = 44100, channel_count = 2, format = B_AUDIO_SHORT, byte_order = 1 (big or little endian ? not the problem), buffer_size = 0x1000.
At the end of the function, the buffer are like this : E3F3 0000 DCB5 0000 D69B 0000 D0BE 0000 CA39 0000 C517 0000 C056 0000 BB09 0000 B730 0000 B3CE 0000 AFED 0000 AC85 0000 AA94 0000 A816 0000 A70C 0000 A663 0000 A51E 0000 A535 0000 A5AA 0000 A563 0000 A665 0000 A7A9 0000 A824 0000 AACE 0000 AB9F 0000 AD9D 0000 AFAE 0000 B1D7 0000 B312 0000 B660 0000 B8B2 0000 BA05 0000 BD62 0000 BFBA 0000 C10A 0000 C45D 0000 ...................
A+ Jerome