Creating breaks from a connection ?

May 30, 2007 at 11:34pm

Creating breaks from a connection ?

As per
http://www.albany.edu/music/electronicmusic/images/max-sinisterV_small.jpg
eg. where there is a break from the line to the Dial

How do you do this?

#32194
May 31, 2007 at 10:07am

Quote: goodonpaper wrote on Thu, 31 May 2007 01:34
—————————————————-
> As per
> http://www.albany.edu/music/electronicmusic/images/max-sinisterV_small.jpg
> eg. where there is a break from the line to the Dial
>
> How do you do this?
—————————————————-

Sorry, I don’t understand your question.

I’d say when you have a question about a certain patch you should typically write to its author. Perhaps contact the writer of that page, Justin Mizelle?

Cheers,
Mattijs

#105461
May 31, 2007 at 10:36am

#105462
May 31, 2007 at 11:34am

I seem to be misinterpretting the screenshot – sorry!

However, I am having one small problem – how do I add a duration to a ‘note’? (ie. cycle 350)

#105463
May 31, 2007 at 1:03pm

you mean this ? :

#P button 151 128 15 0;
#P user ezdac~ 105 256 149 289 0;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 103 224 27 196617 *~;
#P message 151 152 62 196617 1. , 0. 1000;
#P newex 151 170 32 196617 line~;
#P newex 79 171 61 196617 cycle~ 350;
#P comment 170 128 100 196617 click here;
#P connect 2 0 4 1;
#P connect 3 0 2 0;
#P connect 6 0 3 0;
#P connect 4 0 5 0;
#P connect 4 0 5 1;
#P fasten 1 0 4 0 84 214;
#P window clipboard copycount 7;

Quote: goodonpaper wrote on Thu, 31 May 2007 13:34
—————————————————-
> I seem to be misinterpretting the screenshot – sorry!
>
> However, I am having one small problem – how do I add a duration to a ‘note’? (ie. cycle 350)
—————————————————-

#105464
May 31, 2007 at 1:09pm

goodonpaper skrev:
> I seem to be misinterpretting the screenshot – sorry!
>
> However, I am having one small problem – how do I add a duration to a ‘note’? (ie. cycle 350)
- [makenote]

Andreas.

#105465
May 31, 2007 at 5:52pm

Basically, I’m trying to make the frequencies in the green box have a certain duration (approx 1 sec).

http://goodonpaper.org/images/mspscreenshot.jpg

[makenote] wouldn’t allow for the connection.

I’ll also need to add two frequencies like I did for the ‘dialtone’ – but separator doesnt appear to work in the context of send/receive – am I missing something?

#105466
May 31, 2007 at 6:25pm

Quote: goodonpaper wrote on Thu, 31 May 2007 11:52
—————————————————-
> Basically, I’m trying to make the frequencies in the green box have a certain duration (approx 1 sec).

> [makenote] wouldn’t allow for the connection.

At least some of your problem appears to derive from
the fact that you’re trying to mix Max objects in the
audio-rate domain with Max objects that work in the
MIDI domain. This would imply that perhaps you might
benefit from some time with the tutorials, which
would give you a better grasp of the basics.

#105467
May 31, 2007 at 6:35pm

Makenote was suggested – I’ve been working through the tutorials, I’m just stuck on this particular part …

#105468
May 31, 2007 at 6:55pm

Quote: goodonpaper wrote on Thu, 31 May 2007 20:35
—————————————————-
> Makenote was suggested – I’ve been working through the tutorials, I’m just stuck on this particular part …
—————————————————-

this should get you started if you want to stay in the signal domain :

#P user scope~ 355 340 576 410 256 3 128 -1. 1. 0 0. 0 0. 102 255 51 135 135 135 0;
#P user kslider 258 61 35 1 36 48 19 7 0 128 128 128 128 128 128 255 255 255 0 0 0 0 0 0;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 258 111 31 196617 mtof;
#P newex 258 156 27 196617 t i b;
#P button 330 192 15 0;
#P user ezdac~ 283 377 327 410 0;
#P newex 282 284 27 196617 *~;
#P message 330 212 62 196617 1. , 0. 1000;
#P newex 330 230 32 196617 line~;
#P newex 258 231 61 196617 cycle~ 350;
#P comment 457 68 100 196617 pick a note;
#P comment 293 113 150 196617 convert midi note to frequency;
#P window linecount 2;
#P comment 583 340 100 196617 amplitude enveloppe of the note;
#P connect 6 0 7 0;
#P connect 6 0 7 1;
#P connect 6 0 12 0;
#P connect 11 0 10 0;
#P connect 10 0 9 0;
#P connect 9 0 3 0;
#P connect 9 1 8 0;
#P fasten 3 0 6 0 263 274;
#P connect 8 0 5 0;
#P connect 5 0 4 0;
#P connect 4 0 6 1;
#P window clipboard copycount 13;

