diff --git a/.gitattributes b/.gitattributes index 4d3b1b9..f66222e 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,2 @@ manual/birdhouse-manual.pdf filter=lfs diff=lfs merge=lfs -text +examples filter=lfs diff=lfs merge=lfs -text diff --git a/examples/plugdata/birdhouse-plugdata.pd b/examples/plugdata/birdhouse-plugdata.pd new file mode 100644 index 0000000..55fbef1 --- /dev/null +++ b/examples/plugdata/birdhouse-plugdata.pd @@ -0,0 +1,36 @@ +#N canvas 827 239 527 327 12; +#X obj 354 130 hsl 128 46 0 1 0 0 empty empty empty -2 -8 0 10 #dfdfdf #000000 #000000 0 1; +#X obj 314 326 tgl 19 0 empty empty empty 0 -8 0 10 #dfdfdf #000000 #000000 0 1; +#X text 340 328 <-- connection status; +#X obj 314 356 print status; +#X msg 123 124 connect localhost 6666; +#X obj 131 67 loadbang; +#X msg 324 242 /1/fader1 \$1; +#X obj 314 304 else/osc.send 6666; +#X obj 495 209 hsl 136 16 0 1 0 0 empty empty empty -2 -8 0 10 #dfdfdf #000000 #000000 0 1; +#X obj 563 279 hsl 136 16 0 1 0 0 empty empty empty -2 -8 0 10 #dfdfdf #000000 #000000 0 1; +#X msg 485 246 /1/fader2 \$1; +#X msg 559 311 /1/fader3 \$1; +#X obj 594 361 hsl 136 16 0 1 0 0 empty empty empty -2 -8 0 10 #dfdfdf #000000 #000000 0 1; +#X msg 590 393 /1/fader4 \$1; +#X obj 78 190 tgl 21 0 empty empty empty 0 -11 0 12 #fcfcfc #000000 #000000 0 1; +#X msg 74 294 /1/toggle1 \$1; +#X obj 76 260 tgl 21 0 empty empty empty 0 -11 0 12 #fcfcfc #000000 #000000 0 1; +#X text 122 194 <- Play midi notes; +#X obj 76 226 metro 250; +#X connect 0 0 6 0; +#X connect 1 0 3 0; +#X connect 4 0 7 0; +#X connect 5 0 4 0; +#X connect 6 0 7 0; +#X connect 7 0 1 0; +#X connect 8 0 10 0; +#X connect 9 0 11 0; +#X connect 10 0 7 0; +#X connect 11 0 7 0; +#X connect 12 0 13 0; +#X connect 13 0 7 0; +#X connect 14 0 18 0; +#X connect 15 0 7 0; +#X connect 16 0 15 0; +#X connect 18 0 16 0; diff --git a/examples/reaper/BirdHouse.RPP b/examples/reaper/BirdHouse.RPP new file mode 100644 index 0000000..c9e7b5b --- /dev/null +++ b/examples/reaper/BirdHouse.RPP @@ -0,0 +1,159 @@ + + RIPPLE 0 + GROUPOVERRIDE 0 0 0 + AUTOXFADE 129 + ENVATTACH 3 + POOLEDENVATTACH 0 + MIXERUIFLAGS 11 48 + ENVFADESZ10 40 + PEAKGAIN 1 + FEEDBACK 0 + PANLAW 1 + PROJOFFS 0 0 0 + MAXPROJLEN 0 0 + GRID 3455 8 1 8 1 0 0 0 + TIMEMODE 1 5 -1 30 0 0 -1 + VIDEO_CONFIG 0 0 256 + PANMODE 3 + CURSOR 0 + ZOOM 2.85988716 0 0 + VZOOMEX 6 0 + USE_REC_CFG 0 + RECMODE 1 + SMPTESYNC 0 30 100 40 1000 300 0 0 1 0 0 + LOOP 0 + LOOPGRAN 0 4 + RECORD_PATH "" "" + + + RENDER_FILE "" + RENDER_PATTERN "" + RENDER_FMT 0 2 0 + RENDER_1X 0 + RENDER_RANGE 1 0 0 18 1000 + RENDER_RESAMPLE 3 0 1 + RENDER_ADDTOPROJ 0 + RENDER_STEMS 0 + RENDER_DITHER 0 + TIMELOCKMODE 1 + TEMPOENVLOCKMODE 1 + ITEMMIX 1 + DEFPITCHMODE 589824 0 + TAKELANE 1 + SAMPLERATE 96000 1 0 + + LOCK 1 + + GLOBAL_AUTO -1 + TEMPO 120 4 4 + PLAYRATE 1 0 0.25 4 + SELECTION 0 0 + SELECTION2 0 0 + MASTERAUTOMODE 0 + MASTERTRACKHEIGHT 0 0 + MASTERPEAKCOL 16576 + MASTERMUTESOLO 0 + MASTERTRACKVIEW 0 0.6667 0.5 0.5 0 0 0 0 0 0 0 0 0 0 + MASTERHWOUT 0 0 1 0 0 0 0 -1 + MASTER_NCH 2 2 + MASTER_VOLUME 1 0 -1 -1 1 + MASTER_PANMODE 3 + MASTER_FX 1 + MASTER_SEL 0 + + + + + FLOATPOS 0 0 0 0 + FXID {382DF2D0-712E-DF43-BED0-36907E3CEA2F} + WAK 0 0 + > + > + + > +> diff --git a/examples/supercollider/send-osc.scd b/examples/supercollider/send-osc.scd new file mode 100644 index 0000000..160e559 --- /dev/null +++ b/examples/supercollider/send-osc.scd @@ -0,0 +1,6 @@ +( +~birdhousePort = 8000; +n = NetAddr.new("127.0.0.1", ~birdhousePort); +) + +n.sendMsg("/1/value", 0.9)