Pitch shifting delay

Aug 31, 2006 at 1:09pm

Pitch shifting delay

Would anybody know how to create a pitch shifitng delay?
I am trying to create a delay that shifts by a given interval with each iteration of the delay.
My programming skills are not the best, I am new to this MaxMSP thing!

Else, anyone know of any VST plug-ins that do this?

Thanks.

#27403
Aug 31, 2006 at 1:20pm

Something like that?

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P message 32 24 28 9109513 open;
#P message 66 26 14 9109513 1;
#N sfplay~ 1 120960 0 ;
#P newobj 33 70 40 9109513 sfplay~;
#P user ezdac~ 61 208 105 241 0;
#P newex 285 116 38 9109513 / 128.;
#N vpatcher 50 40 454 380;
#P window setfont “Sans Serif” 9.;
#P message 167 89 20 9109513 64;
#P newex 167 66 45 9109513 loadbang;
#P message 138 249 50 9109513 set $1;
#N comlet MIDI pitch;
#P outlet 138 270 15 0;
#P message 245 254 26 9109513 127;
#P newex 245 233 45 9109513 loadbang;
#N comlet feedback;
#P outlet 297 270 15 0;
#P newex 297 235 50 9109513 ctlin 1;
#P newex 53 82 49 9109513 stripnote;
#P newex 53 60 88 9109513 notein;
#P newex 152 141 70 9109513 transRatio;
#P newex 53 215 109 9109513 *~;
#P newex 152 181 49 9109513 line~;
#P message 152 162 38 9109513 $1 40;
#P newex 152 121 141 9109513 zmap 0 127 -4. 4.;
#P newex 152 41 50 9109513 bendin;
#N comlet delay time;
#P outlet 53 269 15 0;
#N comlet MIDI pitch;
#P inlet 22 115 15 0;
#P newex 53 244 44 9109513 !/~ 100;
#P newex 53 150 54 9109513 transRatio;
#P newex 53 190 50 9109513 line~ 0;
#P message 53 171 50 9109513 $1 10;
#P newex 53 131 43 9109513 – 3.485;
#P comment 66 114 57 9109513 MIDI pitch;
#P comment 34 289 55 9109513 delay time;
#P comment 287 290 45 9109513 feedback;
#P comment 125 290 53 9109513 MIDI pitch;
#P connect 17 0 18 0;
#P connect 18 0 4 0;
#P connect 9 0 4 0;
#P connect 4 0 7 0;
#P connect 7 0 5 0;
#P connect 5 0 6 0;
#P connect 6 0 15 0;
#P connect 15 0 8 0;
#P connect 8 0 10 0;
#P connect 17 1 18 1;
#P fasten 18 0 24 0 58 107 143 107;
#P connect 24 0 23 0;
#P fasten 26 0 12 0 172 115 157 115;
#P connect 11 0 12 0;
#P connect 12 0 16 0;
#P connect 16 0 13 0;
#P connect 13 0 14 0;
#P connect 14 0 15 1;
#P connect 25 0 26 0;
#P connect 21 0 22 0;
#P connect 19 0 20 0;
#P connect 22 0 20 0;
#P pop;
#P newobj 139 70 112 9109513 p MIDI_and_conversion;
#P newex 62 155 261 9109513 comb~ 1000 1 0.1 0 0.9;
#P user multiSlider 287 92 196 12 -127. 127. 1 2920 47 0 0 2 0 0 0;
#M frgb 0 0 0;
#M brgb 255 255 255;
#M rgb2 127 127 127;
#M rgb3 0 0 0;
#M rgb4 37 52 91;
#M rgb5 74 105 182;
#M rgb6 112 158 18;
#M rgb7 149 211 110;
#M rgb8 187 9 201;
#M rgb9 224 62 37;
#M rgb10 7 114 128;
#P user multiSlider 138 47 196 12 -127. 127. 1 2920 47 0 0 2 0 0 0;
#M frgb 0 0 0;
#M brgb 255 255 255;
#M rgb2 127 127 127;
#M rgb3 0 0 0;
#M rgb4 37 52 91;
#M rgb5 74 105 182;
#M rgb6 112 158 18;
#M rgb7 149 211 110;
#M rgb8 187 9 201;
#M rgb9 224 62 37;
#M rgb10 7 114 128;
#P connect 6 0 2 0;
#P connect 7 0 6 0;
#P connect 8 0 6 0;
#P connect 2 0 5 0;
#P connect 2 0 5 1;
#P connect 4 0 2 4;
#P connect 1 0 4 0;
#P connect 3 2 1 0;
#P connect 3 0 2 1;
#P connect 0 0 3 0;
#P window clipboard copycount 9;

