WaveFile
Write and read WAV audio from synthetic sample values.
jstrait · Create and sound
GitHub projectOpen source Open on GitHubHow to try it
With Ruby 3.2 available, install wavefile at version 1.1.2. Write two short PCM samples to a temporary WAV file and read them back.
What we tested
1.1.2. Write two short PCM samples to a temporary WAV file and read them back. The decoded buffer contained the two sample values and the expected sample rate.