Phoenix 3.5.0 bug? - Solved, just diference!
#4
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.


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.


Reply


Messages In This Thread
RE: Phoenix 3.5.0 bug? - by a740g - 02-19-2023, 04:53 PM
RE: Phoenix 3.5.0 bug? - by Petr - 02-19-2023, 05:31 PM
RE: Phoenix 3.5.0 bug? - by Petr - 02-19-2023, 06:34 PM
RE: Phoenix 3.5.0 bug? - by a740g - 02-19-2023, 06:51 PM
RE: Phoenix 3.5.0 bug? - by Petr - 02-19-2023, 07:06 PM
RE: Phoenix 3.5.0 bug? - by a740g - 02-19-2023, 07:08 PM
RE: Phoenix 3.5.0 bug? - by a740g - 02-19-2023, 07:12 PM
RE: Phoenix 3.5.0 bug? - by Petr - 02-19-2023, 07:43 PM
RE: Phoenix 3.5.0 bug? - by a740g - 02-20-2023, 12:22 AM



Users browsing this thread: 4 Guest(s)