i want to create a sample from an array of values, but i dont know how it exactly work. I try to make something, but it doesn’t work, i dont hear anything.
Here is my code:
procedure TForm1.Button1Click(Sender: TObject);
j : integer ;
sound1 := FSOUND_Sample_Alloc(FSOUND_FREE,44100,FSOUND_8BITS or FSOUND_MONO,44100,255,128,1);
for J := 1 to 44100 do
FSOUND_Sample_Upload(sound1,bufferptr,FSOUND_8BITS or FSOUND_MONO);
Any suggestion’s making me very happy!
- kluner asked 13 years ago
Ok, i finished it, have the solution, rewrite the whole shit in c++ and now its working, the wav writer is also great. FMOD is extremly good, i love to work with it. My next project will be a sampler under delphi.
Thx for this SoundSystem again!
- kluner answered 13 years ago
Please login first to submit.