Skip to content

Commit

Permalink
Complete 1.6.5 Tuning / Mapping
Browse files Browse the repository at this point in the history
1. Add the Jacky Ligon scales as a library and make it openable
2. Clean up the HTML
3. Drag and Drop a .kbm

WIth this diff, KBM support is copmlete, so this
CLoses surge-synthesizer#1041
  • Loading branch information
baconpaul committed Jan 16, 2020
1 parent 454c455 commit a9b7e39
Show file tree
Hide file tree
Showing 169 changed files with 7,505 additions and 11 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Rich Elmes <[email protected]>
The Emu (J Riley Hill)
EvilDragon
Nathan Kopp <[email protected]>
Jacky Ligon
Erik-Jan Maalderink <[email protected]>
Kjetil Matheussen <[email protected]>
Dave Palmer <[email protected]>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
! 60-262-60 Concert C.kbm
!
! Size of map:
0
! First MIDI note number to retune:
0
! Last MIDI note number to retune:
127
! Middle note where the first entry in the mapping is mapped to:
60
! Reference note for which frequency is given:
60
! Frequency to tune the above note to (floating point e.g. 440.0):
261.625565
! Scale degree to consider as formal octave:
0
! Mapping.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
! 69-440-69 Concert A.kbm
!
! Size of map:
0
! First MIDI note number to retune:
0
! Last MIDI note number to retune:
127
! Middle note where the first entry in the mapping is mapped to:
60
! Reference note for which frequency is given:
69
! Frequency to tune the above note to (floating point e.g. 440.0):
440.000000
! Scale degree to consider as formal octave:
0
! Mapping.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
! 61-277-61 Concert C#, Db.kbm
!
! Size of map:
0
! First MIDI note number to retune:
0
! Last MIDI note number to retune:
127
! Middle note where the first entry in the mapping is mapped to:
61
! Reference note for which frequency is given:
61
! Frequency to tune the above note to (floating point e.g. 440.0):
277.182631
! Scale degree to consider as formal octave:
0
! Mapping.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
! 62-294-62 Concert D.kbm
!
! Size of map:
0
! First MIDI note number to retune:
0
! Last MIDI note number to retune:
127
! Middle note where the first entry in the mapping is mapped to:
62
! Reference note for which frequency is given:
62
! Frequency to tune the above note to (floating point e.g. 440.0):
293.664768
! Scale degree to consider as formal octave:
0
! Mapping.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
! 63-311-63 Concert D#, Eb.kbm
!
! Size of map:
0
! First MIDI note number to retune:
0
! Last MIDI note number to retune:
127
! Middle note where the first entry in the mapping is mapped to:
63
! Reference note for which frequency is given:
63
! Frequency to tune the above note to (floating point e.g. 440.0):
311.126984
! Scale degree to consider as formal octave:
0
! Mapping.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
! 64-330-64 Concert E.kbm
!
! Size of map:
0
! First MIDI note number to retune:
0
! Last MIDI note number to retune:
127
! Middle note where the first entry in the mapping is mapped to:
64
! Reference note for which frequency is given:
64
! Frequency to tune the above note to (floating point e.g. 440.0):
329.627557
! Scale degree to consider as formal octave:
0
! Mapping.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
! 65-349-65 Concert F.kbm
! 65-349-65 Concert F
! Size of map:
0
! First MIDI note number to retune:
0
! Last MIDI note number to retune:
127
! Middle note where the first entry in the mapping is mapped to:
65
! Reference note for which frequency is given:
65
! Frequency to tune the above note to (floating point e.g. 440.0):
349.228231
! Scale degree to consider as formal octave:
0
! Mapping.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
! 66-370-66 Concert F#, Gb.kbm
!
! Size of map:
0
! First MIDI note number to retune:
0
! Last MIDI note number to retune:
127
! Middle note where the first entry in the mapping is mapped to:
66
! Reference note for which frequency is given:
66
! Frequency to tune the above note to (floating point e.g. 440.0):
369.994423
! Scale degree to consider as formal octave:
0
! Mapping.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
! 67-392-67 Concert G.kbm
!
! Size of map:
0
! First MIDI note number to retune:
0
! Last MIDI note number to retune:
127
! Middle note where the first entry in the mapping is mapped to:
67
! Reference note for which frequency is given:
67
! Frequency to tune the above note to (floating point e.g. 440.0):
391.995436
! Scale degree to consider as formal octave:
0
! Mapping.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
! 68-415-68 Concert G#, Ab.kbm
!
! Size of map:
0
! First MIDI note number to retune:
0
! Last MIDI note number to retune:
127
! Middle note where the first entry in the mapping is mapped to:
68
! Reference note for which frequency is given:
68
! Frequency to tune the above note to (floating point e.g. 440.0):
415.304698
! Scale degree to consider as formal octave:
0
! Mapping.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
! 69-440-69 Concert A.kbm
!
! Size of map:
0
! First MIDI note number to retune:
0
! Last MIDI note number to retune:
127
! Middle note where the first entry in the mapping is mapped to:
69
! Reference note for which frequency is given:
69
! Frequency to tune the above note to (floating point e.g. 440.0):
440.000000
! Scale degree to consider as formal octave:
0
! Mapping.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
! 70-466-70 Concert A#, Bb.kbm
!
! Size of map:
0
! First MIDI note number to retune:
0
! Last MIDI note number to retune:
127
! Middle note where the first entry in the mapping is mapped to:
70
! Reference note for which frequency is given:
70
! Frequency to tune the above note to (floating point e.g. 440.0):
466.163762
! Scale degree to consider as formal octave:
0
! Mapping.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
! 71-494-71 Concert B.kbm
!
! Size of map:
0
! First MIDI note number to retune:
0
! Last MIDI note number to retune:
127
! Middle note where the first entry in the mapping is mapped to:
71
! Reference note for which frequency is given:
71
! Frequency to tune the above note to (floating point e.g. 440.0):
493.883301
! Scale degree to consider as formal octave:
0
! Mapping.
37 changes: 37 additions & 0 deletions resources/data/tuning-library/KBM Concert Pitch/KBM Notes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
This archive contains a collection of basic linear keyboard mapping files (KBM) that may be used in virtual-instruments that support loading both the Scala SCL and KBM microtuning format files, such as Pianoteq, as well as for creating custom microtuning mappings within the Scala application itself for exporting to other popular formats, such as TUN, MTS and KSP.

