Most Efficient Way to Mute Audio Signal in Patch & Metro It!

Jun 8, 2007 at 4:21am

Most Efficient Way to Mute Audio Signal in Patch & Metro It!

What is the most efficient way to mute the audio signal in a patch, between adc~ and dac~, such that the signal can be muted and unmuted in varying frequencies with metro. See below. Creative ideas welcome. Cheers / K

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 426 160 28 9109513 * 40;
#P newex 185 237 28 9109513 dac~;
#P newex 184 93 28 9109513 adc~;
#P toggle 344 194 15 0;
#P button 353 155 15 0;
#P newex 380 213 56 9109513 metro 500;
#B color 5;
#P message 380 155 28 9109513 stop;
#P button 380 238 15 0;
#P slider 426 90 13 51 0 1;
#P number 426 191 33 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P connect 9 0 0 0;
#P connect 1 0 9 0;
#P connect 7 1 8 1;
#P connect 7 0 8 0;
#P connect 0 0 4 1;
#P connect 4 0 2 0;
#P connect 3 0 4 0;
#P connect 6 0 4 0;
#P connect 5 0 4 0;
#P window clipboard copycount 10;

#32361
Jun 8, 2007 at 4:47am

why not multiply the signal by 0 so you can drive it in MSP land at
sample rate?

[*~ 0.]

On Jun 8, 2007, at 12:22 AM, Krispen Hartung wrote:

>
> What is the most efficient way to mute the audio signal in a patch,
> between adc~ and dac~, such that the signal can be muted and
> unmuted in varying frequencies with metro. See below. Creative
> ideas welcome. Cheers / K
>
> #P window setfont “Sans Serif” 9.;
> #P window linecount 1;
> #P newex 426 160 28 9109513 * 40;
> #P newex 185 237 28 9109513 dac~;
> #P newex 184 93 28 9109513 adc~;
> #P toggle 344 194 15 0;
> #P button 353 155 15 0;
> #P newex 380 213 56 9109513 metro 500;
> #B color 5;
> #P message 380 155 28 9109513 stop;
> #P button 380 238 15 0;
> #P slider 426 90 13 51 0 1;
> #P number 426 191 33 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
> #P connect 9 0 0 0;
> #P connect 1 0 9 0;
> #P connect 7 1 8 1;
> #P connect 7 0 8 0;
> #P connect 0 0 4 1;
> #P connect 4 0 2 0;
> #P connect 3 0 4 0;
> #P connect 6 0 4 0;
> #P connect 5 0 4 0;
> #P window clipboard copycount 10;
>
> –
> Krispen Hartung
> Creative Performance & Composition
> Guitar / 6-String Mandolin / Laptop
> http://www.krispenhartung.com
> info@krispenhartung.com

v a d e //

http://www.vade.info
abstrakt.vade.info

#106282
Jun 8, 2007 at 5:05am

#106283
Jun 8, 2007 at 5:30am

Exellent. Works great, and fun with some pitch in the signal. /K

#106284
Jun 9, 2007 at 12:16pm

Krispen Hartung schrieb:
> What is the most efficient way to mute the audio signal in a patch, between adc~ and dac~, such that the signal can be muted and unmuted in varying frequencies with metro. See below. Creative ideas welcome. Cheers / K

Audio rate envelope example…
Have fun…

