Re: [PD] A better pitch shifter?

2010-03-03 Thread Miller Puckette
Hi all,

I tried making a mult-delay pitch shifter once.  It was no good for reducing
latency, but it did slightly decrease the phenomenon of double attacks
one sometimes gets - but also reduces the presence of the sound, not a
tradeoff I liked in the end.  I tried a bunch of other things over a
period of months with no luck.

cheers
Miller

On Wed, Mar 03, 2010 at 04:34:38PM +0100, Pierre Massat wrote:
 Hi!
 I have been using Miller Puckette's delay-based pitch-shifter (from the
 audio examples) for quite a while now, and i was wondering if it would be
 possible to improve it a bit. In particular i'd like to reduce the delay
 length to lower latency (i m using it in real time). Would adding more delay
 lines help me solve this problem? I must say that i never took the trouble
 to try and understand how this patch works, so i'm not sure where to start.
 
 Pierre

 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] A better pitch shifter?

2010-03-03 Thread Matt Barber
I've used this pitch shifter quite a lot for a number of different
things -- how you use it seems to depend completely on context.  For
instance, if you're shifting mostly sustained sounds (so that attacks
aren't so present), you can use a larger window size, which reduces
some of the modulation artifacts you get when you use a lower size.
You need the lower size for fast things, or things with strong
attacks.  I once experimented with trying to get the window to match
exactly period boundaries of the incoming sound (to reduce the
modulation completely), but it really only works with electronic
sounds where you can be absolutely sure of the frequency.

I have had luck in some rare cases mixing the output of two
pitchshifters set to the same transposition but different window sizes
-- again, no difference in latency, but it can help smooth things out
if you're really aggressively pitchshifting something (like, by a
perfect 12th), where presence isn't really something you're going to
be able to attain anyway.

I now keep several of them around with different settings for
different contexts.

Matt

 Hi all,

 I tried making a mult-delay pitch shifter once.  It was no good for reducing
 latency, but it did slightly decrease the phenomenon of double attacks
 one sometimes gets - but also reduces the presence of the sound, not a
 tradeoff I liked in the end.  I tried a bunch of other things over a
 period of months with no luck.

 cheers
 Miller

 On Wed, Mar 03, 2010 at 04:34:38PM +0100, Pierre Massat wrote:
 Hi!
 I have been using Miller Puckette's delay-based pitch-shifter (from the
 audio examples) for quite a while now, and i was wondering if it would be
 possible to improve it a bit. In particular i'd like to reduce the delay
 length to lower latency (i m using it in real time). Would adding more delay
 lines help me solve this problem? I must say that i never took the trouble
 to try and understand how this patch works, so i'm not sure where to start.


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] A better pitch shifter?

2010-03-03 Thread Julian Villegas
Did you try shifter~ (http://julovi.net/j/?page_id=7)?

This is a Pd PSOLA pitch shifter I ported from Max/MSP. Developed originally by 
Tristan Jesen 
and hosted here.

I found it faster than SSB, and format friendly.

I hope it helps.

 Julian Villegas
(http://julovi.net)
Me pregunto de un modo pensativo
Que significa ser Colombiano?
No se le respondi. Es un acto de fe
JLB.


  

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] A better pitch shifter?

2010-03-03 Thread Pierre Massat
Thank you all for your replies!
I will give shifter~ a try tomorrow.

Another related question : does any of you know how the digitech whammy
pedal works? Considering how it sounds i'd say it basically tracks the pitch
(the way sigmund~ would) and then generates a synthesized sound which kind
of sounds like an electric guitar, and which frequency can be modified at
will. Am I right? This is different pitch shifter model altogether, isn't?

Pierre

2010/3/3 Julian Villegas jul...@yahoo.com

 Did you try shifter~ (http://julovi.net/j/?page_id=7)?

 This is a Pd PSOLA pitch shifter I ported from Max/MSP. Developed
 originally by Tristan Jesen
 and hosted here.

 I found it faster than SSB, and format friendly.

 I hope it helps.

  Julian Villegas
 (http://julovi.net)
 Me pregunto de un modo pensativo
 Que significa ser Colombiano?
 No se le respondi. Es un acto de fe
 JLB.




 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] A better pitch shifter?

2010-03-03 Thread colet . patrice
Hello,)

yeah, an abs that receive the pitch shifting amount for processing each 
harmonics of sigmund~ outlet and give each result to oscillators.

The design of polypoly~ abstraction would fit, something like

[adc~]--[sigmund~ -npeak 10 peaks]--[partialShift~ 10]--//--[dac~]

- Mail Original -
De: Pierre Massat pimas...@gmail.com
À: Julian Villegas jul...@yahoo.com
Cc: pd-list@iem.at
Envoyé: Mercredi 3 Mars 2010 18h18:00 GMT +01:00 Amsterdam / Berlin / Berne / 
Rome / Stockholm / Vienne
Objet: Re: [PD] A better pitch shifter?


Thank you all for your replies! 
I will give shifter~ a try tomorrow. 

Another related question : does any of you know how the digitech whammy pedal 
works? Considering how it sounds i'd say it basically tracks the pitch (the way 
sigmund~ would) and then generates a synthesized sound which kind of sounds 
like an electric guitar, and which frequency can be modified at will. Am I 
right? This is different pitch shifter model altogether, isn't? 

Pierre 


2010/3/3 Julian Villegas  jul...@yahoo.com  


Did you try shifter~ ( http://julovi.net/j/?page_id=7 )? 

This is a Pd PSOLA pitch shifter I ported from Max/MSP. Developed originally by 
Tristan Jesen 
and hosted here. 

I found it faster than SSB, and format friendly. 

I hope it helps. 

Julian Villegas 
( http://julovi.net ) 
Me pregunto de un modo pensativo 
Que significa ser Colombiano? 
No se le respondi. Es un acto de fe 
JLB. 







___ 
Pd-list@iem.at mailing list 
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list 


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] A better pitch shifter?

2010-03-03 Thread colet . patrice

 It might be possible to start from attached patch


- Mail Original -
De: colet patrice colet.patr...@free.fr
À: Pierre Massat pimas...@gmail.com
Cc: pd-list pd-list@iem.at
Envoyé: Jeudi 4 Mars 2010 05h35:26 GMT +01:00 Amsterdam / Berlin / Berne / Rome 
/ Stockholm / Vienne
Objet: Re: [PD] A better pitch shifter?

Hello,)

yeah, an abs that receive the pitch shifting amount for processing each 
harmonics of sigmund~ outlet and give each result to oscillators.

The design of polypoly~ abstraction would fit, something like

[adc~]--[sigmund~ -npeak 10 peaks]--[partialShift~ 10]--//--[dac~]

- Mail Original -
De: Pierre Massat pimas...@gmail.com
À: Julian Villegas jul...@yahoo.com
Cc: pd-list@iem.at
Envoyé: Mercredi 3 Mars 2010 18h18:00 GMT +01:00 Amsterdam / Berlin / Berne / 
Rome / Stockholm / Vienne
Objet: Re: [PD] A better pitch shifter?


Thank you all for your replies! 
I will give shifter~ a try tomorrow. 

Another related question : does any of you know how the digitech whammy pedal 
works? Considering how it sounds i'd say it basically tracks the pitch (the way 
sigmund~ would) and then generates a synthesized sound which kind of sounds 
like an electric guitar, and which frequency can be modified at will. Am I 
right? This is different pitch shifter model altogether, isn't? 

Pierre 


2010/3/3 Julian Villegas  jul...@yahoo.com  


Did you try shifter~ ( http://julovi.net/j/?page_id=7 )? 

This is a Pd PSOLA pitch shifter I ported from Max/MSP. Developed originally by 
Tristan Jesen 
and hosted here. 

I found it faster than SSB, and format friendly. 

I hope it helps. 

Julian Villegas 
( http://julovi.net ) 
Me pregunto de un modo pensativo 
Que significa ser Colombiano? 
No se le respondi. Es un acto de fe 
JLB. 







___ 
Pd-list@iem.at mailing list 
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list 


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list
#N canvas 30 8 560 605 10;
#X obj 23 20 loadbang;
#X obj 68 100 i \$1;
#X obj 68 124 max 1;
#X obj 66 176 until;
#X obj 66 205 i;
#X obj 107 205 + 1;
#X obj 100 538 list trim;
#X obj 100 562 s pd-\$0-partials;
#N canvas 767 196 450 300 \$0-partials 0;
#X restore 304 204 pd \$0-partials;
#X obj 111 499 list prepend obj;
#X obj 112 337 list prepend 10;
#X obj 66 229 pack f \$0;
#X obj 53 462 list prepend connect;
#X msg 290 518 clear;
#X msg 111 177 0;
#X obj 66 148 min 128;
#X msg 112 289 10 r \$2-partial \, 40 route \$1 \, 70 unpack f f \,
160 * 1 \, 190 osc~ \, 220 *~ \, 250 throw~ \$2-signal;
#X msg 89 360 0 0 1 0 \, 1 0 2 0 \, 2 0 3 0 \, 3 0 4 0 \, 4 0 5 0 \,
5 0 6 0;
#X msg 31 422 7 0 3 1 \, 2 1 8 0 \, 8 0 9 0 \, 9 0 5 1;
#X msg 52 391 28 100 r \$2-control \, 76 150 pack f 10 \, 76 180 line~
;
#X obj 126 17 inlet sigmund tracker;
#X obj 206 132 s \$0-partial;
#X obj 394 13 inlet pitch;
#X obj 395 58 s \$0-control;
#X obj 289 134 catch~ \$0-signal;
#X obj 289 158 outlet~;
#X obj 32 294 t b a;
#X obj 66 256 t a b a;
#X obj 128 51 route reload;
#X obj 123 72 t a b;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X connect 2 0 15 0;
#X connect 3 0 4 0;
#X connect 4 0 5 0;
#X connect 4 0 11 0;
#X connect 5 0 4 1;
#X connect 6 0 7 0;
#X connect 9 0 6 0;
#X connect 10 0 9 0;
#X connect 11 0 27 0;
#X connect 12 0 6 0;
#X connect 13 0 7 0;
#X connect 14 0 4 1;
#X connect 15 0 3 0;
#X connect 16 0 10 0;
#X connect 17 0 12 0;
#X connect 18 0 12 0;
#X connect 19 0 9 0;
#X connect 20 0 28 0;
#X connect 22 0 23 0;
#X connect 24 0 25 0;
#X connect 26 0 18 0;
#X connect 26 1 19 0;
#X connect 27 0 26 0;
#X connect 27 1 17 0;
#X connect 27 2 16 0;
#X connect 28 0 29 0;
#X connect 28 1 21 0;
#X connect 29 0 1 0;
#X connect 29 1 14 0;
#X connect 29 1 13 0;
#N canvas 814 552 450 300 10;
#X obj 106 124 partialShift 2;
#X obj 106 83 sigmund~ -npeak 2 peaks;
#X obj 112 56 osc~ 440;
#X obj 264 92 hsl 128 15 1 8 0 0 empty empty empty -2 -8 0 10 -262144
-1 -1 1400 1;
#X obj 100 161 sigmund~ -npeak 2 peaks;
#X obj 100 196 route 0 1;
#X obj 102 234 unpack f f;
#X floatatom 102 256 5 0 0 0 - - -;
#X floatatom 156 257 5 0 0 0 - - -;
#X obj 198 236 unpack f f;
#X floatatom 198 258 5 0 0 0 - - -;
#X floatatom 252 259 5 0 0 0 - - -;
#X msg 251 33 \; pd dsp 0;
#X msg 318 32 \; pd dsp 1;
#X msg 21 59 reload 2;
#X text 3 35 reconstruct patch;
#X text 292 69 pitch;
#X text 213 7 must turn dsp off before creation;
#X connect 0 0 4 0;
#X connect 1 0 0 0;
#X connect 2 0 1 0;
#X connect 3 0 0 1;
#X connect 4 0 5 0;
#X connect 5 0 6 0;
#X connect 5 1 9 0;
#X connect 6 0 7 0;
#X connect 6 1 8 0;
#X connect 9 0 10 0;
#X connect 9 1 11 0;
#X connect 14 0 0 0;
___
Pd-list@iem.at mailing list

Re: [PD] A better pitch shifter?

2010-03-03 Thread colet . patrice



  there was something missing for connecting all osc~ instances, it's fixed in 
attached one
- Mail Original -
De: colet patrice colet.patr...@free.fr
À: Pierre Massat pimas...@gmail.com
Cc: pd-list pd-list@iem.at
Envoyé: Jeudi 4 Mars 2010 06h37:06 GMT +01:00 Amsterdam / Berlin / Berne / Rome 
/ Stockholm / Vienne
Objet: Re: [PD] A better pitch shifter?


 It might be possible to start from attached patch


- Mail Original -
De: colet patrice colet.patr...@free.fr
À: Pierre Massat pimas...@gmail.com
Cc: pd-list pd-list@iem.at
Envoyé: Jeudi 4 Mars 2010 05h35:26 GMT +01:00 Amsterdam / Berlin / Berne / Rome 
/ Stockholm / Vienne
Objet: Re: [PD] A better pitch shifter?

Hello,)

yeah, an abs that receive the pitch shifting amount for processing each 
harmonics of sigmund~ outlet and give each result to oscillators.

The design of polypoly~ abstraction would fit, something like

[adc~]--[sigmund~ -npeak 10 peaks]--[partialShift~ 10]--//--[dac~]

- Mail Original -
De: Pierre Massat pimas...@gmail.com
À: Julian Villegas jul...@yahoo.com
Cc: pd-list@iem.at
Envoyé: Mercredi 3 Mars 2010 18h18:00 GMT +01:00 Amsterdam / Berlin / Berne / 
Rome / Stockholm / Vienne
Objet: Re: [PD] A better pitch shifter?


Thank you all for your replies! 
I will give shifter~ a try tomorrow. 

Another related question : does any of you know how the digitech whammy pedal 
works? Considering how it sounds i'd say it basically tracks the pitch (the way 
sigmund~ would) and then generates a synthesized sound which kind of sounds 
like an electric guitar, and which frequency can be modified at will. Am I 
right? This is different pitch shifter model altogether, isn't? 

