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


    Jun 08 2007 | 4:21 am
    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

    • Jun 08 2007 | 4:47 am
      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
      > www.krispenhartung.com
      > info@krispenhartung.com
      v a d e //
      www.vade.info
      abstrakt.vade.info
    • Jun 08 2007 | 5:05 am
    • Jun 08 2007 | 5:30 am
      Exellent. Works great, and fun with some pitch in the signal. /K
    • Jun 09 2007 | 12:16 pm
      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...
      --
      Stefan Tiedje------------x-------
      --_____-----------|--------------
      --(_|_ ----|-----|-----()-------
      -- _|_)----|-----()--------------
      ----------()--------www.ccmix.com
    • Jun 09 2007 | 12:30 pm
      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
      www.timara.oberlin.edu/GaryLeeNelson
    • Jun 09 2007 | 3:33 pm
      i am using a poly~ which only comtains inlets and outlets to mute connections
    • Jun 10 2007 | 6:09 am
      This is excellent. Thanks, Stefan! I created two parallel versions and control the rates with my expression pedals.
      Kris
    • Jun 10 2007 | 6:15 am
      "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"...
      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.