Bruno

#82875
Aug 31, 2006 at 2:15pm

>Something like that?
>
>#P user ezdac~ 47 214 91 247 0;

I hope not – your patch makes my max crash

(on mac os X 4 7, max 4.5)

best

kasper

Kasper T. Toeplitz
noise, composition, bass, computer

http://www.sleazeArt.com

#82876
Aug 31, 2006 at 2:24pm

On 31-Aug-2006, at 16:15, Kasper T Toeplitz wrote:

>> Something like that?
>>
>> #P user ezdac~ 47 214 91 247 0;
>
>
> I hope not – your patch makes my max crash
>
> (on mac os X 4 7, max 4.5)

Also on Max 4.6, Intel iMac, Mac OS 10.4.7. Also crashes Max 4.5.6 on
same machine.

I can post crash logs if anyone wants to look at them.

– P.

————– http://www.bek.no/~pcastine/Litter/ ————-
Peter Castine +–> Litter Power & Litter Bundle for Jitter
Universal Binaries on the way
iCE: Sequencing, Recording &
Interface Building for |home | chez nous|
Max/MSP Extremely cool |bei uns | i nostri|
http://www.dspaudio.com/ http://www.castine.de

#82877
Aug 31, 2006 at 2:49pm

Quote: Kasper T Toeplitz wrote on Thu, 31 August 2006 08:15
—————————————————-
> I hope not – your patch makes my max crash
>
> (on mac os X 4 7, max 4.5)

—————————————————-

I’m sorry… I’m working on Windows XP and everything works properly.
There is a loandbang inside “p MIDI_and_conversion”, try to run it before use the sfplay~.

Bruno

#82878
Aug 31, 2006 at 2:50pm

#82879
Aug 31, 2006 at 4:02pm

Really? That’s exactly the problem that I get many times at day, I don’t know why.

I thought to report this to Cycling74 as a bug…

#82880
Sep 2, 2006 at 8:10am

IanMcD wrote:
> Would anybody know how to create a pitch shifitng delay? I am trying
> to create a delay that shifts by a given interval with each iteration
> of the delay. My programming skills are not the best, I am new to
> this MaxMSP thing!

This is not a question of “programming skills”, but a question of
knowing how to put up a signal flow.

Do it like in an analog studio, put a pitchshifter into the feedback…

(You’ll find one in the example folder)

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com

#82881
Sep 3, 2006 at 1:06am

> This is not a question of “programming skills”, but a question of
> knowing how to put up a signal flow.
>
> Do it like in an analog studio, put a pitchshifter into the feedback…

he could also do it like in a digital studio (for example
because MAX is also digital) … and create an array of 3
tapouts, interpolate between them, so that you can read the
tapin out continously at a speed of [one note higher than
at normal rate] and make a feedback loop around it.

#82882
Sep 3, 2006 at 2:51pm

This patch is opening up a whole new world of possibilities within
Max. ;)

I think my favorite features are:

[multislider] with a range of -127,000,000 to 127,000,000

[/ 128, 0]

[comb~ 1000 1 0, 100000 0 0, 900000]

Neato.

So, Bruno – Could you try opening your patch as text, and copy/paste
that, instead of copying straight to the clipboard from the open
patcher? It might not make a difference, but may be worth a try.

-David

On Aug 31, 2006, at 9:20 AM, Bruno Zamborlin wrote:

> #P user multiSlider 211 108 185 12 -127,000000 127,000000 1 2920 47
> 0 0 2 0 0 0;

> #P newex 48 161 176 9109513 comb~ 1000 1 0 , 100000 0 0 , 900000;

> #P newex 211 136 66 9109513 / 128 , 0;

#82883
Sep 4, 2006 at 5:47am

Roman Thilenius wrote:
> he could also do it like in a digital studio (for example
> because MAX is also digital) … and create an array of 3
> tapouts, interpolate between them, so that you can read the
> tapin out continously at a speed of [one note higher than
> at normal rate] and make a feedback loop around it.

