Flipper/Wave_Player/ReadMe.md

13 lines
1012 B
Markdown
Raw Normal View History

2022-05-19 07:38:30 +00:00
Needs the [WAV Player application](https://github.com/flipperdevices/flipperzero-firmware/tree/zlo/wav-player/applications/wav_player) compiled into firmware. Original code from [Zlo](https://github.com/flipperdevices/flipperzero-firmware/tree/zlo/wav-player) and most files provided by [RogueMaster](https://github.com/RogueMaster).
2022-05-19 07:01:11 +00:00
2022-05-24 15:14:31 +00:00
Create a wav_player folder in the root of your SD card. You'll need **8-bit, 2 channel, unsigned WAV files** (try [Audacity](https://www.audacityteam.org/) for conversion.)
2022-05-19 07:01:11 +00:00
2022-05-24 15:15:36 +00:00
WAV Player is very particular about the format. WavPlayer needs BitExact, NO headers, 48k PCM, unsigned, 2 channel, 8-bit stereo. Example:
2022-05-19 07:01:11 +00:00
2022-05-19 07:39:18 +00:00
`Input #0, wav, from '.\rickroll.wav':`<br>
2022-05-19 07:01:11 +00:00
` Duration: 00:02:03.38, bitrate: 768 kb/s`<br>
` Stream #0:0: Audio: pcm_u8 ([1][0][0][0] / 0x0001), 48000 Hz, stereo, u8, 768 kb/s`
To produce a compatible file, you can also use [FFmpeg](https://ffmpeg.org/):<br>
`ffmpeg -i .\input.mp3 -c:a pcm_u8 -fflags +bitexact -flags:a +bitexact -ac 2 -ar 48k output.wav`