Main Menu

Loading Audio from a WAV

Started by Kestin, Aug 18, 2024, 12:07 PM

Previous topic - Next topic

Kestin

I thought I'd share a little demo of my WAV File Loader API thingy!


===UPDATE===
I have released my library on Github!
Check it at: https://github.com/Kestin4Real/CC-WAV-loader

QuickMuffin8782

Nice! Does it interact with the speaker to produce the output? Because I want to move from DFWPM, because it's a very bad format.
"The Blue Blur" - Working on Net Star OS, a new frontier for Red Star OS 3.0
linktr.ee/quickmuffin8782

Kestin

Quote from: QuickMuffin8782 on Aug 19, 2024, 06:26 AMNice! Does it interact with the speaker to produce the output? Because I want to move from DFWPM, because it's a very bad format.

My WAV API is just a loader...
It puts the audio data into one big table.
Its up to the user how to play!

How ever... Its as simple as taking 131.072 samples from the table and sending it to the speaker!
Channel merging and the bits per sample are converted by the API!
There is just the frequency to worry about! For now I let the user handle that part...