| Quick example of the -L stdin with daemon mode.
MacBook-Pro:~ victor$ csound -L stdin -odac --daemon
0dBFS level = 32768.0
--Csound version 6.13 (double samples) Jul 11 2019
[commit: 3df2d74cd7306428acdf89d030e96a3123b7e861]
libsndfile-1.0.28
scoreless operation
rtaudio: PortAudio module enabled ...
using callback interface
rtmidi: PortMIDI module enabled
Elapsed time at end of orchestra compile: real: 0.000s, CPU: 0.000s
sorting score ...
... done
Elapsed time at end of score sort: real: 0.000s, CPU: 0.000s
graphics suppressed, ascii substituted
0dBFS level = 32768.0
orch now loaded
audio buffered in 1024 sample-frame blocks
PortAudio V19-devel (built Feb 12 2010 09:42:54)
0: dac0 (Built-in Output [Core Audio])
1: dac1 (Soundflower (2ch) [Core Audio])
2: dac2 (Soundflower (64ch) [Core Audio])
3: dac3 (Aggregate Device [Core Audio])
PortAudio: selected output device 'Built-in Output'
writing 1024 sample blks of 64-bit floats to dac
SECTION 1:
{
::reading orchestra, use '}' to terminate::
instr 1
a1 oscili p4, p5
out a1
endin
}
::compiling orchestra::
i1 0 1 10000 440
rtevent: T 38.661 TT 38.661 M: 0.0
new alloc for instr 1:
> On 2 Aug 2019, at 15:31, Victor Lazzarini wrote:
>
> You can also type score commands and code directly into the terminal if you wish using -L stdin
> Score commands are single lines. Orchestra code needs to be enclosed in brackets ( { } )
>
> Or also use the UDP server
>
> https://csound.com/docs/manual/udpserver.html
>
> with the option --port=
>
> best
> ========================
> Prof. Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
>
>> On 2 Aug 2019, at 14:53, Oeyvind Brandtsegg wrote:
>>
>> Yes, it sounds like OSC would be good for this use case.
>>
>> fre. 2. aug. 2019 kl. 15:49 skrev fauveboy :
>> I would like to remain using csound within the terminal. Do you reckon osc is
>> the most suitable option for that (as I don't need to use midi)?
>>
>>
>>
>> --
>> Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html
>>
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> Send bugs reports to
>> https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>> Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
> https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here |