In this tutorial you will learn how to:

* play the din keyboard-keyboard

* change the Bezier curve based waveform to change the timbre of your sound

* change attack & decay times of your notes

* change attack & decay curves and learn why there is no ADSR in din.

* sustain an attack curve


00:30 - press 1 to goto microtonal keyboard & press 1 goto keyboard-keyboard
01:50 - z & x to shift octave down & up
02:23 - F1 to display help, Insert & Delete keys to scroll, Home/End and Pageup/Pagedown will work normally.
BUG: documentation prints title as din-1.9.1. will fix in 1.9.3.
03:43 - Press 2 to edit waveform/oscillator. z & e to zoom, wasd keys to pan, f to move vertex/tangent, z to undo, shift + z redo, i to insert, v to delete. 9 and 0 to go thru the waveform library.
04:29 - press f to move a diamond (ie vertex or tangent). z to undo, shift + z to redo.
05:00 - press 9 and 0 to go thru the waveforms library
05:41 - change note volume by setting variable note_volume:

set-var note_volume 0.1 ;# 10% of max
get-var note_volume ;# prints current note volume

06:28 - press multiple keys on the computer simultaneously to get chords
07:10: anti-ghosting check:
08:11 - Press a note and while pressing (the sound sustains), press 2 to also edit the waveform
08:58 - change scale. use list-scales to see the list of scales available. load-scale to load a scale:


10:30 - change attack time by setting variable attack_time:

set-var attack_time 5 ;# 5 seconds
get-var attack_time ;# prints current attack time

press n & m to change attack time too. changes by delta_time

set-var delta_time 0.25 ;# change by 1/4 sec

12:44 - change decay time by setting variable decay_time:

set-var decay_time 5 ;# 5 seconds
get-var decay_time ;# prints current decay time

or press , (comma) and . (period) keys on your qwerty keyboard.

12:53 - start of the chiptune!
14:11 - perfect chiptune!
14:40 - turn on the delays
15:05 - press 6 to goto delay editor and pull volume & feedback curves for fx. shift + f to move whole curve.

17:50 press v to delete vertex/tangent; yellow levels == FFT of Bezier curve waveform.
18:50 - beating phenomenon due to press a key, get a voice, beating happens when voices spaced close in time combine.
20:19 - press 3 to goto attack editor to shape the attack of a note. press i to insert vertex.
22:55 - press g to draw a new curve to replace the curve in the editor. press h to complete curve. if you are not happy, you can undo with z.
23:40 - there is no ADSR in din. attack can include sustain & decay. decay can attack back!
24:15 - din compressor.

25:05 APOLOGIES: key press indicators are not visible in the video because they appear below the letters displayed and were cut off during video capture.
25:40 - set variable sustain to include sustain as part of the attack curve:

set-var sustain 0.75

ie sustain begins from x = 0.75 of the attack curve goes upto x = 1.0 and back to x = 0.75 and on and on and on.

27:43 -- ADSR is dead! :)
28:14 - pressed n to switch off x/y snapping on the curve editor. you can move the vertex/tangent freely.
31:20 - press 4 to goto decay editor to edit the shape of the decay.
31:55 - pressed m to un-mirror tangents ie edit left & right tangents independently

35:40: help for din is available at:

keyboard short-cuts:

din is a software musical instrument for the Windows, Mac OS X and GNU/Linux operating system. Download your evaluation copy at

Follow din on Twitter:

On Facebook befriend Al Dinja

Loading more stuff…

Hmm…it looks like things are taking a while to load. Try again?

Loading videos…