Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Settings

The Settings window holds the program and the player’s console: the display mode, the folders, the sample cache and the language, the audio device and the output dynamics, the performance of the audio engine, MIDI, the console’s own messages and buttons, the console display, remote control and diagnostics. This page lists every control on every tab in the order the window shows them: what it does, its default, its range or options, when it takes effect and where it is stored. The topics behind the controls have pages of their own (Audio, room and mixer, MIDI and consoles, Memory, loading and streaming, Playing, Remote control); this page links to them for depth. The settings that belong to one organ (how it is read from disk, which stops load, its outputs, voicing, equaliser and room) are in Organ settings.

Opening the window

The Settings button in the top bar opens a menu with one entry for each tab of the window. Each entry opens the window on that tab.

ApplicationEntries
StandaloneGeneral…, Audio…, Performance…, MIDI…, Console MIDI…, Console display…, Remote control…
VST3, LV2 and AU pluginsGeneral…, Performance…, Console display…

The Diagnostics tab opens from Help > Diagnostics…. The organ’s own settings are in the Organ menu; the metronome, the tuner, the recorder, the couplers and the split keyboard are in the Window menu; the combination sets are in the Combinations window. See A tour of the window.

The window is titled Settings, opens at 960 x 560 pixels and can be resized. Its tabs, in order: General, Audio, Performance, MIDI, Console MIDI, Console display, Remote control, Diagnostics. Opened from the top bar’s button with no tab named, it shows the tab it was last closed on. In a narrow window each tab name keeps its words whole and a two-word name takes two lines. The ? button at the right end of the tab bar opens this manual at the section of the tab in front. The Esc key closes the window. It has no OK or Cancel button: each control acts when it is changed, and the Takes effect column below says whether that is at once or later.

Note

In the VST3, LV2 and AU plugins the window has no Audio, MIDI, Console MIDI or Remote control tab: the host owns the audio device and the MIDI ports. The output limiter and compressor of the Audio tab are a standalone feature; in a plugin the host’s own effects shape the output.

Display mode

Display mode on the General tab chooses how much the window shows. Simple shows the main settings, with the Quality and Performance presets; Advanced shows every setting. The tables below mark the rows that only Advanced shows. In Simple, Custom is greyed in both preset boxes: a preset is chosen whole, and the settings under it are set one by one in Advanced.

General

ControlWhat it doesDefaultRange or optionsTakes effectShown in
Display modeHow much the Settings and Organ settings windows show.SimpleSimple, AdvancedAt onceBoth
Reopen the last organ when Masterpiece startsLoads, at start, the organ that last loaded completely, after an unexpected close too.OffOn, offAt the next startBoth
Click at each 10% while loadingPlays a short tap at each 10% of a load, so a large set can be followed by ear.OffOn, offAt the next loadAdvanced
Cache folderWhere the sample cache is written, and where organs unpacked from their archives are kept (Packaged/). A folder that cannot be created is replaced by the default for that load.Default, the cache folder in the data folderChoose… opens a folder chooser; Default returns to the default folderAt the next loadAdvanced
Delete all cachesDeletes the sample cache in the folder shown. Each organ then reads its samples again at its next load. The tooltip gives the size, or No sample cache in this folder.At onceAdvanced
Package folderWhere the player keeps packages. A composite organ looks here, and in the folders directly in it, for the organs it plays.NoneChoose… opens a folder chooser; Clear removes itAt the next loadAdvanced
Sample cacheWhether organs keep a cache of their decoded samples on disk, so the next load of the same organ is a read. On: each organ keeps one cache, rebuilt in place when its loading settings change. An organ’s own setting, Sample cache for this organ on Organ settings > Loading, can turn its cache on or off.OnOn, OffAt the next loadBoth
Save the sample cacheWhen the cache of a new load is written. Before the organ plays: the first load takes longer and nothing competes with the sound. In silence, while it plays: the organ plays at once and the samples are saved whenever nothing sounds; until they are, the next load reads them again.Before the organ playsBefore the organ plays, In silence, while it playsAt the next loadBoth

Under them, the language and the look of the text:

ControlWhat it doesDefaultRange or optionsTakes effect
LanguageThe language of the program’s own words. Each language is named in itself, so a player who cannot read the current language can find theirs. Names of organs, stops and pages stay as the organ gives them.System defaultSystem default (the language of the system when a translation exists, otherwise English), English, then the translations in this version: Čeština, Deutsch, Español, Français, Italiano, Nederlands, PolskiAt the next start
Text sizeScales the text and the controls of every window.100 %100 %, 115 %, 130 %, 150 %, 175 %, 200 %At once on computers
FontThe font of the program’s words.The program’s ownThe program’s own and every font of the systemAt the next start

