furnace/doc/4-instrument
2024-09-13 23:46:13 -05: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 ok why are these CRLF?! 2024-01-13 17:11:21 -05:00
bifurcator.md sort instruments by alphabetical order in doc 2024-04-26 12:36:53 -05:00
c64.md a couple corrections 2024-09-13 23:08:25 -05: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
dave.md I did it 2024-02-04 03:02:12 -05: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-esfm.md De-capitalize Part 2 2024-04-09 12:39:06 -05:00
fm-opl.md De-capitalize Part 2 2024-04-09 12:39:06 -05:00
fm-opll.md De-capitalize Part 2 2024-04-09 12:39:06 -05:00
fm-opm.md De-capitalize Part 2 2024-04-09 12:39:06 -05:00
fm-opn.md Docs updates. 2024-09-06 01:57:01 -05:00
fm-opz.md De-capitalize Part 2 2024-04-09 12:39:06 -05: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
gbadma.md release v0.6.2 2024-04-01 00:50:41 -05:00
gbaminmod.md release v0.6.2 2024-04-01 00:50:41 -05:00
instrument-editor-top.png Updated images. 2024-09-05 19:26:35 -05: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 more updates 2024-02-02 22:36:15 -05:00
macro-ADSR.png Small doc updates. 2023-12-09 22:55:02 -05:00
macro-ADSRchart.png A zillion new images for docs. (#1176) 2023-06-23 23:23:28 -05:00
macro-button-ADSR.png Small doc updates. 2023-12-09 22:55:02 -05:00
macro-button-LFO.png Small doc updates. 2023-12-09 22:55:02 -05:00
macro-button-seq.png Doc images updates. 2023-09-10 13:15:46 -07:00
macro-LFO.png Small doc updates. 2023-12-09 22:55:02 -05:00
macro-seq-bitmask.png improve images in instrument editor doc 2024-02-02 22:25:45 -05:00
macro-seq-clip.png improve images in instrument editor doc 2024-02-02 22:25:45 -05:00
macro-seq.png improve images in instrument editor doc 2024-02-02 22:25:45 -05:00
macroview.png improve images in instrument editor doc 2024-02-02 22:25:45 -05:00
msm5232.md ok why are these CRLF?! 2024-01-13 17:11:21 -05: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
nds.md release v0.6.2 2024-04-01 00:50:41 -05:00
nes.md ok why are these CRLF?! 2024-01-13 17:11:21 -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 ok why are these CRLF?! 2024-01-13 17:11:21 -05:00
pokey.md ok why are these CRLF?! 2024-01-13 17:11:21 -05:00
powernoise.md more updates 2024-02-02 22:36:15 -05:00
psg.md Update psg.md 2024-04-09 12:29:15 -05:00
pv1000.md De-capitalization of docs (and little typo fixes) 2023-09-10 10:16:55 -07:00
qsound.md Update qsound.md 2024-01-27 03:04:58 -05:00
README.md SID3 docs, part 1... 2024-08-17 19:57:33 +03: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 Updated images. 2024-09-05 19:26:35 -05: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
sid2.md a couple corrections 2024-09-13 23:08:25 -05:00
sid3.md a couple corrections 2024-09-13 23:08:25 -05: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 ok why are these CRLF?! 2024-01-13 17:11:21 -05: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 update PowerNoise doc 2024-01-27 18:01:28 -05:00
wavesynth.md De-capitalization of docs (and little typo fixes) 2023-09-10 10:16:55 -07:00
wavetable.png Updated image for inst. editor wavetable tab. 2023-12-13 14:35:57 -05: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 allows you to edit instruments. it can be activated by double-clicking on an instrument in the instrument list.

alternatively, window > instrument editor displays it.

main

top of instrument editor

  • Select: displays a list of instruments in the song.
  • Load: open an instrument file.
  • Save: save current instrument to a file.
    • right-click to see additional options, such as saving in DefleMask preset format (.dmp).
  • Name: changes the instrument name.
  • Type: changes the instrument type (usually chip-specific).
    • if changed, all applicable settings and macros will remain unchanged.
    • you may have to adjust them afterwards.

instrument types

the following instrument types are available:

  • ADPCM-A - for use with ADPCM-A sample chip.
  • ADPCM-B - for use with ADPCM-B sample chip.
  • Atari Lynx - for use with Atari Lynx handheld console.
  • 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.
  • Beeper - for use with PC Speaker and ZX Spectrum Beeper (SFX-like engine).
  • Bifurcator - for use with Bifurcator chip.
  • C140 - for use with C140 sample chip.
  • C219 - for use with C219 sample chip.
  • C64 - for use with Commodore 64 SID.
  • Dave - for use with Dave chip.
  • ES5506 - for use with Ensoniq ES5506 sound chip.
  • FDS - for use with Famicom Disk System sound source.
  • FM (ESFM) - for use with ESFM.
  • FM (OPL) - for use with YM3526 (OPL), YM3812 (OPL2) and YMF262 (OPL3).
  • FM (OPLL) - for use with YM2413.
  • FM (OPM) - for use with YM2151.
  • FM (OPN) - for use with YM2612, YM2203, YM2608, YM2610 and YM2610B.
  • FM (OPZ) - for use with YM2414.
  • GA20 - for use with GA20 sample chip.
  • Game Boy Advance DMA - for use with Game Boy Advance in direct mode.
  • Game Boy Advance MinMod - for use with Game Boy Advance with the MinMod software mixing driver.
  • Game Boy - for use with Game Boy APU.
  • 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.
  • K007232 - for use with K007232 sample chip.
  • K053260 - for use with K053260 sample chip.
  • Konami SCC/Bubble System WSG - for use with Konami SCC and Wavetable portion in Bubble System's sound hardware.
  • MSM5232 - for use with MSM5232 PSG sound source.
  • MSM6258 - for use with MSM6258 sample chip.
  • MSM6295 - for use with MSM6295 sample chip.
  • Namco 163 - for use with Namco 163.
  • Namco WSG - for use with Namco WSG wavetable chips, including C15 and C30.
  • NES - for use with NES.
  • PC Engine - for use with PC Engine's wavetable synthesizer.
  • PET - for use with Commodore PET.
  • Pokémon Mini/QuadTone - for use with these systems.
  • POKEY - for use with Atari 8-bit computers and their POKEY sound source.
  • PowerNoise - for use with PowerNoise chip.
  • PV-1000 - for use with Casio PV-1000.
  • QSound - for use with QSound sample chip.
  • RF5C68 - for use with RF5C68 sample chip.
  • SAA1099 - for use with Philips SAA1099 PSG sound source.
  • SegaPCM - for use with SegaPCM sample chip.
  • Seta/Allumer X1-010 - for use with Wavetable portion in Seta/Allumer X1-010.
  • SID2 - for use with SID2 fantasy chip.
  • SID3 - for use with SID3 fantasy chip.
  • SM8521 - for use with SM8521 chip, used in Tiger Game.com.
  • SN76489/Sega PSG - for use with TI SN76489 and derivatives like Sega Master System's PSG.
  • SNES - for use with SNES.
  • Sound Unit - for use with Sound Unit chip.
  • T6W28 - for use with Toshiba T6W28 PSG sound source.
  • TED - for use with Commodore Plus/4 and Commodore 16's TED chip.
  • TIA - for use with Atari 2600 chip.
  • VERA - for use with Commander X16 VERA.
  • VIC - for use with VIC-20 sound chip.
  • Virtual Boy - for use with Virtual Boy.
  • VRC6 - for use with VRC6's PSG sound source.
  • WonderSwan - for use with WonderSwan's wavetable synthesizer.
  • YMZ280B - for use with YMZ280B 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 is a matching scrollbar at the bottom underneath all the macros.

each macro has the following parameters:

  • macro type (explained below)
  • timing options:
    • Step Length (ticks): determines the number of ticks between macro steps. default is 1.
    • Delay: delays the macro until this many ticks have elapsed. default is 0.
    • the button is highlighted if either of these parameters is set to non-default values.

macro types

there are three macro types:

  • sequence Sequence: a sequence of numeric values.
  • ADSR ADSR: this is an attack/decay/sustain/release envelope.
  • LFO LFO: Low Frequency Oscillator.

sequence

this is the most basic macro type. when the instrument is played, every value in the macro will be output sequentially, from left to right.

sequence macro editor

clipped sequence macro editor

bitmask sequence macro editor

the Length field allows you to set the number of steps in the sequence.

the sequence view allows you to edit the macro.

  • press and hold the left mouse button to start drawing. release to stop drawing.
  • press and hold the right mouse button to draw a line.
    • the start point will be set to the cursor position.
    • move the cursor to change the end point.
    • release to finish drawing the line.

the sequence view may be adjusted using the following combinations:

  • hold Ctrl and use the scroll wheel to zoom horizontally.
  • hold Ctrl-Shift and use the scroll wheel to zoom vertically.
  • the scrollbar at the right allows you to scroll vertically (if possible).
  • you may hold Shift and use the scroll wheel to scroll vertically as well.

right-click on the sequence view to open a menu:

  • copy: copy this macro to clipboard.
  • paste: pastes the macro.
  • clear: clears the macro.
  • clear contents: resets all values to 0.
  • offset:
    • X: slides the data "horizontally" within the macro, filling the gap with zeroes. data moved past the start or end is lost.
    • Y: increases or decreases all values, clipping them if they would move past the allowed range.
  • scale:
    • X: stretches the macro.
    • Y: multiplies all values by the scale factor, clipping them if they would exceed the allowed range.
  • randomize: replaces all values with random values between Min and Max.

arpeggio and pitch macros may have values above or below the visible area. indicators will be shown until they are scrolled into view.

bitmask-style macros show labels for each of their bits. these are edited as toggles.

  • drawing lines is not possible in these macros.

under the sequence view there is a bar that allows you to set loop and release points.

  • click to set the loop start point; the end point is the last step or release point.
    • right-click to remove the loop point.
  • shift-click to set the release point.
    • the macro will stop at the release point until the note is released (=== or REL).
      • if the loop point is set, and it is placed before the release point, the macro will loop until note release instead.
    • shift-right-click to remove the release point.

arpeggio macros have an additional bar under the sequence view to set steps to "relative" or "fixed":

  • by default, step values are offsets relative to the note.
  • if clicked on, a step value becomes fixed and will be played at its corresponding note without regard to the currently playing note.
    • values are counted from C-0. for example, a fixed value of 48 produces a C-4 note.
    • fixed values are especially useful for noise or percussion.

the sequence can be edited in the text input field at the very bottom. the following symbols have special meanings:

  • |: loop point.
  • /: release point.
  • in arpeggio macros, @ prefixed to a value indicates that it is a fixed value as described above.

in bitmask-style macros, the values are added up in binary and converted to decimal.

the release mode parameter determines how macro release (=== or REL in the pattern) is handled:

  • Active: jumps to release position on release.
  • Passive: does not jump to release position. this will result in delay if release position has not been reached yet.

ADSR

ADSR macro editor

  • Bottom and Top determine the macro's output range (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.
    • the output starts at Bottom.
    • Attack is how much the output moves toward Top with each tick.
    • Hold sets how many ticks to stay at Top before Decay.
    • Decay is how much the output moves to the Sustain level.
    • Sustain is how far from Bottom the value stays while the note is on.
    • SusTime is how many ticks to stay at Sustain until SusDecay.
    • SusDecay is how much the output moves toward Bottom with each tick while the note is on.
    • Release is how much the output moves toward Bottom with each tick after the note is released.

macro ADSR chart

LFO

LFO macro editor

  • Bottom and Top determine the macro's output range (Bottom can be larger than Top to invert the waveform!).
  • Speed is how quickly the LFO position moves.
  • Phase defines the starting LFO position, measured in 1/1024 increments.
  • Shape is the waveform of the LFO. there are three waveforms:
    • Triangle: Bottom > Top > Bottom.
    • Saw: moves from Bottom to Top, and then jumps back to Bottom.
    • Square: alternates between Bottom and Top.

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.