Need to know ASIO driver buffer size in samples
- Beware the Quoth
- 35517 posts since 4 Sep, 2001 from R'lyeh Oceanic Amusement Park and Funfair
Anyone know of a host or tool which determines the actual ASIO buffer size of the current latency setting in samples. Got a problem with a plugin and I need to give the developer the buffer size info, but the millisecond settings from the ASIO control panel are more than likely to be approximations...
Ta.
Ta.
An idiot on Set Theory:
"In some cases there is an object called red that contains everything that is red. In much the same way a pot is a plate."
"In some cases there is an object called red that contains everything that is red. In much the same way a pot is a plate."
-
- KVRist
- 77 posts since 5 May, 2005
if you know the latency in ms do this:
(0.001(Sample Rate))*(time in ms) = samples
(0.001(Sample Rate))*(time in ms) = samples
-
- KVRAF
- 4074 posts since 28 Apr, 2004
that will only work if you know the exact time in ms, which if rabbyts asio control panel is anything like mine he doesn't.outsomnia20 wrote:if you know the latency in ms do this:
(0.001(Sample Rate))*(time in ms) = samples
i have seen something tha does this though, i cannot for the life of me remember where though, i'll have to have a think and come back to you.
cheers,
steve.
- KVRian
- 736 posts since 8 May, 2002 from ... , germany
Maybe the AsioControlPanel can help?!
Info about it:
http://users.tkk.fi/~mapo/code.html
Cheers,
tl.
Info about it:
http://users.tkk.fi/~mapo/code.html
Cheers,
tl.
-
- KVRian
- 694 posts since 6 Aug, 2002 from London, UK
Since the buffers are likely to be in nice powers of 2, I'd look at the ms at 44.1KHz and convert:
~1.5ms - 64
~3ms - 128
~6ms (mine reports 5.9) - 256
~12 (11.8) - 512
~24 (23.4) - 1024
etc
~1.5ms - 64
~3ms - 128
~6ms (mine reports 5.9) - 256
~12 (11.8) - 512
~24 (23.4) - 1024
etc
- Beware the Quoth
- Topic Starter
- 35517 posts since 4 Sep, 2001 from R'lyeh Oceanic Amusement Park and Funfair
Exactly.blaster78 wrote:that will only work if you know the exact time in ms, which if rabbyts asio control panel is anything like mine he doesn't.outsomnia20 wrote:if you know the latency in ms do this:
(0.001(Sample Rate))*(time in ms) = samples
Tai have seen something tha does this though, i cannot for the life of me remember where though, i'll have to have a think and come back to you.
Thats not how the available latencies go, so no, I dont think the buffer sizes are all powers of two, at all. The available settings are actually 2,3,4,5,6,7,8,9,10,12,14,16,20,50,75, and 100 milliseconds.kp wrote:Since the buffers are likely to be in nice powers of 2, I'd look at the ms at 44.1KHz and convert:
~1.5ms - 64
~3ms - 128
~6ms (mine reports 5.9) - 256
~12 (11.- 512
~24 (23.4) - 1024
etc
Ta, i'll have a look at that.tl wrote:Maybe the AsioControlPanel can help?!
<EDIT> Yup, thats giving me a result for 'preferred' buffer size, and its associated value in milliseconds, which is what I need I, think.
And no, they're not powers of two, and they're just ever so slightly different from the calculation outsomnia20 posted as well.
Interestingly, though, it also reports values for 'ASIOGetLatencies' for both input and output, and they're somewhat different from the 'preferred latency'. Curious. Anyone know what they refer to?
An idiot on Set Theory:
"In some cases there is an object called red that contains everything that is red. In much the same way a pot is a plate."
"In some cases there is an object called red that contains everything that is red. In much the same way a pot is a plate."
-
- KVRian
- 694 posts since 6 Aug, 2002 from London, UK
OK, I've just never seen a card that doesn't go in powers of 2 byte buffer sizes (I've used half a dozen different cards over the years). You learn something new every day...
-
- Banned
- 22457 posts since 5 Sep, 2001
[DELETED]
- Beware the Quoth
- Topic Starter
- 35517 posts since 4 Sep, 2001 from R'lyeh Oceanic Amusement Park and Funfair
EMU 1820M.ttoz wrote:what audio card are we talking bout here? by the way ableton live reports samples and exact latency
An idiot on Set Theory:
"In some cases there is an object called red that contains everything that is red. In much the same way a pot is a plate."
"In some cases there is an object called red that contains everything that is red. In much the same way a pot is a plate."
-
- Banned
- 22457 posts since 5 Sep, 2001
[DELETED]
- Beware the Quoth
- Topic Starter
- 35517 posts since 4 Sep, 2001 from R'lyeh Oceanic Amusement Park and Funfair
I'll give it a go tomorrow and see if it ties with that ASIOControlPanel thingy. Ta.ttoz wrote: try live 5 demo i am positive it will give you exact samples and MS.
An idiot on Set Theory:
"In some cases there is an object called red that contains everything that is red. In much the same way a pot is a plate."
"In some cases there is an object called red that contains everything that is red. In much the same way a pot is a plate."
-
- KVRian
- 791 posts since 8 Mar, 2006 from Australia
Cantabile will show it on the Audio Driver page in Options.