The note under them reads Language and font apply at the next start. A string that a translation lacks appears in English.

Stored. In the global file: displaymode, reopenlastorgan, loadticks, cachedir, packagedir, samplecache and cachewhileplaying; language <code> (en, cs, de, es, fr, it, nl or pl; absent for System default), textsize (absent at 100) and textfont (absent for the program’s own).

Audio

The upper part of the tab is the device selector of the audio library. It chooses where Masterpiece sends sound. Its controls are described here generically; their labels and the choices offered depend on the system and the driver. The MIDI inputs and outputs are on the MIDI tab.

ControlWhat it doesDefaultRange or optionsTakes effect
Device typeThe driver family, on systems that offer more than one.The system defaultThe families the system reportsAt once
Output deviceThe sound device.The system default outputThe devices of that familyAt once
Output channelsWhich outputs of the device carry sound.As the device opensUp to 64 output channelsAt once
Sample rateThe rate the device runs at.The device’s own rate on a first start; a saved setup keeps its rateThe rates the device reportsAt once
Buffer sizeThe block the device processes at a time. It sets the delay between a key and its sound.The size nearest 10 ms on a first startThe sizes the device reportsAt once
TestPlays a test tone through the selected channels.At once

Below the selector, a line reads Note delay: N ms (buffer N ms, output N ms). It shows the whole delay from a key to the speaker for the open device.

ControlWhat it doesDefaultRange or optionsTakes effect
Keep portable speakers awakePlays a 20 Hz tone, too low and too quiet to hear under the organ, so that a battery speaker does not switch itself off during silence and swallow the first notes.OffOn, offAt once
Level slider (beside the box)The level of the tone. Raise it if the speaker still sleeps; lower it if the tone is audible. Active while the box is ticked.-60 dB when first switched on-80 to -40 dB in steps of 1 dBAt once

Which device channels each output of the organ plays on is set in Organ settings > Outputs.

Output dynamics

Under them, the compressor and the peak limiter on the output, after the master fader. Both are off until they are switched on, and while off the engine does not call them. A graph beside the compressor draws its transfer curve: input level across, output level up, in dBFS. Audio, room and mixer describes how they work.

ControlWhat it doesDefaultRange or optionsTakes effect
Output presetSets the compressor and the limiter together. Reads Own settings when the controls match no preset.Both offBoth off, Limiter only, Gentle, Small speakers, Laptop speakers, Headphones, quiet practiceAt once
Output compressorBrings the loud passages towards the quiet ones; the make-up gain lifts the whole. It works ahead of the limiter.OffOn, offAt once
ThresholdThe level the compression begins at.-18 dBFS-40 to 0 dBFS in steps of 0.5At once
RatioHow much a level over the threshold is held down: at 3:1, 3 dB over comes out 1 dB over.3:11.5:1 to 10:1 in steps of 0.1At once
AttackHow long the gain takes to come down. A longer one lets the speech of the pipes through.10 ms1 to 100 msAt once
ReleaseHow long the gain takes to come back.200 ms50 to 1000 ms in steps of 10At once
Make-up gainLifts the whole output after the compression.0 dB0 to 18 dB in steps of 0.5At once
Bass left outThe compressor does not hear the bass below this pitch, so a 32’ or a full pedal leaves the manuals at their level. The bass itself sounds in full.Below 120 HzNone, Below 80 Hz, Below 120 Hz, Below 200 HzAt once
Reduction readoutReduction N dB: how far the compressor holds the level down now, before the make-up gain. Shown while the compressor is on.Ten times a second
Output limiterHolds the output below the ceiling. It adds no delay.OffOn, offAt once
CeilingThe level the output is held under.-1 dBFS-12 to -0.1 dBFS in steps of 0.1At once
ReleaseHow long the limiter’s gain takes to come back after a peak.100 ms50 to 1000 ms in steps of 10At once

The sliders and the boxes under the compressor are greyed while it is off. The presets:

PresetCompressorThresholdRatioAttackReleaseMake-upBass left outLimiterCeilingLimiter release
Both offOffOff
Limiter onlyOffOn-1 dBFS100 ms
GentleOn-18 dBFS2:120 ms400 ms4 dBBelow 120 HzOn-1 dBFS100 ms
Small speakersOn-24 dBFS3:110 ms250 ms8 dBBelow 120 HzOn-1 dBFS100 ms
Laptop speakersOn-30 dBFS4:15 ms200 ms12 dBBelow 200 HzOn-1 dBFS80 ms
Headphones, quiet practiceOn-30 dBFS2.5:110 ms300 ms10 dBBelow 80 HzOn-3 dBFS150 ms

Stored. The device, rate, buffer size and channel choices are written to audio.xml when Masterpiece quits. A saved setup that no longer matches the hardware, or that opens with no live output, is replaced by the defaults. A device that opens below 44.1 kHz is moved to 48 kHz, or to 44.1 kHz where 48 kHz is unavailable. The speaker setting is the key speakerkeepalive in the global file, written only while it is on. The limiter is the key limiter <on> <ceiling> <release> and the compressor the key compressor <on> <threshold> <ratio> <attack> <release> <make-up> <Hz>, both in the global file.

Audio, room and mixer explains choosing a buffer size and a driver.

Performance

How the audio engine uses the processor, and how many pipes sound at once. Every setting on this tab holds for every organ.

ControlWhat it doesDefaultRange or optionsTakes effectShown in
PerformanceSets the audio engine’s threads and the number of voices together. Start with Balanced. If the sound crackles in a full chord, move down the list until it plays clean. Steady helps when other programs run beside the organ. Reads Custom when the four settings below match no preset.Balanced (default): every core, the default number of voicesThe presets below, and CustomAt onceBoth
Faster audio engineRenders several samples at a time with the processor’s vector unit. The sound is the same, with more polyphony to spare. The label reads Faster audio engine: using AVX2 (or SSE2, NEON) when the unit is found.OnOn, offAt onceAdvanced
Real-time render threadsMakes the threads that render the organ real-time threads, so the system runs them first, on the fastest cores: MMCSS on Windows, SCHED_FIFO or rtkit on Linux, the audio workgroup on macOS. The label says what it found: Real-time render threads: using …. Hidden where the system offers none.OnOn, offAt onceAdvanced
Render on every logical processorRenders the organ on every logical processor, with none kept for the interface, disk streaming and the system: more polyphony on a machine doing nothing else. Off: every processor but one, eight at most.OnOn, offAt onceAdvanced
Polyphony limitThe most pipes that sound at once. Past it, a new pipe takes the place of one that is dying away, or of the quietest. Each choice shows the memory its voices take, which is larger with release streaming on. A lower number keeps a small computer from falling behind on a full organ. A number can be typed in the box.Default: N voices (N MB): 725 voices for each logical processor, at least 1,536, at most 16,384; 1,536 while releases stream256, 512, 768, 1024, 2048, 3072, 4096, 6144, 8192, 10240 voices, or a number typed, from 64 to 16,384At onceAdvanced
Memory limit for samplesA load that would take more than this stops and says so, and loads nothing. The voice pool counts toward the figure.Default: 80% of memory (N GB), with at least 512 MBDefault: 80% of memory, 50%, 60%, 70% and 90% of memory, each with its size; a size set in the file shows as itselfAt the next loadAdvanced

The presets:

PresetFaster audio engineReal-time render threadsEvery logical processorPolyphony limit
Most voices: every processor core, 8192 voicesOnOnOn8192
Balanced (default): every core, the default number of voicesOnOnOnDefault
Steady: one core left free for the system and other programsOnOnOffDefault
Fewer voices: 1024OnOnOff1024
Fewest voices: 512, for a Raspberry Pi or a tabletOnOnOff512

Stored. In the global file: fasterengine, realtimethreads and everyprocessor, each always written as 1 or 0; polyphony and memlimit, written only when set. Audio, room and mixer describes the engine and the threads.

MIDI

The console’s MIDI: the inputs and the outputs, the default channels and devices, and how stops and keys answer and echo. The keyboards of the loaded organ are on the MIDI tab of Organ settings; the console’s own buttons and messages are on the Console MIDI tab. MIDI and consoles explains the channel assignment and learning in depth.

Inputs, channels and outputs

ControlWhat it doesDefaultRange or optionsTakes effect and storageShown in
MIDI inputsOne tick box per MIDI input device, plus inputs Masterpiece opens itself (the JACK MIDI port on Linux, the port made by --virtual-midi). A device another program holds is shown as NAME - in use by another program; opened when it is free and stays ticked; Masterpiece opens it when it is released.All inputs tickedEach input on or offAt once. Unticked inputs are kept in the global file as midiinputoff <name>.Both
Bluetooth MIDI…Opens the system’s pairing dialog for a Bluetooth MIDI device. Shown where the system offers it.At onceBoth
MIDI outputsA tick box per output port, beside the inputs (under them in a narrow window): the ports that light a console’s drawstops and receive the console display and the messages of the Console MIDI tab. Ticked ports stay listed while disconnected. Reads None when the system has no output.None tickedEach output port of the systemAt once. Global file key midioutput <name>, a line per ticked port.Both
Default channelsOne box for the pedal and one for each of manuals 1 to 5: the channel each keyboard of an organ comes in on, for organs with no channels saved for them, each with a box for the device it comes from (Any device: every device sending on the channel plays it). An organ’s own choice keeps it.- (none), Any device-, 1 to 16; Any device and each device knownAt the next organ load. Global file key consolechannel <role> <channel> [<device>], with role 0 for the pedal and 1 onward for the manuals.Both

