electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » Clavia Nord Modular » Nord Modular G2 Discussion
Auto-tune?
Post new topic   Reply to topic Moderators: Nord Modular Editors
Page 1 of 1 [8 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
jamos



Joined: Jun 01, 2004
Posts: 514
Location: Eugene, Oregon, USA
Audio files: 4
G2 patch files: 41

PostPosted: Sat Nov 21, 2009 1:10 pm    Post subject: Auto-tune?
Subject description: You'd think it would be easy...
Reply with quote  Mark this post and the followings unread

Hey all -

I'm trying to make an autotune patch for vocals - yes, it's poor taste, but so what? I'd think it would be easy: use a pitch tracker to extract pitch, quantize that, take the difference between the quantized and unquantized signals and use that to drive a pitch shifter. But, alas, it doesn't seem to do anything: as near as my ears can tell, the difference between the two is always 0, so no pitch shift occurs.

The sub-patch is below; can anyone tell me what I'm doing wrong?


Autotune.jpg
 Description:
 Filesize:  30.12 KB
 Viewed:  4952 Time(s)

Autotune.jpg


Back to top
View user's profile Send private message Send e-mail Visit poster's website
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24510
Location: The Netherlands, Enschede
Audio files: 298
G2 patch files: 320

PostPosted: Sat Nov 21, 2009 1:39 pm    Post subject: Reply with quote  Mark this post and the followings unread

Nice idea!

I patched it up and some quantization does seem to occur to me, although glides are not fully eliminated ... thinking

BTW, couple of weeks ago I was listing to autotuned singing with gypsy scales .. used in hip hop like music ... I liked that Smile

_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
jksuperstar



Joined: Aug 20, 2004
Posts: 2503
Location: Denver
Audio files: 1
G2 patch files: 18

PostPosted: Sat Nov 21, 2009 3:05 pm    Post subject: Reply with quote  Mark this post and the followings unread

Interesting! I've had this type of thing on my idea-plate for a while. I wanted to play a didgeridoo, but send in a sequence to pitch shift it, but do it based on the difference between the didge sound and the sequence. Very similar! I'll try to play with it tonight.
Back to top
View user's profile Send private message Visit poster's website
Antimon



Joined: Jan 18, 2005
Posts: 4145
Location: Sweden
Audio files: 371
G2 patch files: 100

PostPosted: Sun Nov 22, 2009 5:30 am    Post subject: Reply with quote  Mark this post and the followings unread

Why are you taking the difference between the original signal and the note quantized one? When I've tried my hands at this I've taken a pitch detector, note quantized its output and then plugged that straight into an oscillator pitch input, which then goes into a vocoder. I've had varying results (it's really tricky to get the pitch to "stay on target" for me), but I don't usually have any problem with the pitch itself.

/Stefan

_________________
Antimon's Window
@soundcloud @Flattr home - you can't explain music
Back to top
View user's profile Send private message Visit poster's website
Tim Kleinert



Joined: Mar 12, 2004
Posts: 1148
Location: Zürich, Switzerland
Audio files: 7
G2 patch files: 236

PostPosted: Sun Nov 22, 2009 7:30 am    Post subject: Reply with quote  Mark this post and the followings unread

Auto-Tune, an interesting subject. Smile Hope nobody minds if I chime in.

AFAIK there is already a patch in the factory preset bank called "pitch correct" (or something like that) which does this kind of thing.

However, keep in mind that the pitch-shifter is based on a delay line, and therefore naturally has an amount of latency. This causes slurs and other artefacts when correcting notes. The patch mentioned above also suffers from this.

Some time ago, I attempted to build a pitch correction patch that is based on a different approach, extracting individual wavecycles of the incoming signal, pitching them according to the correction scheme, and redistributing them along the time-axis, which results in an artefact-free pitch shift (under the condition that the incoming signal is strictly monophonic and periodical).

The basic pitch shifter circuit:
http://www.electro-music.com/forum/topic-27228.html

The concept of the auto-tuner itself works, but the pitch detection isn't bullet-proof. I've since attempted to design the "maximum zero gradient" pitch detection algorithm on the G2, but got fed up with it at a certain point. Laughing That technique isn't optimal for voice anyway. The best would be AMDF, but that is simply impossible to patch on the G2.

Here's the first version. It has some issues (mentioned above), but anyway...
http://www.electro-music.com/forum/topic-26222.html

I made another one, based on a similar idea. This works better:
http://www.electro-music.com/forum/topic-26247.html

Maybe this is of use to someone.

cheers,
t
Back to top
View user's profile Send private message
jamos



Joined: Jun 01, 2004
Posts: 514
Location: Eugene, Oregon, USA
Audio files: 4
G2 patch files: 41

PostPosted: Sun Nov 22, 2009 1:39 pm    Post subject: Reply with quote  Mark this post and the followings unread

Antimon wrote:
Why are you taking the difference between the original signal and the note quantized one? When I've tried my hands at this I've taken a pitch detector, note quantized its output and then plugged that straight into an oscillator pitch input, which then goes into a vocoder. I've had varying results (it's really tricky to get the pitch to "stay on target" for me), but I don't usually have any problem with the pitch itself.

/Stefan


It's because I'm using the pitch shifter, rather than an oscillator and vocoder (though I think I will try that as well). The idea being that when the pitch matches the quantized value, there is no pitch shift; but when the pitch is off, it is shifted to compensate.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jamos



Joined: Jun 01, 2004
Posts: 514
Location: Eugene, Oregon, USA
Audio files: 4
G2 patch files: 41

PostPosted: Sun Nov 22, 2009 2:25 pm    Post subject: Reply with quote  Mark this post and the followings unread

tim wrote:
Auto-Tune, an interesting subject. Smile Hope nobody minds if I chime in.


Chime away!

Yes, I guess the delay line could cause slurring which would mask the steps. I'd still think I'd hear a bit more in the way of stepping, but..

Your intonation patch is sweet. Lots of control and sounds good. I'll try adapting that and see what I get. Thanks x 10^6!

Jim
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Antimon



Joined: Jan 18, 2005
Posts: 4145
Location: Sweden
Audio files: 371
G2 patch files: 100

PostPosted: Sun Nov 22, 2009 2:48 pm    Post subject: Reply with quote  Mark this post and the followings unread

jamos wrote:
Antimon wrote:
Why are you taking the difference between the original signal and the note quantized one? When I've tried my hands at this I've taken a pitch detector, note quantized its output and then plugged that straight into an oscillator pitch input, which then goes into a vocoder. I've had varying results (it's really tricky to get the pitch to "stay on target" for me), but I don't usually have any problem with the pitch itself.

/Stefan


It's because I'm using the pitch shifter, rather than an oscillator and vocoder (though I think I will try that as well). The idea being that when the pitch matches the quantized value, there is no pitch shift; but when the pitch is off, it is shifted to compensate.


Ah of course, sorry and thanks for explaining. I agree, it's a neat idea!

/Stefan

_________________
Antimon's Window
@soundcloud @Flattr home - you can't explain music
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic Moderators: Nord Modular Editors
Page 1 of 1 [8 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » Clavia Nord Modular » Nord Modular G2 Discussion
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use