Add WAV support #19

Merged
josh merged 1 commits from kay/ReMixer:main into main 2025-04-21 22:53:51 -04:00
Contributor

Adds WAV support building off of PCMBuffer function

also robodeath 😺

Adds WAV support building off of PCMBuffer function also robodeath 😺
kay added 1 commit 2025-04-20 14:56:22 -04:00
Adds WAV support building off of PCMBuffer function

also robodeath 😺
Author
Contributor

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

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
First-time contributor

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.

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.
josh merged commit c3c7959aae into main 2025-04-21 22:53:51 -04:00
First-time contributor

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.

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.
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Redacted/ReMixer#19
No description provided.