Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] MME rtaudio plugin for Win32

Date2005-02-18 15:01
From"gogins@pipeline.com"
SubjectRe: [Cs-dev] MME rtaudio plugin for Win32
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

Date2005-02-18 15:52
FromDave Phillips
SubjectRe: [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