On January 20, 2013 01:14:26 PM Florian Jung wrote:
>
> " Samples per frame = (sample rate)/FPS"
Yes, that's what I said.
> (source:
> socialsounddesign.com/questions/5022/how-many-samples-are-in-a-frame )
>
> other google result ans also my intuition support this.
>
> i think it should be like that, because a "sample" is one "snapshot" of
> *all* voltages coming in from your microphone port(s). a sample may consist
> of either a complex data type (like struct stereo_sample_t { float left;
> float
> right;} or just a float or something similar.
>
> can you explain your point or give sources?
There is much blending of the meanings in discussions.
People often use the terms samples and frames interchangeably.
http://stackoverflow.com/questions/6154917/1-frame-consist-of-left-and-right-
in-audio
"...when referring to an audio frame we usually mean a single time sample of a
number of channels. So 2 audio channels @ 8 bits per channel results in 2
bytes per frame. 4 channels @ 16 bit per sample is 8 bytes. "
That is how I also think of it.
When you have two ADC chips sampling, one for the left audio and one
for the right, you have two samples. Together the two samples form a frame.
I don't know if we should reverse over ten years of the terminology in MusE...
Tim.
>
> greetings
> flo
>
>
>
>
>
>
> "Tim E. Real" <[email protected]> schrieb:
> On January 19, 2013 02:53:29 PM Florian Jung wrote:
>
> Hi
>
> i think that MusE uses a wrong nomenclature: often, it refers to
> "frames", if it means "samples".
>
> afaik, "frames" are 24th or 30th-fractions of a second (depending on the
> video norm; i.e., one frame is one single picture of a movie)
>
> Correct. But you are referring to "timecode" (picture) framerate.
>
> Timecode frames contain /many/ audio frames.
>
> Audio frames on the other hand contain one or more samples.
> I believe it is valid to say something like:
> "each audio frame contains two samples"
> which would be stereo sample frames. And:
> "each SMPTE frame holds
> (AudioSamplerate / SMPTE_FrameRate)
> stereo sample audio frames."
>
> I know terms get mixed up very easily, I'm guilty too.
>
> But I think that's how the explanation goes.
>
> Tim.
>
>
>
> "samples" are 44100th-fractions (or whatever the sampling rate says) of
> a second.
>
>
> did i get that wrong? or is it just wrong overall in muse?
>
> greetings
> flo
>
>
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
_______________________________________________
Lmuse-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lmuse-developer