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 » How-tos
Time Stretching And Pitch Shifting of Audio Signals
Post new topic   Reply to topic
Page 1 of 1 [5 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
seraph
Editor
Editor


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

PostPosted: Mon Mar 10, 2008 2:21 pm    Post subject: Time Stretching And Pitch Shifting of Audio Signals Reply with quote  Mark this post and the followings unread

arrow http://www.dspdimension.com/admin/time-pitch-overview/
_________________
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
Antimon



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

PostPosted: Mon Mar 17, 2008 1:19 pm    Post subject: Reply with quote  Mark this post and the followings unread

I often forget to check this part of the forum - I've skimmed a bit through these tutorials you've posted, Seraph. They look marvellous! All those bored evenings are saved - thanks!

/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
seraph
Editor
Editor


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

PostPosted: Mon Mar 17, 2008 1:31 pm    Post subject: Reply with quote  Mark this post and the followings unread

Stefan
whenever I log in I click on View unread posts to make sure to check out all new ones. Of course they are too many to check them all out but...

_________________
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
Acoustic Interloper



Joined: Jul 07, 2007
Posts: 2074
Location: Berks County, PA
Audio files: 89

PostPosted: Fri Mar 21, 2008 2:44 pm    Post subject: Reply with quote  Mark this post and the followings unread

I did a bit of this last year inside Live for *Ordinary Machinery* -- Live only lets you do this for samples, not LIVE audio streams (maybe the upgrade does?), and time stretching has to be multiples or divisors of powers of 2 -- so I used it only on my daughter's voice samples.

This January I tried pitch shifting on a mic'd banjo inside of Max/MSP (with the help of a couple folks here for this Max/MSP newbie), using FFT to get it into the frequency domain and using MSP's gizmo~ for the pitch shift. I had to make the sample window size fairly big in order not to get modulation artifacts (still get a few at high pitches), and I found an old piece that seems to work, but it didn't sound like what I expected:

1. Shifting up an octave makes it sound somewhat like I am playing bedsprings, and down tends to be a bit muddy. Some of this is probably the software, but I also suspect that some of those banjo timbres just don't resonate with the ear after electronic pitch shifting.

For example, if I "pitch shift" up an octave the old fashioned way by playing up the neck (no computer or mics or anything), both the pitch AND the timbre of the instrument change. But since true electronic pitch shifting preserves the harmonic relationships of the partials, it transports timbre from a lower register to a higher register that is *not* preserved by just playing up the neck on the acoustic-only instrument. I think this accounts for some of the "bed springs" on shifting up, and the "mud" on shifting down -- the ear hears those 'preserved timbres' differently after pitch shifting.

2. The window sample size for the FFT introduces some delay. The delay seems a little sensitive to the direction and magnitude of the pitch shift -- although it shouldn't, and maybe this is just my hearing -- but the (unwanted) delay makes it tough to play with headphones on. I might just perform this piece with my ear stuck to the banjo head and ignore the electronic output, although working on this last night, I started to get a feel for playing against the delays without stumbling.

The final thing I noticed is that "less is more" -- layering too much of this crap makes it unlistenable -- I need to use it tastefully as seasoning. But, of course, that's what an acoustic hillbilly would do in any case.

_________________
When the stream is deep
my wild little dog frolics,
when shallow, she drinks.
Back to top
View user's profile Send private message Visit poster's website
Acoustic Interloper



Joined: Jul 07, 2007
Posts: 2074
Location: Berks County, PA
Audio files: 89

PostPosted: Fri Mar 21, 2008 3:00 pm    Post subject: Reply with quote  Mark this post and the followings unread

Well, I guess if I had read one of your other posts on this topic, I would have had my answer:
Quote:

1.5 Why singer formants do not change.
When keeping the spectral envelope, i.e. the position of the formants either by pitch transposing with Timbre Correction or by having the singer sing at a higher pitch, one yields a natural sounding transpose.

My guess was more or less correct. Looks like banjos and other acoustic instruments have formants to deal with when pitch shifting. Do electronic instruments?

Good reference site, by the way. Thanks!

_________________
When the stream is deep
my wild little dog frolics,
when shallow, she drinks.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic
Page 1 of 1 [5 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » How-tos
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