Skip to content

Add audio fixtures and tests for Audio and AcidChunk#4

Merged
pixelate merged 1 commit into
mainfrom
add-audio-fixtures
Mar 7, 2026
Merged

Add audio fixtures and tests for Audio and AcidChunk#4
pixelate merged 1 commit into
mainfrom
add-audio-fixtures

Conversation

@pixelate
Copy link
Copy Markdown
Owner

@pixelate pixelate commented Mar 7, 2026

Summary

  • Adds test/fixtures/ with 28 audio files covering every combination of sample rate, bit depth, and file type defined in config/devices.yml (WAV, MP3, AIF, AIFF), plus M4A variants for each sample rate/bit depth pair as input format fixtures
  • Adds test/wavesync/acid_chunk_test.rb — tests read_bpm and write_bpm round-trips against real WAV fixtures across different rates and bit depths
  • Adds test/wavesync/audio_test.rb — tests sample_rate, bit_depth, bpm, write_bpm round-trips, and find_all against real fixture files for all supported formats
  • Adds FIXTURES_PATH constant to TestCase, rake and logger gems to Gemfile

@pixelate pixelate merged commit da6aa75 into main Mar 7, 2026
@pixelate pixelate deleted the add-audio-fixtures branch March 7, 2026 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant