31EDO Piano — Mini synthesizer in Pixilang

Post Reply
User avatar
iHs
Posts: 25
Joined: Sat Jan 13, 2018 11:02 pm

31EDO Piano — Mini synthesizer in Pixilang

Post by iHs » Tue Nov 13, 2018 9:14 pm

31EDO Piano
This is unusual music keyboard that has 31 equal steps per octave.

Why the number is 31, you might ask.
The 31EDO scale approximates the first 16 harmonics and their ratios reasonably well, except for 13th harmonic that is tuned slighty sharp.
You can either play familiar melodies as usual or explore microtonal consonanses.
A trained musician can easily distinguish major and minor triads that have frequency ratios 4:5:6 and 10:12:15, respectively. But, for example, "subminor" (6:7:9) and "neutral" (18:22:27) triads, while being unfamiliar to western audience, may appear in Indian or Arabic traditional compositions. All these kinds of triads can be played on 31EDO keyboard by spanning 10 and 18; 8 and 18; 7 and 18; 9 and 18 steps from the root note.
Another advantage of 31EDO scale is the width of its step — the 1/31 part of octave is much larger than 81/80 comma; it allows us to distinguish diatonic (16/15, approx. 3/31 of octave) and chromatic (25/24, approx. 2/31 of octave) semitones, thus spacing C and B# notes apart, and wipes out the difference between large tone (9/8) and small tone (10/9), being a meantone scale.

Draw any waveform in the window and edit its spectrum instantly; the Fourier transform is being calculated on the fly.

This is English version of Russian thread viewtopic.php?f=7&t=4534. The updates will be posted in both threads.

The current version is 0.5
31edo_piano_0_5.pixi
(21.1 KiB) Downloaded 13 times
Here, the PC keys are assigned to the corresponding harmonics of low C note.
31edo.png
31edo.png (16.02 KiB) Viewed 149 times
Last edited by iHs on Fri Nov 16, 2018 6:45 pm, edited 2 times in total.

User avatar
iHs
Posts: 25
Joined: Sat Jan 13, 2018 11:02 pm

Re: 31EDO Piano — Mini synthesizer in Pixilang

Post by iHs » Tue Nov 13, 2018 9:22 pm

31EDO Piano
Version 0.1

The initial version
It has multitouch bugs, terrible key handling code, no keys highlighting, but it works
31edo_piano_0_1.pixi
(15.17 KiB) Downloaded 11 times

User avatar
iHs
Posts: 25
Joined: Sat Jan 13, 2018 11:02 pm

Re: 31EDO Piano — Mini synthesizer in Pixilang

Post by iHs » Tue Nov 13, 2018 9:26 pm

31EDO Piano
Version 0.3
  • Now, the multitouch is working
  • Added audio output visualisation (it can be disabled at the settings section of the code) and keys highlight
  • Small optimizations
31edo_piano_0_3.pixi
(15.64 KiB) Downloaded 13 times

User avatar
iHs
Posts: 25
Joined: Sat Jan 13, 2018 11:02 pm

Re: 31EDO Piano — Mini synthesizer in Pixilang

Post by iHs » Tue Nov 13, 2018 9:37 pm

31EDO Piano
Version 0.5
  • Now it can be played with PC keyboard. To assign a PC key, hold the note key with mouse and press the desired key on your keyboard; or press space to clear it
  • The timbre and the key assignments are stored in "31edo.dat" file
  • The amplitude decay is made by low-pass fliter instead of simple atlering the amplitude; this option can be disabled, if it impairs the program stability and performance
  • Also, the keys widths and heights can be set up
  • Small improvements
31edo_piano_0_5.pixi
(21.1 KiB) Downloaded 16 times

Post Reply