#P user gain~ 213 356 26 27 158 0 1.071519 7.94321 10.;
#P user gain~ 184 356 26 27 158 0 1.071519 7.94321 10.;
#P user ezdac~ 335 368 379 401 0;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 117 218 63 196617 cycle~ 220;
#P newex 280 222 50 196617 !/ 100.;
#P newex 315 117 36 196617 t b 0;
#P newex 315 93 33 196617 sel 1;
#P toggle 315 72 15 0;
#P flonum 280 201 35 9 0.1 100. 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 320 202 65 196617 dutycycle %;
#P newex 377 278 32 196617 !- 1.;
#P flonum 303 253 35 9 0. 0.5 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 273 146 30 196617 Hz;
#P flonum 229 144 39 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 229 94 39 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 229 118 39 196617 / 60.;
#P newex 229 275 61 196617 clip~ 0. 1.;
#P newex 229 252 61 196617 *~ 2.;
#P newex 229 223 47 196617 phasor~;
#P newex 213 331 26 196617 *~;
#P newex 184 331 26 196617 *~;
#P newex 229 299 158 196617 trapezoid~ 0.1 0.9;
#P newex 184 418 39 196617 dac~;
#P newex 184 93 39 196617 adc~;
#P comment 273 96 30 196617 BPM;
#P comment 343 254 43 196617 Fade %;
#P fasten 22 0 5 0 122 253 189 253;
#P fasten 22 0 6 0 122 253 218 253;
#P connect 25 0 3 1;
#P connect 24 0 3 0;
#P hidden connect 24 1 25 0;
#P connect 6 0 25 0;
#P connect 5 0 24 0;
#P fasten 20 0 12 0 320 138 234 138;
#P connect 20 1 7 1;
#P connect 19 0 20 0;
#P connect 7 0 8 0;
#P connect 8 0 9 0;
#P connect 21 0 8 1;
#P connect 17 0 21 0;
#P connect 19 1 7 0;
#P connect 18 0 19 0;
#P connect 14 0 4 1;
#P fasten 14 0 15 0 308 273 382 273;
#P connect 15 0 4 2;
#P fasten 4 0 5 1 234 324 205 324;
#P connect 4 0 6 1;
#P connect 12 0 7 0;
#P connect 11 0 10 0;
#P connect 10 0 12 0;
#P connect 9 0 4 0;
#P connect 2 1 6 0;
#P connect 2 0 5 0;
#P window clipboard copycount 26;


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

#106285
Jun 9, 2007 at 12:30pm

I haven’t followed all of this thread so perhaps pass~ has been mentioned.
The pass~.help file tells the tale. I wonder if there is a way to disable a
patch as in poly~ so it doesn’t consume cpu cycles.

On 6/9/07 8:16 AM, “Stefan Tiedje” wrote:

> Krispen Hartung schrieb:
>> What is the most efficient way to mute the audio signal in a patch, between
>> adc~ and dac~, such that the signal can be muted and unmuted in varying
>> frequencies with metro. See below. Creative ideas welcome. Cheers / K
>
> Audio rate envelope example…
> Have fun…
>
> #P user gain~ 213 356 26 27 158 0 1.071519 7.94321 10.;
> #P user gain~ 184 356 26 27 158 0 1.071519 7.94321 10.;
> #P user ezdac~ 335 368 379 401 0;
> #P window setfont “Sans Serif” 9.;
> #P window linecount 1;
> #P newex 117 218 63 196617 cycle~ 220;
> #P newex 280 222 50 196617 !/ 100.;
> #P newex 315 117 36 196617 t b 0;
> #P newex 315 93 33 196617 sel 1;
> #P toggle 315 72 15 0;
> #P flonum 280 201 35 9 0.1 100. 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P comment 320 202 65 196617 dutycycle %;
> #P newex 377 278 32 196617 !- 1.;
> #P flonum 303 253 35 9 0. 0.5 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P comment 273 146 30 196617 Hz;
> #P flonum 229 144 39 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P flonum 229 94 39 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
> #P newex 229 118 39 196617 / 60.;
> #P newex 229 275 61 196617 clip~ 0. 1.;
> #P newex 229 252 61 196617 *~ 2.;
> #P newex 229 223 47 196617 phasor~;
> #P newex 213 331 26 196617 *~;
> #P newex 184 331 26 196617 *~;
> #P newex 229 299 158 196617 trapezoid~ 0.1 0.9;
> #P newex 184 418 39 196617 dac~;
> #P newex 184 93 39 196617 adc~;
> #P comment 273 96 30 196617 BPM;
> #P comment 343 254 43 196617 Fade %;
> #P fasten 22 0 5 0 122 253 189 253;
> #P fasten 22 0 6 0 122 253 218 253;
> #P connect 25 0 3 1;
> #P connect 24 0 3 0;
> #P hidden connect 24 1 25 0;
> #P connect 6 0 25 0;
> #P connect 5 0 24 0;
> #P fasten 20 0 12 0 320 138 234 138;
> #P connect 20 1 7 1;
> #P connect 19 0 20 0;
> #P connect 7 0 8 0;
> #P connect 8 0 9 0;
> #P connect 21 0 8 1;
> #P connect 17 0 21 0;
> #P connect 19 1 7 0;
> #P connect 18 0 19 0;
> #P connect 14 0 4 1;
> #P fasten 14 0 15 0 308 273 382 273;
> #P connect 15 0 4 2;
> #P fasten 4 0 5 1 234 324 205 324;
> #P connect 4 0 6 1;
> #P connect 12 0 7 0;
> #P connect 11 0 10 0;
> #P connect 10 0 12 0;
> #P connect 9 0 4 0;
> #P connect 2 1 6 0;
> #P connect 2 0 5 0;
> #P window clipboard copycount 26;
>

