Go to file
Pedro de Oliveira 0b5de8564e
continuous-integration/drone/push Build is passing Details
Add badge.
2023-04-23 03:31:30 +01:00
src Use u64::from 2023-04-23 01:39:11 +01:00
tests Rustfmt 2023-04-23 01:02:11 +01:00
.drone.yml Add drone support. 2023-04-23 03:26:41 +01:00
.gitignore Working 2022-11-13 03:16:28 +00:00
Cargo.lock Update dependencies 2023-04-23 00:11:25 +01:00
Cargo.toml Add to_bytes() to VocFile. 2022-11-13 04:49:42 +00:00
README.md Add badge. 2023-04-23 03:31:30 +01:00

README.md

Build Status

Original Lost Eden VOC file

Voc { type: ASCII, size: 536 }
Voc { type: SoundData, size: 234941, sample_rate: 11111, audio_format: Pcm8BitUnsigned }
Voc { type: Terminator, size: 0 }

VOC file created with sox

sox pestaninhas.mp3 -r 11111 -b 8 pest.voc

Voc { type: SoundData, size: 153252, sample_rate: 11111, audio_format: Pcm8BitUnsigned }
Voc { type: Terminator, size: 0 }

VOC file created with ffmpeg

ffmpeg -i untitled.wav -ar 11111 -f s8 aids.voc

Voc { type: SoundData, size: 487, sample_rate: 11111, audio_format: Pcm8BitUnsigned }
Voc { type: SoundContinue, size: 500 }
Voc { type: SoundContinue, size: 501 }
Voc { type: SoundContinue, size: 500 }
Voc { type: SoundContinue, size: 501 }
Voc { type: SoundContinue, size: 501 }
...
...
Voc { type: SoundContinue, size: 500 }
Voc { type: SoundContinue, size: 160 }
Voc { type: SoundContinue, size: 17 }
Voc { type: Terminator, size: 0 }
Found block type 0. Exiting