Skip to content

Commit

Permalink
feat: Add examples
Browse files Browse the repository at this point in the history
  • Loading branch information
madskjeldgaard committed Apr 10, 2024
1 parent d8deaf5 commit d4e170c
Show file tree
Hide file tree
Showing 4 changed files with 202 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
manual/birdhouse-manual.pdf filter=lfs diff=lfs merge=lfs -text
examples filter=lfs diff=lfs merge=lfs -text
36 changes: 36 additions & 0 deletions examples/plugdata/birdhouse-plugdata.pd
Original file line number Diff line number Diff line change
@@ -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;
159 changes: 159 additions & 0 deletions examples/reaper/BirdHouse.RPP
Original file line number Diff line number Diff line change
@@ -0,0 +1,159 @@
<REAPER_PROJECT 0.1 "7.11/macOS-arm64" 1712748769
<NOTES 0 2
>
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 "" ""
<RECORD_CFG
ZXZhdxgAAQ==
>
<APPLYFX_CFG
>
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
<RENDER_CFG
ZXZhdxgAAQ==
>
LOCK 1
<METRONOME 6 2
VOL 0.25 0.125
FREQ 800 1600 1
BEATLEN 4
SAMPLES "" ""
PATTERN 2863311530 2863311529
MULT 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
<MASTERPLAYSPEEDENV
EGUID {2413681E-4622-8E4C-8416-CFF643F5D3C4}
ACT 0 -1
VIS 0 1 1
LANEHEIGHT 0 0
ARM 0
DEFSHAPE 0 -1 -1
>
<TEMPOENVEX
EGUID {66467379-E140-2F46-9FDD-02D2E3A4C2A6}
ACT 0 -1
VIS 1 0 1
LANEHEIGHT 0 0
ARM 0
DEFSHAPE 1 -1 -1
>
<PROJBAY
>
<TRACK {84850F42-EDFA-7C4B-BB57-7BD66D84CF6E}
NAME ""
PEAKCOL 24454008
BEAT -1
AUTOMODE 0
PANLAWFLAGS 3
VOLPAN 1 0 -1 -1 1
MUTESOLO 0 0 0
IPHASE 0
PLAYOFFS 0 1
ISBUS 0 0
BUSCOMP 0 0 0 0 0
SHOWINMIX 1 0.6667 0.5 1 0.5 0 0 0
FIXEDLANES 9 0 0
SEL 0
REC 0 0 1 0 0 0 0 0
VU 2
TRACKHEIGHT 0 0 0 0 0 0 0
INQ 0 0 0 0.5 100 0 0 100
NCHAN 2
FX 1
TRACKID {84850F42-EDFA-7C4B-BB57-7BD66D84CF6E}
PERF 0
MIDIOUT -1
MAINSEND 1 0
<FXCHAIN
WNDRECT 32 401 1231 481
SHOW 0
LASTSEL 0
DOCKED 0
BYPASS 0 0 0
<VST "VST3: BirdHouse (MadsKjeldgaard)" BirdHouse.vst3 0 "" 217310045{ABCDEF019182FAEB4D41445342495244} ""
XePzDO5e7f4AAAAAAgAAAAEAAAAAAAAAAgAAAAAAAABoBgAAAQAAAP//EAA=
WAYAAAEAAABWQzIhEwYAADw/eG1sIHZlcn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CIgdmFsdWU9IjY2NjYuMCIvPjwvUGFyYW1ldGVycz4AAAAAAAAAAABKVUNFUHJpdmF0ZURhdGEAAQFCeXBhc3MAAQEDAB0AAAAAAAAASlVDRVByaXZhdGVEYXRh
AAAAAAAAAAA=
AFByb2dyYW0gMQAQAAAA
>
FLOATPOS 0 0 0 0
FXID {382DF2D0-712E-DF43-BED0-36907E3CEA2F}
WAK 0 0
>
>
<EXTENSIONS
<SWSAUTOCOLOR
{00000000-0000-0000-0000-000000000000} 0 "" "" ""
{84850F42-EDFA-7C4B-BB57-7BD66D84CF6E} 24650613 "" "" ""
>
>
>
6 changes: 6 additions & 0 deletions examples/supercollider/send-osc.scd
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
(
~birdhousePort = 8000;
n = NetAddr.new("127.0.0.1", ~birdhousePort);
)

n.sendMsg("/1/value", 0.9)

0 comments on commit d4e170c

Please sign in to comment.