Note

The processor holds the MIDI output ports, so lamps, key echo and the console display work with any window open or none. The ports open again at the next start. A port that is not plugged in keeps its name and its tick.

Answering and echoing

ControlWhat it doesDefaultRange or optionsTakes effect and storageShown in
Send stop changes on the MIDI outputSends each stop change on the MIDI outputs, on the message the stop was learned on, so that lit drawstops or a pad controller follow the screen. Off by default because a console that echoes what it just received can latch itself into a loop.OffOn, offAt once. Global file key midifeedback 1, written only while on.Both
Lit, UnlitThe velocity sent to a button when its stop comes on (on a pad grid it picks the colour), and what it is sent when the stop goes off: a Note Off, or a velocity for a dimmer colour.127; Note Off1 to 127; Note Off, 0 to 127At once. Global file key midifeedbackvalues <lit> <unlit>, -1 for Note Off, written when not the defaults.Both
Send events leave out a console’s own messageFor a console that lights its own lamps: a stop moved from the console leaves out the Send event that repeats the same message.OffOn, offAt once. Global file key midisendsholdecho 1.Both
Sustain pedal: controller 64 holds the notes let goFor directing a choir. While controller 64 is held down, the keys you let go keep sounding, and they stop when it is lifted. The controller works on any channel. A controller 64 learned for something else keeps doing this.OffOn, offAt once. Global file key sustainpedal, written only while on.Both
General Cancel also puts the keyboards back on their own manualsAfter controls have moved a keyboard to another manual, General Cancel returns every keyboard to the manual it started on.OffOn, offAt once. Global file key cancelresetskeyboards, written only while on.Advanced
Stop changes leave the notes already held aloneOff, a stop or coupler moved while keys are held sounds or stops on those notes at once, as on a console with electric action. On, the held notes keep the pipes they started with until their keys are let go, and only keys pressed afterwards play the new registration.OffOn, offAt once. Global file key stopsleaveheldnotes, written only while on.Advanced
Debounce: when learning, a key counts once held a quarter secondFor a console whose contacts send stray notes: a shorter note is not learned. Controllers and program changes are learned at once. Leave it off for pistons that send only a short note.OffOn, offAt once. Global file key learnnoisefilter, written only while on.Advanced
Archive everything playedRecords every MIDI message played into files of their own, one for each stretch of playing. Three boxes beside it: ends after 10 s of silence, 30 s, 1 min, 2 min, 5 min or 10 min (default 30 s); up to 100 MB, 250 MB, 500 MB, 1 GB, 2 GB or 5 GB (default 500 MB); kept 7 days, 30, 90 or 365 days (default 90). Each stretch is a standard MIDI file in Documents/Masterpiece/Recordings/Archive, by date. The oldest files go first when the folder passes its size or age.OffOn, offAt once. Global file keys archive, archivesilence, archivemb, archivedays.Advanced

Under them, Save mappings writes the mapping to disk and Clear all mappings removes every binding of the mapping in use; the empty mapping reaches disk with Save mappings, or with the next learned binding or channel change. The status reads MIDI mappings: N, and adds LEARNING: move a control now while a learn waits. Both buttons are shown in Advanced.

Stored. The mapping is written to the user’s data folder, and the sample set stays untouched. Bindings for one organ’s stops, shoes, manuals and divisionals go to that organ’s .mpmidi file. Bindings for the console’s own actions (the sequencer, generals, page, layout, transpose, temperament, recorder and power buttons) go to midi/console.mpmidi and apply to every organ. The files are rewritten after each learned binding.

Console MIDI

The console’s own buttons, which the organ file never mentions, and the messages Masterpiece sends to the console. Each message goes out on the ports ticked under MIDI outputs. Each learn button opens a menu: the mapping it has (or Not mapped), Learn, Clear and MIDI window…. After Learn, press or move the control on the console. The button is orange while it waits and green once it is mapped. MIDI and consoles covers right-click learning on the console itself; the sequencer and the pistons are learned in the Combinations window, the temperament and transposer buttons in the tuning panel, and the recorder’s buttons in the Recorder.

