Pitch shifting

Started by ~arph, April 17, 2008, 05:26:06 AM

Previous topic - Next topic

~arph

We all know that increasing delay time on a delay, while a note is sounding will lower the picht of the note heard. The opposite is when the delaytime is decresed the pitch will raise.

Will it be possible to fool the delay to have the impression that the delay time is constantly in/decreasing by modulating it using a sawtooth?
I imagine that the pitch can than be controlled by changing the slope of the sawtooth by altering it's amplitude and keeping the freq (~50Khz, so it's out of the audible range) the same.

The Question is.. is this uberhaupt possible ?


Seljer


~arph

 ??? That's just puretube showing off his frustration about behringer...

~arph

Perhaps I wasn't clear. What I meant is that I want the pitch change to be constant and not changing. So for instance you could do octave up, down and other intervals.

RonaldB

You would probeply thought of this but how about a pitch shifter in the delay's effects loop ???

~arph

I'm still not clear I'm afraid.
I'm not talking about a delay. I'm talking about using the basics of a delay, to create a pitch shifter using the pitch effect you get when you change the delay time. (as used in vibrato/chorus/flanger).
The trouble is that this effect only occurs when the delay time is changing. I wonder if you can fool the delay ic with a sawtooth so it appears to the IC that the delay time is constantly increasing or decreasing and not going up and down as in the effects mentioned before (chorus, etc.)

Andre

I think this is what you're looking for:


André

demonstar

Arnoud, I like the sound of your idea, sounds good!

I guess your then saying one could alter the pitch change by adjusting the gradient of the saw tooth (equivalent to turning the delay pot slower/faster). I would imagine it would need a pure saw tooth waveform. What do you think? Would this be easy to do?

Is the changing pitch definitely happening electronically/physically or is possibly psychological that the increasing delay tricks our brains (not the chip) into thinking the pitch is changing.
Just a thought. ???
"If A is success in life, then A equals x plus y plus z. Work is x; y is play; and z is keeping your mouth shut"  Words of Albert Einstein

flo

It will not work I think, but perhaps I'm too much in the "digital" world here. But interesting anyway!

Here comes a bit of ptch shifting blabla that somewhat tries to be on topic not completely succeeds:  :)
A delay pedal has an audio buffer (like a BBD or RAM chip). This buffer is a single First-In-First-Out buffer. So the audio that is put into it, comes out of it a little while later at the "other" end.
For a contolled pitch shift, you need to be able to access that audio buffer at all points in the buffer not only "at the end". Another way of saying this: The "read" must be done asynchronous of the "write". This way, the audio buffer containing the sampled audio can be "read" with a different speed than the sample frequency that was used to write the audio into the buffer. The difference in speed between the "write" and "read" frequencies leads to the shifted pitch. This cannot be done in a single FIFO buffer like a BBD chip because there is not separate "read" possible asynchronous from the "write". Both are the same as long as the sample frequency does not change.
In your example we change sample frequency. The pitch shift that we hear is the difference between the sample frequency when writing the audio sample into the buffer, and the sample frequency when that audio appears again at the end of the buffer after the delay time. This sort of emulates "reading" the audio samples at a different speed than "writing" it but cannot continue indefinitely because the sample frequency cannot be changed in one direction indefinitely. There is no fooling possible here, I think. (This is not easy to explain in English for me.)

I musty say, that the above posted schematic with BBD chips looks interesting. It should sort of work in the same manner as I tried to describe but I can't quite "see" it yet.

puretube

Quote from: demonstar on April 17, 2008, 12:48:07 PM
Arnoud, I like the sound of your idea, sounds good!

I guess your then saying one could alter the pitch change by adjusting the gradient of the saw tooth (equivalent to turning the delay pot slower/faster). I would imagine it would need a pure saw tooth waveform. What do you think? Would this be easy to do?

Is the changing pitch definitely happening electronically/physically or is possibly psychological that the increasing delay tricks our brains (not the chip) into thinking the pitch is changing.
Just a thought. ???

http://www.diystompboxes.com/smfforum/index.php?topic=65815

puretube

Quote from: ~arph on April 17, 2008, 05:26:06 AM
We all know that increasing delay time on a delay, while a note is sounding will lower the picht of the note heard. The opposite is when the delaytime is decresed the pitch will raise.

The Question is.. is this uberhaupt possible ?



