You are here

How many frames in every second in MP3, FLAC, Wavpack, APE, WAV and AIFF?

For anything relating to music-making on Windows computers, with lots of FAQs. Moderated by Martin Walker.

Moderator: Moderators

How many frames in every second in MP3, FLAC, Wavpack, APE, WAV and AIFF?

Postby Parco » Fri Apr 01, 2011 6:02 pm

and also is the time of each frame same? e.g. each frame take absolutely 1/N seconds time equally when there are N frames in every second?
:headbang:
Parco
Regular
Posts: 274
Joined: Thu Feb 25, 2010 1:00 am
Location: Hong Kong
Sonar PLT + Foobar2000 -> ASIO + MMCSS + Windows 10 -> SIIG NN-E20012-S2 -> Echo AudioFire 4 -> HH MX250 + Wharf Delta70 A native USA style contemporary R&B artist in HongKong

Re: How many frames in every second in MP3, FLAC, Wavpack, APE, WAV and AIFF?

Postby desmond » Fri Apr 01, 2011 6:10 pm

"Frames"..?

If you are talking about video, then say you are running 25 frames per second, then divide your sample rate (most likely 48KHz) by 25 and that's how many samples each video frame will last.
User avatar
desmond
Jedi Poster
Posts: 11449
Joined: Tue Jan 10, 2006 1:00 am
mu:zines | music magazine archive | difficultAudio

Re: How many frames in every second in MP3, FLAC, Wavpack, APE, WAV and AIFF?

Postby GaryM » Fri Apr 01, 2011 6:32 pm

MP3s are made of frames too (a header block and a data block). And WAV and AIFF are made of chunks.
GaryM
Regular
Posts: 336
Joined: Thu Nov 06, 2008 1:00 am
Location: Dundee, UK

Re: How many frames in every second in MP3, FLAC, Wavpack, APE, WAV and AIFF?

Postby desmond » Fri Apr 01, 2011 6:40 pm

GaryM wrote:MP3s are made of frames too (a header block and a data block). And WAV and AIFF are made of chunks.

That's what I first thought the OP might be referring to - but then he went into AIFF/WAV etc so I thought that couldn't be the case. Hence why I asked "Frames?"...
User avatar
desmond
Jedi Poster
Posts: 11449
Joined: Tue Jan 10, 2006 1:00 am
mu:zines | music magazine archive | difficultAudio

Re: How many frames in every second in MP3, FLAC, Wavpack, APE, WAV and AIFF?

Postby GaryM » Fri Apr 01, 2011 6:44 pm

desmond wrote:
GaryM wrote:MP3s are made of frames too (a header block and a data block). And WAV and AIFF are made of chunks.

That's what I first thought the OP might be referring to - but then he went into AIFF/WAV etc so I thought that couldn't be the case. Hence why I asked "Frames?"...

Yeah. Asking about frame rates for video would make sense as I don't know why you'd need to bother about MP3 frames or WAV chunks unless you were doing some programming. And if you were presumably you'd know where to look those things up.
GaryM
Regular
Posts: 336
Joined: Thu Nov 06, 2008 1:00 am
Location: Dundee, UK

Re: How many frames in every second in MP3, FLAC, Wavpack, APE, WAV and AIFF?

Postby Dan Clark » Fri Apr 01, 2011 7:04 pm

He's from Hong Kong, so it could be a poor translation.

You aren't thinking of sample rate are you? In which case it's whatever you set it to be regardless of file type, generally ends up at 44100 a second unless you're working to film, in which case it's 48000.
Dan Clark
Regular
Posts: 112
Joined: Sat Oct 18, 2008 12:00 am

Re: How many frames in every second in MP3, FLAC, Wavpack, APE, WAV and AIFF?

Postby Parco » Sat Apr 02, 2011 4:59 am

OMG, sorry for my crude questions! :headbang:
Yup, I am meaning the 44100Hz audio for those file types.

I asked these questions because I wanna know if it's trusted to count on the seeking time by frames, whatever constant bitrate or dynamic bitrate (bps).... :headbang:
Parco
Regular
Posts: 274
Joined: Thu Feb 25, 2010 1:00 am
Location: Hong Kong
Sonar PLT + Foobar2000 -> ASIO + MMCSS + Windows 10 -> SIIG NN-E20012-S2 -> Echo AudioFire 4 -> HH MX250 + Wharf Delta70 A native USA style contemporary R&B artist in HongKong

Re: How many frames in every second in MP3, FLAC, Wavpack, APE, WAV and AIFF?

Postby Scope » Sun Apr 03, 2011 8:40 am

Full range audio data is a constant.
The clock is EVERYTHING.
( which is why expensive clocks by people like Apogee, give better sound. )


Compressed data such as MP3 can be encoded with constant or variable bit rates.
The ideal being to save space by using a variable bit rate, where the transcoder uses a lower rate to convert low detail audio, boosting the rate to describe more accurately, more detailed audio ( ie with great dynamic and frequency range.)

In this day and age, with broadband internet streaming and powerful computers with terabytes of space, a dynamic bite rate offers very little in the way of savings.

For a more clearer idea, read up on digital sampling & audio data compression.
There is tons of info on the net, Just stay away from fibbi-pedia !
Scope
Frequent Poster
Posts: 554
Joined: Mon Jul 03, 2006 12:00 am

Re: How many frames in every second in MP3, FLAC, Wavpack, APE, WAV and AIFF?

Postby debee » Sun Apr 03, 2011 9:44 pm

Scope wrote:fibbi-pedia !
:headbang:
debee
Regular
Posts: 94
Joined: Fri Dec 07, 2007 1:00 am