schollz / miti

miti is a musical instrument textual interface. Basically, its MIDI, but with human-readable text. :musical_note:
https://schollz.com/blog/miti/
MIT License
168 stars 4 forks source link

[Question] How much jitter is there? #4

Open schollz opened 4 years ago

schollz commented 4 years ago

Testing using 1/8th notes at 110 bpm on 3 instruments (nts-1, op-1, sh-01a). Two samples taken while running, for 20 seconds each. The samples were processed, aligned and differed.

Takeaways:

Some representative examples:

Measured from the nts-1, one instrument:

image

Measured from the nts-1, three instruments:

image

Measured from the op-1:

image

Measured from the op-1, 1/8th notes at 220 bpm:

image

Measured from the op-1, using rtmidi instead of portmidi:

image

Measured using a song I wrote at 110 bpm:

image

pattern a 

tempo 110
instruments nts-1
legato 1
C1 Eb G C Eb G C Eb 

instruments op-1
legato 50
Bb3D4  G3 Eb- Eb . . . . Bb3Eb4 G3 Eb- Eb . . . .
Bb3Eb4 G3 Eb- Eb . . . . Bb3Eb4 G3 Eb- Eb . . . .
G3C4  Eb3 C- C . . . . G3C4  Eb3 C- C . . . . 
G3C4  Eb3 C- C . . . . G3C4  Eb3 C- C . . . . 

instruments sh-01a
legato 90
Eb3GBb 
D3FBb
C3EbG- 
C3EbG
schollz commented 4 years ago

Jitter from Raspberry Pi is bit higher, measured on op-1 on 1/8th notes at 220bpm:

image

image

Measurement method:

333

schollz commented 4 years ago

Interestingly, adding latency doesn't seem to help much more:

Raspberry Pi no latency:

image

Raspberry Pi w/ 1s latency (scheduled):

image

schollz commented 4 years ago

Windows comparisons.

WIthout latency:

image

image

image

With latency:

image

image

image

image

0atman commented 3 years ago

nice research!