Skip to content

Get Bits Per Sample info with track #119

Answered by Zeugma440
Aionir asked this question in Q&A
Discussion options

You must be logged in to vote

Track doesn't give you bits per sample directly, but you can calculate it with any of these two methods :

A - 1000 * Track.Bitrate / Track.SampleRate

B - 8 * Track.TechnicalInfo.AudioDataSize / (Track.Duration * Track.SampleRate)

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Aionir
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants