3dmixer pitch rate
3dmixer pitch rate
- Subject: 3dmixer pitch rate
- From: Guillermo Lapresta <email@hidden>
- Date: Fri, 1 Jul 2005 13:35:40 +0200
Hi all,
I have a question about the value of 3DMixer pitch parameter. I'm
playing two songs through two inputs of a 3DMixer (using this mixer
only for changing pitch -beatmatching- purposes). If I set one pitch
parameter with a 'round' value -let's say 2.0-, the song really plays
at twice the original speed. But if I set a value like 1.025, the songs
does NOT play at that rate (*). Is it normal? I've heard that the
3DMixer's pitch parameter have less quality than AUVariSpeed's one (but
faster), but I thought that it concerned sound quality, not pitch
accuracy. Do I need to use AUVariSeed instead of 3DMixer?
Thanks in advance
(*) How I've found that issue: I've beatmatched two songs, one with
pitch 1.0 and the other adjusted, let's say 1.1. I want to change the
play position of the whole thing, I will explain with numerical
example. Let's say that we want to start play at the sample 10000 of
the mix, so the pseudocode should be something like that:
setPositionOfSong(song1, 10000);
setPositionOfSong(song2, 10000 * 1.1); // the 3dmixer consumes more
samples of this song, so in position 10000 of the mix it should have
consumed 11000
isn't it? Well, with this, when I start playing with the changed
position, the pitched song won't start matched, it looks like if the
pitch wasn't really 1.1, but some near value. But, as I've said before,
if I try it with 2.0, the beats are aligned perfectly. That's why I
have this rate accuracy question...
_______________________________________________
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