furnace/doc/4-instrument
2023-11-03 09:19:39 +03:00
..
adpcm-a.md De-capitalization of docs (and little typo fixes) 2023-09-10 10:16:55 -07:00
adpcm-b.md De-capitalization of docs (and little typo fixes) 2023-09-10 10:16:55 -07:00
ay8910.md De-capitalization of docs (and little typo fixes) 2023-09-10 10:16:55 -07:00
ay8930.md De-capitalization of docs (and little typo fixes) 2023-09-10 10:16:55 -07:00
beeper.md doc finalization: instrument 2023-09-09 23:11:43 -05:00
c64.md Clearer ch3off bit explanation 2023-11-03 09:19:39 +03:00
c140.md De-capitalization of docs (and little typo fixes) 2023-09-10 10:16:55 -07:00
c219.md De-capitalization of docs (and little typo fixes) 2023-09-10 10:16:55 -07:00
es5506.md De-capitalization of docs (and little typo fixes) 2023-09-10 10:16:55 -07:00
fds.md De-capitalization of docs (and little typo fixes) 2023-09-10 10:16:55 -07:00
FM-ADSRchart.png FM ADSR chart and tutorial link. 2023-07-23 11:33:30 -07:00
fm-opl.md Revert "Revert "Revert "Fixed typos" (#1121)"" 2023-09-12 23:28:45 -05:00
fm-opll.md Revert "Revert "Revert "Fixed typos" (#1121)"" 2023-09-12 23:28:45 -05:00
fm-opm.md Revert "Revert "Revert "Fixed typos" (#1121)"" 2023-09-12 23:28:45 -05:00
fm-opn.md Revert "Revert "Revert "Fixed typos" (#1121)"" 2023-09-12 23:28:45 -05:00
fm-opz.md Update fm-opz.md 2023-09-24 11:35:27 -07:00
ga20.md De-capitalization of docs (and little typo fixes) 2023-09-10 10:16:55 -07:00
game-boy.md De-capitalization of docs (and little typo fixes) 2023-09-10 10:16:55 -07:00
instrument-editor-top.png Doc images updates. 2023-09-10 13:15:46 -07:00
instrument-wavetable.png Doc images updates. 2023-09-10 13:15:46 -07:00
k007232.md De-capitalization of docs (and little typo fixes) 2023-09-10 10:16:55 -07:00
k053260.md De-capitalization of docs (and little typo fixes) 2023-09-10 10:16:55 -07:00
lynx.md De-capitalization of docs (and little typo fixes) 2023-09-10 10:16:55 -07:00
macro-ADSR.png A couple more slight edits. 2023-08-30 14:13:06 -07:00
macro-ADSRchart.png A zillion new images for docs. (#1176) 2023-06-23 23:23:28 -05:00
macro-button-ADSR.png Doc images updates. 2023-09-10 13:15:46 -07:00
macro-button-LFO.png Doc images updates. 2023-09-10 13:15:46 -07:00
macro-button-seq.png Doc images updates. 2023-09-10 13:15:46 -07:00
macro-LFO.png Updated images for macro buttons. 2023-10-11 21:26:00 -05:00
macro-seq.png Updated images for macro buttons. 2023-10-11 21:26:00 -05:00
macroview.png A zillion new images for docs. (#1176) 2023-06-23 23:23:28 -05:00
msm5232.md De-capitalization of docs (and little typo fixes) 2023-09-10 10:16:55 -07:00
msm6258.md De-capitalization of docs (and little typo fixes) 2023-09-10 10:16:55 -07:00
msm6295.md De-capitalization of docs (and little typo fixes) 2023-09-10 10:16:55 -07:00
n163.md De-capitalization of docs (and little typo fixes) 2023-09-10 10:16:55 -07:00
nes.md GUI: better DPCM mapping, part 2 2023-10-13 19:57:36 -05:00
pce.md De-capitalization of docs (and little typo fixes) 2023-09-10 10:16:55 -07:00
pet.md De-capitalization of docs (and little typo fixes) 2023-09-10 10:16:55 -07:00
pokemini.md doc finalization: instrument 2023-09-09 23:11:43 -05:00
pokey.md De-capitalization of docs (and little typo fixes) 2023-09-10 10:16:55 -07:00
psg.md De-capitalization of docs (and little typo fixes) 2023-09-10 10:16:55 -07:00
pv1000.md De-capitalization of docs (and little typo fixes) 2023-09-10 10:16:55 -07:00
qsound.md De-capitalization of docs (and little typo fixes) 2023-09-10 10:16:55 -07:00
README.md dev182 - add a different macro release strat 2023-10-11 03:36:21 -05:00
rf5c68.md De-capitalization of docs (and little typo fixes) 2023-09-10 10:16:55 -07:00
saa.md De-capitalization of docs (and little typo fixes) 2023-09-10 10:16:55 -07:00
sample-map.png Doc images updates. 2023-09-10 13:15:46 -07:00
sample.md GUI: better DPCM mapping, part 2 2023-10-13 19:57:36 -05:00
scc.md De-capitalization of docs (and little typo fixes) 2023-09-10 10:16:55 -07:00
segapcm.md De-capitalization of docs (and little typo fixes) 2023-09-10 10:16:55 -07:00
sm8521.md De-capitalization of docs (and little typo fixes) 2023-09-10 10:16:55 -07:00
snes.md De-capitalization of docs (and little typo fixes) 2023-09-10 10:16:55 -07:00
su.md doc finalization: instrument 2023-09-09 23:11:43 -05:00
t6w28.md De-capitalization of docs (and little typo fixes) 2023-09-10 10:16:55 -07:00
ted.md doc finalization: instrument 2023-09-09 23:11:43 -05:00
tia.md De-capitalization of docs (and little typo fixes) 2023-09-10 10:16:55 -07:00
vera.md doc finalization: instrument 2023-09-09 23:11:43 -05:00
vic.md De-capitalization of docs (and little typo fixes) 2023-09-10 10:16:55 -07:00
virtual-boy.md De-capitalization of docs (and little typo fixes) 2023-09-10 10:16:55 -07:00
vrc6.md only one header per doc file 2023-09-10 19:34:13 -05:00
wavesynth.md De-capitalization of docs (and little typo fixes) 2023-09-10 10:16:55 -07:00
wavetable.png Doc images updates. 2023-09-10 13:15:46 -07:00
wonderswan.md doc finalization: instrument 2023-09-09 23:11:43 -05:00
wsg.md Namco WSG: fix noise mode 2023-09-26 12:23:38 -05:00
x1_010.md doc finalization: instrument 2023-09-09 23:11:43 -05:00
ymz280b.md De-capitalization of docs (and little typo fixes) 2023-09-10 10:16:55 -07:00

instrument editor

the instrument editor always starts with this section:

top of instrument editor

  • top-left numeric dropdown: instrument selector.
  • folder icon: open an instrument file.
  • save icon: save current instrument as a file.
    • right-clicking gives the option to save a .dmp format DefleMask preset.
  • Name: instrument name.
  • Type: the system for which the instrument is intended.
    • if changed, all applicable settings and macros will remain as they are. numbers will not be adjusted.

instrument types

the following instrument types are available:

  • SN76489/Sega PSG - for use with TI SN76489 and derivatives like Sega Master System's PSG.
  • FM (OPN) - for use with YM2612, YM2203, YM2608, YM2610 and YM2610B.
  • Game Boy - for use with Game Boy APU.
  • C64 - for use with Commodore 64 SID.
  • Generic Sample for controlling Amiga and other sample channels/chips like YM2612's Channel 6 PCM mode, NES channel 5, Sega PCM, X1-010 and PC Engine's sample playback mode.
  • PC Engine - for use with PC Engine's wavetable synthesizer.
  • AY-3-8910/SSG - for use with AY-3-8910 PSG sound source and SSG portion in YM2610.
  • AY8930 - for use with Microchip AY8930 E-PSG sound source.
  • TIA - for use with Atari 2600 chip.
  • SAA1099 - for use with Philips SAA1099 PSG sound source.
  • VIC - for use with VIC-20 sound chip.
  • PET - for use with Commodore PET.
  • VRC6 - for use with VRC6's PSG sound source.
  • FM (OPLL) - for use with YM2413.
  • FM (OPL) - for use with YM3526 (OPL), YM3812 (OPL2) and YMF262 (OPL3).
  • FDS - for use with Famicom Disk System sound source.
  • Virtual Boy - for use with Virtual Boy.
  • Namco 163 - for use with Namco 163.
  • Konami SCC/Bubble System WSG - for use with Konami SCC and Wavetable portion in Bubble System's sound hardware.
  • FM (OPZ) - for use with YM2414.
  • POKEY - for use with Atari 8-bit computers and their POKEY sound source.
  • Beeper - for use with PC Speaker and ZX Spectrum Beeper (SFX-like engine).
  • WonderSwan - for use with WonderSwan's wavetable synthesizer.
  • Atari Lynx - for use with Atari Lynx handheld console.
  • VERA - for use with Commander X16 VERA.
  • Seta/Allumer X1-010 - for use with Wavetable portion in Seta/Allumer X1-010.
  • ES5506 - for use with Ensoniq ES5506 sound chip.
  • SNES - for use with SNES.
  • Sound Unit - for use with Sound Unit chip.
  • Namco WSG - for use with Namco WSG wavetable chips, including C15 and C30.
  • FM (OPM) - for use with YM2151.
  • NES - for use with NES.
  • MSM6258 - for use with MSM6258 sample chip.
  • MSM6295 - for use with MSM6295 sample chip.
  • ADPCM-A - for use with ADPCM-A sample chip.
  • ADPCM-B - for use with ADPCM-B sample chip.
  • SegaPCM - for use with SegaPCM sample chip.
  • QSound - for use with QSound sample chip.
  • YMZ280B - for use with YMZ280B sample chip.
  • RF5C68 - for use with RF5C68 sample chip.
  • MSM5232 - for use with MSM5232 PSG sound source.
  • T6W28 - for use with Toshiba T6W28 PSG sound source.
  • K007232 - for use with K007232 sample chip.
  • GA20 - for use with GA20 sample chip.
  • Pokémon Mini/QuadTone - for use with these systems.
  • SM8521 - for use with SM8521 chip, used in Tiger Game.com.
  • PV-1000 - for use with Casio PV-1000.
  • K053260 - for use with K053260 sample chip.
  • TED - for use with Commodore Plus/4 and Commodore 16's TED chip.
  • C140 - for use with C140 sample chip.
  • C219 - for use with C219 sample chip.

macros

macros are incredibly versatile tools for automating instrument parameters.

after creating an instrument, open the Instrument Editor and select the "Macros" tab. there may be multiple macro tabs to control individual FM operators and such.

macro view

the very first numeric entry sets the visible width of the bars in sequence-type macros. the scrollbar affects the view of all macros at once. there's a matching scrollbar at the bottom underneath all the macros.

each macro has two buttons on the left.

  • macro type (explained below).
  • timing editor, which pops up a small dialog:
    • Step Length (ticks): determines how many ticks pass before each change of value. default is 1.
    • Delay: delays the start of the macro until this many ticks have passed. default is 0.
    • the button is highlighted if either of these is set differently from default.
  • release mode. this determines how macro release is handled:
    • Active: jumps to release position.
    • Passive: does not jump to release position. if release position hasn't been reached yet, there will be a delay.

macro types

every macro can be defined though one of three methods, selectable with the leftmost button under the macro type label:

  • sequence Sequence: displayed as a bar graph, this is a sequence of numeric values.
  • ADSR ADSR: this is a traditional ADSR envelope, defined by the rate of increase and decrease of value over time.
  • LFO LFO: the Low Frequency Oscillator generates a repeating wave of values.

some macros are "bitmap" style. they represent a number of "bits" that can be toggled individually, and the values listed represent the sum of which bits are turned on.

sequence

sequence macro editor

the number between the macro type label and the macro type button is the macro length in steps. the - and + buttons change the length of the macro. start out by adding at least a few steps.

the values of the macro can be drawn in the "bar graph" box.

just beneath the box is a shorter bar that controls looping.

  • click to set the start point of a loop; the end point is the last value or release point. it appears as half-height bars. right-click to remove the loop.
  • shift-click to set the release point. when played, the macro will hold here until the note is released. it appears as a full-height bar. right-click to remove the release point.

finally, the sequence of values can be directly edited in the text box at the bottom.

  • the loop start is entered as a |.
  • the release point is entered as a /.
  • in arpeggio macros, a value starting with a @ is an absolute note (instead of a relative shift). no matter the note entered in the pattern, @ values will be played at that exact note. this is especially useful for noise instruments with preset periods.

ADSR

ADSR macro editor

  • Bottom and Top determine the range of outputs generated by the macro. (Bottom can be larger than Top to invert the envelope!) All outputs will be between these two values.
  • attack, Decay, Sustain, SusDecay, and Release accept inputs between 0 to 255. these are scaled to the distance between Bottom and Top.
  • Attack is how much the value moves toward Top with each tick.
  • Hold sets how many ticks to stay at Top before Decay.
  • Decay is how much the value moves to the Sustain level.
  • Sustain is how far from Bottom the value stays while the note is held.
  • SusTime is how many ticks to stay at Sustain until SusDecay.
  • SusDecay is how much the value moves toward Bottom with each tick while the note is held.
  • Release is how much the value moves toward Bottom with each tick after the note is released.

macro ADSR chart

LFO

LFO macro editor

  • Bottom and Top determine the range of values generated by the macro. (Bottom can be larger than Top to invert the waveform!)
  • Speed is how quickly the values change - the frequency of the oscillator.
  • Phase is which part of the waveform the macro will start at, measured in 1/1024 increments.
  • Shape is the waveform used. triangle is the default, and Saw and Square are exactly as they say.

wavetable

this tab appears for PC Engine, FDS, Namco WSG, and other wavetable-based instruments.

wavetable tab

when Enable synthesizer is off, the wavetable used for the instrument may be selected by creating a Waveform macro with a single value.

to use the wavetable synthesizer, refer to the wavetable synthesizer section.

sample

this tab appears for Generic PCM DAC, Amiga and SNES.

sample tab

see the Generic Sample section for more information.