RowControlsWhat each doesShown in
PowerLearn quit, Learn power offQuit Masterpiece, or quit and shut the computer down, for a console with no screen. Obeyed once Masterpiece has run two minutes, and only on a button held for three seconds; a button whose message has no release is pressed twice within two seconds. Masterpiece saves before it quits. Power off also needs Allow quitting Masterpiece and shutting the computer down on the Remote control tab; while it is off a line under the row says so.Both
Ready lampOff, Note or Controller; a channel 1 to 16; a number 0 to 127A message that lights a lamp once the organ is ready, blinks once a second while one loads and four times a second while a quit or power-off button is held, and goes out with no organ.Both
Lit: hex messages, Dark: hex messagesMIDI messages in hex sent when the lamp lights and when it goes dark, as well as the one above; several are separated by commas (90 3C 7F, B0 14 7F).Both
On organ loadHex messages, Send nowSent each time an organ loads, before any stop moves or lamp lights: for a controller that needs a mode set first, such as a pad grid’s programmer layout. Empty sends nothing. Send now sends them at once, to try them.Both
On organ unloadHex messages, Send nowSent when an organ unloads: before the next organ loads, and when the program quits. For a relay that turns the speakers off.Both
ConsoleLearn page -, Learn page +, Learn console sizePrevious console page, next console page, next console layout.Advanced
Learn panel, Learn keyboard, Learn combinationsShow the stop-list panel, the on-screen keyboard and the combinations window.Advanced
Score appLearn score page -, Learn score page +, then Sends: message, channel and two numbersA piston learned here turns the page in a score app on a tablet or another program: it sends the message chosen (Note, Controller or Program change) on the MIDI outputs, the first number for the next page and the second for the page before. Default: notes 127 and 126 on channel 16. Teach the same message to the score app. The same buttons turn the page of the program’s own score panel.Both

A message field that does not read is outlined in red and keeps its last good value.

Stored. In the global file: readylamp note|cc <channel> <number>, readylamplit, readylampdark, loadmessage, unloadmessage and scorepage <kind> <channel> <next> <before>. The learned buttons go to midi/console.mpmidi.

Console display

This tab drives the text display on a console’s jamb, such as a 32-character panel, by system exclusive messages through the MIDI outputs. It drives external hardware only. The framing bytes belong to the display hardware, so they are typed in here. Tick a port under MIDI outputs on the MIDI tab first: the messages leave through the ports that light the drawstops.

ControlWhat it doesDefaultRange or optionsTakes effect
Drive a console displaySwitches the display on.OffOn, offAt once
Display numberThe number of the display on the console, sent as one byte.00 to 15At once
Characters per lineThe width of the display.3216, 20, 32, 40At once
Sys-ex prefix (hex)The bytes that follow the opening system exclusive byte and introduce a message to this console. 7D is the identifier the MIDI specification reserves for non-commercial use. A prefix that cannot be read falls back to 7D.7DOne to eight bytes of 00 to 7F, in hexadecimal, separated by spaces; the field takes up to 23 charactersWhen the field loses focus or Return is pressed
Send to displaySends every line again, for a console connected after the organ loaded.At once
Lines (four boxes)The content of line 1 to line 4.Organ, Temperament, Pitch, Crescendo(blank), Organ, Temperament, Pitch, Transpose, Stops drawn, Crescendo, Combination setAt once
What the display readsA preview of the lines as the hardware shows them, between bars that mark where the panel ends. A value longer than the width is cut and a shorter one is padded with spaces.Twice a second

The fields show: the organ’s name; the temperament’s name; the pitch as A=440.0 Hz; the transposition as +2, 0 or -3; the number of stops drawn; the crescendo step (0 with the shoe closed); and the name of the combination set ((default) for the default set). A message is F0, the prefix, the display number, the line number (0 to 3), the text as 7-bit ASCII, F7. Accented Latin letters lose their accents; other characters above 7F become ?. Only lines whose text changed since the last send go out, checked four times a second.

Stored. In the global file as lcd <on> <display> <width> <line1> <line2> <line3> <line4> <prefix>: <on> is 1 or 0, <display> the display number, <width> the characters per line, each <line> the number of the choice in its box (1 for (blank) to 8 for Combination set, in the order of the table above) and <prefix> the hexadecimal bytes, which run to the end of the line. The setup is read again at the next start. The main window sends the display four times a second whether or not this tab is open, so the display follows the organ with any window open or none.

Remote control

The web console and the control API, for a tablet or another program on the same network. Present in the standalone application. Remote control describes the web console, the API, SysEx and OSC in depth.

