Jump to content
Sign in to follow this  
SlithyMatt

New demo uploaded: PCM Multi-Encoding Demo

Recommended Posts

PCM Multi-Encoding Demo

View File

This is a demo of 26 different encodings for PCM audio playback, from the maximum bitrate (48.828 kHz, 16-bit stereo) the minimum (381 Hz, 8-bit mono) using the same non-copyright music track and fitting as much data as possible into 63 RAM banks (504 kB).

Just press different letters to hear different samples.

As seen on YouTube:

 


 

  • Like 4

Share this post


Link to post
Share on other sites

Thanks! I think this is a nice resource for when people want to find the PCM settings that suit their needs best.

  • Thanks 1

Share this post


Link to post
Share on other sites

I wonder if it would be possible to do some sort of double-buffering. Use only two banks, and play from one while loading new data to the other from storage. Theoretically this would allow arbitrary length PCM sounds.

Share this post


Link to post
Share on other sites

You can already do arbitrary length. The sound stops playing once the FIFO is depleted. This demo was to show how long a sound could be in memory, but you could certainly feed the FIFO from a file, if the bit rate isn't too fast. It definitely takes longer than 2 seconds to load 500k from the SD card, so the bit rate would need to be well under maximum to allow "streaming". You might be able to get away with 12kHz.

  • Like 2

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

Please review our Terms of Use