Peter Billam wrote: > Can csound read its csd script from its stdin, to avoid the > tmp file ? I tried the obvious: > csound - > but that didn't work... Igino wrote (Fabulae, CXCI): > There is a workaround: > #!/bin/bash > csound -odac /dev/stdin yourscore.sco <<'EOF' > sr = 44100 > ... Peter Billam wrote: > Here is another: > > ln -s /dev/stdin /tmp/stdin.csd # only has to be done once > csound /tmp/stdin.csd <<'EOT' > > ... > > EOT and another (in git), with an INF score: csound -d -m0 -odac --orc /dev/stdin <<'EOF' sr = 44100 ksmps = 64 ... turnon 1 ; or alwayson instr 1 ... endin ... EOF and more make_orcfile_script | csound -odac --orc /dev/stdin # inf score make_csdfile_script | csound /dev/stdin csound -odac --orc <(make_orcfile_script) # inf score csound <(make_csdfile_script) csound -d -m0 -odac /dev/stdin <<'EOF' sr = 44100 ... EOF The extension of the file is not important. The default with a single file is csd file. --orc single_file is an orchestra with an infinite (lies, ~25367 years) score file. tito