P
pkoziejko
Hi!
I have implemented psychoacustic Johnson model for wav files, and now I
need to play data after modification.
Now I have only playing *.wav using
[DllImport("winmm.dll",
SetLastError=true,CallingConvention=CallingConvention.Winapi)]
and
PlaySound( "wav_file.wav", IntPtr.Zero,0x00020000 | 0x0001)
function.
I'm wondering if it is possible to do something like that:
public short [] Data16Mono;
void Play( Data16Mono, Data16Mono.Lenght, Flags); // ??
I could save metadata and sound data to wav file and play them using
previous function, but I want to do that like I have in c++.
Thanks!
I have implemented psychoacustic Johnson model for wav files, and now I
need to play data after modification.
Now I have only playing *.wav using
[DllImport("winmm.dll",
SetLastError=true,CallingConvention=CallingConvention.Winapi)]
and
PlaySound( "wav_file.wav", IntPtr.Zero,0x00020000 | 0x0001)
function.
I'm wondering if it is possible to do something like that:
public short [] Data16Mono;
void Play( Data16Mono, Data16Mono.Lenght, Flags); // ??
I could save metadata and sound data to wav file and play them using
previous function, but I want to do that like I have in c++.
Thanks!