ebook img

LAC 2011 - Slides: A position sensing midi drum interface PDF

2011·0.92 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview LAC 2011 - Slides: A position sensing midi drum interface

The synpad – a position sensing midi drum interface I will be talking today about my attempts to build a cheap, playable, midi drum interface with position sensing capability. Overview Motivations – why build this? ● Research – previous designs. ● Physical design. ● Electronics. ● Driver software – firmware and position mapper. ● Synth software – using supercollider. ● Results. ● Similar work. ● Future directions. ● Conclusion. ● Motivations Why build something like this? I find drum machines limiting and awkward. ● I wanted something more immediate and ● responsive. Drum triggers are good but you can't change ● the tone. Wanted something more like a real drum. ● Research Tried a couple of other designs. ● Voltage gradients in a conductive rubber sheet. ● Time of flight of pressure waves. ● Just sensing transferred pressure worked ok. ● Physical design Playing surface is an ● aluminium sheet. The sheet moves freely ● in a wooden frame. Piezo sensors under ● each corner detect differences in transferred strike pressure. The signals are brought ● out to an arduino board. Electronics Quite simple electronics. ● Provides a false ground level. ● Prevents voltage drift on the piezos. ● Circuit diagram Driver software - firmware Firmware turns analogue signals into 4 ● velocities. ADC sample rate: 76 kHz across 4 lines. ● Trigger level for detection. ● Absolute values summed for 16 samples = 0.84 ● ms Summed values are written to USB at 230400 ● baud (0.34 ms) 1300 sample / 68ms release period. ● Position mapping software The position mapping equation. Python program maps ● sensor readings into x, y # s[n] = reading for sensor n and velocity coordinates. # x = x or y return value. # k[n] | f[n] = adjustable coefficients. Pad calibrated by striking ● f1=s1 at known positions. f2=s2*k2 Least squares curve fit ● f3=s3*k3 for position and velocity. f4=s4*k4 x=(l1*f1+l2*f2+l3*f3+l4*f4)/ X,Y and V are converted ● (f1+f2+f3+f4) to midi note and return x controller values. Synth software The pad is just an interface. ● Existing synths not suitable. ● I wrote my own in SuperCollider. ● Could have used CSound or PureData. ● Could also use a graphical modular synth like ● Ingen. Learning to write synthdefs. ● 'Synth Secrets' series from 'Sound on sound'. ●

See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.