Thats exactly the classical granular pitchshifter of the examples
folder, and as it does have a tapin~/tapout~ its easy to combine with
the delay itself…

I was reffering to the way of thinking – and somone who claims he has no
programming skills needs some easy examples/pictures to get going and
loose the fear of just doing it, with or without skills.
Skills are something which arrive as soon you just start doing it,
collect the information you need on the fly, don’t hesitate to walk
without knowing the path, but knowing where you want to go.
This is the only way to get onto the path. (which only in the end will
be more important than the goal… ;-)

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com

#82884
Sep 4, 2006 at 6:50am

hi all,

I’ve released the first cut of a little app to dump marker info out of
aiff files. Called “sfm” & available at:

http://www-personal.usyd.edu.au/~ascott/index.html

* output formats are:

“raw” – returns a list of markID, mark name & position (in samples)
“list” – returns a simple list of mark positions (in samples)
“msp” – returns a cuelist formatted for Max/MSP (in milliseconds)

* command-line tool with screen or text file output
* uses libsndfile to read the header

It’s only been tested with files created in BIAS Peak (I don’t have
anything else) so I’d be interested to see how compliant it/Peak is.

Ash

Send instant messages to your online friends http://au.messenger.yahoo.com

#82885
Sep 4, 2006 at 8:11am

I have updated Stochos with the universal version on sonic-disorder
website. You can download the zipped file and please see the read-me
file. (it is tested on intel-mac machines!)

There has been performance improvements due to the new versions of
maxmsp. You can also set the DAC output as you wish to route the
audio output.

Thanks for your interest in Stochos, there has been nearly 2000
downloads either directly from sonic-disorder or from different
suppliers linking to sonic-disorder.

I will be presenting some new research with my Cosmos app. on DAFX06
and ICMC06, so we can have a chat with you visiting people on the venue.

best,

Sinan Bokesoy
http://www.sonic-disorder.com

On Sep 4, 2006, at 9:53 AM, Ashley Scott wrote:

> hi all,
>
> I’ve released the first cut of a little app to dump marker info out
> of aiff files. Called “sfm” & available at:
>
> http://www-personal.usyd.edu.au/~ascott/index.html
>
> * output formats are:
>
> “raw” – returns a list of markID, mark name & position (in samples)
> “list” – returns a simple list of mark positions (in samples)
> “msp” – returns a cuelist formatted for Max/MSP (in milliseconds)
>
> * command-line tool with screen or text file output
> * uses libsndfile to read the header
>
> It’s only been tested with files created in BIAS Peak (I don’t have
> anything else) so I’d be interested to see how compliant it/Peak is.
>
> Ash
>
>
>
> Send instant messages to your online friends http://

#82886
Sep 4, 2006 at 9:07am

Quote: David Stanford wrote on Sun, 03 September 2006 08:51
—————————————————-
> This patch is opening up a whole new world of possibilities within
> Max. ;)
>
> I think my favorite features are:
>
> [multislider] with a range of -127,000,000 to 127,000,000
>
> [/ 128, 0]
>
> [comb~ 1000 1 0, 100000 0 0, 900000]
>
> Neato.
>
> So, Bruno – Could you try opening your patch as text, and copy/paste
> that, instead of copying straight to the clipboard from the open
> patcher? It might not make a difference, but may be worth a try.
>
> -David
—————————————————-

I just uploaded on a webserver, this is the address to download it:

http://www.brunozamborlin.com/pitchdelay.pat

I’m curious to know why it works only in my computer :-)

Bruno

#82887
Sep 4, 2006 at 1:59pm

There were problems with the text version that you originally posted.
The translation from patch -> text didn’t happen correctly, but I
have no idea why/how, although I’m curious about it. The binary
version runs OK for me. – David

On Sep 4, 2006, at 5:07 AM, Bruno Zamborlin wrote:

> I’m curious to know why it works only in my computer :-)

#82888
Sep 4, 2006 at 6:44pm

Quote: Eomac wrote on Thu, 31 August 2006 07:09
—————————————————-
> Would anybody know how to create a pitch shifitng delay?
—————————————————-

So, maybe you would try to use this one (based on a Leafcutter John work): http://www.brunozamborlin.com/pitchdelay.pat

(pay attention to the loadbang)

:-)

Bruno

#82889

You must be logged in to reply to this topic.