Cheers
Gary Lee Nelson
Oberlin College
http://www.timara.oberlin.edu/GaryLeeNelson

#106286
Jun 9, 2007 at 3:33pm

i am using a poly~ which only comtains inlets and outlets to mute connections

#106287
Jun 10, 2007 at 6:09am

This is excellent. Thanks, Stefan! I created two parallel versions and control the rates with my expression pedals.

Kris

#106288
Jun 10, 2007 at 6:15am

“I wonder if there is a way to disable a patch as in poly~ so it doesn’t consume cpu cycles.”

Yes, but I can’t take credit for it. This is something I use in my system, thanks to Jeff Kaiser.

First, here is the patch with poly~ in it, calling out an effect patch, the patch Stefan noted above, for instance (I called it “slicer”…

#P user matrixctrl 280 273 70 45 MatrixDefaultCell.pct MatrixDefaultBkgnd.pct 70 45 16 16 4 2 16 16 1 1 48 2 5120 0;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 280 212 44 9109513 del 100;
#P message 494 300 50 9109513 mute 0 0;
#N comlet Audio Out R;
#P outlet 427 399 15 0;
#N comlet Audio Out L;
#P outlet 395 399 15 0;
#N comlet Enable/Disable;
#P inlet 451 153 15 0;
#N comlet Audio in R;
#P inlet 417 153 15 0;
#N comlet Audio in L;
#P inlet 395 153 15 0;
#P comment 288 233 50 9109513 effect on;
#P message 339 336 54 9109513 ramp 100;
#P newex 504 256 44 9109513 del 100;
#P newex 451 178 52 9109513 route 0 1;
#P newex 144 178 48 9109513 loadbang;
#P message 504 278 50 9109513 mute 0 1;
#P message 280 249 115 9109513 2 0 1 3 1 1 0 0 0 1 1 0;
#P message 158 249 115 9109513 0 0 1 1 1 1 2 0 0 3 1 0;
#P newex 395 367 77 9109513 matrix~ 4 2 1.;
#P newex 439 340 138 9109513 poly~ slicer;
#P comment 169 233 41 9109513 bypass;
#P connect 12 0 2 1;
#P fasten 12 0 1 1 422 322 511 322;
#P connect 8 0 5 0;
#P fasten 6 0 3 0 149 202 163 202;
#P fasten 6 0 9 0 149 328 344 328;
#P fasten 6 0 8 0 149 202 509 202;
#P fasten 7 0 3 0 456 202 163 202;
#P fasten 7 0 8 0 456 202 509 202;
#P fasten 7 1 17 0 477 202 285 202;
#P fasten 7 1 16 0 477 202 499 202;
#P connect 1 1 2 3;
#P connect 13 0 7 0;
#P connect 1 0 2 2;
#P connect 5 0 1 0;
#P connect 16 0 1 0;
#P connect 11 0 2 0;
#P fasten 11 0 1 0 400 322 444 322;
#P connect 2 1 15 0;
#P connect 2 0 14 0;
#P fasten 18 0 2 0 285 322 400 322;
#P fasten 9 0 2 0 344 359 400 359;
#P connect 4 0 18 0;
#P connect 3 0 18 0;
#P connect 17 0 4 0;
#P window clipboard copycount 19;

Second, at the top level, I use this (below) to activate or deactivate (no CPU usage) the patch…(hook the object that calls “poly_slicer” to your adc~ and dac~). You can use as many as these as you like strug together, and just keep the buttons deactivated until you need the patch.

#P window setfont “Sans Serif” 18.;
#P window linecount 1;
#P comment 62 118 53 9109522 Slicer;
#P user meter~ 60 164 118 181 50 0 168 0 103 103 103 255 153 0 255 0 0 217 217 0 153 186 0 12 3 3 3 3;
#P user meter~ 60 144 118 161 50 0 168 0 103 103 103 255 153 0 255 0 0 217 217 0 153 186 0 12 3 3 3 3;
#P toggle 60 60 57 0;
#P window setfont “Sans Serif” 9.;
#P newex 62 184 53 9109513 poly_slicer;
#P hidden connect 1 0 0 2;
#P hidden fasten 0 1 3 0 110 162 56 162 56 177 65 177;
#P hidden fasten 0 0 2 0 65 156;
#P window clipboard copycount 5;

#106289

You must be logged in to reply to this topic.