ControlWhat it doesDefaultRange or optionsTakes effect
Serve the web console and the control API on this networkStarts the web server.OffOn, offAt once
PortThe HTTP port of the web console and the API.8080A port numberAt once
TokenA word every request that changes something must carry.EmptyTextAt once
Allow changes from the networkLets the network draw stops and move controls. Off, the network can only read: the stops drawn, the levels, the organ loaded.OnOn, offAt once
Allow quitting Masterpiece and shutting the computer downLets the API quit the program and power the computer off, and the power-off button of the Console MIDI tab work.OffOn, offAt once
This computer onlyServes the page, the API and OSC on 127.0.0.1 only.OffOn, offAt once
Answer the same requests over MIDI (System Exclusive)The same protocol over system exclusive messages, on the MIDI inputs and the MIDI outputs, under a unit number.Off, unit 0On, off; unit 0 to 126At once
Answer the same requests over OSCThe same protocol over OSC, on a UDP port.Off, port 9000On, off; a port numberAt once
Open in the browserOpens the web console in the system’s browser.At once

Stored. In the global file: api, apiport, apiwrite (0 while changes are refused), apitoken, apipoweroff, apilocal, apisysex, apisysexunit, apiosc, apioscport.

Diagnostics

Masterpiece always keeps a log of the session and the previous one beside it. The log and the report on this tab are what a bug report needs. The tab opens from Help > Diagnostics…. The text at the top of the tab gives the log’s path, or No log is being written.

ControlWhat it doesDefaultTakes effect
Open the log folderShows the log file in the system’s file manager. Absent on phones and tablets.At once
Run the checksTests the folders Masterpiece writes to, the audio, the organ and its files, and prints the result in the box below.At once
Copy the reportCopies the checks (run first if the box is empty) and the last 200 lines of the log to the clipboard, to paste into a bug report.At once
Send the report and the logShares the report, the log and the previous log through the share sheet. Present only on phones and tablets.At once
Log every MIDI message and what became of itThe same as --log-midi: which manual, stop or control each message reached and, when nothing sounded, why. For keys or pedals that do nothing, or the wrong thing.OffAt once; lasts until Masterpiece closes
Log every key release: the release played, its length and startThe same as --log-releases: the release chosen for each key release, its length and where it started.OffAt once; lasts until Masterpiece closes
Check for updates dailyReads the newest version’s number from GitHub, a few bytes, once a day, and offers the download page when it is newer. Help > Check for updates… checks at once. See Files and folders.OnAt the next start; updatecheck in the global file

The report box is read-only and shows Run the checks to see what Masterpiece finds on this device. until the checks have run. See Command line for the log and its options.

What the checks test

Each line of the report starts with ok for a passed test, FAILED for a failed one, or spaces for a fact with nothing to pass.

LineWhat it tests
HeaderThe Masterpiece version, the operating system and the device; the number of processors and the memory in MB; the time of the check. Facts only.
Settings folderThe user’s data folder. The check creates it if it is missing, writes a small file .masterpiece-check, reads it back and deletes it. It reports the path, whether it can be written and the free space in GB.
Sample cacheThe same write test for the cache folder in use, with the free space.
Cache folder chosenAppears as FAILED when the folder chosen under Cache folder cannot be used and the usual one is in use instead.
Temporary folderThe same write test for the system’s temporary folder.
Cache filesThe number and total size of the .mpcache files in the cache folder. A fact.
Organs unpacked from their archivesThe number of folders in Packaged, where package archives are unpacked. A fact.
LogPasses when the log file exists; reports its path and size in KB. Fails when no log is being written.
AudioPasses when the audio device runs; reports its rate and block size in frames. Fails with Audio: not running.
MIDI inputsThe names of the MIDI inputs the system lists, or none. A fact.
OrganWhen an organ is loaded: passes when its definition file still exists. Without an organ the line reads No organ is loaded.
The organ’s definitionPasses when the definition file can be read.
Organ folderPasses when the folder that holds the organ’s installation packages exists.
Organ countsThe number of ranks, stops and console pages. A fact.
Samples kept asThe resident format, the memory limit (not set for the default) and the number of stream underruns. A fact.
Impulse responseThe name of the loaded impulse response, or none. A fact.
Wind and tremulantsThe state of the wind model and the tremulants of the loaded organ.
Documents lent by the Files appOn iPhone and iPad: the number of documents the Files app has lent, with a pass or fail for each according to whether it can be read now.

Stored. The log is masterpiece.log in the data folder, and the run before it is masterpiece.previous.log. The two logging switches return to off at every start.

Back up and restore

The File menu holds three items for the settings, on computers. Organ > Copy settings from another organ… holds the fourth.

ItemWhat it does
Export organ settings…Writes a zip file holding the loaded organ’s own settings: its MIDI map, its combinations, its split keyboard and its organ settings.
Export settings…Writes a zip file holding every setting, the program’s own and each organ’s. The audio device stays with the computer.
Import settings…Reads a zip file written by one of the export items and puts the settings back. A file that is not one of ours is refused, and nothing changes.
Copy settings from another organ…Takes the MIDI map, the combinations, or the mixer and voicing from another organ, each on its own toggle.

Every import and every copy saves what was there first, in the backups folder, and says where. The export and import dialogs start in the folder used last.

The mixer and voicing of one organ mean something only between versions of the same organ, a demo and the full set: the ids of stops, ranks and pipes must be the same. The dialog says how many of the ranks and pipes the other organ names are in this one.

Where settings are kept

Masterpiece keeps everything in text files in its data folder.

SystemData folder
Windows%APPDATA%\Masterpiece
macOS~/Library/Masterpiece
Linux~/.config/Masterpiece

The sample sets are left untouched. Files and folders lists the whole folder.

The global file

The global file is settings.mpglobal in the data folder. It holds what belongs to the program and the machine, and the defaults an organ starts from before its own file is applied. The file is plain text. The first line is the comment # Masterpiece defaults for organs that have no settings of their own; every other line is a key, a space and a value, and the value is taken whole so that a path may contain spaces. Lines that start with # are ignored. Masterpiece rewrites the whole file at each change, so edit it only while Masterpiece is closed.

KeyValueWritten by
reopenlastorgan1 or 0. Always written.Reopen the last organ when Masterpiece starts on the General tab
updatecheck0 when the update check is off; absent while it is on.Check for updates daily on the Diagnostics tab
updatecheckedatSeconds since 1970 of the last update check.The update check
api, apiport, apiwrite, apitoken, apipoweroff, apilocal, apisysex, apisysexunit, apiosc, apioscportThe remote control settings.The Remote control tab
readylamp, readylamplit, readylampdark, loadmessage, unloadmessageThe messages to the console.The Console MIDI tab
speakerkeepaliveThe level in dB, -80 to -40. Written only while on.Keep portable speakers awake
memlimitThe sample memory limit in MB. Written only when set.Memory limit for samples on the Performance tab
defaulteq<on> <gain> <band 1> ... <band 10>, and the frequencies and widths when a band has moved. Written only while the default EQ is on or not flat.Save as default on the Organ EQ tab of Organ settings
polyphonyThe voice limit. Written only when set.Polyphony limit on the Performance tab
runningThe path of the organ being loaded or played. Removed at a clean exit; one still present at the next start means the last session ended unexpectedly, which the log records.The crash guard
language, textsize, textfontThe language code, the text size in percent and the font. Written only when not the default.The General tab
metronome<bpm> <beats> <level>, then the sound: the tempo, the beats per bar, the level.The Metronome window
limiter<on> <ceilingDb> <releaseMs>.Output limiter on the Audio tab
compressor<on> <thresholdDb> <ratio> <attackMs> <releaseMs> <makeupDb> <Hz>.Output compressor on the Audio tab
loadticks1 or 0. Always written.Click at each 10% while loading on the General tab
cancelresetskeyboards1. Written only while on.General Cancel also puts the keyboards back on their own manuals
stopsleaveheldnotes1. Written only while on.Stop changes leave the notes already held alone
sustainpedal1. Written only while on.Sustain pedal: controller 64 holds the notes let go
pedalcombinationscoupled1. Written only while on.Pedal with in the combinations window
learnnoisefilter1. Written only while on.Debounce: when learning, a key counts once held a quarter second
archive, archivesilence, archivemb, archivedaysThe archive switch, and its silence in seconds, size in MB and age in days, each written when it differs from the default.Archive everything played
combinationsontop, combinationsview1 while on top; the view, 1 combinations only, 2 sequencer only. Written only when not the default.Always on top and the view box in the combinations window
cachewhileplaying1. Written only while on.Save the sample cache set to In silence, while it plays
samplecache0 off; on otherwise. Always written.Sample cache on the General tab
setoffafterstore1. Written only while on.Set turns off after storing in the combinations window
pistonsleavebass1. Written only while on.Pistons leave the bass coupler in the combinations window
pistonsstaylit1. Written only while on.Pistons stay lit until another is pressed in the combinations window
stepperlevels, levelsize, levelsfromzeroThe sequencer as levels of generals, the generals in a level, and levels numbered from 0. Written only when not the default.The sequencer’s box in the combinations window
showkeys0. Written only while off.View > Highlight played keys
smallpagesfill1. Written only while on.View > Scale small pages to fit
rememberwindows0. Written only while off.View > Remember window positions
stoplistsize, pistonsize, bigframenumberThe sizes of the stop list and the pistons, 1 Large or 2 Larger, and the large frame number. Written only when not the default.View > Stop list size, Piston size, Large frame number
narrowstrips1. Written only while on.Narrow strips on the Outputs tab of Organ settings
displaymodesimple or professional. Always written.Display mode on the General tab (professional is Advanced)
fasterengine, realtimethreads, everyprocessor1 or 0. Always written.The Performance tab
midiinputoffA device name. One line per unticked input.MIDI inputs
midioutputThe name of a ticked MIDI output port, a line each. A port that is not plugged in keeps its name.MIDI outputs
scorepage<kind> <channel> <next> <before>.Score app on the Console MIDI tab
midifeedback, midifeedbackvalues, midisendsholdechoThe echo switch, its lit and unlit values, and the leave-out switch.The MIDI tab
learnalsosends1. Written only while on.The learn option of an object’s MIDI window
consolechannelA role (0 for the pedal, 1 onward for the manuals), a channel 1 to 16 and, when one is chosen, a device.Default channels on the MIDI tab, and Use as default for all organs in Organ settings
eqpreset, eqpresetnextThe player’s EQ presets.Save as preset… on the Organ EQ tab of Organ settings
libraryA folder holding a sample library (an OrganInstallationPackages folder beside it). Added when an organ is loaded from such a folder, and for the standard library folder of a Hauptwerk-format installation when it exists.Opening organs
lcd<on> <display> <width> <line1> <line2> <line3> <line4> <prefix>. The prefix is the hexadecimal bytes, separated by spaces.The Console display tab
cachedirThe cache folder, which also holds Packaged/. Absent for the default.Cache folder on the General tab
organsfolder, organsfolderconfirmedThe folder organ packages are installed into, and whether the player has confirmed it.File > Install organ package…
packagedirThe package folder. Absent for none.Package folder on the General tab
backupdirThe folder the settings exports and imports last used.Export settings…, Import settings…
lastorganThe definition of the organ opened last.Opening an organ
openfolderThe folder the last organ was chosen from.The Open window
dialogfolderA kind and a folder: ir, midi, recording or scala, then the folder where that kind of file dialog was last used.The file dialogs of Load impulse response…, the recorder and the tuning panel
favourite, favouriteuse, favouritesort<kind> <slot> <name> | <target>: the kind is organ, temperament or combinationset; how often and when each was used; the order of the list.The favourites in the Open window and the tuning panel
favouriteofferedAn organ’s definition, offered once as a favourite on Quit.The question Add to the favourites?
lasttab<tab> | <definition>: the page, panel or score tab last chosen on that organ.The page tabs
buses, busname, defaultroute, busir, buseq, busfilt, livepair, groupsThe outputs, the same for every organ: their device channels and sends, names, the default destination, rooms, EQ, crossovers, faders and speaker groups.Organ settings > Outputs, at once

