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 
go to the radio page Live at electro-music.com radio 1 Please visit the chat
poster
 Forum index » Clavia Nord Modular » G2 Patches - Experimental
wavecycle-based pitch shifter
Post new topic   Reply to topic Moderators: Nord Modular Editors
Page 1 of 1 [6 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
Tim Kleinert



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

PostPosted: Tue Jun 24, 2008 1:53 pm    Post subject: wavecycle-based pitch shifter
Subject description: a different approach to pitch shifting
Reply with quote  Mark this post and the followings unread

Rather than using delays and crossfading, this pitch shifter recognises individual waveform cycles of the incoming audio, compresses or stretches them and realigns them along the time axis. When compressing (pitching upwards), accumulating gaps in the time axis are intelligently filled with duplicate cycles. When stretching (pitching downwards), the resulting time overhead is compensated by skipping wavecycles. The result is an artefact-free pitch shift. Smile

However, it works strictly only for monophonic audio, and only for simple, clean waveforms without too strong higher harmonics or inharmonic content (or noise). You'll notice this if you raise the filter resonance of the demonstration audio source. With increasing resonance, the pitch tracker has increasing difficulty to latch on, producing clicks and artefacts in the pitch shifter. This is due to the sub-par pitch detection possibilities on the G2, either DIY or module. (Proper autocorrelation-type pitch recognition is impossible to patch on the G2.)

I first thought about posting it in the building blocks section, but as it is not really usable due to its design and deficiencies (or maybe it is?), I put it here in the experimental section as a sort of study object.

best,
tim


CycleShifter TK.pch2
 Description:
wavecycle-based pitch shifter, a different approach to pitch shifting

Download
 Filename:  CycleShifter TK.pch2
 Filesize:  2.55 KB
 Downloaded:  1606 Time(s)

Back to top
View user's profile Send private message
blue hell
Site Admin


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

PostPosted: Tue Jun 24, 2008 2:46 pm    Post subject: Re: wavecycle-based pitch shifter
Subject description: a different approach to pitch shifting
Reply with quote  Mark this post and the followings unread

tim wrote:
strictly only for monophonic audio, and only for simple, clean waveforms without too strong higher harmonics or inharmonic content (or noise).


It makes nice warbled choirs from polyphonic complex dirty waveforms with strong higher harmonics and inharmonic content Shocked

Sand in the machine ... nice patch Exclamation

Now if only I'd know how it worked ...

_________________
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
Tim Kleinert



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

PostPosted: Tue Jun 24, 2008 3:11 pm    Post subject: Re: wavecycle-based pitch shifter
Subject description: a different approach to pitch shifting
Reply with quote  Mark this post and the followings unread

Blue Hell wrote:
Now if only I'd know how it worked ...


Yeah, I don't understand half of it myself anymore. Rolling Eyes Laughing No, honestly, with this kind of stuff, I find myself having to backtrack cable by cable, module by module, to get back into the line of thought that produced the patch.

In a nutshell, all this stuff is based on audiorate counter circuits. There is a finely calibrated counter that moves along with the delay line readout pointer, giving accurate access to the audio material. Another counter measures the length of the incoming wavecycles. Yet another counter features exponential tracking and is in charge of pitch shifted playback of individual wavecycles. The difficult thing is making these circuits interact with each other in order to produce the desired functionality. Simply put, the playback counter plays back a specific wavecycle until the measuring counter tells it that a new complete wavecycle is ready to be fetched. So, when pitching up, the played wavecycles will be shorter, causing the playback counter to eventually loop a wavecycle because there isn't a new one available yet. When pitching down, the playback will take longer than the average wavecycle length, and will eventually skip over a wavecycle. This is the basic concept.
Back to top
View user's profile Send private message
seraph
Editor
Editor


Joined: Jun 21, 2003
Posts: 12398
Location: Firenze, Italy
Audio files: 33
G2 patch files: 2

PostPosted: Tue Jun 24, 2008 3:27 pm    Post subject: Re: wavecycle-based pitch shifter
Subject description: a different approach to pitch shifting
Reply with quote  Mark this post and the followings unread

Blue Hell wrote:

Now if only I'd know how it worked ...


Jan, that's a scary comment. I thought you knew the G2 inside out Shocked such comments from an Admin scare the living s**t out of novices like me Rolling Eyes

_________________
homepage - blog - forum - youtube

Quote:
Don't die with your music still in you - Wayne Dyer
Back to top
View user's profile Send private message Visit poster's website
blue hell
Site Admin


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

PostPosted: Tue Jun 24, 2008 4:21 pm    Post subject: Reply with quote  Mark this post and the followings unread

Hm, gentlemen, yes, I see Laughing
_________________
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
Tim Kleinert



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

PostPosted: Fri Jun 27, 2008 3:00 am    Post subject: Reply with quote  Mark this post and the followings unread

Laughing
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Moderators: Nord Modular Editors
Page 1 of 1 [6 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 » G2 Patches - Experimental
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