02-19-2023, 06:34 PM
Good. I kicked it now. Phoenix seems to have a much better level of oversampling. So I want to confirm only one thing, but it is essential. Are the samples in the MEM array organized in order Left, Right, Left, Right...? So MemSound with a parameter of 1 will return the entire sound array for both channels?
I also found out, and I'm thrilled and thank you very much, that SndRaw is now fixed in Phoenix and actually plays in stereo! Here is a test program that opened my eyes.
I will change the name of the thread.
I also found out, and I'm thrilled and thank you very much, that SndRaw is now fixed in Phoenix and actually plays in stereo! Here is a test program that opened my eyes.
Code: (Select All)
$NoPrefix
Dim s As Long
s = SndOpen("0.mp3")
Dim As MEM l, r
Dim done As Long
Dim m2 As Single '4 byte long, so 32bit sound!
Dim m As Single
l = MemSound(s, 1)
If l.ELEMENTSIZE <> 8 Then Print "This program play just 32 bit songs.": End
Do Until done = l.SIZE - 8
MemGet l, l.OFFSET + done, m
MemGet l, l.OFFSET + done + 4, m2
done = done + 8
SndRaw m, m2
Loop
'wroted in Phoenix 3.5.0
I will change the name of the thread.