• 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: Wed, 16 Jan 2008 21:07:23 +0100

Yes I know. However, he did not define t = 1/sr in his first post (at
least, I didn't see it) so he would have to take it into account when
calculating the argument of the sin function.

Of course he can just increment his counter by 1/sr, which does the same thing.

--th


2008/1/16, David Duncan <email@hidden>:
> On Jan 16, 2008, at 1:27 AM, tahome izwah wrote:
>
> > You have to take dt into account when calculating the samples from
> > your trig function. In the PCM domain your samples are always spaced
> > at a uniform and time normalized step size of unity. IOW, sin() has no
> > way of knowing your dt if you don't include it when calculating the
> > argument.
>
> His point is that he's taking dt into account with his calculation of
> t. That is, at 1 second through the sound, t==1, but to get there in
> 44100 steps, it goes through 0/44100, 1/44100, etc in 44100 steps.
> --
> Reality is what, when you stop believing in it, doesn't go away.
> Failure is not an option. It is a privilege reserved for those who try.
>
> David Duncan
>
>  _______________________________________________
> 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: 
 >Re: linear PCM (From: Roland Silver <email@hidden>)
 >Re: linear PCM (From: "tahome izwah" <email@hidden>)
 >Re: linear PCM (From: David Duncan <email@hidden>)

  • Prev by Date: Re: linear PCM
  • Next by Date: Re: Recommended way to setup a timer in a CoreAudion application?
  • Previous by thread: Re: linear PCM
  • Next by thread: Some more questions about sample rate notifications
  • Index(es):
    • Date
    • Thread