Csound Csound-dev Csound-tekno Search About

[Csnd] Re: Re: Re al-Time MIDI Input

Date2008-06-05 03:40
From"Michael Gogins"
Subject[Csnd] Re: Re: Re al-Time MIDI Input
Real-time Csound can use low-latency ASIO with the default PortAudio module, 
and I have achieved latencies of better than 5 milliseconds with Windows XP, 
Media Edition and the M-Audio Ozone. However, you have to explicitly specify 
the driver number. On my computer, I use "-o dac6". Csound prints a list of 
the drivers when it performs, and you have to read that and change the 
driver number in the command line to get it right.


Hope this helps,
Mike

----- Original Message ----- 
From: "Jim Aikin" 
To: 
Sent: Wednesday, June 04, 2008 6:53 PM
Subject: [Csnd] Re: Re al-Time MIDI Input


>
> Ah, yes. Very obvious. Thanks, all. I was misled by the tutorial, which 
> fails
> to mention this crucial step.
>
> We're making progress. I now get ugly grinding noises when I play the MIDI
> keyboard.
>
> If I bump the buffer size up to 512, I hear a nice tone ... but of course
> there is now a bit of audible latency.
>
> It would appear that real-time Csound is not a low-latency ASIO device. Am 
> I
> correct in this assumption? The nominal latency figure Michael gives for
> these settings in his tutorial is 11.6ms, but it sounds as if it's at 
> least
> three times that.
>
> --JA
>
>
>
> -- 
> View this message in context: 
> http://www.nabble.com/Real-Time-MIDI-Input-tp17657585p17658510.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
> csound" 


Date2008-06-05 04:24
FromJim Aikin
Subject[Csnd] Re: Re: Re al-Time MIDI Input


Michael Gogins wrote:
> 
> Real-time Csound can use low-latency ASIO with the default PortAudio
> module, 
> and I have achieved latencies of better than 5 milliseconds with Windows
> XP, 
> Media Edition and the M-Audio Ozone. However, you have to explicitly
> specify 
> the driver number. On my computer, I use "-o dac6". Csound prints a list
> of 
> the drivers when it performs, and you have to read that and change the 
> driver number in the command line to get it right.
> 

Bingo. Thanks! The thing that was snagging me was ultimately that I'm a
Windows kind of guy. As far as I can see, the dropdowns in the gui under
Options > Csound > Real-time Audio that are called Output Device and Input
Device don't actually work at all. They seem to be non-functional. When I
list my ASIO output among the  as:

-o dac8

...I get decent real-time response from a MIDI keyboard. My instr is, at the
moment, quite simple, and I have no idea what my CPU hit is, but I guess I
can find that out from Task Manager if I really care.

Thanks again.

--JA


-- 
View this message in context: http://www.nabble.com/Real-Time-MIDI-Input-tp17657585p17661247.html
Sent from the Csound - General mailing list archive at Nabble.com.