Save as default on the Loading tab of Organ settings adds the organ-level keys to the global file as well, so that an organ without a file of its own starts from them: storage, mono, compress, programcouplers, releases, releaselength, releasecutoff, reverb, rate, stream, streamhead, streamheadpct, releasebuffer, preload, root, the engine switches (simple, wind, bellows, tremulant, enclosure, voicing, originalpitch) and gain. These are described under Where the organ’s settings are kept. The outputs are always in the global file and need no Save as default. An organ that has a file of its own takes the values from that file. The obsolete keys reopenlast, and cache in an organ file, are ignored when read.

Other files

FileContent
organs/<organ key>.mporganThe settings of one organ: Organ settings.
midi/<organ key>.mpmidiThe MIDI mapping of one organ.
midi/console.mpmidiThe console’s own actions, valid for every organ.
combinations/<organ key>.mpcomb and combinations/<organ key>.<set>.mpcombThe combination sets of one organ.
split/<organ key>.mpsplitThe split keyboard of one organ (Split keyboard).
audio.xmlThe audio device setup, written when Masterpiece quits.
window.txtThe place and size of the main window.
cache/The sample cache, unless Cache folder names another.
masterpiece.log, masterpiece.previous.logThe logs of this session and the one before.

The organ key names a file after the organ and keeps the file when the sample set moves or is renamed. It is the organ’s name reduced to letters and digits (spaces, hyphens and underscores become hyphens, at most 48 characters), a hyphen, and the unique organ identifier of the definition. A definition without an identifier uses p and 16 hexadecimal digits that are a hash of its path.