Page 1 of 4

Benchmarks

PostPosted: Sat Nov 17, 2007 3:19 pm
by Synthex
I did some response time tests of the 32 inputs @ 20MHz version.
The average response time is 9 ms.

On the chart, the first line is the piezo signal, the second line is the Midi signal.

Re: Benchmarks

PostPosted: Sat Nov 17, 2007 3:36 pm
by Goldie
Is soundcard latency included in 9 ms? Because 2nd waveform looks like sound to me. Can you please explain how you did it. And would it be possible to record midi note on as short click. This would give us best results.

Re: Benchmarks

PostPosted: Sat Nov 17, 2007 4:06 pm
by Synthex
Goldie wrote:Is soundcard latency included in 9 ms? Because 2nd waveform looks like sound to me. Can you please explain how you did it. And would it be possible to record midi note on as short click. This would give us best results.


No, the soundcard latency is not included. the 2nd waveform is numeric MIDI signal.
I plugged directly leaving the Atmega32 on my sound card (as an oscilloscope).

Re: Benchmarks

PostPosted: Sat Nov 17, 2007 4:11 pm
by Goldie
Ok, good job.

Re: Benchmarks

PostPosted: Sat Nov 17, 2007 4:41 pm
by Synthex
Roland brains seems to be less than 4 ms.

Is it possible to reduce this latency in a future version of the firmware ?
(code optimization, higher frequency, ...)

Re: Benchmarks

PostPosted: Sat Nov 17, 2007 5:34 pm
by dmitri
Strange. Unless I made a mistake somewhere, the delay should be no more than 4ms. How did you measure it? And what did you mean by 'average 9ms'? Are there minimums and maximums? It should be pretty much a constant.

Re: Benchmarks

PostPosted: Sat Nov 17, 2007 6:12 pm
by Synthex
dmitri wrote:Strange. Unless I made a mistake somewhere, the delay should be no more than 4ms. How did you measure it? And what did you mean by 'average 9ms'? Are there minimums and maximums? It should be pretty much a constant.


I use a sound card to record the gap.
I make a recording in stereo : right channel = piezo, left channel = TX output of Atmega32.
I found response times of between 7 and 10 ms.

I may be wrong ... :?

Have you ever done these measures ?

Re: Benchmarks

PostPosted: Sat Nov 17, 2007 6:20 pm
by Goldie
Roland SPD-6 = 5ms delay

Left channel - mike on SPD pad
Right channel - SPD midi out through Di box

Just had to try it. It's possible to record midi out. It sends pulse all the time, i guess active midi sensing. 222 samples delay @44,1 khz. Dmitri 4ms would be excelent.

Re: Benchmarks

PostPosted: Sat Nov 17, 2007 7:00 pm
by dmitri
I'll try to make measurement myself

Re: Benchmarks

PostPosted: Sat Nov 17, 2007 9:22 pm
by dmitri
Synthex, try these two versions for 22 inputs:
16MHz:
megadrum32_16.hex

20MHz:
megadrum32_20.hex