the very very first pitch shifters in the `70s did that...

puretube


puretube

Quote from: ~arph on April 17, 2008, 06:10:31 AM
??? That's just puretube showing off his frustration about behringer...

Wrong.
It`s him showing B*hr*ng*er that there is more that can be done than just
trying to imitate the functions,
copy the look of great vintage FX-pedals,
and displaying lookalike d*mmy boxes at a show...

http://acapella.harmony-central.com/showthread.php?t=1509270
http://www.diystompboxes.com/smfforum/index.php?topic=53452.0

dschwartz

you got me thinking about it and ended up with this limitations:

- The ramp voltage has to be perfect
- you can´t have and infinite ramp.. it has to stop sometime. so you need a ramp oscillator that gives a perfect ramp at any rate like this:
   /|/|/|/|/|/|/|/|/|/|/|/|/|/|/|/|/|/|/|/|...............
The ramp down has to be perfectly vertical.this will cause at least a pop or clik mixed with the output (or even make a mess)

- the voltage dependant resistor (fet, transistor, LDR, etc.) to use as a "time pot" has to have the same response at any rate.
..
anyway is easier and probably cheaper to get a cheap multiFX with pitch shifter..it will sound a lot better than this..

idea:
- Use a rocker pedal with a double pot controlling time and feedback. and two pots setting the max value for each.,, with that you can make from a mild manual chorus up to freaky-wikipiki martian raping pigs sounds....
----------------------------------------------------------
Tubes are overrated!!

http://www.simplifieramp.com

~arph

Quote from: dschwartz on April 17, 2008, 07:03:57 PM
- The ramp voltage has to be perfect

Yes, perfectly linear (or perfectly linear behaviour combined with the voltage dep. res.)
Sorry I haven't had time to review all this during the weekend.

Quote
- you can´t have and infinite ramp.. it has to stop sometime. so you need a ramp oscillator that gives a perfect ramp at any rate like this:
   /|/|/|/|/|/|/|/|/|/|/|/|/|/|/|/|/|/|/|/|...............
The ramp down has to be perfectly vertical.this will cause at least a pop or clik mixed with the output (or even make a mess)

Yes as vertical as possible, but to avoid nasty side effects I propose to run the saw at an inaudible frequency (say 50kHz).

Quote
- the voltage dependant resistor (fet, transistor, LDR, etc.) to use as a "time pot" has to have the same response at any rate.

True, this and the ramp voltage determine the sound

As for now this is all just guesswork on paper I'll have to try it out. This method is different than other methods posted here, this requires only one BBD/PT2399 chip and the pitch change is tunable. Currently I see no reasons why this should not work, but chances are likely that it will not.

Mark Hammer

Read the review of the old A/DA Analog Harmonizer here - http://hammer.ampage.org/files/Device1-4.PDF - particularly, the part about the parts count, then think about it again.

For the amount of hassle, board size, parts count, and cost involved, get yourself a digital pitch shifter like a little $60 2nd hand Zoom thing or whatever.  You may hate absolutely everything else about it, but trust me, you will be more than satisfied with the quality of the pitch shift and ease with which it is produced.  Unless you are one of those folks who prefers to go up Mt. Everest on the difficult side, and has no social life or need to actually take time to play music, there is really no reason to attempt an analog harmonizer/pitch-shifter.

~arph

Well, I'm not looking for a pitch shifter for myself. Nowadays I enjoy meddling around with electronics more than playing the guitar (and I don't like climbing either), but I think that undertaking something challenging actually helps me get better at this. You're probably right about about the infeasability of the idea, but I guess I'll try it anyway. First I'll read the pdf.

Mark Hammer

Read p11, where Anderton notes that the pedal uses 42 (yes forty-two) chips in all.   :icon_eek:

So, are you up for some serious kluging? :icon_lol:

~arph

Hahaha.. no.. ;D

If you read carefully I only intend to modulate a delay's delay time with a sawtooth..
so I could start out  with something like a Echo base or even a rebote and change/add a saw lfo.
If this works, one can always parralel two or more of these to create chord like sounds.
And yes I've read about the forty two chips 22 cmos.. wow..
No that's too much for me, I once designed a simple tap tempo using cmos and that got me at thirteen ics, never built it. It was no use, but it was nice practice.

Regards,

Arnoud

mdh

Quote from: Mark Hammer on April 21, 2008, 02:52:43 PM
Read p11, where Anderton notes that the pedal uses 42 (yes forty-two) chips in all.   :icon_eek:

So, are you up for some serious kluging? :icon_lol:

So does this mean that the question of life, the universe and everything was, "How many chips are required to make an analog pitch shifter?"