This small linear KBM collection may be used for mapping the starting 1/1 MIDI Note, as well as the Reference Frequency MIDI Note, to the standard concert-pitch chromatic notes.

The file naming convention indicates:

The 1/1 starting MIDI Note for the mapping.

The rounded Reference Frequency.

The mapping for the Reference Frequency MIDI Note.

The standard letter format concert-pitch chromatic scale degree.


For example: 60-262-60 Concert C, indicates at a glance that:

The 1/1 of the microtuning will be mapped to MIDI Note 60.

The Reference Frequency is 262 Hz.

The MIDI Note on which the Reference Frequency is mapped is 60.


*** Please note here that the KBM format is flexible enough that the above parameters can be arbitrarily and independently mapped, such that for instance, a microtuning could have its diapason mapped to the standard concert-pitch of MIDI Note A.69 @ 440 Hz, while the 1/1 starting note could be mapped on 60.C, or any other MIDI Note required of the musical scenario at hand. Such a mapping would look like this:

60-440-69.kbm
|
Range : 0.C .. 127.G
Middle : 60.C
Reference : 440.000000 Hertz at note 69.A
Octave degree : 0 (highest degree of scale)
Mapping : linear

This potential for arbitrary mapping of pitches to MIDI Notes, is the very nature and definition of what's referred to as 'full keyboard microtuning'.

Jacky Ligon
13 changes: 13 additions & 0 deletions resources/data/tuning-library/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
This is a collection of SCL and KBM files provided by Surge Contributor Jacky Ligon
as we were developing and testing the SCL/KBM implementation around the 1.6.5 release.
It contains a variety of tuning and mapping files for your enjoyment.

To apply a tuning or mapping, either load them with the "tuning" menu or drag and drop
an .scl or .kbm file onto the "tun" glyph next to the patch menu bar.

There are many more SCL files available on the internet, as well as a variety of tools
to edit and make scales. If you are reading this you probably already know that of course,
but http://www.huygens-fokker.org/ is a great resource.

Enjoy!

17 changes: 17 additions & 0 deletions resources/data/tuning-library/SCL/12 Tone Equal Temperament.scl
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
! D:\12 Tone Equal Temperament.scl
!
12 Tone Equal Temperament | ED2-12 - Equal division of harmonic 2 into 12 parts
12
!
100.00000
200.00000
300.00000
400.00000
500.00000
600.00000
700.00000
800.00000
900.00000
1000.00000
1100.00000
2/1
18 changes: 18 additions & 0 deletions resources/data/tuning-library/SCL/Bohlen-Pierce.scl
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
! D:\Scala Batch\Bohlen-Pierce.scl
!
Bohlen-Pierce: ED3-13 - Equal division of harmonic 3 into 13 parts
13
!
146.30423
292.60846
438.91269
585.21692
731.52115
877.82539
1024.12962
1170.43385
1316.73808
1463.04231
1609.34654
1755.65077
3/1
10 changes: 10 additions & 0 deletions resources/data/tuning-library/SCL/ED2-05.scl
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
! D:\Scala Batch\ED2\ED2-05.scl
!
ED2-05 - Equal division of harmonic 2 into 5 parts
5
!
240.00000
480.00000
720.00000
960.00000
2/1
11 changes: 11 additions & 0 deletions resources/data/tuning-library/SCL/ED2-06.scl
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
! D:\Scala Batch\ED2-06.scl
!
ED2-06 - Equal division of harmonic 2 into 6 parts
6
!
200.00000
400.00000
600.00000
800.00000
1000.00000
2/1
12 changes: 12 additions & 0 deletions resources/data/tuning-library/SCL/ED2-07.scl
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
! D:\Scala Batch\ED2-07.scl
!
ED2-07 - Equal division of harmonic 2 into 7 parts
7
!
171.42857
342.85714
514.28571
685.71429
857.14286
1028.57143
2/1
13 changes: 13 additions & 0 deletions resources/data/tuning-library/SCL/ED2-08.scl
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
! D:\Scala Batch\ED2-08.scl
!
ED2-08 - Equal division of harmonic 2 into 8 parts
8
!
150.00000
300.00000
450.00000
600.00000
750.00000
900.00000
1050.00000
2/1
14 changes: 14 additions & 0 deletions resources/data/tuning-library/SCL/ED2-09.scl
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
! D:\Scala Batch\ED2-09.scl
!
ED2-09 - Equal division of harmonic 2 into 9 parts
9
!
133.33333
266.66667
400.00000
533.33333
666.66667
800.00000
933.33333
1066.66667
2/1
Loading

0 comments on commit a9b7e39

Please sign in to comment.