• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: linear PCM
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: linear PCM


  • Subject: Re: linear PCM
  • From: "tahome izwah" <email@hidden>
  • Date: Mon, 14 Jan 2008 21:25:49 +0100

No, it does not, for the exact reason that you have stated - you need
to actually calculate your samples spaced 1/sampleRate apart.

So your sampled sine becomes: signal[t] = sin(2.*pi*f*t/sampleRate);

HTH
--th

2008/1/14, Roland Silver <email@hidden>:
> Brian,
> Thanks for your help with my questions about Audio Queue.
>
> I'm puzzled by your last comment: "However, you should note that
> (2*pi*f*t) does not account for sampling rate.  You'll need to modify
> that parameter if you want frequency f to be accurate when the samples
> are played back."
>
> In my example, I compute the successive values of sin(2*pi*f*t) for
> successive values of t which are 1/samplingRate apart. Does that not
> account for sampling rate?
>
> --RS
>
> Roland Silver
> email@hidden
>
>
>
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Coreaudio-api mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >linear PCM (From: Roland Silver <email@hidden>)
 >Re: linear PCM (From: Brian Willoughby <email@hidden>)
 >Re: linear PCM (From: Roland Silver <email@hidden>)
 >Re: linear PCM (From: Brian Willoughby <email@hidden>)
 >Re: linear PCM (From: Roland Silver <email@hidden>)

  • Prev by Date: Re: SMPTE parsing algorithm?
  • Next by Date: Re: SMPTE parsing algorithm?
  • Previous by thread: Re: linear PCM
  • Next by thread: Re: linear PCM
  • Index(es):
    • Date
    • Thread