wavefile icon indicating copy to clipboard operation
wavefile copied to clipboard

A Ruby gem for reading and writing sound files in Wave format (*.wav)

Results 10 wavefile issues
Sort by recently updated
recently updated
newest added

As an example, suppose a `"fmt "` chunk has a stated size of 30 bytes, and the format code is not `1` (and therefore the chunk should have an extension)....

Bug

Consider the following code: ``` require 'wavefile' include WaveFile #1 second 440 Hz square wave format = Format.new(:mono, 16, 44100) writer = Writer.new("square.wav", format) cycle = ([2**15] * 50) +...

Normally, the `"fmt "` chunk has an expected size based on the format code. For example: * Format code `1` (Integer PCM): 16 bytes * Format code `3` (Floating point...

Bug

Hello! I was trying to use this gem to record a wav file to STDOUT and then feed it to `WaveFile::Reader` to analyze in realtime. If I recall correctly, it...

If a *.wav file's `fmt ` chunk has a format code of `65534` (i.e. WAVE_FORMAT_EXTENSIBLE), it should have a `fmt ` chunk extension at least 22 bytes long. However, as...

Bug

When a `fmt ` chunk has the format code `65534` (i.e. WAVE_FORMAT_EXTENSIBLE) it is required to have a chunk extension of 22 bytes containing 3 fields. These fields, especially the...

Bug

Hi! Thank you for working on this excellent library! I am getting an UnsupportedFormatError when reading the included file. Is this truly an unsupported file format, or am I maybe...

How can I rewind the Reader so that I can go back and read the first buffer? I'm trying to loop a wave file but currently the only way is...

Is wavefile able to read cue/marker points from wave files. I have seen very little on this topic and am curious if wavefile would support this.

It would be quite nice to be able to append with the Writer class, instead of always overriding an existing file. Checking out the Writer class, it's hard-coded to open...

Feature Request