Simple In to Out
Date | 2006-03-03 12:54 |
From | Vadim Kupriyanov |
Subject | Simple In to Out |
Attachments | None AudioInToAudioOutLatency.csd AudioInToAudioOutLatency.csd |
Hello! MacOS 10.4.4, Mac mini + M-audio 410. This csd not working (I has tryed MacCsound and Csound 5.01 for OSX) When I run it in MacCsound, all run ok, but there is not sound on out. When I run it in Csound5.01 in terminal, i see next strings: Last login: Fri Mar 3 15:45:31 on ttyp2 Welcome to Darwin! vadim-kupriyanovs-mac-mini:~ Vadim$ /usr/local/bin/csound -odac -iadc -b1024 -B2048 /Users/Vadim/Desktop/AudioInToAudioOutLatency.csd Localisation of messages is disabled, using default language. time resolution is 1000.000 ns PortMIDI real time MIDI plugin for Csound CoreAudio real-time audio module for Csound by Victor Lazzarini JACK real-time audio module for Csound by Istvan Varga PortAudio real-time audio module for Csound 0dBFS level = 32768.0 Csound version 5.01.0 (float samples) Feb 27 2006 libsndfile-1.0.13 UnifiedCSD: /Users/Vadim/Desktop/AudioInToAudioOutLatency.csd STARTING FILE Creating orchestra Creating score orchname: /tmp/tmp.0.GS3Wui.orc scorename: /tmp/tmp.1.m0DTpj.sco rtaudio: PortAudio module enabled ... using callback interface rtmidi: PortMIDI module enabled orch compiler: 10 lines read instr 1 Elapsed time at end of orchestra compile: real: 0.103s, CPU: 0.010s sorting score ... ... done Elapsed time at end of score sort: real: 0.180s, CPU: 0.030s Csound version 5.01.0 (float samples) Feb 27 2006 0dBFS level = 32768.0 orch now loaded audio buffered in 1024 sample-frame blocks reading 4096-byte blks of shorts from adc (RAW) PortAudio V19-devel PortAudio: selected input device 'FireWire 410 Multichannel' PortAudio: selected output device 'Built-in Audio' writing 4096-byte blks of shorts to dac SECTION 1: Csound tidy up: Bus error And next message follow: The application csound quit unexpectly.. Command line for Csound5 is /usr/local/bin/csound -odac -iadc -b1024 -B2048 /Users/Vadim/Desktop/AudioInToAudioOutLatency.csd What is wrong? Thank you, Vadim |
Date | 2006-03-03 12:59 |
From | Vadim Kupriyanov |
Subject | Re: Simple In to Out |
When I set Fireware410 as system sound in/out, Csound 5.01 work: Last login: Fri Mar 3 15:52:32 on ttyp1 Welcome to Darwin! vadim-kupriyanovs-mac-mini:~ Vadim$ /usr/local/bin/csound -odac - iadc -b1024 -B2048 /Users/Vadim/Desktop/AudioInToAudioOutLatency.csd Localisation of messages is disabled, using default language. time resolution is 1000.000 ns PortMIDI real time MIDI plugin for Csound CoreAudio real-time audio module for Csound by Victor Lazzarini JACK real-time audio module for Csound by Istvan Varga PortAudio real-time audio module for Csound 0dBFS level = 32768.0 Csound version 5.01.0 (float samples) Feb 27 2006 libsndfile-1.0.13 UnifiedCSD: /Users/Vadim/Desktop/AudioInToAudioOutLatency.csd STARTING FILE Creating orchestra Creating score orchname: /tmp/tmp.0.SBAvyz.orc scorename: /tmp/tmp.1.3h4w60.sco rtaudio: PortAudio module enabled ... using callback interface rtmidi: PortMIDI module enabled orch compiler: 10 lines read instr 1 Elapsed time at end of orchestra compile: real: 0.026s, CPU: 0.010s sorting score ... ... done Elapsed time at end of score sort: real: 0.101s, CPU: 0.020s Csound version 5.01.0 (float samples) Feb 27 2006 0dBFS level = 32768.0 orch now loaded audio buffered in 1024 sample-frame blocks reading 4096-byte blks of shorts from adc (RAW) PortAudio V19-devel PortAudio: selected input device 'FireWire 410 Multichannel' PortAudio: selected output device 'FireWire 410 Multichannel' writing 4096-byte blks of shorts to dac SECTION 1: But audio not passed throw... Best regards, Vadim |
Date | 2006-03-03 13:02 |
From | Victor Lazzarini |
Subject | Re: Simple In to Out |
I think that is because you are using two different devices for input and output. Currently IO has to be on the same device. Victor At 12:54 03/03/2006, you wrote: >Hello! >MacOS 10.4.4, Mac mini + M-audio 410. This csd not working (I has >tryed MacCsound and Csound 5.01 for OSX) > >When I run it in MacCsound, all run ok, but there is not sound on out. >When I run it in Csound5.01 in terminal, i see next strings: >Last login: Fri Mar 3 15:45:31 on ttyp2 >Welcome to Darwin! >vadim-kupriyanovs-mac-mini:~ Vadim$ /usr/local/bin/csound -odac - >iadc -b1024 -B2048 /Users/Vadim/Desktop/AudioInToAudioOutLatency.csd >Localisation of messages is disabled, using default language. >time resolution is 1000.000 ns >PortMIDI real time MIDI plugin for Csound >CoreAudio real-time audio module for Csound >by Victor Lazzarini >JACK real-time audio module for Csound by Istvan Varga >PortAudio real-time audio module for Csound >0dBFS level = 32768.0 >Csound version 5.01.0 (float samples) Feb 27 2006 >libsndfile-1.0.13 >UnifiedCSD: /Users/Vadim/Desktop/AudioInToAudioOutLatency.csd >STARTING FILE >Creating orchestra >Creating score >orchname: /tmp/tmp.0.GS3Wui.orc >scorename: /tmp/tmp.1.m0DTpj.sco >rtaudio: PortAudio module enabled ... using callback interface >rtmidi: PortMIDI module enabled >orch compiler: >10 lines read > instr 1 >Elapsed time at end of orchestra compile: real: 0.103s, CPU: 0.010s >sorting score ... > ... done >Elapsed time at end of score sort: real: 0.180s, CPU: 0.030s >Csound version 5.01.0 (float samples) Feb 27 2006 >0dBFS level = 32768.0 >orch now loaded >audio buffered in 1024 sample-frame blocks >reading 4096-byte blks of shorts from adc (RAW) >PortAudio V19-devel >PortAudio: selected input device 'FireWire 410 Multichannel' >PortAudio: selected output device 'Built-in Audio' >writing 4096-byte blks of shorts to dac >SECTION 1: >Csound tidy up: Bus error > > >And next message follow: The application csound quit unexpectly.. > > > >Command line for Csound5 is > >/usr/local/bin/csound -odac -iadc -b1024 -B2048 /Users/Vadim/ >Desktop/AudioInToAudioOutLatency.csd > > >What is wrong? > >Thank you, >Vadim > > > > > > > >Hello! >MacOS 10.4.4, Mac mini + M-audio 410. This csd not working (I has tryed >MacCsound and Csound 5.01 for OSX) > >When I run it in MacCsound, all run ok, but there is not sound on out. >When I run it in Csound5.01 in terminal, i see next strings: >Last login: Fri Mar 3 15:45:31 on ttyp2 >Welcome to Darwin! >vadim-kupriyanovs-mac-mini:~ Vadim$ /usr/local/bin/csound -odac >-iadc -b1024 -B2048 /Users/Vadim/Desktop/AudioInToAudioOutLatency.csd >Localisation of messages is disabled, using default language. >time resolution is 1000.000 ns >PortMIDI real time MIDI plugin for Csound >CoreAudio real-time audio module for Csound >by Victor Lazzarini >JACK real-time audio module for Csound by Istvan Varga >PortAudio real-time audio modul for Csound >0dBFS level = 32768.0 >Csound version 5.01.0 (float samples) Feb 27 2006 >libsndfile-1.0.13 >UnifiedCSD: /Users/Vadim/Desktop/AudioInToAudioOutLatency.csd >STARTING FILE >Creating orchestra >Creating score >orchname: /tmp/tmp.0.GS3Wui.orc >scorename: /tmp/tmp.1.m0DTpj.sco >rtaudio: PortAudio module enabled ... using callback interface >rtmidi: PortMIDI module enabled >orch compiler: >10 lines read > instr 1 >Elapsed time at end of orchestra compile: real: 0.103s, CPU: 0.010s >sorting score ... > ... done >Elapsed time at end of score sort: real: 0.180s, CPU: 0.030s >Csound version 5.01.0 (float samples) Feb 27 2006 >0dBFS level = 32768.0 >orch now loaded >audio buffered in 1024 sample-frame blocks >reading 4096-byte blks of shorts from adc (RAW) >PortAudio V19-deve >PortAudio: selected input device 'FireWire 410 Multichannel' >PortAudio: selected output device 'Built-in Audio' >writing 4096-byte blks of shorts to dac >SECTION 1: >Csound tidy up: Bus error > > >And next message follow: The application csound quit unexpectly.. > > > >Command line for Csound5 is > >/usr/local/bin/csound -odac -iadc -b1024 >-B2048 /Users/Vadim/Desktop/AudioInToAudioOutLatency.csd > > >What is wrong? > >Thank you, >Vadim > > > > Victor Lazzarini Music Technology Laboratory Music Department National University of Ireland, Maynooth |
Date | 2006-03-03 15:51 |
From | Istvan Varga |
Subject | Re: Simple In to Out |
Attachments | None |
Date | 2006-03-03 15:54 |
From | Victor Lazzarini |
Subject | Re: Simple In to Out |
It's the same with CoreAudio Victor At 15:51 03/03/2006, you wrote: >On Friday 03 March 2006 14:02, Victor Lazzarini wrote: > > > I think that is because you are using two different devices for > > input and output. Currently IO has to be on the same device. > >Yes, that is certainly the case with PortAudio. I do not know if this >limitation also exists for -+rtaudio=CoreAudio, though. Of course, doing >full duplex I/O with two separate physical devices (sound cards) is >problematic anyway, as the cards would drift and go out of sync due to >the slightly different clock speeds. >-- >Send bugs reports to this list. >To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk Victor Lazzarini Music Technology Laboratory Music Department National University of Ireland, Maynooth |
Date | 2006-03-03 16:16 |
From | Mitchell Turner |
Subject | Re: Simple In to Out |
Can you set up an Aggregate device (in Audio MIDI setup), where the Firewire is the input and Built-in is the output. Then you should be able to set the Aggregate device as the default and use -odac? I don't have an external device to test this with unfortunately. Mitch On Mar 3, 2006, at 10:54 AM, Victor Lazzarini wrote: > It's the same with CoreAudio > > Victor > At 15:51 03/03/2006, you wrote: >> On Friday 03 March 2006 14:02, Victor Lazzarini wrote: >> >> > I think that is because you are using two different devices for >> > input and output. Currently IO has to be on the same device. >> >> Yes, that is certainly the case with PortAudio. I do not know if this >> limitation also exists for -+rtaudio=CoreAudio, though. Of course, >> doing >> full duplex I/O with two separate physical devices (sound cards) is >> problematic anyway, as the cards would drift and go out of sync >> due to >> the slightly different clock speeds. >> -- >> Send bugs reports to this list. >> To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk > > Victor Lazzarini > Music Technology Laboratory > Music Department > National University of Ireland, Maynooth > -- > Send bugs reports to this list. > To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk |
Date | 2006-03-04 11:18 |
From | Istvan Varga |
Subject | Re: Simple In to Out |
Attachments | None |
Date | 2006-03-05 16:01 |
From | Rory Walsh |
Subject | ASIO (was Simple In to Out) |
Sorry to bring this up again; I'm just now catching up with my email. I have a Firewire card that has 10 analogue ins and 8 analogue outs. I would like to use csound with real time audio IO with ASIO but I can't get it to work as my XLR inputs are on channels 9 and 10 and thus out of range. Is this purely a PortAudio issue and if so are there any plans to change it so that it can handle more inputs than outputs or Vice Versa? regards, Rory. |