User:Mousemambo/Document draft: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Mousemambo (talk | contribs)
No edit summary
Mousemambo (talk | contribs)
added some 12-note xen scale examples
 
(32 intermediate revisions by the same user not shown)
Line 5: Line 5:
'''DRAFT''' ==== Proposed page title: '''<big>Guide to tuning a software synth in a DAW</big>''' ==== '''DRAFT'''
'''DRAFT''' ==== Proposed page title: '''<big>Guide to tuning a software synth in a DAW</big>''' ==== '''DRAFT'''


This guide describes some common methods for making music set in microtonal or other alternative tuning systems, by using a [[List of microtonal software plugins#Instrument plugins with microtonal support|software synthesizer]] running inside a [[DAWs|digital audio workstation (DAW)]]. It describes scenarios in which each of those methods are effective, and instructions for configuring the software using that method.
This guide describes some common methods for making music set in microtonal or other alternative [[Tuning system|tuning systems]], by using a [[List of microtonal software plugins#Instrument plugins with microtonal support|software synthesizer]] (soft synth) running inside a [[DAWs|digital audio workstation (DAW)]]. It describes scenarios in which each of those methods are effective, and instructions for configuring the software using that method.


The examples given use the [https://surge-synthesizer.github.io/ Surge XT] synth as a musical instrument plugin running inside the [https://www.reaper.fm/ Reaper] DAW, but similar procedures and reasoning will apply to other synths (or [[Wikipedia:Sampler (musical instrument)|samplers]]) and DAWs. Therefore this guide will go into some detail to help you gain the understanding needed to use these tuning methods with other instrument-DAW combinations.
The examples given use the [https://surge-synthesizer.github.io/ Surge XT] synth as a musical instrument plugin running inside the [https://www.reaper.fm/ Reaper] DAW, but similar procedures and reasoning will apply to other synths (or [[Wikipedia:Sampler (musical instrument)|samplers]]) and DAWs. Therefore this guide will go into some detail to help you gain the understanding needed to use these tuning methods with other instrument-DAW combinations.


* '''You just want to start making music''' set in a non-standard tuning in your DAW? You can skip to the instructions in "[[User:Mousemambo/Document draft#Method 2: Set a tuning using a Scala scale file and keyboard mapping file|Set a tuning using a Scala scale file and keyboard mapping file]]."
* '''You just want to start making music''' set in a non-standard tuning in your DAW? You can skip to the instructions in "[[User:Mousemambo/Document draft#Set a tuning in the synth using tuning files|Set a tuning in the synth using tuning files]]."
* '''You don't want to use a DAW?''' See "[[User:Mousemambo/Document draft#Tuning Surge XT without a DAW in standalone mode|Tuning Surge XT without a DAW in standalone mode]]."
* '''You don't want to use a DAW?''' See "[[User:Mousemambo/Document draft#Tuning Surge XT without a DAW in standalone mode|Tuning Surge XT without a DAW in standalone mode]]."


Line 20: Line 20:
Surge XT is a free and powerful software synthesizer that has extensive support for alternative tunings. Reaper is a popular and free-to-inexpensive DAW that fully supports all of Surge XT's possibilities for using alternative tuning systems. This tutorial was last verified using Surge XT version 1.2.3 and Reaper version 6.80 in August 2023.
Surge XT is a free and powerful software synthesizer that has extensive support for alternative tunings. Reaper is a popular and free-to-inexpensive DAW that fully supports all of Surge XT's possibilities for using alternative tuning systems. This tutorial was last verified using Surge XT version 1.2.3 and Reaper version 6.80 in August 2023.


Although this article is written as if you are using a synth, some samplers or sampler systems also support re-tuning using the methods described here.
Although this article is written as if you are using a synth, some samplers or sampler systems also support retuning using the methods described here.


==Methods for setting a tuning==
==Methods for setting a tuning==
[I need to think further about how I want to name these use cases. I might prefer something that says more about why rather than what or how. But there can be several different "why" use cases for each the configurations named. So I might leave them as they are, call this section "Methods" and have the first section after the title and before "Advantages" be "Scenarios" for describing typical use cases for that method. I might remove the "Method N" prefix, but its useful in this doc to quickly refer people to a method by number rather than writing out the whole name.] [I don't like the "Method 1 Scenarios" style of sub-section heading, nor "Scenarios (Method 1)" or anything other than "Scenarios" — but then I can't make them link targets because there would be multiple occurrences of a "Scenarios" sub-section heading. Need to ponder more.]
Four common instrument-DAW configurations for alternative tunings, here called "methods," are presented below. There are advantages and disadvantages to each, given the scenarios described. There are also other less common methods that might be appropriate or necessary for other instruments and DAWs and for special cases. If none of the offered scenarios describe your own situation, then you're invited to review the extensive "[[User:Mousemambo/Tuning methods|Tuning methods]]" article to explore more possibilities.
Four common instrument-DAW configurations for alternative tunings, here called "methods," are presented below. There are advantages and disadvantages to each, given the scenarios described. There are also other less common methods that might be appropriate or necessary for other instruments and DAWs and for special cases. If none of the offered scenarios describe your own situation, then you're invited to review the extensive "[[User:Mousemambo/Tuning methods|Tuning methods]]" article to explore more possibilities.


To use this Methods section, you can choose just to read the "Scenarios" section of each method to find something that is close to the actual scenario in which you plan to use Surge XT and Reaper. Then follow the "Instructions" for that method. Or you may want to read all the "Scenarios," "Advantages," and "Disadvantages" of every method to gain a strong understanding of all these possibilities and be prepared for many scenarios.
There are several references below to scale designers or tuning editors, which are software tools that allow you to create custom scales and tuning systems, or modify existing ones. To learn more about them, and some distinctions between scales and tuning systems, see the [[Scale design software]] article.


=== Method 1: Set a tuning directly in the synth itself ===
=== Method 1: Set a tuning directly in the synth itself ===
[Briefly: What is a tuning editor?]
Some synthesizers include support for setting a tuning directly, as opposed to loading a tuning file or being retuned by some other component. At its simplest, this built-in facility may be limited to setting a 12-note scale's pitch frequencies or its offsets in [[cents]] from [[12edo]]. Other instruments offer support for more notes per octave, or even more sophisticated [[Scale design software|scale designers or tuning editor]]<nowiki/>s. Scala XT, used in these examples, offers an unusually advanced tuning editor for a synth. If your instrument doesn't directly support the scale and tuning you wish to use, you'll need to try another method offered below.


'''Scenarios'''
'''Scenarios'''


* ...
* Live performance, when you don't want the complexity or CPU overhead of alternative methods.
* Causal playing, when there isn't an existing tuning file you want to use.
* Playing a synth in standalone mode (i.e. not inside a DAW).


'''Advantages'''
'''Advantages'''
Line 40: Line 40:
* No additional components, so less complexity.
* No additional components, so less complexity.
* Can be quick and easy to set up for simple tunings that you're very familiar with.
* Can be quick and easy to set up for simple tunings that you're very familiar with.
* May include a [[User:Mousemambo/Document draft#Tuning system explorer|tuning development environment]] to assist with developing new tunings.
* May sometimes include a [[Scale design software|scale designer]] for exploring new scales or tunings.


'''Disadvantages'''
'''Disadvantages'''


* Very few synths include a tuning editor.
*Very few synths include a scale designer.
* Can be time consuming with an unfamiliar or complex tuning, compared to using a tuning file.
*Can be time consuming with an unfamiliar or complex tuning, compared to using a tuning file.
* Needs to be redone for each new instrument instance.
*Needs to be redone for each new instrument instance.
* Tuning doesn't automatically apply to an ensemble of instruments together.
*Tuning doesn't automatically apply to an ensemble of instruments together.
* Tuning can't be easily changed during a performance.
*Tuning usually can't be changed easily during a performance.


'''Instructions'''
'''Instructions'''


[Use Surge's tuning editor to recreate a custom tuning, perhaps using the example of Ptolemy's Intense Diatonic or something more unusual.]
[''Use Surge's scale designer to recreate a custom tuning, perhaps using the example of Ptolemy's Intense Diatonic or something more unusual.'']


'''Notes'''
'''Notes'''
Line 58: Line 58:
'''''Direct tuning in Kontakt'''''
'''''Direct tuning in Kontakt'''''


* If you are using a [https://www.native-instruments.com/en/catalog/software/samplers/ Kontakt sampler system] instrument that is not locked, in a paid Kontakt version (not Kontakt Player), and whose operation will not be disrupted by the needed script changes (e.g. like some legato patches will be), there are two easy methods that may work to create certain tunings in Kontakt. Note that as of August 2023 the Kontakt 7 Factory library instruments are all locked, although the Kontakt 6 Factory library was and is not. If the instrument shows a wrench/spanner button in its upper left corner it is unlocked, but if there is instead a two-gears button it is locked (clicking it opens Options).
*If you are using a [https://www.native-instruments.com/en/catalog/software/samplers/ Kontakt sampler system] instrument that is not locked, in a paid Kontakt version (not Kontakt Player), and whose operation will not be disrupted by the needed script changes (e.g. like some legato patches will be), there are two easy methods that may work to create certain tunings in Kontakt. Note that as of August 2023 the Kontakt 7 Factory library instruments are all locked, although the Kontakt 6 Factory library was and is not. If the instrument shows a wrench/spanner button in its upper left corner it is unlocked, but if there is instead a two-gears button it is locked (clicking it opens Options).
*# Kontakt offers a simple microtuning script for creating 12-notes per octave tunings. [Find an online illustration.] In brief: Wrench > Script editor > Preset > Factory > Tuning > Microtuning > Adjust each slider to an offset in cents from 12-EDO tuning.
*#Kontakt offers a simple microtuning script for creating 12-notes per octave tunings. [Find an online illustration.] In brief: Wrench > Script editor > Preset > Factory > Tuning > Microtuning > Adjust each slider to an offset in cents from 12-EDO tuning.
*# You can quickly set an [[EDO]] of any size, as illustrated on this [https://chrisvaisvil.com/how-to-adjust-kontakt-4-instruments-to-any-edo/ page by Chris Vaisvil]. In brief: Wrench > Script editor > Preset > Factory > Tuning > Notes per Octave > Notes > Set the number of notes. Unfortunately, Kontakt does not offer easy custom keyboard mapping for your custom EDO — [https://sevish.com/2017/mapping-microtonal-scales-keyboard-scala/ linear keyboard mapping] will apply.
*#You can quickly set an [[EDO]] of any size, as illustrated on this [https://chrisvaisvil.com/how-to-adjust-kontakt-4-instruments-to-any-edo/ page by Chris Vaisvil]. In brief: Wrench > Script editor > Preset > Factory > Tuning > Notes per Octave > Notes > Set the number of notes. Unfortunately, Kontakt does not offer easy custom keyboard mapping for your custom EDO — [https://sevish.com/2017/mapping-microtonal-scales-keyboard-scala/ linear keyboard mapping] will apply.
* More complex tunings or keyboard mapping in Kontakt require a custom script, as described in the [to be written] [[User:Mousemambo/Guide to tuning the Kontakt sampler system|Guide to tuning the Kontakt sampler system]]. Or watch the video "[https://www.youtube.com/watch?v=DcWtlF2uJSY How to microtune in Kontakt]" by benyamind on YouTube (posted Jun 17, 2020).
*Some Kontakt instrument include their own re-tuning system. More complex tunings or keyboard mapping in Kontakt require a custom script, as described in the [to be written] [[User:Mousemambo/Guide to tuning the Kontakt sampler system|Guide to tuning the Kontakt sampler system]]. Or watch the video "[https://www.youtube.com/watch?v=DcWtlF2uJSY How to microtune in Kontakt]" by benyamind on YouTube (posted Jun 17, 2020).


===Method 2: Set a tuning using a Scala scale file and keyboard mapping file===
===Method 2: Set a tuning in the synth using tuning files===
[Briefly: SOME OF THE FOLLOWING GOES IN AN INTRO IN THIS SPACE, SOME IN THE NOTES, SOME ELSEWHERE UNDER METHOD 2, SOME IN THE APPENDIX. A Scala scale file is used to establish a tuning's [[period]] (octave or [[equave]]), its interval relationships, and other properties. A Scala keyboard mapping file is used to set the tuning's base note or tonic, tuning center, and keyboard map. The Scala format scale files and keyboard mapping files together work to .... If you omit using a keyboard mapping file the consequences may be.... For more about Scala scale and keyboard mapping files, see the [[User:Mousemambo/Tuning methods#Tuning files|Tuning methods]] article. Ultimately, there should be articles that are companions to the existing "[[Anamark tuning file format]]" page (which almost certainly should be renamed "Anamark tuning file"; the existing page title should redirect to a section of the new page), named "[[User:Mousemambo/Scala tuning system#Scala scale file|Scala scale file]]" and "[[User:Mousemambo/Scala tuning system#Scala keyboard mapping file|Scala keyboard mapping file]]" or a single "[[User:Mousemambo/Scala tuning system|Scala tuning system]]" article might incorporate both those as sections at least initially.]
Probably the most common method people choose to retune a synth in a DAW is by loading prepared tuning files. Tuning files provide all or most of the specification for a scale or tuning, and might be loaded using a drop-down selector or a file loading dialog.


Probably the most common way people choose to retune a synth in a DAW is with a Scala scale file and keyboard mapping file, if the synth supports those. Very briefly, the scale file sets the intervals of the scale and the keyboard mapping file establishes the scale file base note's frequency and maps the pitches to a keyboard or other controller. See the sections "Scala scale file" and "Scala keyboard mapping file" below for more about these tuning files.
For this method, we will use the example of a Scala scale file and Scala keyboard mapping file, since the Surge XT synth supports the [[User:Mousemambo/Scala tuning system|Scala tuning file system]]. Very briefly, the scale file sets the intervals of the scale and the keyboard mapping file places the tuning base of the scale file on a specific MIDI note, sets the tuning reference note and pitch, and maps the notes to a keyboard or other controller. See the section "Scala scale and keyboard mapping files" below for more about these tuning files.
 
Other tuning file systems besides the Scala's are used by other instruments. The most popular at the time of this writing is the Scala tuning file system (.scl), followed by the Anamark tuning file system (.tun), much less frequently the MIDI tuning file system (.mts), and there are others. These tuning file systems are sometimes referred to by the file extension they use (e.g. scl, tun, mts). It's mostly easy to convert between them using available tools, although they don't all support exactly the same set of features.


'''Scenarios'''
'''Scenarios'''


* [What circumstances would lead to this being the best (or at least a very good) choice among the methods listed here? The "why that is" would be answered in the next two sections.]
*Using a synth that supports loading tuning files.
*Casual playing where you want to begin quickly.
*Playing a synth in standalone mode (i.e. not inside a DAW)
* Playing in a scale or tuning for which tuning files are already conveniently available.
*When you only have one or a small number of instruments to retune together.
*When you are using an unusual MIDI controller.


'''Advantages'''
'''Advantages'''


* Quickly apply a prepared tuning to your musical instrument.
*Quickly apply a prepared tuning to your musical instrument.
* Many popular and rare tunings have tuning files already prepared and available online to download.
*Many popular and rare tunings have tuning files already prepared and available online to download.
* Scala keyboard mapping files can support many custom keyboard formats and unusual controller devices (e.g. [https://www.rogerlinndesign.com/linnstrument Linnstrument], [[Harpejji]], or [[Lumatone]] controllers).
*Less likelihood of typo errors compared to manually entering detailed tuning info.
*May, like the Scala tuning file system, support many custom keyboard formats and unusual MIDI controller devices (e.g. [https://www.rogerlinndesign.com/linnstrument Linnstrument], [[Harpejji]], or [[Lumatone]] controllers).


'''Disadvantages'''
'''Disadvantages'''


* Not supported by most software synths.
*Not supported by most software synths.
* Requires finding a Scala scale file and keyboard mapping file for your desired tuning, else...
*Requires finding a Scala scale file and keyboard mapping file for your desired tuning, else...
* Requires development of a Scala scale file and keyboard mapping file(s), and learning how to prepare them.
* Requires developing a Scala scale file and keyboard mapping file(s), and learning how to prepare them.
* Generally doesn't include a [[User:Mousemambo/Document draft#Tuning development environment|tuning development environment]].
*Generally doesn't include [[scale design software]].


'''Instructions'''
'''Instructions'''
#Launch the Reaper application, create a [[User:Mousemambo/Document draft#Set up an instrument track in the Reaper DAW|new instrument track in Reaper]], and add Surge XT as a plugin on that instrument track. Note: If you are not using a DAW, but [[User:Mousemambo/Document draft#Tuning Surge XT without a DAW in standalone mode|using Surge XT in standalone mode]] instead, replace this step with: Launch the Surge XT standalone application.
#Launch the Reaper application, create a [[User:Mousemambo/Document draft#Set up an instrument track in the Reaper DAW|new instrument track in Reaper]], and add Surge XT as a plugin on that instrument track. Note: If you are not using a DAW, but [[User:Mousemambo/Document draft#Tuning Surge XT without a DAW in standalone mode|using Surge XT in standalone mode]] instead, replace this step with: Launch the Surge XT standalone application.
#Load a [[User:Mousemambo/Scala tuning system#Scala scale file|Scala scale file]] (.scl) into Surge XT as follows:
#Load a [[User:Mousemambo/Scala tuning system#Scala scale file|Scala scale file]] (.scl) into Surge XT as follows, to establish the tuning system with relative intervals:
## In Surge XT's Menu (found in the bottom right corner) select the Tuning option, then choose "Load .scl tuning..."
##In Surge XT's Menu (found in the bottom right corner) select the Tuning option, then choose "Load .scl tuning..."
##Use the resulting file selection popup to choose one of the [ideally 12-tone for keyboard mapping simplicity] Scala scale files that come with Surge XT, e.g. [something beginners might have read about and would recognize,] like just intonation's Ptolemy_intense_diatonic.scl or meantone's WerckmeisterIII_equal_beating.scl, or instead choose [something named in condensed code like] ED3-12.scl. [I realize Scala XT at this moment only comes with two tuning files beginners are likely to recognize by name, and one is 12-EDO. Also, the more commonly known JI and meantone scale files are 7-note not 12-note so they won't map properly by themselves. Ptolex is a 12-tone Ptolemeic JI tuning, but not widely known. Also, many people will be unable to distinguish Ptolex by ear from 12-EDO. So what example to use?]
## Use the resulting file selection popup to choose one of the [''ideally 12-tone for keyboard mapping simplicity''] Scala scale files that come with Surge XT, e.g. [''something beginners might have read about and would recognize,''] like just intonation's Ptolemy_intense_diatonic.scl or meantone's WerckmeisterIII_equal_beating.scl, or instead choose [''something named in condensed code like''] ED3-12.scl. [''I realize Scala XT at this moment only comes with two tuning files beginners are likely to recognize by name, and one is 12-EDO. Also, the more commonly known JI and meantone scale files are 7-note not 12-note so they won't map properly by themselves. Ptolex is a 12-tone Ptolemeic JI tuning, but not widely known. Also, many people will be unable to distinguish Ptolex by ear from 12-EDO. So what example to use?'' Some suggestions from #wiki at the Xen Discord server:
#Load a [[User:Mousemambo/Scala tuning system#Scala keyboard mapping file|Scala keyboard mapping file]] (.kbm), for example the "Halberstadt 60-440-69.kbm" file, which on a standard piano-style keyboard will set the scale to the ISO tuning standard ([https://cdn.standards.iteh.ai/samples/3601/3e7b175fdcae4a2aa09f9d0db4ac099d/ISO-16-1975.pdf ISO 16:1975]) of A4 = 440 Hz.
### Ptolex ([[Ptolex|Xen wiki]])
#Optionally, if you understand Scala scale and keyboard mapping data, you may wish to open Surge XT's tuning editor at this time (Menu > Tuning > Open tuning editor...) to confirm the correct data was loaded from the files.
### [https://discord.com/channels/332357996569034752/780300193110818826/1150191961991544925 Otonal duodene] or [https://discord.com/channels/332357996569034752/780300193110818826/1150379784619184138 centered one] or [https://discord.com/channels/332357996569034752/780300193110818826/1150401859115286608 Duodene marvel] ([https://sevish.com/scaleworkshop/?n=12_duodene_marvel&l=37.ek_5l.6s_8s.lc_an.nq_dv.ai_g9.02q_jg.ha_mo.42_oj.6g_s9.13_u4.d8_xc.&version=2.1.0 Scale Workshop]) ([[Duodene]])
###[https://discord.com/channels/332357996569034752/1077259345873608734/1146973629691744389 Bicycle] ([[Bicycle|Xen Wiki]] | [https://sevish.com/scaleworkshop/?l=dFc_9F8_7F6_5F4_4F3_bF8_3F2_dF8_5F3_7F4_bF6_2F1&version=2.1.0 Scale Workshop])
### [https://discord.com/channels/332357996569034752/780300193110818826/1150390774601633822 12-note starling] ([https://sevish.com/scaleworkshop/?n=12_starling_WE&l=3f.d9_6g.e9_8n.5i_c2.ir_du.pj_ha.b0_jh.029_mi.39_px.gi_s4.7r_v5.8r_xc.&version=2.1.0 Scale Workshop])]
# Load a [[User:Mousemambo/Scala tuning system#Scala keyboard mapping file|Scala keyboard mapping file]] (.kbm), to anchor the scale file data to a tuning base and set the tuning reference note and pitch.  A good choice for example is the "Halberstadt 60-440-69.kbm" file, which on a standard piano-style keyboard will set the scale to the ISO tuning standard ([https://cdn.standards.iteh.ai/samples/3601/3e7b175fdcae4a2aa09f9d0db4ac099d/ISO-16-1975.pdf ISO 16:1975]) of A4 = 440 Hz. See "Scala scale and keyboard mapping files" below to learn a little more about these tuning files.
#Optionally, if you understand Scala scale and keyboard mapping data, you may wish to open Surge XT's built-in scale designer at this time (Menu > Tuning > Open tuning editor...) to confirm the correct data was loaded from the files.
#Optionally, [[User:Mousemambo/Document draft#How to test the tuning|test the tuning]] to ensure it's correct.
#Optionally, [[User:Mousemambo/Document draft#How to test the tuning|test the tuning]] to ensure it's correct.
'''Notes'''
'''Notes'''


[This whole section needs extensive review with regard to what should be moved out to the [[User:Mousemambo/Document draft#Appendix|Appendix on this page]], or the [[User:Mousemambo/Tuning methods#Tuning files|Tuning methods]] article, what belongs in the [[User:Mousemambo/Scala tuning system|Scala tuning system]] article, or perhaps is best rendered in duplicate for reading simplicity. I am removing as much as possible from the Instructions section, but to where? For example, the complexity of the relationship between the Scala scale file's base note, the tuning's tuning center, and the music's tonic (if it has one) makes this a very difficult topic for beginners but it's critical for JI so something needs to be said in this article. But this doesn't seem to be the right place to explain it in great detail — the [[User:Mousemambo/Tuning methods#Tuning files|Tuning methods]] article is a better choice.]
[''This whole section needs extensive review with regard to what should be moved out to the [[User:Mousemambo/Document draft#Appendix|Appendix on this page]], or the [[User:Mousemambo/Tuning methods#Tuning files|Tuning methods]] article, what belongs in the [[User:Mousemambo/Scala tuning system|Scala tuning file system]] article, or perhaps is best rendered in duplicate for reading simplicity. Also, I need to settle on a consistent terminology and apply it to all three articles.I am removing as much as possible from the Instructions section, but to where? For example, the complexity of the relationship between the Scala scale file's base note, the tuning's tuning center, and the music's tonic (if it has one) makes this a very difficult topic for beginners but it's critical for JI so something needs to be said in this article. But this doesn't seem to be the right place to explain it in great detail — the [[User:Mousemambo/Scala tuning system|Scala tuning file system]] article is probably a good choice, although for now some of that is reasonably'' found in the [[Scale design software]] article.]


'''''More about Surge XT'''''
'''''More about Surge XT'''''


* Surge XT also provides a button "Tune" under the label "Status" along the top of its window. If a custom tuning has not yet been added during the current session, clicking the button will reveal the same list of options as Menu > Tuning. If a custom tuning has been loaded, the Tune button will be lit (bright not dark), and clicking it will turn that tuning off (back to the software's default [[12edo|12-EDO tuning]]) or back on.
*Surge XT also provides a button "Tune" under the label "Status" along the top of its window. If a custom tuning has not yet been added during the current session, clicking the button will reveal the same list of options as Menu > Tuning. If a custom tuning has been loaded, the Tune button will be lit (bright not dark), and clicking it will turn that tuning off (back to the software's default [[12edo|12-EDO tuning]]) or back on.


'''''Scala scale file'''''
'''''Scala scale and keyboard mapping files'''''


* [Say something about tuning files and what they do, along with that they use various methods to establish tunings. Some of this might better be located in a "[[User:Mousemambo/Scala tuning system|Scala tuning system]]" article.]
*[''This section needs extensive reconsideration and revision given the creation of a separate [[User:Mousemambo/Scala tuning system|Scala tuning file system]] article. Keep only what needs to be here. -> This work is in progress''.]
* [Say something here about tuning file naming standards/practices, and the extremely terse abbreviations used for some classes of tunings. This really should go in the "[[User:Mousemambo/Scala tuning system#Scala scale file|Scala scale file]]" article or that section of a "[[User:Mousemambo/Scala tuning system|Scala tuning system]]" article.]
*[''Say something brief about tuning files and what they do. Mostly refer to the info located in the "[[User:Mousemambo/Scala tuning system|Scala tuning file system]]" article''.]
*[''Say something about available tuning file conversion tools.'']
*[''Maybe this Note topic and the next one "Anamark tuning files" need to be combined into a "Tuning files" section of the Appendix.'']


'''''Scala keyboard mapping file'''''
*Note that without a Scala keyboard mapping file (.kbm) also loaded, the resulting tuning may not be what you expect. Surge XT like most synths will assume a default tuning center frequency and keyboard mapping that sets the first (implied) note of the tuning file -- the tuning base -- as MIDI Note C.60 and the tuning center (diapason, reference pitch) as international ISO standard pitch (MIDI A.69=440.000Hz). [''Or will it? Seems undocumented. In fact, it '''does not'''. Default in Surge XT 1.2.3 is a tuning base note of C.60 and the reference pitch is C.60=261.626Hz, which is very close to but not exactly international standard because it uses three-digit precision. I've read that this (at 2-4 digit precision) is the most common default for retunable synths when you don't load a keyboard mapping file''.] However, if for example we are using a just intonation scale and music with a tonic of F (F4, MIDI note 65, 349.23 Hz), it becomes critical that that tuning base note is set to the tonic F. Ideally we use a keyboard mapping file to do that, but if keyboard mapping files are not supported see the section "Alternative for setting the tuning base note and tuning reference."
 
*For more detailed information about Scala scale and keyboard mapping files, see the article "[[User:Mousemambo/Scala tuning system|Scala tuning file system]]."
*Note that without a Scala keyboard mapping file (.kbm) also loaded, the resulting tuning may not be what you expect. Surge XT like most synths will assume a default tuning center frequency and keyboard mapping that sets the first note specified in the tuning file as MIDI Note C.60 and the tuning center (diapason, reference pitch) as international ISO standard pitch (MIDI A.69=440.000Hz). [Or will it? Seems undocumented. In fact, it '''does not'''. Default in Surge XT 1.2.3 is a base note of C.60 and the reference pitch is C.60=261.626Hz, which is very close to but not exactly international standard. I've read that this is the most common default for retunable synths when you don't load a keyboard mapping file.] However, if for example we are using a just intonation scale and music with a tonic of F (F4, MIDI note 65, 349.23 Hz), we need to ensure the base note is set to the tonic F, and ideally will use a keyboard mapping file to do that.
'''''Anamark tuning files'''''
*Remember that when you load a Scala scale file you should always prevent mistuned surprises by loading a keyboard mapping file, if your instrument supports that. However, your instrument may instead allow you set a base note for your tuning as described in the Method 2 Notes below, under "Alternatives for setting the tuning's base note and tuning center." To learn more details about how to use Scala scale and keyboard mapping files, including what to do when your instrument doesn't offer the option to load a keyboard mapping file, read the [[User:Mousemambo/Tuning methods#Tuning files|Tuning methods]] or [[User:Mousemambo/Scala tuning system|Scala tuning system]] articles.
* Surge XT doesn't directly support Anamark tuning files (.tun), which are a one-file alternative to using the two-file Scala tuning file system. Conversely, other synths may support the Anamark format but not Scala format, for example Omnisphere 2 from Spectrasonics, and Serum from Xfer Records. It's not difficult to convert between Anamark and Scala tuning files, to provide whichever your instrument requires. [[User:Mousemambo/Document draft#Using Anamark tuning files|Anamark tuning files]] and conversion are briefly described in the Appendix.
*See [[User:Mousemambo/Document draft#Tuning base, tuning center, and tonic|Tuning base, tuning center, and tonic]] in the Appendix for more about setting a tuning's base note, tuning center, and addressing keyboard mapping issues, including the tuning system meanings of the terms ''base note'', ''reference pitch'', ''tuning center'', ''diapason'', and ''tonic''.
*[Note that other keyboard layouts are supported by other keyboard mapping files.]


'''''Alternatives for setting the tuning's base note and tuning center'''''  
'''''Alternatives for setting the tuning's base note and tuning center'''''  


* Some software, like Garritan's Aria Player sampler system [list others here], support Scala scale files but not Scala keyboard mapping files. However, they may still allow you to set the base note of the Scala scale file and its pitch. This fulfills two of the functions of the keyboard mapping file and you should use this method if it's all your instrument allows. If you are using a just intonation, for example, then setting the Scala scale file's base note to the music's tonic is essential. In the same way, instead of using a keyboard mapping file in Surge XT, you could also set the base for your scale using Surge XT's tuning editor as described in [[User:Mousemambo/Document draft#Method 1: Set a tuning directly in the synth itself|Method 1]].  
*Some popular music software, like Arturia's [https://www.arturia.com/products/software-instruments/pigments/overview Pigments 3] synth, Garritan's [https://www.garritan.com/products/personal-orchestra-5/aria-player/ Aria Player] sampler system, and Applied Acoustic System's [https://www.applied-acoustics.com/chromaphone-3/ Chromaphone 3] synth support importing Scala scale files but not Scala keyboard mapping files. However, they will typically instead allow you to set the tuning base note of the Scala scale file and a reference tuning pitch. This fulfills some of the functions of the keyboard mapping file and you should use this method if it's all your instrument allows. If you are using a just intonation, for example, then anchoring the Scala scale file's tuning base to the music's tonic is essential. In the same way, instead of using a keyboard mapping file in Surge XT, you could instead set the tuning base note and the reference note and pitch for your scale using Surge XT's tuning editor as described in [[User:Mousemambo/Document draft#Method 1: Set a tuning directly in the synth itself|Method 1]].
'''''Vital synth'''''
'''''Vital synth'''''


* [Vital allows Scala keyboard mapping file (.kbm) import as well as Scala scale file (.scl) import. The specific instructions for Vital are different than for Surge XT but might be worth briefly including. AFAIK, there is still no way in Vital  (as opposed to Surge XT) to apply re-tuning to the filters, and [https://forum.vital.audio/t/veena-sarod-sarangi/9436 in Vital one currently must use its Mod Remap system] for that instead of the tuning file import system.]
*[''Vital allows Scala keyboard mapping file (.kbm) import as well as Scala scale file (.scl) import. The specific instructions for Vital are different than for Surge XT but might be worth briefly including. AFAIK, there is still no way in Vital  (as opposed to Surge XT) to apply retuning to the filters as required for some synthesis techniques, and [https://forum.vital.audio/t/veena-sarod-sarangi/9436 in Vital one currently must use its Mod Remap system] for that instead of the tuning file import system. This limit won't affect you if precisely tuned filters aren't needed for the sounds you use. Vital is not the only popular synth with full keyboard microtuning, but it's powerful, extremely popular and free-to-modestly priced, so a good direction to steer beginners''.]
 
'''''Anamark tuning files'''''
 
* Surge XT doesn't directly support Anamark tuning files (.tun), which are an alternative to using the Scala two-file tuning system. [[User:Mousemambo/Document draft#Converting Anamark tuning files|Anamark tuning files]] are briefly described in the Appendix.


===Method 3: Set a tuning using a tuning plugin===
===Method 3: Set a tuning using a tuning plugin===
[What is a tuning plugin, also called a re-tuning plugin?] [What different mechanisms do tuning plugins use to control a musical instrument?]
[''What is a tuning plugin, also called a retuning plugin?] [What different mechanisms do tuning plugins use to control a musical instrument?'']


There is no convincing case for using this tuning method with Surge XT, as far as I know. If you want to set a custom tuning, or load a tuning file, or respond to an MTS-ESP tuning source, you can do all those in Surge XT without any need for an additional plugin. For more about tuning plugins, see the [[User:Mousemambo/Tuning methods#Tuning plugins and retuners|Tuning methods]] article.
There is no convincing case for using this tuning method with Surge XT, as far as I know. If you want to set a custom tuning, or load a tuning file, or respond to an MTS-ESP tuning source, you can do all those in Surge XT without any need for an additional plugin. For more about tuning plugins, see the [[User:Mousemambo/Tuning methods#Tuning plugins and retuners|Tuning methods]] article.


[Rather than provide instructions for using a tuning plugin here, I could instead do that in a different Guide for using a synth that requires one. If I expand this doc to include another synth, I probably will need to split this Method into 3a ... using a tuning plugin with MPE, and 3b ... using a tuning plugin with multichannel pitch bend (and there are more possibilities). That seems like a lot! I think that a separate article "[[User:Mousemambo/Guide to using tuning plugins|Guide to using tuning plugins]]" is almost certainly the way to go, with sections for MPE, monophonic pitch bend, polyphonic pitch bend (through multichannel), etc. using a few different tuning plugins (e.g. select among [https://oddsound.com/mtsespsuite.php MTS-ESP Suite], [https://entonal.studio/ Entonal Studio], [https://wilsonic.co/ Wilsonic MTS-ESP], [https://infinitone.com/ InfinitoneDMT], or [https://www.pitchinnovations.com/products/fluid-pitch/ Fluid Pitch]).]
[''Rather than provide instructions for using a tuning plugin here, I could instead do that in a different Guide for using a synth that requires one. If I expand this doc to include another synth, I probably will need to split this Method into 3a ... using a tuning plugin with MPE, and 3b ... using a tuning plugin with multichannel pitch bend (and there are more possibilities). That seems like a lot! I think that a separate article "[[User:Mousemambo/Guide to using tuning plugins|Guide to using tuning plugins]]" is almost certainly the way to go, with sections for MPE, monophonic pitch bend, polyphonic pitch bend (through multichannel), etc. using a few different tuning plugins (e.g. select among [https://oddsound.com/mtsespsuite.php MTS-ESP Suite], [https://entonal.studio/ Entonal Studio], [https://wilsonic.co/ Wilsonic MTS-ESP], [https://infinitone.com/ InfinitoneDMT], or [https://www.pitchinnovations.com/products/fluid-pitch/ Fluid Pitch])''.]


* '''Scenarios'''
*'''Scenarios'''
** ...
**...
* '''Advantages'''
*'''Advantages'''
** Support for many synths that can't be re-tuned any other way.
**Support for many synths that can't be re-tuned any other way.
** When new technologies become available, new plugins can provide a supporting bridge to older instruments.
**When new technologies become available, new plugins can provide a supporting bridge to older instruments.
** May include a [[User:Mousemambo/Document draft#Tuning system explorer|tuning development environment]] to assist with developing new tunings.
**May include [[scale design software]] to assist with developing new scales and tunings.
* '''Disadvantages'''
*'''Disadvantages'''
** Added complexity.
**Added complexity.
** Some experimentation may be necessary to find appropriate settings.
**Some experimentation may be necessary to find appropriate settings.


'''Instructions'''
'''Instructions'''
Line 149: Line 157:
...
...


===Method 4: Set a tuning using MTS-ESP===
=== Method 4: Set a tuning using MTS-ESP===
[Briefly: Add an MTS-ESP tuning source plugin on one track, and Surge XT on another. Load a tuning file into the MTS-ESP source plugin. Set Surge XT to listen to MTS-ESP. Confirm that the MTS-ESP source has connected. Note that, unlike Surge XT, most available electronic instruments at this time (August 2023) don't support MTS-ESP tuning although some do. Note that if I choose to expand by mentioning other synths, I need to say that some of those can be re-tuned by adding a tuning plugin that **does** support MTS-ESP... Method 4a: ...using MTS-ESP, Method 4b: using an MTS-ESP tuning plugin. Other ways to structure this are possible and will be considered.]
[''Briefly: Add an MTS-ESP tuning source plugin on one track, and Surge XT on another. Load a tuning file into the MTS-ESP source plugin. Set Surge XT to listen to MTS-ESP. Confirm that the MTS-ESP source has connected. Note that, unlike Surge XT, most available electronic instruments at this time (August 2023) don't support MTS-ESP tuning although some do. Note that if I choose to expand by mentioning other synths, I need to say that some of those can be re-tuned by adding a tuning plugin that **does** support MTS-ESP... Method 4a: ...using MTS-ESP, Method 4b: using an MTS-ESP tuning plugin. Other ways to structure this are possible and will be considered.'']
 
[''A brief intro to MTS-ESP here...'']


'''Scenarios'''
'''Scenarios'''


* ...
*When you have an ensemble of instruments that need shared retuning.
* When you want to change the scale or tuning in mid-performance using presets.
*When you need to bypass a glitch, bug, or incompatibility sometimes seen with pitch bend retuning methods.


'''Advantages'''
'''Advantages'''


* MPE-ESP source plugins often include a [[User:Mousemambo/Document draft#Tuning development environment|tuning development environment]] to assist with creating new tunings.
*MPE-ESP source plugins often include [[scale design software]] to assist with creating new tunings.
* Convenient quick switching between different tunings through the source plugin.
*Convenient quick switching between different tunings through the source plugin.
* Can tune an entire ensemble of instruments with one controller, the source plugin.
*Can tune an entire ensemble of instruments with one controller, the source plugin.


'''Disadvantages'''
'''Disadvantages'''


* Supported by relatively few software synths.
*Supported by relatively few software synths.
* Requires an extra component, the MTS-ESP source.
*Requires an extra component, the MTS-ESP source.
* The technology may only really be needed for certain cases, e.g. tuning an ensemble of instruments, or for special effects.
*The technology may only really be needed for certain cases, e.g. tuning an ensemble of instruments, or for special effects.


'''Instructions'''
'''Instructions'''
Line 177: Line 189:


==How to test the tuning==
==How to test the tuning==
[Briefly: If you're familiar enough with the tuning to recognize its correctness by ear, play the scale. Otherwise, test the frequency of played notes using the tuner that comes with your DAW, or an external (e.g. phone-based) tuner. This may require using a prepared data sheet or making one using an appropriate utility like Scala or the simpler [https://sevish.com/scaleworkshop/ Scale Workshop]. In Reaper do this....]
[''Briefly: If you're familiar enough with the tuning to recognize its correctness by ear, play the scale. Otherwise, test the frequency of played notes using the tuner that comes with your DAW, or an external (e.g. phone-based) tuner. This may require using a prepared data sheet or making one using an appropriate utility like Scala or the simpler [https://sevish.com/scaleworkshop/ Scale Workshop]. In Reaper do this..''..]


==Appendix==
==Appendix==


=== Tuning base, tuning center, and tonic ===
=== Scale designers and tuning editors ===
[Explain these key concepts and describe how they interact using the example of a traditional just intonation system. Tuning center = reference pitch = diapason. Tuning base - base note = tuning base note. Tonic not the same as root (scales and music have tonics, chords have roots) but root is often used to mean tonic.]
[''Moved to [[Scale design software]]'']


===Set up an instrument track in the Reaper DAW===
===Set up an instrument track in the Reaper DAW===
[How to create an instrument track in Reaper. And how to use it by loading Surge XT as a plugin virtual instrument.]
[''How to create an instrument track in Reaper. And how to use it by loading Surge XT as a plugin virtual instrument.'']
 
=== Tuning Surge XT without a DAW in standalone mode ===
Surge XT can also run in standalone mode, without any DAW. A significant drawback to that configuration is you won't be able to record your playing as MIDI notes, unless you have some additional component doing the recording. The common use cases for running Surge XT in standalone mode are for live performance where you don't want the extra complexity of running a DAW, or when you're just playing casually and don't need to record MIDI. In standalone mode, only [[User:Mousemambo/Document draft#Method 1: Set a tuning directly in the synth itself|Method 1]] or [[User:Mousemambo/Document draft#Method 2: Set a tuning using a Scala tuning file and keyboard mapping file|Method 2]] given above can be used to re-tune Surge XT.


=== Tuning development environment ===
===Tuning Surge XT without a DAW in standalone mode ===
[Briefly: What is a tuning explorer or tuning development environment? A suite of tools for exploring the properties of tunings, for creating entirely new tunings, and for semi-guided development of tunings based on principles discovered by others. E.g. Like ones provided in Scala, Entonal Studio, MTS-ESP Suite.]
Surge XT can also run in standalone mode, without any DAW. A significant drawback to that configuration is you won't be able to record your playing as MIDI notes, unless you have some additional component doing the recording. The common use cases for running Surge XT in standalone mode are for live performance where you don't want the extra complexity of running a DAW, or when you're just playing casually and don't need to record MIDI. In standalone mode, only [[User:Mousemambo/Document draft#Method 1: Set a tuning directly in the synth itself|Method 1]] or [[User:Mousemambo/Document draft#Set a tuning in the synth using tuning files|Method 2]] given above can be used to re-tune Surge XT.


=== Converting Anamark tuning files ===
===Using Anamark tuning files===
Surge XT does not support [[Anamark tuning file format|Anamark format (.tun) tuning files]], unlike some other synths. However, if you have only an Anamark format tuning file for your tuning, there are several converter tools that can seamlessly use that file to generate a tuning file in Scala format along with a keyboard mapping file if the .tun file includes the needed mapping data. [Do .tun files always include keyboard mapping data?] [Name some good converters and provide links here and below in External links, e.g. Scale Workshop, Scala....]
Surge XT does not support [[Anamark tuning file format|Anamark format (.tun) tuning files]], unlike some other synths. However, if you have only an Anamark format tuning file for your tuning, there are several converter tools that can seamlessly use that file to generate a tuning file in Scala format along with a keyboard mapping file if the .tun file includes the needed mapping data. [''Do .tun files always include keyboard mapping data?] [Name some good converters and provide links here and below in External links, e.g. Scale Workshop, Scala....''] Conversely, a Scale scale and mapping file pair can be converted into an Anamark v2 tuning file.


[Briefly, describe why you might or might not prefer to use an Anamark tuning file instead of the Scala two-file re-tuning system.]
[''Briefly, describe why you might or might not prefer to use an Anamark tuning file instead of the Scala two-file retuning system, i.e. advantages & disadvantages''.]


==See also==
== See also ==


*[[DAWs#Approaches%20to%20Microtonal%20Composition%20in%20a%20DAW|DAWs § Approaches to Microtonal Composition in a DAW]]
*[[DAWs#Approaches%20to%20Microtonal%20Composition%20in%20a%20DAW|DAWs § Approaches to Microtonal Composition in a DAW]]
*[[User:Mousemambo/Guide to tuning the Kontakt sampler system|Guide to tuning the Kontakt sampler system]]
*[[User:Mousemambo/Guide to tuning the Kontakt sampler system|Guide to tuning the Kontakt sampler system]]
*[[User:Mousemambo/Guide to using tuning plugins|Guide to using tuning plugins]]
*[[User:Mousemambo/Guide to using tuning plugins|Guide to using tuning plugins]]
*[[User:Mousemambo/Scala tuning system|Scala tuning file system]]
*[[Scale design software]]
*[[User:Mousemambo/Tuning methods|Tuning methods]]
*[[User:Mousemambo/Tuning methods|Tuning methods]]
*[[User:Mousemambo/Scala tuning system|Scala tuning system]]


==External links==
==External links ==


*[https://www.native-instruments.com/en/catalog/software/samplers/ Kontakt sampler system]. Very widely used, this sampler system from [https://www.native-instruments.com/ Native Instruments] offers some re-tuning ability but making it work can be complex.
*[https://www.native-instruments.com/en/catalog/software/samplers/ Kontakt sampler system]. Very widely used, this sampler system from [https://www.native-instruments.com/ Native Instruments] offers some retuning ability but making it work can be complex.
*[https://www.reaper.fm/ Reaper]. A low-cost, powerful and popular DAW with excellent support for microtuning and other xenharmonic tunings.
*[https://www.reaper.fm/ Reaper]. A low-cost, powerful and popular DAW with excellent support for microtuning and other xenharmonic tunings.
*[https://www.huygens-fokker.org/scala/ Scala]. The big Swiss army knife of alternative tunings, Scala is a powerful tool but with a steep learning curve. It can be used to create custom tuning files.
*[https://www.huygens-fokker.org/scala/ Scala]. The big Swiss army knife of alternative tunings, Scala is a powerful tool but with a steep learning curve. It can be used to create custom tuning files.
**[https://www.huygens-fokker.org/scala/scl_format.html Scala scale file specification]. For .scl tuning files.
**[https://www.huygens-fokker.org/scala/help.htm#mappings Scala keyboard mapping file specification]. For .kbm tuning files
**[https://sevish.com/2017/mapping-microtonal-scales-keyboard-scala/ Mapping microtonal scales to a MIDI keyboard in Scala], from Sevish.
*[https://sevish.com/scaleworkshop/ Scale Workshop]. A very effective tool for creating and doing basic analysis of tunings, and creating tuning files for them. Scale Workshop is much simpler to learn and use than Scala, although using it still requires some understanding of tuning issues.
*[https://sevish.com/scaleworkshop/ Scale Workshop]. A very effective tool for creating and doing basic analysis of tunings, and creating tuning files for them. Scale Workshop is much simpler to learn and use than Scala, although using it still requires some understanding of tuning issues.
*[https://surge-synthesizer.github.io/ Surge XT]. A powerful and fully free soft synth with outstanding support for non-standard tunings, supporting a variety of tuning methods.
*[https://surge-synthesizer.github.io/ Surge XT]. A powerful and fully free soft synth with outstanding support for non-standard tunings, supporting a variety of tuning methods.
Line 216: Line 229:
*YouTube tutorials
*YouTube tutorials
**[https://www.youtube.com/watch?v=WxrpZ4L404M Using Microtones in Electronic Music (microtonal tutorial)], by [[Sevish]], posted Jan 23, 2020.
**[https://www.youtube.com/watch?v=WxrpZ4L404M Using Microtones in Electronic Music (microtonal tutorial)], by [[Sevish]], posted Jan 23, 2020.
**[https://www.youtube.com/watch?v=-QNnVndGLmw How to export microtonal tuning files using Scala], by Sevish, posted Sep 17, 2016.
**[https://www.youtube.com/watch?v=-QNnVndGLmw How to export microtonal tuning files using Scala], by [[Sevish]], posted Sep 17, 2016.
**[https://www.youtube.com/watch?v=eoj8DJd9ojc Melodyne re-tuned with Scala files], by [[Stephen Weigel]], posted Apr 11, 2019.
**[https://www.youtube.com/watch?v=eoj8DJd9ojc Melodyne re-tuned with Scala files], by [[Stephen Weigel]], posted Apr 11, 2019.
**[https://www.youtube.com/watch?v=I2PXnoDX1ns Retune for Live Scala File Tutorial], by [https://www.youtube.com/@ursinemusic4844 Ursine Music], posted Aug 1, 2015.
**[https://www.youtube.com/watch?v=I2PXnoDX1ns Retune for Live Scala File Tutorial], by [https://www.youtube.com/@ursinemusic4844 Ursine Music], posted Aug 1, 2015.
**[https://www.youtube.com/watch?v=DHoTKeOYkd0 Ableton Microtuner - Microtonal Music with Ableton Live], by [https://www.youtube.com/@SeedtoStage Seed to Stage], posted Apr 7, 2022.
**[https://www.youtube.com/watch?v=DHoTKeOYkd0 Ableton Microtuner - Microtonal Music with Ableton Live], by [https://www.youtube.com/@SeedtoStage Seed to Stage], posted Apr 7, 2022.

Latest revision as of 16:02, 10 September 2023

Please use this page's Discussion page for comments and suggestions. Or you can join the discussion in the #wiki channel of the Xenharmonic Alliance's Discord server. This developing page was initially just an outline, and I have been expanding it into a proper page. I am using square brackets to enclose editing notes to myself, which will eventually all be removed.
This page is a detailed thinking-out-loud sketch of what a guide might look like for teaching how to use Surge XT set to alternative (non-12-EDO) tunings in Reaper. It might become a (re-titled) main-area Xen wiki page. It might become part of a larger document also describing how other popular but less full-featured synths or samplers can be used for microtonal music in Reaper. It might become part of a larger document also describing how Surge XT can be used for microtonal music in other DAWs. ALERT: I am currently exploring the option of expanding it just a bit to incorporate another synth or two that has to be used differently than Surge XT, but some sections still include older text that presumes the article is just about Surge XT and Reaper. Also, I'm exploring what could/should be split out into a separate "Scala tuning system" article.

DRAFT ==== Proposed page title: Guide to tuning a software synth in a DAW ==== DRAFT

This guide describes some common methods for making music set in microtonal or other alternative tuning systems, by using a software synthesizer (soft synth) running inside a digital audio workstation (DAW). It describes scenarios in which each of those methods are effective, and instructions for configuring the software using that method.

The examples given use the Surge XT synth as a musical instrument plugin running inside the Reaper DAW, but similar procedures and reasoning will apply to other synths (or samplers) and DAWs. Therefore this guide will go into some detail to help you gain the understanding needed to use these tuning methods with other instrument-DAW combinations.

There are many other ways to create music with alternative tuning, like using other software, your voice, or a physical musical instrument. This guide only explores one: a synth in a DAW. Don't know what "alternative tuning" means? Please visit the Xenharmonic wiki's Main page.

Introduction

There are many possible methods for configuring a soft synth in a DAW to create music set in diverse tuning systems. Which you choose will depend on the larger context in which you're working and your specific needs, which will be explored here in a general way. You'll also find links to sections of the Xen wiki's "Tuning methods" article [currently still a draft], which offers a deeper understanding of the components used here and how they work.

The tutorials below assume you already have the Surge XT synth and Reaper DAW software installed on your computer. They also assume that you know how to create an instrument track in Reaper and load a plugin instrument like Surge XT onto it, but if you don't then instructions can be found below in the Appendix section "Create an instrument track in the Reaper DAW." The instructions also may assume you are using a standard MIDI piano keyboard (i.e. Halberstadt format) in virtual or physical form, although non-standard keyboards are supported by some tuning methods.

Surge XT is a free and powerful software synthesizer that has extensive support for alternative tunings. Reaper is a popular and free-to-inexpensive DAW that fully supports all of Surge XT's possibilities for using alternative tuning systems. This tutorial was last verified using Surge XT version 1.2.3 and Reaper version 6.80 in August 2023.

Although this article is written as if you are using a synth, some samplers or sampler systems also support retuning using the methods described here.

Methods for setting a tuning

Four common instrument-DAW configurations for alternative tunings, here called "methods," are presented below. There are advantages and disadvantages to each, given the scenarios described. There are also other less common methods that might be appropriate or necessary for other instruments and DAWs and for special cases. If none of the offered scenarios describe your own situation, then you're invited to review the extensive "Tuning methods" article to explore more possibilities.

There are several references below to scale designers or tuning editors, which are software tools that allow you to create custom scales and tuning systems, or modify existing ones. To learn more about them, and some distinctions between scales and tuning systems, see the Scale design software article.

Method 1: Set a tuning directly in the synth itself

Some synthesizers include support for setting a tuning directly, as opposed to loading a tuning file or being retuned by some other component. At its simplest, this built-in facility may be limited to setting a 12-note scale's pitch frequencies or its offsets in cents from 12edo. Other instruments offer support for more notes per octave, or even more sophisticated scale designers or tuning editors. Scala XT, used in these examples, offers an unusually advanced tuning editor for a synth. If your instrument doesn't directly support the scale and tuning you wish to use, you'll need to try another method offered below.

Scenarios

  • Live performance, when you don't want the complexity or CPU overhead of alternative methods.
  • Causal playing, when there isn't an existing tuning file you want to use.
  • Playing a synth in standalone mode (i.e. not inside a DAW).

Advantages

  • No additional components, so less complexity.
  • Can be quick and easy to set up for simple tunings that you're very familiar with.
  • May sometimes include a scale designer for exploring new scales or tunings.

Disadvantages

  • Very few synths include a scale designer.
  • Can be time consuming with an unfamiliar or complex tuning, compared to using a tuning file.
  • Needs to be redone for each new instrument instance.
  • Tuning doesn't automatically apply to an ensemble of instruments together.
  • Tuning usually can't be changed easily during a performance.

Instructions

[Use Surge's scale designer to recreate a custom tuning, perhaps using the example of Ptolemy's Intense Diatonic or something more unusual.]

Notes

Direct tuning in Kontakt

  • If you are using a Kontakt sampler system instrument that is not locked, in a paid Kontakt version (not Kontakt Player), and whose operation will not be disrupted by the needed script changes (e.g. like some legato patches will be), there are two easy methods that may work to create certain tunings in Kontakt. Note that as of August 2023 the Kontakt 7 Factory library instruments are all locked, although the Kontakt 6 Factory library was and is not. If the instrument shows a wrench/spanner button in its upper left corner it is unlocked, but if there is instead a two-gears button it is locked (clicking it opens Options).
    1. Kontakt offers a simple microtuning script for creating 12-notes per octave tunings. [Find an online illustration.] In brief: Wrench > Script editor > Preset > Factory > Tuning > Microtuning > Adjust each slider to an offset in cents from 12-EDO tuning.
    2. You can quickly set an EDO of any size, as illustrated on this page by Chris Vaisvil. In brief: Wrench > Script editor > Preset > Factory > Tuning > Notes per Octave > Notes > Set the number of notes. Unfortunately, Kontakt does not offer easy custom keyboard mapping for your custom EDO — linear keyboard mapping will apply.
  • Some Kontakt instrument include their own re-tuning system. More complex tunings or keyboard mapping in Kontakt require a custom script, as described in the [to be written] Guide to tuning the Kontakt sampler system. Or watch the video "How to microtune in Kontakt" by benyamind on YouTube (posted Jun 17, 2020).

Method 2: Set a tuning in the synth using tuning files

Probably the most common method people choose to retune a synth in a DAW is by loading prepared tuning files. Tuning files provide all or most of the specification for a scale or tuning, and might be loaded using a drop-down selector or a file loading dialog.

For this method, we will use the example of a Scala scale file and Scala keyboard mapping file, since the Surge XT synth supports the Scala tuning file system. Very briefly, the scale file sets the intervals of the scale and the keyboard mapping file places the tuning base of the scale file on a specific MIDI note, sets the tuning reference note and pitch, and maps the notes to a keyboard or other controller. See the section "Scala scale and keyboard mapping files" below for more about these tuning files.

Other tuning file systems besides the Scala's are used by other instruments. The most popular at the time of this writing is the Scala tuning file system (.scl), followed by the Anamark tuning file system (.tun), much less frequently the MIDI tuning file system (.mts), and there are others. These tuning file systems are sometimes referred to by the file extension they use (e.g. scl, tun, mts). It's mostly easy to convert between them using available tools, although they don't all support exactly the same set of features.

Scenarios

  • Using a synth that supports loading tuning files.
  • Casual playing where you want to begin quickly.
  • Playing a synth in standalone mode (i.e. not inside a DAW)
  • Playing in a scale or tuning for which tuning files are already conveniently available.
  • When you only have one or a small number of instruments to retune together.
  • When you are using an unusual MIDI controller.

Advantages

  • Quickly apply a prepared tuning to your musical instrument.
  • Many popular and rare tunings have tuning files already prepared and available online to download.
  • Less likelihood of typo errors compared to manually entering detailed tuning info.
  • May, like the Scala tuning file system, support many custom keyboard formats and unusual MIDI controller devices (e.g. Linnstrument, Harpejji, or Lumatone controllers).

Disadvantages

  • Not supported by most software synths.
  • Requires finding a Scala scale file and keyboard mapping file for your desired tuning, else...
  • Requires developing a Scala scale file and keyboard mapping file(s), and learning how to prepare them.
  • Generally doesn't include scale design software.

Instructions

  1. Launch the Reaper application, create a new instrument track in Reaper, and add Surge XT as a plugin on that instrument track. Note: If you are not using a DAW, but using Surge XT in standalone mode instead, replace this step with: Launch the Surge XT standalone application.
  2. Load a Scala scale file (.scl) into Surge XT as follows, to establish the tuning system with relative intervals:
    1. In Surge XT's Menu (found in the bottom right corner) select the Tuning option, then choose "Load .scl tuning..."
    2. Use the resulting file selection popup to choose one of the [ideally 12-tone for keyboard mapping simplicity] Scala scale files that come with Surge XT, e.g. [something beginners might have read about and would recognize,] like just intonation's Ptolemy_intense_diatonic.scl or meantone's WerckmeisterIII_equal_beating.scl, or instead choose [something named in condensed code like] ED3-12.scl. [I realize Scala XT at this moment only comes with two tuning files beginners are likely to recognize by name, and one is 12-EDO. Also, the more commonly known JI and meantone scale files are 7-note not 12-note so they won't map properly by themselves. Ptolex is a 12-tone Ptolemeic JI tuning, but not widely known. Also, many people will be unable to distinguish Ptolex by ear from 12-EDO. So what example to use? Some suggestions from #wiki at the Xen Discord server:
      1. Ptolex (Xen wiki)
      2. Otonal duodene or centered one or Duodene marvel (Scale Workshop) (Duodene)
      3. Bicycle (Xen Wiki | Scale Workshop)
      4. 12-note starling (Scale Workshop)]
  3. Load a Scala keyboard mapping file (.kbm), to anchor the scale file data to a tuning base and set the tuning reference note and pitch. A good choice for example is the "Halberstadt 60-440-69.kbm" file, which on a standard piano-style keyboard will set the scale to the ISO tuning standard (ISO 16:1975) of A4 = 440 Hz. See "Scala scale and keyboard mapping files" below to learn a little more about these tuning files.
  4. Optionally, if you understand Scala scale and keyboard mapping data, you may wish to open Surge XT's built-in scale designer at this time (Menu > Tuning > Open tuning editor...) to confirm the correct data was loaded from the files.
  5. Optionally, test the tuning to ensure it's correct.

Notes

[This whole section needs extensive review with regard to what should be moved out to the Appendix on this page, or the Tuning methods article, what belongs in the Scala tuning file system article, or perhaps is best rendered in duplicate for reading simplicity. Also, I need to settle on a consistent terminology and apply it to all three articles.I am removing as much as possible from the Instructions section, but to where? For example, the complexity of the relationship between the Scala scale file's base note, the tuning's tuning center, and the music's tonic (if it has one) makes this a very difficult topic for beginners but it's critical for JI so something needs to be said in this article. But this doesn't seem to be the right place to explain it in great detail — the Scala tuning file system article is probably a good choice, although for now some of that is reasonably found in the Scale design software article.]

More about Surge XT

  • Surge XT also provides a button "Tune" under the label "Status" along the top of its window. If a custom tuning has not yet been added during the current session, clicking the button will reveal the same list of options as Menu > Tuning. If a custom tuning has been loaded, the Tune button will be lit (bright not dark), and clicking it will turn that tuning off (back to the software's default 12-EDO tuning) or back on.

Scala scale and keyboard mapping files

  • [This section needs extensive reconsideration and revision given the creation of a separate Scala tuning file system article. Keep only what needs to be here. -> This work is in progress.]
  • [Say something brief about tuning files and what they do. Mostly refer to the info located in the "Scala tuning file system" article.]
  • [Say something about available tuning file conversion tools.]
  • [Maybe this Note topic and the next one "Anamark tuning files" need to be combined into a "Tuning files" section of the Appendix.]
  • Note that without a Scala keyboard mapping file (.kbm) also loaded, the resulting tuning may not be what you expect. Surge XT like most synths will assume a default tuning center frequency and keyboard mapping that sets the first (implied) note of the tuning file -- the tuning base -- as MIDI Note C.60 and the tuning center (diapason, reference pitch) as international ISO standard pitch (MIDI A.69=440.000Hz). [Or will it? Seems undocumented. In fact, it does not. Default in Surge XT 1.2.3 is a tuning base note of C.60 and the reference pitch is C.60=261.626Hz, which is very close to but not exactly international standard because it uses three-digit precision. I've read that this (at 2-4 digit precision) is the most common default for retunable synths when you don't load a keyboard mapping file.] However, if for example we are using a just intonation scale and music with a tonic of F (F4, MIDI note 65, 349.23 Hz), it becomes critical that that tuning base note is set to the tonic F. Ideally we use a keyboard mapping file to do that, but if keyboard mapping files are not supported see the section "Alternative for setting the tuning base note and tuning reference."
  • For more detailed information about Scala scale and keyboard mapping files, see the article "Scala tuning file system."

Anamark tuning files

  • Surge XT doesn't directly support Anamark tuning files (.tun), which are a one-file alternative to using the two-file Scala tuning file system. Conversely, other synths may support the Anamark format but not Scala format, for example Omnisphere 2 from Spectrasonics, and Serum from Xfer Records. It's not difficult to convert between Anamark and Scala tuning files, to provide whichever your instrument requires. Anamark tuning files and conversion are briefly described in the Appendix.

Alternatives for setting the tuning's base note and tuning center

  • Some popular music software, like Arturia's Pigments 3 synth, Garritan's Aria Player sampler system, and Applied Acoustic System's Chromaphone 3 synth support importing Scala scale files but not Scala keyboard mapping files. However, they will typically instead allow you to set the tuning base note of the Scala scale file and a reference tuning pitch. This fulfills some of the functions of the keyboard mapping file and you should use this method if it's all your instrument allows. If you are using a just intonation, for example, then anchoring the Scala scale file's tuning base to the music's tonic is essential. In the same way, instead of using a keyboard mapping file in Surge XT, you could instead set the tuning base note and the reference note and pitch for your scale using Surge XT's tuning editor as described in Method 1.

Vital synth

  • [Vital allows Scala keyboard mapping file (.kbm) import as well as Scala scale file (.scl) import. The specific instructions for Vital are different than for Surge XT but might be worth briefly including. AFAIK, there is still no way in Vital (as opposed to Surge XT) to apply retuning to the filters as required for some synthesis techniques, and in Vital one currently must use its Mod Remap system for that instead of the tuning file import system. This limit won't affect you if precisely tuned filters aren't needed for the sounds you use. Vital is not the only popular synth with full keyboard microtuning, but it's powerful, extremely popular and free-to-modestly priced, so a good direction to steer beginners.]

Method 3: Set a tuning using a tuning plugin

[What is a tuning plugin, also called a retuning plugin?] [What different mechanisms do tuning plugins use to control a musical instrument?]

There is no convincing case for using this tuning method with Surge XT, as far as I know. If you want to set a custom tuning, or load a tuning file, or respond to an MTS-ESP tuning source, you can do all those in Surge XT without any need for an additional plugin. For more about tuning plugins, see the Tuning methods article.

[Rather than provide instructions for using a tuning plugin here, I could instead do that in a different Guide for using a synth that requires one. If I expand this doc to include another synth, I probably will need to split this Method into 3a ... using a tuning plugin with MPE, and 3b ... using a tuning plugin with multichannel pitch bend (and there are more possibilities). That seems like a lot! I think that a separate article "Guide to using tuning plugins" is almost certainly the way to go, with sections for MPE, monophonic pitch bend, polyphonic pitch bend (through multichannel), etc. using a few different tuning plugins (e.g. select among MTS-ESP Suite, Entonal Studio, Wilsonic MTS-ESP, InfinitoneDMT, or Fluid Pitch).]

  • Scenarios
    • ...
  • Advantages
    • Support for many synths that can't be re-tuned any other way.
    • When new technologies become available, new plugins can provide a supporting bridge to older instruments.
    • May include scale design software to assist with developing new scales and tunings.
  • Disadvantages
    • Added complexity.
    • Some experimentation may be necessary to find appropriate settings.

Instructions

...

Notes

...

Method 4: Set a tuning using MTS-ESP

[Briefly: Add an MTS-ESP tuning source plugin on one track, and Surge XT on another. Load a tuning file into the MTS-ESP source plugin. Set Surge XT to listen to MTS-ESP. Confirm that the MTS-ESP source has connected. Note that, unlike Surge XT, most available electronic instruments at this time (August 2023) don't support MTS-ESP tuning although some do. Note that if I choose to expand by mentioning other synths, I need to say that some of those can be re-tuned by adding a tuning plugin that **does** support MTS-ESP... Method 4a: ...using MTS-ESP, Method 4b: using an MTS-ESP tuning plugin. Other ways to structure this are possible and will be considered.]

[A brief intro to MTS-ESP here...]

Scenarios

  • When you have an ensemble of instruments that need shared retuning.
  • When you want to change the scale or tuning in mid-performance using presets.
  • When you need to bypass a glitch, bug, or incompatibility sometimes seen with pitch bend retuning methods.

Advantages

  • MPE-ESP source plugins often include scale design software to assist with creating new tunings.
  • Convenient quick switching between different tunings through the source plugin.
  • Can tune an entire ensemble of instruments with one controller, the source plugin.

Disadvantages

  • Supported by relatively few software synths.
  • Requires an extra component, the MTS-ESP source.
  • The technology may only really be needed for certain cases, e.g. tuning an ensemble of instruments, or for special effects.

Instructions

...

Notes

...

How to test the tuning

[Briefly: If you're familiar enough with the tuning to recognize its correctness by ear, play the scale. Otherwise, test the frequency of played notes using the tuner that comes with your DAW, or an external (e.g. phone-based) tuner. This may require using a prepared data sheet or making one using an appropriate utility like Scala or the simpler Scale Workshop. In Reaper do this....]

Appendix

Scale designers and tuning editors

[Moved to Scale design software]

Set up an instrument track in the Reaper DAW

[How to create an instrument track in Reaper. And how to use it by loading Surge XT as a plugin virtual instrument.]

Tuning Surge XT without a DAW in standalone mode

Surge XT can also run in standalone mode, without any DAW. A significant drawback to that configuration is you won't be able to record your playing as MIDI notes, unless you have some additional component doing the recording. The common use cases for running Surge XT in standalone mode are for live performance where you don't want the extra complexity of running a DAW, or when you're just playing casually and don't need to record MIDI. In standalone mode, only Method 1 or Method 2 given above can be used to re-tune Surge XT.

Using Anamark tuning files

Surge XT does not support Anamark format (.tun) tuning files, unlike some other synths. However, if you have only an Anamark format tuning file for your tuning, there are several converter tools that can seamlessly use that file to generate a tuning file in Scala format along with a keyboard mapping file if the .tun file includes the needed mapping data. [Do .tun files always include keyboard mapping data?] [Name some good converters and provide links here and below in External links, e.g. Scale Workshop, Scala....] Conversely, a Scale scale and mapping file pair can be converted into an Anamark v2 tuning file.

[Briefly, describe why you might or might not prefer to use an Anamark tuning file instead of the Scala two-file retuning system, i.e. advantages & disadvantages.]

See also

External links