Skip to content

Commit

Permalink
Implement SCL/KBM Tuning in Dexed
Browse files Browse the repository at this point in the history
This commit implements SCL/KBM tuning in Dexed, using essentially
the same tuning code as surge, and includes

- SCL/KBM parsing
- Moving the frequency resolution to a managed class
- UI changes to show and correctly operate the param window
- Transposition traps for +/- 12,24 in tuned modes
- Support for drag n drop of KBM/SCL
- And a variety of small changes to make tuning usable
  • Loading branch information
baconpaul committed Feb 17, 2020
1 parent 89c0201 commit d825ff4
Show file tree
Hide file tree
Showing 15 changed files with 1,265 additions and 189 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -12,3 +12,5 @@ JuceLibraryCode/
Builds/
assets/
products/

.DS_Store
4 changes: 3 additions & 1 deletion Dexed.jucer
Expand Up @@ -79,6 +79,8 @@
<FILE id="CxMFcr" name="GlobalEditor.h" compile="0" resource="0" file="Source/GlobalEditor.h"/>
</GROUP>
<GROUP id="{CEBA9AF6-1C73-85F6-A187-56A246098441}" name="msfa">
<FILE id="xa8v2Z" name="tuning.cc" compile="1" resource="0" file="Source/msfa/tuning.cc"/>
<FILE id="hP1Glc" name="tuning.h" compile="0" resource="0" file="Source/msfa/tuning.h"/>
<FILE id="wvG22S" name="freqlut.cc" compile="1" resource="0" file="Source/msfa/freqlut.cc"/>
<FILE id="dulZMd" name="freqlut.h" compile="0" resource="0" file="Source/msfa/freqlut.h"/>
<FILE id="BfOVi6" name="lfo.cc" compile="1" resource="0" file="Source/msfa/lfo.cc"/>
Expand Down Expand Up @@ -140,7 +142,7 @@
</MODULEPATHS>
</LINUX_MAKE>
<XCODE_MAC targetFolder="Builds/MacOSX" smallIcon="SpSpb4" bigIcon="SpSpb4"
vst3Folder="libs/vst3sdk">
vst3Folder="libs/vst3sdk" extraCompilerFlags="-Wno-macro-redefined -Wno-deprecated-declarations -Wno-shorten-64-to-32">
<CONFIGURATIONS>
<CONFIGURATION name="Debug" isDebug="1" optimisation="1" targetName="Dexed"
osxCompatibility="10.10 SDK" osxArchitecture="64BitIntel" enablePluginBinaryCopyStep="1"/>
Expand Down
10 changes: 9 additions & 1 deletion Source/GlobalEditor.cpp
Expand Up @@ -644,8 +644,16 @@ void GlobalEditor::mouseDown(const MouseEvent &e) {
if ( e.mods.isPopupMenu()) {
PopupMenu popup;
popup.addItem(1, "Send current program to DX7");
if ( popup.show() == 1 )

auto p = popup.show();
switch( p )
{
case 1:
processor->sendCurrentSysexProgram();
break;
default:
break;
}
}
}
//[/MiscUserCode]
Expand Down

1 comment on commit d825ff4

@Likes-Trains
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello! I am completely inexperienced in everything coding; I am not even sure if this is the right place to ask a question but I thought it's worth a shot because I love the way this synth sounds and I'm really keen to produce more microtonal music.
I just... don't really know what I'm doing at all :D Sorry I'm clueless...
I have a bunch of scl and tun files already; I'm just wondering how exactly one can import and use them with Dexed. Do I have to do something with this code? I have version 0.9.4 for Windows.
I've made microtonal music before using Ivor and Anamark where there is an option in the UI to import tuning files. Maybe I'm missing it but I can't find this option anywhere. I've also tried dragging and dropping like works in Harmor (I use FL studio), but to no avail.

Again, really sorry I have no idea but thought it was worth asking incase anyone else is in the same boat; really wanting to use what you've spend precious time making but not knowing how to go about it :) Any help please would be greatly appreciated, thank you for reading!

Please sign in to comment.