Csound Csound-dev Csound-tekno Search About

Re: osx no sound using portaudio

Date2005-11-22 10:02
FromVictor Lazzarini
SubjectRe: osx no sound using portaudio
Isn't that the alsa lib (libasound.so?)? So what is it doing on OSX?
Perhaps the jack module has that dependency, which should be changed
in OSX. I don't have jack here, so I can't test.

Coreaudio latency can be changed with reducing -+buffnos and of cours -b 
and -B.

There is a bug in the portaudio module. I will fix it.

Victor

At 22:50 22/11/2005, you wrote:
>Hi,
>I built a new version of csound5 on osx yesterday.
>I had to configure to build without jack to be able to
>get rid of this error.
>
>/usr/bin/libtool: can't locate file for: -lasound
>/usr/bin/libtool: file: -lasound is not an object file (not allowed in a 
>library)
>scons: *** [librtjack.dylib] Error 1
>scons: building terminated because of errors.



>When testing several csd files I found out that I got no sound
>when using portaudio. I got sound using coreaudio with a
>latency when I use it with fltk (this works without latency with
>an older version (from august) of csound5).
>
>Any hints on that problem?
>
>Thanks
>   Simon
>
>--
>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 

Date2005-11-22 10:23
FromVictor Lazzarini
SubjectRe: osx no sound using portaudio
Someone broke the code on OSX. I asked it to be reverted as
I don't have the time to sift through the changes that have been
introduced.

At 22:50 22/11/2005, you wrote:
>Hi,
>I built a new version of csound5 on osx yesterday.
>I had to configure to build without jack to be able to
>get rid of this error.
>
>/usr/bin/libtool: can't locate file for: -lasound
>/usr/bin/libtool: file: -lasound is not an object file (not allowed in a 
>library)
>scons: *** [librtjack.dylib] Error 1
>scons: building terminated because of errors.
>
>When testing several csd files I found out that I got no sound
>when using portaudio. I got sound using coreaudio with a
>latency when I use it with fltk (this works without latency with
>an older version (from august) of csound5).
>
>Any hints on that problem?
>
>Thanks
>   Simon
>
>--
>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 

Date2005-11-22 11:56
FromIstvan Varga
SubjectRe: osx no sound using portaudio
AttachmentsNone  

Date2005-11-22 22:50
FromSimon Schampijer
Subjectosx no sound using portaudio
Hi,
I built a new version of csound5 on osx yesterday.
I had to configure to build without jack to be able to
get rid of this error.

/usr/bin/libtool: can't locate file for: -lasound
/usr/bin/libtool: file: -lasound is not an object file (not allowed in a 
library)
scons: *** [librtjack.dylib] Error 1
scons: building terminated because of errors.

When testing several csd files I found out that I got no sound
when using portaudio. I got sound using coreaudio with a
latency when I use it with fltk (this works without latency with
an older version (from august) of csound5).

Any hints on that problem?

Thanks
   Simon

Date2005-11-23 09:42
FromVictor Lazzarini
SubjectRe: osx no sound using portaudio
I will make the changes to SConstruct, if they are not already there. 
Thanks, Simon.

At 00:48 24/11/2005, you wrote:
>Thanks Victor and Istvan,
>I checked out the new cvs-version.
>To run csound with the jack module on OSX
>I just had to change the following lines in
>the SConstruct file:
>
>if (getPlatform() == 'linux'):
>       jackEnvironment.Append(LIBS = ['jack', 'asound', 'pthread'])
>elif (getPlatform() == 'darwin'):
>       jackEnvironment.Append(LIBS = ['jack', 'pthread'])
>
>Otherwise it is running fine so far - I will make some further
>tests tomorrow.
>
>Best Regards
>Simon
>
>
>
>Victor Lazzarini schrieb:
>
>>Isn't that the alsa lib (libasound.so?)? So what is it doing on OSX?
>>Perhaps the jack module has that dependency, which should be changed
>>in OSX. I don't have jack here, so I can't test.
>>
>>Coreaudio latency can be changed with reducing -+buffnos and of cours -b 
>>and -B.
>>
>>There is a bug in the portaudio module. I will fix it.
>>
>>Victor
>>
>>At 22:50 22/11/2005, you wrote:
>>
>>>Hi,
>>>I built a new version of csound5 on osx yesterday.
>>>I had to configure to build without jack to be able to
>>>get rid of this error.
>>>
>>>/usr/bin/libtool: can't locate file for: -lasound
>>>/usr/bin/libtool: file: -lasound is not an object file (not allowed in a 
>>>library)
>>>scons: *** [librtjack.dylib] Error 1
>>>scons: building terminated because of errors.
>>
>>
>>
>>
>>>When testing several csd files I found out that I got no sound
>>>when using portaudio. I got sound using coreaudio with a
>>>latency when I use it with fltk (this works without latency with
>>>an older version (from august) of csound5).
>>>
>>>Any hints on that problem?
>>>
>>>Thanks
>>>   Simon
>>>
>>>--
>>>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

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth 

Date2005-11-24 00:48
FromSimon Schampijer
SubjectRe: osx no sound using portaudio
Thanks Victor and Istvan,
I checked out the new cvs-version.
To run csound with the jack module on OSX
I just had to change the following lines in
the SConstruct file:

 if (getPlatform() == 'linux'):
       jackEnvironment.Append(LIBS = ['jack', 'asound', 'pthread'])
 elif (getPlatform() == 'darwin'):
       jackEnvironment.Append(LIBS = ['jack', 'pthread'])

Otherwise it is running fine so far - I will make some further
tests tomorrow.

Best Regards
Simon



Victor Lazzarini schrieb:

> Isn't that the alsa lib (libasound.so?)? So what is it doing on OSX?
> Perhaps the jack module has that dependency, which should be changed
> in OSX. I don't have jack here, so I can't test.
>
> Coreaudio latency can be changed with reducing -+buffnos and of cours 
> -b and -B.
>
> There is a bug in the portaudio module. I will fix it.
>
> Victor
>
> At 22:50 22/11/2005, you wrote:
>
>> Hi,
>> I built a new version of csound5 on osx yesterday.
>> I had to configure to build without jack to be able to
>> get rid of this error.
>>
>> /usr/bin/libtool: can't locate file for: -lasound
>> /usr/bin/libtool: file: -lasound is not an object file (not allowed 
>> in a library)
>> scons: *** [librtjack.dylib] Error 1
>> scons: building terminated because of errors.
>
>
>
>
>> When testing several csd files I found out that I got no sound
>> when using portaudio. I got sound using coreaudio with a
>> latency when I use it with fltk (this works without latency with
>> an older version (from august) of csound5).
>>
>> Any hints on that problem?
>>
>> Thanks
>>   Simon
>>
>> -- 
>> 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