Created
June 28, 2022 11:45
-
-
Save coderofsalvation/0805337bbe69aa3c2490c779233e94d6 to your computer and use it in GitHub Desktop.
batch file commandline puredata example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#N canvas 378 163 705 465 12; | |
#X obj 99 19 osc~ 440; | |
#X obj 99 319 writesf~; | |
#X obj 252 6 loadbang; | |
#X msg 123 105 open ./osc440.wav \, start; | |
#X msg 123 59 \; pd dsp 1 \;; | |
#X msg 252 266 stop; | |
#X obj 252 156 del 20000; | |
#X msg 308 256 \; pd quit \;; | |
#X text 292 201 <-- disconnect here in 3...2...1...; | |
#X connect 0 0 1 0; | |
#X connect 2 0 3 0; | |
#X connect 2 0 4 0; | |
#X connect 2 0 6 0; | |
#X connect 3 0 1 0; | |
#X connect 5 0 1 0; | |
#X connect 6 0 5 0; | |
#X connect 6 0 7 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# if you want to study the patch be quick and delete the connection to the "pd quit;" message or it will quit pd after 20 sec... | |
pd -batch batch.pd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment