Log In  

Cart #waveplayer-0 | 2022-11-23 | Code ▽ | Embed ▽ | No License

This is a cart I made that can play certain wave files by reading from the 0x800 serial port (dropped files) and writing to the 0x808 port. It also graphs the samples being played.

Note: if you drop any old wav file, your ears may not thank you; you will want to make sure the file is formatted correctly. I made files that work with this cart by using Audacity and doing the following steps:

1) Open existing wave file
2) Set project rate to 5512 Hz (located in the lower left) :

3) If the audio track is stereo, split stereo to mono
4) Export file in RAW format using unsigned 8 bit PCM:

Note2: In BBS the limit for dropped files is 256 KB, which only allows files up to about 48 seconds long. Running from a Pico-8 terminal will allow much larger files (up to 16 MB, or around 50 minutes)

P#121216 2022-11-23 06:44

[Please log in to post a comment]