Csound Csound-dev Csound-tekno Search About

[Csnd] new IO module for OSX

Date2011-11-05 03:04
FromVictor Lazzarini
Subject[Csnd] new IO module for OSX
I've written a new IO module for OSX, which is to replace the  
coreaudio module. It uses the AuHAL API of OSX.
The main advantage over portaudio is that very low latencies can be  
achieved (down to 16 frames).
It's experimental at the moment, but hopefully will be fully tested  
for the next release.

-+rtaudio=auhal is the option to enable it.

Two caveats: 1) only OSX 10.6 and above  2) output device selection  
only works via OSX sound preferences
at the moment; input device can be selected using -i adc:   
where  is the device number
as printed in the csound console.

in GIT now.

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2011-11-05 06:49
FromErik de Castro Lopo
SubjectRe: [Csnd] new IO module for OSX
Victor Lazzarini wrote:

> I've written a new IO module for OSX, which is to replace the  
> coreaudio module. It uses the AuHAL API of OSX.
> The main advantage over portaudio is that very low latencies can be  
> achieved (down to 16 frames).
> It's experimental at the moment, but hopefully will be fully tested  
> for the next release.
> 
> -+rtaudio=auhal is the option to enable it.
> 
> Two caveats: 1) only OSX 10.6 and above  2) output device selection  
> only works via OSX sound preferences
> at the moment; input device can be selected using -i adc:   
> where  is the device number
> as printed in the csound console.
> 
> in GIT now.

Any chance you could point me to the location in the Git tree? I
need to rewrite the OSX output routines of sndfile-play (which is
part of libsndfile) and this might be a good introduction.

Cheers,
Erik

Date2011-11-05 08:19
FromVictor Lazzarini
SubjectRe: [Csnd] new IO module for OSX
InOut/rtauhal.c

Victor
On 5 Nov 2011, at 06:49, Erik de Castro Lopo wrote:

> Victor Lazzarini wrote:
>
>> I've written a new IO module for OSX, which is to replace the
>> coreaudio module. It uses the AuHAL API of OSX.
>> The main advantage over portaudio is that very low latencies can be
>> achieved (down to 16 frames).
>> It's experimental at the moment, but hopefully will be fully tested
>> for the next release.
>>
>> -+rtaudio=auhal is the option to enable it.
>>
>> Two caveats: 1) only OSX 10.6 and above  2) output device selection
>> only works via OSX sound preferences
>> at the moment; input device can be selected using -i adc:
>> where  is the device number
>> as printed in the csound console.
>>
>> in GIT now.
>
> Any chance you could point me to the location in the Git tree? I
> need to rewrite the OSX output routines of sndfile-play (which is
> part of libsndfile) and this might be a good introduction.
>
> Cheers,
> Erik
> --  
> ----------------------------------------------------------------------
> Erik de Castro Lopo
> http://www.mega-nerd.com/
>
>
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"
>

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2011-11-05 10:57
Fromk_o_m_p
SubjectRe: [Csnd] new IO module for OSX
Victor, I would love to test it but I'm afraid I'm not able to install it. Could you give me some more clues how to run csound with it?
Luís


Am 05.11.11 09:19, schrieb Victor Lazzarini:
InOut/rtauhal.c

Victor
On 5 Nov 2011, at 06:49, Erik de Castro Lopo wrote:

Victor Lazzarini wrote:

I've written a new IO module for OSX, which is to replace the
coreaudio module. It uses the AuHAL API of OSX.
The main advantage over portaudio is that very low latencies can be
achieved (down to 16 frames).
It's experimental at the moment, but hopefully will be fully tested
for the next release.

-+rtaudio=auhal is the option to enable it.

Two caveats: 1) only OSX 10.6 and above  2) output device selection
only works via OSX sound preferences
at the moment; input device can be selected using -i adc:<number>
where <number> is the device number
as printed in the csound console.

in GIT now.

Any chance you could point me to the location in the Git tree? I
need to rewrite the OSX output routines of sndfile-play (which is
part of libsndfile) and this might be a good introduction.

Cheers,
Erik
-- ----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/


Send bugs reports to the Sourceforge bug tracker
           https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Send bugs reports to the Sourceforge bug tracker
           https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"




--
signatur http://luisantunespena.eu


Date2011-11-05 15:45
FromVictor Lazzarini
SubjectRe: [Csnd] new IO module for OSX
Well, you would need to compile it. Don't worry, we're putting together (when we say we, I mean Steven ;) a 10.6/10.7 release and this might feature in it ("experimentally" please!)

Victor

On 5 Nov 2011, at 10:57, k_o_m_p wrote:

Victor, I would love to test it but I'm afraid I'm not able to install it. Could you give me some more clues how to run csound with it?
Luís


Am 05.11.11 09:19, schrieb Victor Lazzarini:
InOut/rtauhal.c 

Victor 
On 5 Nov 2011, at 06:49, Erik de Castro Lopo wrote: 

Victor Lazzarini wrote: 

I've written a new IO module for OSX, which is to replace the 
coreaudio module. It uses the AuHAL API of OSX. 
The main advantage over portaudio is that very low latencies can be 
achieved (down to 16 frames). 
It's experimental at the moment, but hopefully will be fully tested 
for the next release. 

-+rtaudio=auhal is the option to enable it. 

Two caveats: 1) only OSX 10.6 and above  2) output device selection 
only works via OSX sound preferences 
at the moment; input device can be selected using -i adc:<number> 
where <number> is the device number 
as printed in the csound console. 

in GIT now. 

Any chance you could point me to the location in the Git tree? I 
need to rewrite the OSX output routines of sndfile-play (which is 
part of libsndfile) and this might be a good introduction. 

Cheers, 
Erik 
-- ---------------------------------------------------------------------- 
Erik de Castro Lopo 
http://www.mega-nerd.com/ 


Send bugs reports to the Sourceforge bug tracker 
           https://sourceforge.net/tracker/?group_id=81968&atid=564599 
Discussions of bugs and features can be posted here 
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" 


Dr Victor Lazzarini 
Senior Lecturer 
Dept. of Music 
NUI Maynooth Ireland 
tel.: +353 1 708 3545 
Victor dot Lazzarini AT nuim dot ie 





Send bugs reports to the Sourceforge bug tracker 
           https://sourceforge.net/tracker/?group_id=81968&atid=564599 
Discussions of bugs and features can be posted here 
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" 





Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




Date2011-11-05 15:47
FromSteven Yi
SubjectRe: [Csnd] new IO module for OSX
Yes, hopefully by end of today I'll have something posted here. :D

On Sat, Nov 5, 2011 at 3:45 PM, Victor Lazzarini
 wrote:
> Well, you would need to compile it. Don't worry, we're putting together
> (when we say we, I mean Steven ;) a 10.6/10.7 release and this might feature
> in it ("experimentally" please!)
> Victor
> On 5 Nov 2011, at 10:57, k_o_m_p wrote:
>
> Victor, I would love to test it but I'm afraid I'm not able to install it.
> Could you give me some more clues how to run csound with it?
> Luís
>
>
> Am 05.11.11 09:19, schrieb Victor Lazzarini:
>
> InOut/rtauhal.c
>
> Victor
> On 5 Nov 2011, at 06:49, Erik de Castro Lopo wrote:
>
> Victor Lazzarini wrote:
>
> I've written a new IO module for OSX, which is to replace the
> coreaudio module. It uses the AuHAL API of OSX.
> The main advantage over portaudio is that very low latencies can be
> achieved (down to 16 frames).
> It's experimental at the moment, but hopefully will be fully tested
> for the next release.
>
> -+rtaudio=auhal is the option to enable it.
>
> Two caveats: 1) only OSX 10.6 and above  2) output device selection
> only works via OSX sound preferences
> at the moment; input device can be selected using -i adc:
> where  is the device number
> as printed in the csound console.
>
> in GIT now.
>
> Any chance you could point me to the location in the Git tree? I
> need to rewrite the OSX output routines of sndfile-play (which is
> part of libsndfile) and this might be a good introduction.
>
> Cheers,
> Erik
> -- ----------------------------------------------------------------------
> Erik de Castro Lopo
> http://www.mega-nerd.com/
>
>
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
>
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>
>
>
> --
> http://luisantunespena.eu
>
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


Date2011-11-05 17:20
FromAdam Puckett
SubjectRe: [Csnd] new IO module for OSX
I think something like this should happen for Windows too. ASIO is
great, but it doesn't support full duplex audio.

On 11/5/11, Steven Yi  wrote:
> Yes, hopefully by end of today I'll have something posted here. :D
>
> On Sat, Nov 5, 2011 at 3:45 PM, Victor Lazzarini
>  wrote:
>> Well, you would need to compile it. Don't worry, we're putting together
>> (when we say we, I mean Steven ;) a 10.6/10.7 release and this might
>> feature
>> in it ("experimentally" please!)
>> Victor
>> On 5 Nov 2011, at 10:57, k_o_m_p wrote:
>>
>> Victor, I would love to test it but I'm afraid I'm not able to install it.
>> Could you give me some more clues how to run csound with it?
>> Luís
>>
>>
>> Am 05.11.11 09:19, schrieb Victor Lazzarini:
>>
>> InOut/rtauhal.c
>>
>> Victor
>> On 5 Nov 2011, at 06:49, Erik de Castro Lopo wrote:
>>
>> Victor Lazzarini wrote:
>>
>> I've written a new IO module for OSX, which is to replace the
>> coreaudio module. It uses the AuHAL API of OSX.
>> The main advantage over portaudio is that very low latencies can be
>> achieved (down to 16 frames).
>> It's experimental at the moment, but hopefully will be fully tested
>> for the next release.
>>
>> -+rtaudio=auhal is the option to enable it.
>>
>> Two caveats: 1) only OSX 10.6 and above  2) output device selection
>> only works via OSX sound preferences
>> at the moment; input device can be selected using -i adc:
>> where  is the device number
>> as printed in the csound console.
>>
>> in GIT now.
>>
>> Any chance you could point me to the location in the Git tree? I
>> need to rewrite the OSX output routines of sndfile-play (which is
>> part of libsndfile) and this might be a good introduction.
>>
>> Cheers,
>> Erik
>> -- ----------------------------------------------------------------------
>> Erik de Castro Lopo
>> http://www.mega-nerd.com/
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>> Dr Victor Lazzarini
>> Senior Lecturer
>> Dept. of Music
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>>
>>
>>
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>>
>>
>> --
>> http://luisantunespena.eu
>>
>>
>> Dr Victor Lazzarini
>> Senior Lecturer
>> Dept. of Music
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>>
>>
>>
>
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


Date2011-11-05 18:15
FromVictor Lazzarini
SubjectRe: [Csnd] new IO module for OSX
First time I heard of it. Back in the day, when I used Windows ASIO  
did full duplex OK.

Victor
On 5 Nov 2011, at 17:20, Adam Puckett wrote:

> I think something like this should happen for Windows too. ASIO is
> great, but it doesn't support full duplex audio.
>
> On 11/5/11, Steven Yi  wrote:
>> Yes, hopefully by end of today I'll have something posted here. :D
>>
>> On Sat, Nov 5, 2011 at 3:45 PM, Victor Lazzarini
>>  wrote:
>>> Well, you would need to compile it. Don't worry, we're putting  
>>> together
>>> (when we say we, I mean Steven ;) a 10.6/10.7 release and this might
>>> feature
>>> in it ("experimentally" please!)
>>> Victor
>>> On 5 Nov 2011, at 10:57, k_o_m_p wrote:
>>>
>>> Victor, I would love to test it but I'm afraid I'm not able to  
>>> install it.
>>> Could you give me some more clues how to run csound with it?
>>> Luís
>>>
>>>
>>> Am 05.11.11 09:19, schrieb Victor Lazzarini:
>>>
>>> InOut/rtauhal.c
>>>
>>> Victor
>>> On 5 Nov 2011, at 06:49, Erik de Castro Lopo wrote:
>>>
>>> Victor Lazzarini wrote:
>>>
>>> I've written a new IO module for OSX, which is to replace the
>>> coreaudio module. It uses the AuHAL API of OSX.
>>> The main advantage over portaudio is that very low latencies can be
>>> achieved (down to 16 frames).
>>> It's experimental at the moment, but hopefully will be fully tested
>>> for the next release.
>>>
>>> -+rtaudio=auhal is the option to enable it.
>>>
>>> Two caveats: 1) only OSX 10.6 and above  2) output device selection
>>> only works via OSX sound preferences
>>> at the moment; input device can be selected using -i adc:
>>> where  is the device number
>>> as printed in the csound console.
>>>
>>> in GIT now.
>>>
>>> Any chance you could point me to the location in the Git tree? I
>>> need to rewrite the OSX output routines of sndfile-play (which is
>>> part of libsndfile) and this might be a good introduction.
>>>
>>> Cheers,
>>> Erik
>>> --  
>>> ----------------------------------------------------------------------
>>> Erik de Castro Lopo
>>> http://www.mega-nerd.com/
>>>
>>>
>>> Send bugs reports to the Sourceforge bug tracker
>>>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>>> "unsubscribe
>>> csound"
>>>
>>>
>>> Dr Victor Lazzarini
>>> Senior Lecturer
>>> Dept. of Music
>>> NUI Maynooth Ireland
>>> tel.: +353 1 708 3545
>>> Victor dot Lazzarini AT nuim dot ie
>>>
>>>
>>>
>>>
>>>
>>> Send bugs reports to the Sourceforge bug tracker
>>>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>>> "unsubscribe
>>> csound"
>>>
>>>
>>>
>>>
>>> --
>>> http://luisantunespena.eu
>>>
>>>
>>> Dr Victor Lazzarini
>>> Senior Lecturer
>>> Dept. of Music
>>> NUI Maynooth Ireland
>>> tel.: +353 1 708 3545
>>> Victor dot Lazzarini AT nuim dot ie
>>>
>>>
>>>
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>            https://sourceforge.net/tracker/? 
>> group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>> "unsubscribe
>> csound"
>>
>>
>
>
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"
>

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"