Pierre 


2010/3/3 Julian Villegas  jul...@yahoo.com  


Did you try shifter~ ( http://julovi.net/j/?page_id=7 )? 

This is a Pd PSOLA pitch shifter I ported from Max/MSP. Developed originally by 
Tristan Jesen 
and hosted here. 

I found it faster than SSB, and format friendly. 

I hope it helps. 

Julian Villegas 
( http://julovi.net ) 
Me pregunto de un modo pensativo 
Que significa ser Colombiano? 
No se le respondi. Es un acto de fe 
JLB. 







___ 
Pd-list@iem.at mailing list 
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list 


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list
#N canvas 30 8 560 605 10;
#X obj 23 20 loadbang;
#X obj 68 100 i \$1;
#X obj 68 124 max 1;
#X obj 66 176 until;
#X obj 66 205 i;
#X obj 107 205 + 1;
#X obj 100 538 list trim;
#X obj 100 562 s pd-\$0-partials;
#N canvas 767 196 450 300 \$0-partials 0;
#X restore 304 204 pd \$0-partials;
#X obj 111 499 list prepend obj;
#X obj 112 337 list prepend 10;
#X obj 66 229 pack f \$0;
#X obj 53 462 list prepend connect;
#X msg 290 518 clear;
#X msg 111 177 0;
#X obj 66 148 min 128;
#X msg 112 289 10 r \$2-partial \, 40 route \$1 \, 70 unpack f f \,
160 * 1 \, 190 osc~ \, 220 *~ \, 250 throw~ \$2-signal;
#X msg 89 360 0 0 1 0 \, 1 0 2 0 \, 2 0 3 0 \, 3 0 4 0 \, 4 0 5 0 \,
5 0 6 0;
#X msg 31 422 7 0 3 1 \, 2 1 8 0 \, 8 0 9 0 \, 9 0 5 1;
#X msg 52 391 28 100 r \$2-control \, 76 150 pack f 10 \, 76 180 line~
;
#X obj 126 17 inlet sigmund tracker;
#X obj 206 132 s \$0-partial;
#X obj 394 13 inlet pitch;
#X obj 395 58 s \$0-control;
#X obj 289 134 catch~ \$0-signal;
#X obj 289 158 outlet~;
#X obj 32 294 t b a;
#X obj 66 256 t a b a;
#X obj 128 51 route reload;
#X obj 123 72 t a b;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X connect 2 0 15 0;
#X connect 3 0 4 0;
#X connect 4 0 5 0;
#X connect 4 0 11 0;
#X connect 5 0 4 1;
#X connect 6 0 7 0;
#X connect 9 0 6 0;
#X connect 10 0 9 0;
#X connect 11 0 27 0;
#X connect 12 0 6 0;
#X connect 13 0 7 0;
#X connect 14 0 4 1;
#X connect 15 0 3 0;
#X connect 16 0 10 0;
#X connect 17 0 12 0;
#X connect 18 0 12 0;
#X connect 19 0 9 0;
#X connect 20 0 28 0;
#X connect 22 0 23 0;
#X connect 24 0 25 0;
#X connect 26 0 18 0;
#X connect 26 1 19 0;
#X connect 27 0 26 0;
#X connect 27 1 17 0;
#X connect 27 2 16 0;
#X connect 28 0 29 0;
#X connect 28 1 21 0;
#X connect 29 0 1 0;
#X connect 29 1 14 0;
#X connect 29 1 13 0;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list