Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase audio speed #10

Open
BitLoose opened this issue May 21, 2023 · 1 comment
Open

Increase audio speed #10

BitLoose opened this issue May 21, 2023 · 1 comment

Comments

@BitLoose
Copy link

Di you think the speed can be increased for 193khz audio?

@dragonman225
Copy link
Owner

Are you referring to 192kHz instead of 193kHz? 193kHz seems to be a non-standard sample rate.

I'd love to have 192kHz audio, but it's not possible on a STM32469I-Discovery dev board.

The board only supports USB Full Speed, although the max data rate is 12 Mbit/s, which seems to be able to accommodate, let's say 24bit/192kHz (24 bits * 192000 samples/second * 2 channels ≈ 9 Mbit/s). But USB Full Speed runs at 1 frame/ms, and audio data is sent via Isochronous Transaction, the actual limit, according to the USB standard (see Chapter 5.6.3), is 1023 bytes/frame (or 1023 bytes/ms), and 24bit/192kHz needs 24 bits * 192 samples/ms * 2 channels = 1152 bytes/ms, exceeding the limit. It may be possible to do 16bit/192kHz (at 768 bytes/ms), but I guess more people would prefer 24bit over 192kHz, since there're more 24bit recordings than 192kHz recordings. And I think this is the reason why many older DACs have the limit of 24bit/96kHz.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants