Forums > MaxMSP

cyan/n from audiooo.com

June 7, 2007 | 5:54 pm

Hi,

i’ve recently come across the improvisation audio looper "cyan/n" from http://www.audiooo.com and was very impressed. I’d like to create my own patch based on some of the things used and was wondering if some of you guys could help.

First of all i would like to know how it automatically calculates the amount of bars and of an audio loop and fits it corresponding to the main tempo.

i would also like to know what is used for the drill option to the left of the bottom four waveforms.

Finally (for now), i would like to know how the in-build drum machine in the top right has been made. Are samples used or are the sounds made within max?

If anyone can help with any of these questions i will be very appreciative.

Thank you
Chris


June 8, 2007 | 10:37 am

anyone?


June 8, 2007 | 12:35 pm

Wouldn’t it be an idea to ask these questions to the authors of cyan/n?

Mattijs


June 8, 2007 | 4:00 pm

Quote: Mattijs wrote on Fri, 08 June 2007 06:35
—————————————————-
> Wouldn’t it be an idea to ask these questions to the authors of cyan/n?
>
> Mattijs
—————————————————-

i didn’t recieve a reply.

the main thing i want to learn is how to automatically pitch samples so that they loop in sync with each other. I’m sure i’ve seen things on the forum which do that but i cannot find them now.

Chris


June 8, 2007 | 5:43 pm

"the main thing i want to learn is how to automatically pitch samples so that they loop in sync with each other."

Info~ reports the length of a sample inside a specified buffer. You could use the bang the buffer outputs (when finished reading a file) to output the length. Using the length math and an n number of buffers and playback objects you should be able to do what you are looking for.

There are many more ways to do it and a lot more are smoother, more efficient etcetera.

Practice makes perfect and the documentation and examples provide you with everything you’ll ever need to build sampler like application as you described.


June 11, 2007 | 6:51 pm

Chris Hipgrave schrieb:
> the main thing i want to learn is how to automatically pitch samples
> so that they loop in sync with each other. I’m sure i’ve seen things
> on the forum which do that but i cannot find them now.

If you play the sample with wave~, you can easily do that by driving it
with a master phasor~. whenever you set the wave~ to a different buffer~
it will automatically pitch to the correct duration – should be fun in
combination with rate~….

Stefan


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


June 12, 2007 | 10:39 am

This works great. Thanks

Quote: Stefan Tiedje wrote on Mon, 11 June 2007 12:51
—————————————————-
> Chris Hipgrave schrieb:
> > the main thing i want to learn is how to automatically pitch samples
> > so that they loop in sync with each other. I’m sure i’ve seen things
> > on the forum which do that but i cannot find them now.
>
> If you play the sample with wave~, you can easily do that by driving it
> with a master phasor~. whenever you set the wave~ to a different buffer~
> it will automatically pitch to the correct duration – should be fun in
> combination with rate~….
>
> Stefan
>
> —
> Stefan Tiedje————x——-
> –_____———–|————–
> –(_|_ —-|—–|—–()——-
> — _|_)—-|—–()————–
> ———-()——–www.ccmix.com
>
>
>
—————————————————-


June 13, 2007 | 11:47 am

I managed to get it working (see patch below) but i cannot seem to work out how to make sure that when i load a new loop, it will not start playing untill the beginning of the bar. Can anyone help?

Thanks
Chris

