Add WAV support #19
Reference in New Issue
Block a user
No description provided.
Delete Branch "kay/ReMixer:main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds WAV support building off of PCMBuffer function
also robodeath 😺
Adds WAV support building off of PCMBuffer function also robodeath 😺
noticed there is an issue with the tested audio file where it plays at 2x speed because of the amount of channels, but that should probably be a separate PR
Looks good! Solid work, and insofar as the double-rate issue is concerned, it may be that the PCM data is interleaved, or the system expects it to be interleaved. Interleaved meaning each alternating byte / audio-word is for a different channel.
L = Left Channel Byte
R = Right Channel Byte
LRLRLRLRLR
LLRRLLRRLL if 2-byte-length samples.
I haven't touched this project in a while but I will do some refreshing and get back to you with any helpful info I can find.
It does appear the test stream object created in the main demo program is set to dual-channel, and when changed to single-channel, the waveform plays back correctly.