Skip to content
Snippets Groups Projects
Select Git revision
  • eddfdda32ddc1330c9e22dc177d22f847a569820
  • master default protected
  • dev
  • clock
  • web
  • nime2020
  • connections
  • modules
8 results

bf-param-help.pd

Blame
  • bf-param-help.pd 4.81 KiB
    #N canvas 214 94 1171 774 10;
    #X declare -path ..;
    #X obj 43 596 dac~;
    #X obj 74 570 *~;
    #N canvas 160 92 450 300 declares 0;
    #X obj 29 21 declare -path ..;
    #X restore 301 647 pd declares;
    #X floatatom 224 277 5 0 0 0 - - -;
    #X floatatom 778 172 5 0 0 0 - - -;
    #X floatatom 778 262 5 0 0 0 - - -;
    #X text 816 252 Outlet 3: The value of the parameter at the index in
    Inlet3, f 34;
    #X floatatom 671 171 5 0 0 0 - - -;
    #X floatatom 9 144 5 0 1 0 - - -;
    #X text 768 283 Outlet 2: The value of the most recent change to the
    parameter in a list as [index value], f 46;
    #X text 669 316 Outlet 1: The value of the most recent change to the
    parameter (with no index), f 41;
    #X floatatom 565 171 5 0 0 0 - - -;
    #X obj 565 126 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
    -1 -1;
    #X obj 565 144 t b b;
    #X text 7 113 EXAMPLE A: A bf-parameter for a single cont value;
    #X obj 11 303 print Outlet1A;
    #X text 563 100 EXAMPLE B: A bf-parameter for 8 midi values;
    #X obj 565 318 print Outlet1B;
    #X obj 671 286 print Outlet2B;
    #X text 813 168 Inlet 3: An integer sends the value of the parameter
    at that index to Outlet 3, f 39;
    #X text 605 124 Inlets 1 & 2 together are used to set the value at
    an index (similar to how tabwrite works.);
    #X text 705 171 Index;
    #X text 601 172 Value;
    #X obj 224 185 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
    -1 -1;
    #X text 48 162 Inlet 1 sets the value and triggers Outlet 1;
    #X text 10 365 Example C: A bf-parameter for 5 bool values;
    #X msg 14 408 0;
    #X msg 48 408 1;
    #X floatatom 227 409 5 0 0 0 - - -;
    #X text 226 390 Index;
    #X floatatom 227 499 5 0 0 0 - - -;
    #X obj 120 499 print Outlet2C;
    #X obj 14 499 print Outlet1C;
    #X floatatom 120 409 5 0 0 0 - - -;
    #X text 15 389 Value;
    #X text 117 390 Index;
    #X text 569 394 Example D: A bf-parameter for 4 bangs;
    #X obj 669 553 print Outlet2D;
    #X obj 572 416 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
    -1 -1;
    #X obj 602 416 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
    -1 -1;
    #X obj 572 458 unpack;
    #X obj 631 416 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
    -1 -1;
    #X obj 662 416 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
    -1 -1;
    #X msg 572 434 0 0;
    #X msg 602 434 0 1;
    #X msg 631 434 0 2;
    #X msg 662 434 0 3;
    #X obj 610 553 unpack;
    #X obj 610 574 sel 0 1 2 3;
    #X obj 610 600 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
    -1 -1;
    #X obj 632 600 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
    -1 -1;
    #X obj 654 600 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
    -1 -1;