max v2;
#N vpatcher 5 45 1019 765;
#P origin -38 -138;
#P window setfont "Sans Serif" 9.;
#P flonum 545 245 54 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P newex 467 283 88 196617 rate~ 1.5;
#B color 5;
#P message 680 248 125 196617 "01 drums.wav";
#P newex 743 227 62 196617 prepend set;
#P number 680 227 61 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 681 205 105 196617 info~ buf2;
#P message 624 160 43 196617 replace;
#P newex 624 180 67 196617 buffer~ buf2;
#P message 602 348 26 196617 1/8;
#P message 677 348 26 196617 1;
#P message 652 348 26 196617 1/2;
#P message 627 348 26 196617 1/4;
#P hidden button 647 375 15 0;
#P hidden newex 778 325 32 196617 del 0;
#P hidden button 778 348 15 0;
#P flonum 778 370 53 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden button 602 375 15 0;
#P message 532 597 39 196617 set $1;
#P newex 532 568 27 196617 / 8.;
#P hidden button 617 375 15 0;
#P hidden button 632 375 15 0;
#P message 575 596 39 196617 set $1;
#P newex 575 567 27 196617 / 4.;
#P message 617 596 39 196617 set $1;
#P newex 617 567 27 196617 / 2.;
#P flonum 582 528 54 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden comment 870 345 47 196617 select all;
#P hidden message 867 359 51 196617 0 -1 0 -1;
#P user waveform~ 511 390 367 123 3 9;
#W mode none;
#W snap grid;
#W mouseoutput continuous;
#W unit phase;
#W grid 0.0625;
#W ticks 0;
#W labels 0;
#W vlabels 0;
#W vticks 1;
#W bpm 120. 4.;
#W frgb 33 0 0;
#W brgb 255 255 255;
#W rgb2 0 95 255;
#W rgb3 0 0 0;
#W rgb4 0 0 0;
#W rgb5 190 137 255;
#W rgb6 100 100 100;
#W rgb7 100 100 100;
#P user gain~ 467 390 44 101 158 0 1.071519 7.94321 10.;
#P hidden message 511 363 56 196617 set buf2 1;
#P newex 467 313 63 196617 wave~ buf2;
#P message 191 350 26 196617 1/8;
#P message 266 350 26 196617 1;
#P message 241 350 26 196617 1/2;
#P message 216 350 26 196617 1/4;
#P hidden button 236 375 15 0;
#P hidden newex 367 325 32 196617 del 0;
#P hidden button 367 348 15 0;
#P flonum 367 370 53 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden button 191 375 15 0;
#P message 121 597 39 196617 set $1;
#P newex 121 568 27 196617 / 8.;
#P hidden button 206 375 15 0;
#P hidden button 221 375 15 0;
#P message 164 596 39 196617 set $1;
#P newex 164 567 27 196617 / 4.;
#P message 206 596 39 196617 set $1;
#P newex 206 567 27 196617 / 2.;
#P flonum 171 528 54 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden message 20 226 14 196617 8;
#P comment 90 183 47 196617 Tempo;
#P flonum 56 182 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden comment 459 345 47 196617 select all;
#P hidden message 456 359 51 196617 0 -1 0 -1;
#P user waveform~ 100 390 367 123 3 9;
#W mode none;
#W snap grid;
#W mouseoutput continuous;
#W unit phase;
#W grid 0.0625;
#W ticks 0;
#W labels 0;
#W vlabels 0;
#W vticks 1;
#W bpm 120. 4.;
#W frgb 33 0 0;
#W brgb 255 255 255;
#W rgb2 0 95 255;
#W rgb3 0 0 0;
#W rgb4 0 0 0;
#W rgb5 190 137 255;
#W rgb6 100 100 100;
#W rgb7 100 100 100;
#P flonum 134 234 54 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 56 272 88 196617 rate~ 1.5;
#B color 5;
#P newex 56 242 40 196617 sync~;
#P user gain~ 56 390 44 101 158 0 1.071519 7.94321 10.;
#P hidden message 100 363 56 196617 set buf1 1;
#P newex 56 306 63 196617 wave~ buf1;
#P message 675 141 125 196617 r_combdrum.aif;
#P newex 738 120 62 196617 prepend set;
#P number 675 120 61 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 676 98 105 196617 info~ buf1;
#P message 623 53 43 196617 replace;
#P newex 623 73 63 196617 buffer~ buf1;
#P user ezdac~ 379 604 423 637 0;
#P hidden newex 12 203 48 196617 loadbang;
#P hidden connect 0 0 19 0;
#P connect 17 0 11 0;
#P connect 11 0 12 0;
#P connect 12 0 8 0;
#P connect 8 0 10 0;
#P hidden connect 14 2 8 1;
#P hidden fasten 0 0 9 0 17 354 105 354;
#P hidden connect 9 0 14 0;
#P hidden connect 14 3 8 2;
#P connect 20 0 27 0;
#P hidden connect 29 0 28 0;
#P connect 27 0 28 0;
#P hidden connect 19 0 13 0;
#P connect 13 0 12 1;
#P connect 20 0 23 0;
#P hidden connect 26 0 24 0;
#P connect 23 0 24 0;
#P connect 14 1 20 0;
#P hidden connect 37 0 29 0;
#P hidden connect 34 0 26 0;
#P connect 20 0 21 0;
#P hidden connect 25 0 22 0;
#P connect 21 0 22 0;
#P hidden connect 35 0 25 0;
#P hidden connect 36 0 33 0;
#P hidden connect 29 0 32 0;
#P hidden connect 26 0 32 0;
#P hidden connect 25 0 32 0;
#P hidden connect 32 0 31 0;
#P hidden connect 31 0 30 0;
#P hidden connect 22 0 30 0;
#P hidden connect 24 0 30 0;
#P hidden connect 28 0 30 0;
#P hidden connect 30 0 14 3;
#P fasten 40 0 1 0 472 558 384 558;
#P fasten 10 0 1 0 61 558 384 558;
#P fasten 40 0 1 1 472 558 418 558;
#P hidden fasten 10 0 1 1 61 558 418 558;
#P hidden connect 33 0 15 0;
#P hidden connect 15 0 14 4;
#P fasten 11 0 68 0 61 266 472 266;
#P connect 68 0 38 0;
#P connect 38 0 40 0;
#P hidden connect 41 2 38 1;
#P hidden connect 0 0 39 0;
#P hidden connect 39 0 41 0;
#P hidden connect 41 3 38 2;
#P connect 44 0 51 0;
#P hidden connect 53 0 52 0;
#P connect 51 0 52 0;
#P hidden connect 19 0 69 0;
#P connect 69 0 68 1;
#P connect 44 0 47 0;
#P hidden connect 50 0 48 0;
#P connect 47 0 48 0;
#P connect 41 1 44 0;
#P hidden connect 61 0 53 0;
#P hidden connect 58 0 50 0;
#P connect 44 0 45 0;
#P hidden connect 49 0 46 0;
#P connect 45 0 46 0;
#P connect 3 0 2 0;
#P connect 63 0 62 0;
#P hidden connect 59 0 49 0;
#P hidden connect 60 0 57 0;
#P fasten 4 6 5 0 759 117 680 117;
#P fasten 6 0 7 0 743 138 680 138;
#P connect 2 1 4 0;
#P fasten 64 6 65 0 764 224 685 224;
#P fasten 66 0 67 0 748 245 685 245;
#P connect 62 1 64 0;
#P fasten 4 7 6 0 772 117 743 117;
#P fasten 64 7 66 0 777 224 748 224;
#P hidden connect 53 0 56 0;
#P hidden connect 50 0 56 0;
#P hidden connect 49 0 56 0;
#P hidden connect 56 0 55 0;
#P hidden connect 52 0 54 0;
#P hidden connect 48 0 54 0;
#P hidden connect 46 0 54 0;
#P hidden connect 55 0 54 0;
#P hidden connect 54 0 41 3;
#P hidden connect 57 0 42 0;
#P hidden connect 42 0 41 4;
#P pop;


May 24, 2012 | 2:32 pm

MIDICONTROLER IN CYAN/n??????

he guys

im jamming arround with the cyann standalone for a while its quiet cool
BUT theres one problem i couldnt route the parameters to the buttons of the controler (nanopad)

the other programms get it any help welcome!!!!!

how to set the parameter to the buttons with the midilearn mode?????

please help !!

cheers


Viewing 9 posts - 1 through 9 (of 9 total)