Skip to content
Discussion options

You must be logged in to vote

What I would like to know is how these chunks actually work on a deeper level. This would help me for example understand how much of a song is playing, and I could implement a playbar on a monitor (just thinking ahead).

I guess there's several layers here:

  • DFPWM itself is documented on this page (slightly nicer typeset version here). Though the details should be largely irrelevant here — all you need to know is each byte of DFPWM data corresponds to 8 samples of audio, and thus $\frac{8}{48000} = \frac{1}{6000}$ seconds of audio.

  • The raw audio data: This bit of the wiki is probably the best introduction — this explains the basics of how audio is represented (PCM audio, etc...).

  • Fo…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@ISSY127
Comment options

@ISSY127
Comment options

@ISSY127
Comment options

@SquidDev
Comment options

@ISSY127
Comment options

Answer selected by ISSY127
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants