| Just a reminder here, when you're using portaudio, if you specify the
wrong device, you actually wind up going through the OSS emulation
layer, with bad latency. Before Istvan even added his alsa layer I could
get both good and bad latency with portaudio by choosing different dac
names.
iain
gogins@pipeline.com wrote:
> OK again, you are saying that -+rtaudio=portaudio -odac:plughw:0 or 2 on
> your set up gives good latency. That implies documenting the plughw usage
> would be sufficient to make csound 5 PortAudio usable for performance on
> Linux.
>
>
> Original Message:
> -----------------
> From: Dave Phillips dlphilp@bright.net
> Date: Fri, 18 Feb 2005 11:28:46 -0500
> To: csound-devel@lists.sourceforge.net
> Subject: Re: [Cs-dev] MME rtaudio plugin for Win32
>
>
> Hi Michael:
>
> I'm sorry, this is confusing:
>
> "Employing the ALSA plugin layer works well with either -odac:plughw:0 or
> -odac:plughw:2."
>
> I meant using plughw with -+rtaudio=portaudio.
>
> Best,
>
> dp
>
>
> gogins@pipeline.com wrote:
>
>
>>OK, I thought you got good latency with PortAudio using -odac:plughw, but
>>you are saying that it was bad with PortAudio but good with ALSA native. It
>>used to be good with PortAudio using -odac:plughw, and then for a while it
>>was good with just PortAudio -odac 1 or 2 or whatever. Needs more
>>investigation.
>>
>>
>>Original Message:
>>-----------------
>>From: Dave Phillips dlphilp@bright.net
>>Date: Fri, 18 Feb 2005 10:52:15 -0500
>>To: csound-devel@lists.sourceforge.net
>>Subject: Re: [Cs-dev] MME rtaudio plugin for Win32
>>
>>
>>Hi Michael:
>>
>> If the latency from PortAudio is simply unavoidable when using its own
>>device selection, then yes, it should be documented with the preferable
>>device selection. Btw, I also tried these settings with -+rtaudio=pa :
>>
>> -odac:hw:2 - failed with this error again (same error with -odac2) :
>>
>> Using Portaudio output device hw:2.
>> Suggested PortAudio output latency = 0.000000 seconds.
>> paBlockingWriteOpen: nchnls 2 sr 44100.000000 buffer frames 1024
>>device -2
>> paBlockingWriteOpen returned -9998.
>> PortAudio error -9998: Invalid number of channels.
>> Failed to initialise real time audio output
>>
>> -odac:hw:0 - worked well, negligible latency
>>
>>So to further summarize:
>>
>> Using -+rtaudio=pa fails with either -odac2 or -odac:hw:2. RT
>>performance is poor with -odac0, but good with -odac:hw:0. Employing the
>>ALSA plugin layer works well with either -odac:plughw:0 or -odac:plughw:2.
>>
>> These results come from the simple midi-in test file I posted a few
>>days ago. Device 0 is my SBLive, device 2 is my Delta 66. My device 1 is
>>the ALSA virtual MIDI device and is not used in these tests.
>>
>>Best regards,
>>
>>dp
>>
>>
>>
>>gogins@pipeline.com wrote:
>>
>>
>>
>>
>>>Yes, that's what I was working for, and it is the same as my experience.
>>>This seems quite usable to me as long as the right argument for -dac is
>>>used.
>>>
>>>Would you consider the argument issue to be a bug that needs to be fixed,
>>>or is it sufficient to document it?
>>>
>>>Thanks again.
>>>
>>>Original Message:
>>>-----------------
>>>From: Dave Phillips dlphilp@bright.net
>>>Date: Fri, 18 Feb 2005 09:00:13 -0500
>>>To: csound-devel@lists.sourceforge.net
>>>Subject: Re: [Cs-dev] MME rtaudio plugin for Win32
>>>
>>>
>>>Michael Gogins wrote:
>>>
>>>
>>>
>>>
>>>
>>>
>>>>The blocking API is not usable, at least not six months ago last time
>>>>I tried on Linux, that is why pa_blocking.c exists.
>>>>
>>>>Art, Dave, can you repeat your findings for me?
>>>>
>>>>
>>>>
>>>>
>>>
>>>Hi Michael:
>>>
>>>I sent the results of my PortAudio tests to the list yesterday, I
>>>assume you saw them. Is that what you're looking for ?
>>>
>>>To summarize: When using -+rtaudio=pa I get the following results from
>>>my output device selections (when using the midi-in.csd test) :
>>>
>>> -dac2 (Delta66) - Csound aborts with an error regarding the number
>>>of channels reported by PA
>>> -dac0 (SBLive) - Csound plays, but latency is atrocious, on the
>>>order of 1 second delay between keypress and sound
>>> -dac:plughw:2 - Csound plays, latency is unnoticeable
>>> -dac:plughw:0 - ditto
>>>
>>>Best regards,
>>>
>>>dp
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>-------------------------------------------------------
>>>SF email is sponsored by - The IT Product Guide
>>>Read honest & candid reviews on hundreds of IT Products from real users.
>>>Discover which products truly live up to the hype. Start reading now.
>>>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>>>_______________________________________________
>>>Csound-devel mailing list
>>>Csound-devel@lists.sourceforge.net
>>>https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>--------------------------------------------------------------------
>>>mail2web - Check your email from the web at
>>>http://mail2web.com/ .
>>>
>>>
>>>
>>>
>>>-------------------------------------------------------
>>>SF email is sponsored by - The IT Product Guide
>>>Read honest & candid reviews on hundreds of IT Products from real users.
>>>Discover which products truly live up to the hype. Start reading now.
>>>http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
>>>_______________________________________________
>>>Csound-devel mailing list
>>>Csound-devel@lists.sourceforge.net
>>>https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>>-------------------------------------------------------
>>SF email is sponsored by - The IT Product Guide
>>Read honest & candid reviews on hundreds of IT Products from real users.
>>Discover which products truly live up to the hype. Start reading now.
>>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>>_______________________________________________
>>Csound-devel mailing list
>>Csound-devel@lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>--------------------------------------------------------------------
>>mail2web - Check your email from the web at
>>http://mail2web.com/ .
>>
>>
>>
>>
>>-------------------------------------------------------
>>SF email is sponsored by - The IT Product Guide
>>Read honest & candid reviews on hundreds of IT Products from real users.
>>Discover which products truly live up to the hype. Start reading now.
>>http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
>>_______________________________________________
>>Csound-devel mailing list
>>Csound-devel@lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>>
>
>
>
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> --------------------------------------------------------------------
> mail2web - Check your email from the web at
> http://mail2web.com/ .
>
>
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |