| 1 |
# export |
| 2 |
|
| 3 |
Furnace allows you to export your song in several formats. this section deals with describing the available export options. |
| 4 |
|
| 5 |
## audio |
| 6 |
|
| 7 |
this option allows you to export your song in .wav format. I know I know, no .mp3 or .ogg export yet, but you can use a converter. |
| 8 |
|
| 9 |
- **Export type**: |
| 10 |
- **one file**: exports your song to one .wav file. |
| 11 |
- **multiple files (one per chip)**: exports the output of each chip to .wav files. |
| 12 |
- **multiple files (one per channel)**: exports the output of each channel to .wav files. |
| 13 |
- useful for usage with a channel visualizer such as corrscope. |
| 14 |
- **Bit depth**: default is 16-bit integer. |
| 15 |
- **Sample rate**: affects the quality of the output file. |
| 16 |
- default is 44100, "CD quality". |
| 17 |
- lower sample rates lose fidelity as upper frequencies disappear. |
| 18 |
- higher sample rates gain frequencies that can't be heard at the cost of file size and rendering time. |
| 19 |
- **Channels in file**: default is 2 (stereo). Set to 1 for mono. |
| 20 |
- **Loops**: sets the number of times the song will loop. |
| 21 |
- does not have effect if the song ends with `FFxx` effect. |
| 22 |
- **Fade out (seconds)**: sets the fade out time when the song is over. |
| 23 |
- does not have effect if the song ends with `FFxx` effect. |
| 24 |
|
| 25 |
## VGM |
| 26 |
|
| 27 |
this option allows exporting to a VGM (Video Game Music) file. these can be played back with VGMPlay (for example). |
| 28 |
|
| 29 |
the following settings exist: |
| 30 |
|
| 31 |
- **format version**: sets the VGM format version to use. |
| 32 |
- versions under 1.70 do not support per-chip volumes, and therefore will ignore the Mixer completely. |
| 33 |
- other versions may not support all chips. |
| 34 |
- use this option if you need to export for a quirky player or parser. |
| 35 |
- for example, RYMCast is picky with format versions. if you're going to use this player, select 1.60. |
| 36 |
- **loop**: includes loop information. if disabled, the resulting file won't loop. |
| 37 |
- **loop trail**: sets how much of the song is written after it loops. |
| 38 |
- the reason this exists is to work around a VGM format limitation in where post-loop state isn't recorded at all. |
| 39 |
- this may change the song length as it appears on a player. |
| 40 |
- **auto-detect**: detect how much to write automatically. |
| 41 |
- **add one loop**: add one more loop. |
| 42 |
- **custom**: allows you to specify how many ticks to add. |
| 43 |
- `0` is effectively none, disabling loop trail completely. |
| 44 |
- this option will not appear if the loop modality isn't set to None as there wouldn't be a need to. |
| 45 |
- **add pattern change hints**: this option adds a "hint" when a pattern change occurs. only useful if you're a developer. |
| 46 |
- the format of the "hint" data block that gets written is: `67 66 FE ll ll ll ll 01 oo rr pp pp pp ...` |
| 47 |
- `ll`: length, a 32-bit little-endian number |
| 48 |
- `oo`: order |
| 49 |
- `rr`: initial row (a 0Dxx effect is able to select a different row) |
| 50 |
- `pp`: pattern index (one per channel) |
| 51 |
- **direct stream mode**: this option allows DualPCM to work. don't use this for other chips. |
| 52 |
- may or may not play well with hardware VGM players. |
| 53 |
- **chips to export**: select which chips are going to be exported. |
| 54 |
- due to VGM format limitations, you can only select up to two of each chip type. |
| 55 |
- some chips will not be available, either because VGM doesn't support these yet, or because you selected an old format version. |
| 56 |
- **speed drift compensation**: |
| 57 |
- **none**: normal export. |
| 58 |
- **DeadFish VgmPlay (1.02×)**: adjusts speed to account for inaccuracy in [VgmPlay](https://www.mjsstuf.x10host.com/pages/vgmPlay/vgmPlay.htm), a Sega Genesis VGM player by DeadFish. |
| 59 |
|
| 60 |
## ZSM |
| 61 |
|
| 62 |
ZSM (ZSound Music) is a format designed for the Commander X16 to allow hardware playback. |
| 63 |
it may contain data for either YM2151 or VERA chips. |
| 64 |
Calliope is one of the programs that supports playback of ZSM files. |
| 65 |
|
| 66 |
the following settings are available: |
| 67 |
|
| 68 |
- **Tick Rate (Hz)**: select the tick rate the song will run at. |
| 69 |
- I suggest you use the same rate as the song's. |
| 70 |
- apparently ZSM doesn't support changing the rate mid-song. |
| 71 |
- **loop**: enables loop. if disabled, the song won't loop. |
| 72 |
- **optimize size**: removes unnecessary commands to reduce size. |
| 73 |
|
| 74 |
## ROM |
| 75 |
|
| 76 |
depending on the system, this option may appear to allow you to export your song to a working ROM image or code that can be built into one. export options are explained in the system's accompanying documentation. |
| 77 |
|
| 78 |
the following formats and systems are supported: |
| 79 |
- TIunA assembly, using [Atari 2600 (with software pitch driver)](../7-systems/tia.md). |
| 80 |
- iPod .tone alarm, using [PC Speaker](../7-systems/pcspkr.md). |
| 81 |
- GRUB_INIT_TUNE, using [PC Speaker](../7-systems/pcspkr.md). |
| 82 |
|
| 83 |
## text |
| 84 |
|
| 85 |
this option allows you to export your song as a text file. |
| 86 |
|
| 87 |
## command stream |
| 88 |
|
| 89 |
this option exports a binary file in Furnace's own command stream format (FCS) which contains a dump of the internal command stream produced when playing the song. |
| 90 |
|
| 91 |
it's not really useful, unless you're a developer and want to use a command stream dump for some reason (e.g. writing a hardware sound driver). see `export-tech.md` in `papers/` for details. |
| 92 |
|
| 93 |
## DMF |
| 94 |
|
| 95 |
this option allows you to save your song as a .dmf which can be opened in DefleMask. |
| 96 |
|
| 97 |
the following systems are supported when saving as 1.0/legacy (0.12): |
| 98 |
- Sega Genesis/Mega Drive (YM2612 + SN76489) |
| 99 |
- Sega Genesis/Mega Drive (YM2612 + SN76489, extended channel 3) |
| 100 |
- Sega Master System |
| 101 |
- Game Boy |
| 102 |
- PC Engine |
| 103 |
- NES |
| 104 |
- Commodore 64 |
| 105 |
- Arcade (YM2151 + SegaPCM 5-channel compatibility) |
| 106 |
- Neo Geo CD (DefleMask 1.0+) |
| 107 |
|
| 108 |
the following systems are also supported when saving as 1.1.3+: |
| 109 |
- Sega Master System (with FM expansion) |
| 110 |
- NES + Konami VRC7 |
| 111 |
- Famicom Disk System |
| 112 |
|
| 113 |
only use this option if you really need it. there are many features which DefleMask does not support, such as a variety of effects, FM macros and pitched samples, so these will be lost. |