#105469
May 31, 2007 at 7:12pm

Are there no MSP objects for quantifying a duration?

#105470
May 31, 2007 at 7:15pm

At 11:52 AM -0600 5/31/07, goodonpaper wrote:
>Basically, I’m trying to make the frequencies in the green box have a certain duration (approx 1 sec).

You really should read the tutorials. This sort of thing is covered in detail. There are many ways to achieve this, this one will click at the edges, but it’s simple:

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 67 212 48 196617 loadbang;
#B color 10;
#P message 67 233 26 196617 100;
#P message 132 139 17 196617 0.;
#P message 114 139 17 196617 1.;
#P newex 132 117 61 196617 delay 1000;
#B color 10;
#P button 114 95 15 0;
#P newex 47 163 95 196617 *~ 0.2;
#P user ezdac~ 47 400 91 433 0;
#P user gain~ 47 262 24 100 158 0 1.071519 7.94321 10.;
#P newex 47 141 61 196617 cycle~ 900;
#P comment 131 94 100 196617 < - play for a second;
#P connect 5 0 7 0;
#P connect 5 0 6 0;
#P connect 2 0 3 0;
#P connect 2 0 3 1;
#P connect 10 0 9 0;
#P connect 9 0 2 0;
#P connect 8 0 4 1;
#P connect 7 0 4 1;
#P connect 6 0 8 0;
#P connect 4 0 2 0;
#P connect 1 0 4 0;
#P window clipboard copycount 11;

>I’ll also need to add two frequencies like I did for the ‘dialtone’ – but separator doesnt appear to work in the context of send/receive – am I missing something?

I’m not sure what you mean by separator.

-C


Chris Muir | “There are many futures and only one status quo.
cbm@well.com | This is why conservatives mostly agree,
http://www.xfade.com | and radicals always argue.” – Brian Eno

#105471
May 31, 2007 at 7:19pm

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 186 69 78 196617 loadmess 1000;
#P user ezdac~ 90 328 134 361 0;
#P comment 130 43 244 196617 Triggers your duration over your desired time;
#P button 116 43 15 0;
#P comment 394 170 157 196617 Draw your desired envelope;
#P number 186 92 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 223 94 157 196617 duration you want here (ms);
#P message 186 122 70 196617 setdomain $1;
#P newex 90 146 61 196617 cycle~ 330;
#P newex 90 287 27 196617 *~;
#P newex 249 269 32 196617 line~;
#P user function 186 146 386 246 1 1 0 0;
#X frgb 82 82 82;
#X brgb 204 204 204;
#X rgb2 85 85 85;
#X rgb3 255 255 255;
#X rgb4 0 0 0;
#X rgb5 0 0 0;
#X add 0. 0. 0;
#X add 186.170212 0.933333 0;
#X add 367.021271 0.506667 0;
#X add 893.617004 0.72 0;
#X add 1000. 0. 0;
#X domain 1000.;
#X range 0. 1.;
#X done;
#P comment 90 131 78 196617 Signal goes here;
#P connect 12 0 7 0;
#P connect 4 0 3 0;
#P connect 3 0 11 0;
#P connect 3 0 11 1;
#P connect 9 0 1 0;
#P connect 7 0 5 0;
#P connect 5 0 1 0;
#P connect 2 0 3 1;
#P connect 1 1 2 0;
#P window clipboard copycount 13;

heres a good solution that will allow you to enforce a desired envelope over time
T

#105472
May 31, 2007 at 8:20pm

http://goodonpaper.org/images/mspscreenshot2.jpg

So far as I’ve got – I’m only using MSP objects – real beginner, no idea how to implement the code. Only thing that I need to arrange is having the keypad “buttons” only play the “note” for a second.

#105473
May 31, 2007 at 10:15pm

At 2:20 PM -0600 5/31/07, goodonpaper wrote:
>So far as I’ve got – I’m only using MSP objects – real beginner, no idea how to implement the code. Only thing that I need to arrange is having the keypad “buttons” only play the “note” for a second.

Have you been trying the examples that people have been sending?

-C


Chris Muir | “There are many futures and only one status quo.
cbm@well.com | This is why conservatives mostly agree,
http://www.xfade.com | and radicals always argue.” – Brian Eno

#105474
Jun 1, 2007 at 5:09am

goodonpaper schrieb:
> Are there no MSP objects for quantifying a duration?

yes there are, cycle~ for example if you divide 1 by the frequency you
get a duration of the cycle~…. ;-)

By the way there is an easier method to post patches than linking to
screenshots: select all on your patch, paste into the mail body. Then
people can actually open and try it.

The last shot you sent will work, but needs 20 cycle~s instead of only
2. You can send the frequencies to the cycle~ objects instead of
selector~ing the cycles…

All you ask is so easy, that I recommend you try to find out yourself.
This will teach you more than a hundred posted solutions…

Stefan


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

#105475

You must be logged in to reply to this topic.