Csound Csound-dev Csound-tekno Search About

[Cs-dev] rt audio

Date2005-08-04 05:55
FromKen
Subject[Cs-dev] rt audio
on linux, i have compiled csound 5 without vst so far.  i can't seem to
understand the realtime audio out options.  any pointers?

ken



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-08-04 07:20
FromIain Duncan
SubjectRe: [Cs-dev] rt audio
on linux the easiest way to get decent lowlatency real time audio is to 
use the flag
-+rtaudio=alsa

ie
csound -o dac -+rtaudio=alsa myorc.orc mysco.sco

Hope that helps
Iain

Ken wrote:
> on linux, i have compiled csound 5 without vst so far.  i can't seem to
> understand the realtime audio out options.  any pointers?
> 
> ken
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-08-04 07:32
FromKen
SubjectRe: [Cs-dev] rt audio
i keep getting errors on any realtime out, not a peep.

[nunativs@localhost test]$ csound  -o dac -+rtaudio=alsa midi_sine.csd -
F "/home/nunativs/sound/midi/MelroseP.mid"
Localisation of messages is disabled, using default language.
time resolution is 0.460 ns
0dBFS level = 32768.0
Csound version 5.00 beta (float samples) Aug  3 2005
libsndfile-1.0.11
UnifiedCSD:  midi_sine.csd
STARTING FILE
Creating options
Creating orchestra
Creating /tmp/file7IdRgM.orc (0x80fe908)
Creating score
orchname:  /tmp/file7IdRgM.orc
scorename: /tmp/filebH5uJG.sco
orch compiler:
46 lines read
	instr	1	
Elapsed time at end of orchestra compile: real: 0.096s, CPU: 0.000s
sorting score ...
	... done
Elapsed time at end of score sort: real: 0.116s, CPU: 0.000s
Csound version 5.00 beta (float samples) Aug  3 2005
midi channel 1 using instr 1
midi channel 2 using instr 1
midi channel 3 using instr 1
midi channel 4 using instr 1
midi channel 5 using instr 1
midi channel 6 using instr 1
midi channel 7 using instr 1
midi channel 8 using instr 1
midi channel 9 using instr 1
midi channel 10 using instr 1
midi channel 11 using instr 1
midi channel 12 using instr 1
midi channel 13 using instr 1
midi channel 14 using instr 1
midi channel 15 using instr 1
midi channel 16 using instr 1
0dBFS level = 32768.0
Reading MIDI file '/home/nunativs/sound/midi/MelroseP.mid'...
 Track  0
  Track name: untitled
 Track  1
  Track name: KEYBOARD 1
 Track  2
  Track name: KEYBOARD 2
 Track  3
  Track name: ORCHA HIT
 Track  4
  Track name: STRINGS
 Track  5
  Track name: LEAD GUIT1
 Track  6
  Track name: LEAD GUIT2
 Track  7
  Track name: RHYTHM GUIT 1
 Track  8
  Track name: RHYTHM GUIT 2
 Track  9
  Track name: DRUMS
 Track 10
  Track name: BASS 1
 Track 11
  Track name: BASS 2
done.
orch now loaded
audio buffered in 256 sample-frame blocks
 *** error: unknown rtaudio module: 'alsa'
Failed to initialise real time audio output
inactive allocs returned to freespace
end of score.		   overall amps:      0.0      0.0
	   overall samples out of range:        0        0
0 errors in performance
Elapsed time at end of performance: real: 1.039s, CPU: 0.010s
Removing temporary file /tmp/filepgPDjB ...
Removing temporary file /tmp/filebH5uJG.sco ...
Removing temporary file /tmp/file7IdRgM.orc ...
[nunativs@localhost test]$ 

On Wed, 2005-08-03 at 23:20 -0700, Iain Duncan wrote:
> on linux the easiest way to get decent lowlatency real time audio is to 
> use the flag
> -+rtaudio=alsa
> 
> ie
> csound -o dac -+rtaudio=alsa myorc.orc mysco.sco
> 
> Hope that helps
> Iain
> 
> Ken wrote:
> > on linux, i have compiled csound 5 without vst so far.  i can't seem to
> > understand the realtime audio out options.  any pointers?
> > 
> > ken
> > 
> > 
> > 
> > -------------------------------------------------------
> > SF.Net email is Sponsored by the Better Software Conference & EXPO
> > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> > _______________________________________________
> > Csound-devel mailing list
> > Csound-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/csound-devel
> > 
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-08-04 07:40
FromIain Duncan
SubjectRe: [Cs-dev] rt audio
Hi Ken, you need to enable those in your SConstruct file ( turn those 0s 
into 1s ). I compile with all of them on, portaudio, alsa, and jack. 
Then you should be able to use it. If you don't need to be running 
anything else at the same time, alsa is the best. Running with 
--expression-opt --sched and -+rtaudio=alsa I can get very low latency 
and rock solid stability as long as I make sure my cpu use doesn't spike 
up into the 90's. Running at 70-80% cpu use it is very stable.

