A synthesizer for the sound format of the Pokemon GameBoy games.
Implementation status:
sh
cargo add pokemon-synthesizer
```rust const rom = std::fs::read("pokeyellow.gbc").unwrap();
// Pikachu cry let pcm = pokemon_synthesizer::synthesis(&rom, 0x02, 0x40c3, 238, -127);
// 1 pcm.channels()
// 1048576 pcm.sample_rate()
// Duration { 987.819672ms } pcm.total_duration()
// Iterator
In order to run the tests, you need a ROM file for Pokemon Yellow. The ROM file should have the SHA1 hash cc7d03262ebfaf2f06772c1a480c7d9d5f4a38e1
and be named roms/pokeyellow.gbc
.