Iain

Ken wrote:
> i keep getting errors on any realtime out, not a peep.
> 
> [nunativs@localhost test]$ csound  -o dac -+rtaudio=alsa midi_sine.csd -
> F "/home/nunativs/sound/midi/MelroseP.mid"
> Localisation of messages is disabled, using default language.
> time resolution is 0.460 ns
> 0dBFS level = 32768.0
> Csound version 5.00 beta (float samples) Aug  3 2005
> libsndfile-1.0.11
> UnifiedCSD:  midi_sine.csd
> STARTING FILE
> Creating options
> Creating orchestra
> Creating /tmp/file7IdRgM.orc (0x80fe908)
> Creating score
> orchname:  /tmp/file7IdRgM.orc
> scorename: /tmp/filebH5uJG.sco
> orch compiler:
> 46 lines read
> 	instr	1	
> Elapsed time at end of orchestra compile: real: 0.096s, CPU: 0.000s
> sorting score ...
> 	... done
> Elapsed time at end of score sort: real: 0.116s, CPU: 0.000s
> Csound version 5.00 beta (float samples) Aug  3 2005
> midi channel 1 using instr 1
> midi channel 2 using instr 1
> midi channel 3 using instr 1
> midi channel 4 using instr 1
> midi channel 5 using instr 1
> midi channel 6 using instr 1
> midi channel 7 using instr 1
> midi channel 8 using instr 1
> midi channel 9 using instr 1
> midi channel 10 using instr 1
> midi channel 11 using instr 1
> midi channel 12 using instr 1
> midi channel 13 using instr 1
> midi channel 14 using instr 1
> midi channel 15 using instr 1
> midi channel 16 using instr 1
> 0dBFS level = 32768.0
> Reading MIDI file '/home/nunativs/sound/midi/MelroseP.mid'...
>  Track  0
>   Track name: untitled
>  Track  1
>   Track name: KEYBOARD 1
>  Track  2
>   Track name: KEYBOARD 2
>  Track  3
>   Track name: ORCHA HIT
>  Track  4
>   Track name: STRINGS
>  Track  5
>   Track name: LEAD GUIT1
>  Track  6
>   Track name: LEAD GUIT2
>  Track  7
>   Track name: RHYTHM GUIT 1
>  Track  8
>   Track name: RHYTHM GUIT 2
>  Track  9
>   Track name: DRUMS
>  Track 10
>   Track name: BASS 1
>  Track 11
>   Track name: BASS 2
> done.
> orch now loaded
> audio buffered in 256 sample-frame blocks
>  *** error: unknown rtaudio module: 'alsa'
> Failed to initialise real time audio output
> inactive allocs returned to freespace
> end of score.		   overall amps:      0.0      0.0
> 	   overall samples out of range:        0        0
> 0 errors in performance
> Elapsed time at end of performance: real: 1.039s, CPU: 0.010s
> Removing temporary file /tmp/filepgPDjB ...
> Removing temporary file /tmp/filebH5uJG.sco ...
> Removing temporary file /tmp/file7IdRgM.orc ...
> [nunativs@localhost test]$ 
> 
> On Wed, 2005-08-03 at 23:20 -0700, Iain Duncan wrote:
> 
>>on linux the easiest way to get decent lowlatency real time audio is to 
>>use the flag
>>-+rtaudio=alsa
>>
>>ie
>>csound -o dac -+rtaudio=alsa myorc.orc mysco.sco
>>
>>Hope that helps
>>Iain
>>
>>Ken wrote:
>>
>>>on linux, i have compiled csound 5 without vst so far.  i can't seem to
>>>understand the realtime audio out options.  any pointers?
>>>
>>>ken
>>>
>>>
>>>
>>>-------------------------------------------------------
>>>SF.Net email is Sponsored by the Better Software Conference & EXPO
>>>September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
>>>Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
>>>Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
>>>_______________________________________________
>>>Csound-devel mailing list
>>>Csound-devel@lists.sourceforge.net
>>>https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>>
>>-------------------------------------------------------
>>SF.Net email is Sponsored by the Better Software Conference & EXPO
>>September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
>>Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
>>Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
>>_______________________________________________
>>Csound-devel mailing list
>>Csound-devel@lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-08-04 07:41
FromIain Duncan
SubjectRe: [Cs-dev] rt audio
And yes, as mentioned you do need portaudio v19 for portaudio output. 
But if that is a problem, you may be able to compile fine with only the 
alsa option enabled in SConstruct.

Iain

Ken wrote:
> i keep getting errors on any realtime out, not a peep.
> 
> [nunativs@localhost test]$ csound  -o dac -+rtaudio=alsa midi_sine.csd -
> F "/home/nunativs/sound/midi/MelroseP.mid"
> Localisation of messages is disabled, using default language.
> time resolution is 0.460 ns
> 0dBFS level = 32768.0
> Csound version 5.00 beta (float samples) Aug  3 2005
> libsndfile-1.0.11
> UnifiedCSD:  midi_sine.csd
> STARTING FILE
> Creating options
> Creating orchestra
> Creating /tmp/file7IdRgM.orc (0x80fe908)
> Creating score
> orchname:  /tmp/file7IdRgM.orc
> scorename: /tmp/filebH5uJG.sco
> orch compiler:
> 46 lines read
> 	instr	1	
> Elapsed time at end of orchestra compile: real: 0.096s, CPU: 0.000s
> sorting score ...
> 	... done
> Elapsed time at end of score sort: real: 0.116s, CPU: 0.000s
> Csound version 5.00 beta (float samples) Aug  3 2005
> midi channel 1 using instr 1
> midi channel 2 using instr 1
> midi channel 3 using instr 1
> midi channel 4 using instr 1
> midi channel 5 using instr 1
> midi channel 6 using instr 1
> midi channel 7 using instr 1
> midi channel 8 using instr 1
> midi channel 9 using instr 1
> midi channel 10 using instr 1
> midi channel 11 using instr 1
> midi channel 12 using instr 1
> midi channel 13 using instr 1
> midi channel 14 using instr 1
> midi channel 15 using instr 1
> midi channel 16 using instr 1
> 0dBFS level = 32768.0
> Reading MIDI file '/home/nunativs/sound/midi/MelroseP.mid'...
>  Track  0
>   Track name: untitled
>  Track  1
>   Track name: KEYBOARD 1
>  Track  2
>   Track name: KEYBOARD 2
>  Track  3
>   Track name: ORCHA HIT
>  Track  4
>   Track name: STRINGS
>  Track  5
>   Track name: LEAD GUIT1
>  Track  6
>   Track name: LEAD GUIT2
>  Track  7
>   Track name: RHYTHM GUIT 1
>  Track  8
>   Track name: RHYTHM GUIT 2
>  Track  9
>   Track name: DRUMS
>  Track 10
>   Track name: BASS 1
>  Track 11
>   Track name: BASS 2
> done.
> orch now loaded
> audio buffered in 256 sample-frame blocks
>  *** error: unknown rtaudio module: 'alsa'
> Failed to initialise real time audio output
> inactive allocs returned to freespace
> end of score.		   overall amps:      0.0      0.0
> 	   overall samples out of range:        0        0
> 0 errors in performance
> Elapsed time at end of performance: real: 1.039s, CPU: 0.010s
> Removing temporary file /tmp/filepgPDjB ...
> Removing temporary file /tmp/filebH5uJG.sco ...
> Removing temporary file /tmp/file7IdRgM.orc ...
> [nunativs@localhost test]$ 
> 
> On Wed, 2005-08-03 at 23:20 -0700, Iain Duncan wrote:
> 
>>on linux the easiest way to get decent lowlatency real time audio is to 
>>use the flag
>>-+rtaudio=alsa
>>
>>ie
>>csound -o dac -+rtaudio=alsa myorc.orc mysco.sco
>>
>>Hope that helps
>>Iain
>>
>>Ken wrote:
>>
>>>on linux, i have compiled csound 5 without vst so far.  i can't seem to
>>>understand the realtime audio out options.  any pointers?
>>>
>>>ken
>>>
>>>
>>>
>>>-------------------------------------------------------
>>>SF.Net email is Sponsored by the Better Software Conference & EXPO
>>>September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
>>>Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
>>>Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
>>>_______________________________________________
>>>Csound-devel mailing list
>>>Csound-devel@lists.sourceforge.net
>>>https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>>
>>-------------------------------------------------------
>>SF.Net email is Sponsored by the Better Software Conference & EXPO
>>September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
>>Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
>>Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
>>_______________________________________________
>>Csound-devel mailing list
>>Csound-devel@lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-08-04 07:50
FromKen
SubjectRe: [Cs-dev] rt audio
Thanks for your help Ian.
Ken

On Wed, 2005-08-03 at 23:41 -0700, Iain Duncan wrote:
> And yes, as mentioned you do need portaudio v19 for portaudio output. 
> But if that is a problem, you may be able to compile fine with only the 
> alsa option enabled in SConstruct.
> 
> Iain
> 
> Ken wrote:
> > i keep getting errors on any realtime out, not a peep.
> > 
> > [nunativs@localhost test]$ csound  -o dac -+rtaudio=alsa midi_sine.csd -
> > F "/home/nunativs/sound/midi/MelroseP.mid"
> > Localisation of messages is disabled, using default language.
> > time resolution is 0.460 ns
> > 0dBFS level = 32768.0
> > Csound version 5.00 beta (float samples) Aug  3 2005
> > libsndfile-1.0.11
> > UnifiedCSD:  midi_sine.csd
> > STARTING FILE
> > Creating options
> > Creating orchestra
> > Creating /tmp/file7IdRgM.orc (0x80fe908)
> > Creating score
> > orchname:  /tmp/file7IdRgM.orc
> > scorename: /tmp/filebH5uJG.sco
> > orch compiler:
> > 46 lines read
> > 	instr	1	
> > Elapsed time at end of orchestra compile: real: 0.096s, CPU: 0.000s
> > sorting score ...
> > 	... done
> > Elapsed time at end of score sort: real: 0.116s, CPU: 0.000s
> > Csound version 5.00 beta (float samples) Aug  3 2005
> > midi channel 1 using instr 1
> > midi channel 2 using instr 1
> > midi channel 3 using instr 1
> > midi channel 4 using instr 1
> > midi channel 5 using instr 1
> > midi channel 6 using instr 1
> > midi channel 7 using instr 1
> > midi channel 8 using instr 1
> > midi channel 9 using instr 1
> > midi channel 10 using instr 1
> > midi channel 11 using instr 1
> > midi channel 12 using instr 1
> > midi channel 13 using instr 1
> > midi channel 14 using instr 1
> > midi channel 15 using instr 1
> > midi channel 16 using instr 1
> > 0dBFS level = 32768.0
> > Reading MIDI file '/home/nunativs/sound/midi/MelroseP.mid'...
> >  Track  0
> >   Track name: untitled
> >  Track  1
> >   Track name: KEYBOARD 1
> >  Track  2
> >   Track name: KEYBOARD 2
> >  Track  3
> >   Track name: ORCHA HIT
> >  Track  4
> >   Track name: STRINGS
> >  Track  5
> >   Track name: LEAD GUIT1
> >  Track  6
> >   Track name: LEAD GUIT2
> >  Track  7
> >   Track name: RHYTHM GUIT 1
> >  Track  8
> >   Track name: RHYTHM GUIT 2
> >  Track  9
> >   Track name: DRUMS
> >  Track 10
> >   Track name: BASS 1
> >  Track 11
> >   Track name: BASS 2
> > done.
> > orch now loaded
> > audio buffered in 256 sample-frame blocks
> >  *** error: unknown rtaudio module: 'alsa'
> > Failed to initialise real time audio output
> > inactive allocs returned to freespace
> > end of score.		   overall amps:      0.0      0.0
> > 	   overall samples out of range:        0        0
> > 0 errors in performance
> > Elapsed time at end of performance: real: 1.039s, CPU: 0.010s
> > Removing temporary file /tmp/filepgPDjB ...
> > Removing temporary file /tmp/filebH5uJG.sco ...
> > Removing temporary file /tmp/file7IdRgM.orc ...
> > [nunativs@localhost test]$ 
> > 
> > On Wed, 2005-08-03 at 23:20 -0700, Iain Duncan wrote:
> > 
> >>on linux the easiest way to get decent lowlatency real time audio is to 
> >>use the flag
> >>-+rtaudio=alsa
> >>
> >>ie
> >>csound -o dac -+rtaudio=alsa myorc.orc mysco.sco
> >>
> >>Hope that helps
> >>Iain
> >>
> >>Ken wrote:
> >>
> >>>on linux, i have compiled csound 5 without vst so far.  i can't seem to
> >>>understand the realtime audio out options.  any pointers?
> >>>
> >>>ken
> >>>
> >>>
> >>>
> >>>-------------------------------------------------------
> >>>SF.Net email is Sponsored by the Better Software Conference & EXPO
> >>>September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> >>>Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> >>>Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> >>>_______________________________________________
> >>>Csound-devel mailing list
> >>>Csound-devel@lists.sourceforge.net
> >>>https://lists.sourceforge.net/lists/listinfo/csound-devel
> >>>
> >>
> >>
> >>-------------------------------------------------------
> >>SF.Net email is Sponsored by the Better Software Conference & EXPO
> >>September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> >>Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> >>Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> >>_______________________________________________
> >>Csound-devel mailing list
> >>Csound-devel@lists.sourceforge.net
> >>https://lists.sourceforge.net/lists/listinfo/csound-devel
> > 
> > 
> > 
> > 
> > -------------------------------------------------------
> > SF.Net email is Sponsored by the Better Software Conference & EXPO
> > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> > _______________________________________________
> > Csound-devel mailing list
> > Csound-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/csound-devel
> > 
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-08-04 07:51
FromSteven Yi
SubjectRe: [Cs-dev] rt audio
AttachmentsNone  

Date2005-08-04 08:04
FromKen
SubjectRe: [Cs-dev] rt audio
no i didn't, sorry this is my first time through.  where are the audio
plugins located?
ok found them, yes its working, thanks so much RTFM!


On Thu, 2005-08-04 at 08:51 +0200, Steven Yi wrote:
> Hi Ken,
> 
> Did you define your OPCODEDIR to point to where your plugin libraries
> (opcodes, audio, midi, etc.) are?
> 
> steven
> 
> 
> On 8/4/05, Ken  wrote:
> > i keep getting errors on any realtime out, not a peep.
> > 
> > [nunativs@localhost test]$ csound  -o dac -+rtaudio=alsa midi_sine.csd -
> > F "/home/nunativs/sound/midi/MelroseP.mid"
> > Localisation of messages is disabled, using default language.
> > time resolution is 0.460 ns
> > 0dBFS level = 32768.0
> > Csound version 5.00 beta (float samples) Aug  3 2005
> > libsndfile-1.0.11
> > UnifiedCSD:  midi_sine.csd
> > STARTING FILE
> > Creating options




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-08-04 08:47
FromIain Duncan
SubjectRe: [Cs-dev] rt audio
> no i didn't, sorry this is my first time through.  where are the audio
> plugins located?
> ok found them, yes its working, thanks so much RTFM!

Well, don't beat yourself up too much, The Friendly Manual is a bit of a 
chameleon itself right now. ; )

Iain



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-08-04 16:22
FromKen
SubjectRe: [Cs-dev] rt audio
well, all seems to be working except alsa.  i'm on a fedora core 3
machine, alsa/jack installed etc.

if i do:
csound -+rtaudio=alsa -odac -F"blah.mid"

i'm getting the following error:

  Track name: Violas
 Track 16
  Track name: Cello
 Track 17
  Track name: Basses
done.
orch now loaded
audio buffered in 256 sample-frame blocks
 *** Failed while trying to set soundcard DMA buffer size
Failed to initialise real time audio output
inactive allocs returned to freespace
end of score.		   overall amps:      0.0      0.0
	   overall samples out of range:        0        0
0 errors in performance
Elapsed time at end of performance: real: 1.299s, CPU: 0.060s
Removing temporary file /tmp/fileOkEs9D ...
Removing temporary file /tmp/fileOKdcTN.sco ...
Removing temporary file /tmp/fileok1nPX.orc ...
[nunativs@localhost test]$ 
  
On Thu, 2005-08-04 at 00:47 -0700, Iain Duncan wrote: 
> > no i didn't, sorry this is my first time through.  where are the audio
> > plugins located?
> > ok found them, yes its working, thanks so much RTFM!
> 
> Well, don't beat yourself up too much, The Friendly Manual is a bit of a 
> chameleon itself right now. ; )
> 
> Iain
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-08-04 17:15
FromIstvan Varga
SubjectRe: [Cs-dev] rt audio
Ken wrote:

> well, all seems to be working except alsa.  i'm on a fedora core 3
> machine, alsa/jack installed etc.
> 
> if i do:
> csound -+rtaudio=alsa -odac -F"blah.mid"
> 
> i'm getting the following error:
 > ...
> audio buffered in 256 sample-frame blocks
>  *** Failed while trying to set soundcard DMA buffer size
> Failed to initialise real time audio output

You can try using PortAudio (the default) instead of ALSA.
Also, what buffer sizes and sample rate do you use ?


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net