furnace/README.md

227 lines
7.9 KiB
Markdown
Raw Normal View History

# Furnace Tracker
2022-01-28 06:28:30 +00:00
![screenshot](papers/screenshot1.png)
2021-12-19 08:36:42 +00:00
2022-04-06 19:56:11 +00:00
this is a multi-system chiptune tracker.
2021-05-28 19:15:27 +00:00
2022-04-06 19:57:05 +00:00
[downloads](#downloads) | [discussion/help](#quick-references) | [developer info](#developer-info) | [unofficial packages](#unofficial-packages) | [FAQ](#frequently-asked-questions)
2022-01-28 07:52:48 +00:00
***
## downloads
2022-04-06 19:56:11 +00:00
check out the [Releases](https://github.com/tildearrow/furnace/releases) page. available for Windows, macOS and Linux (AppImage).
2021-05-28 19:15:27 +00:00
## features
2022-01-13 08:05:41 +00:00
- supports the following systems:
- Sega Genesis
- Sega Master System
- Game Boy
- PC Engine
- NES
- Commodore 64
- Yamaha YM2151 (plus PCM)
- Neo Geo
- AY-3-8910 (ZX Spectrum, Atari ST, etc.)
2022-01-14 05:02:10 +00:00
- Microchip AY8930
2022-01-16 06:11:50 +00:00
- Philips SAA1099
- Amiga
2022-01-14 17:23:19 +00:00
- TIA (Atari 2600/7800)
2022-01-11 08:52:26 +00:00
- multiple sound chips in a single song!
2022-03-21 22:59:48 +00:00
- DefleMask compatibility - loads .dmf modules, .dmp instruments and .dmw wavetables
- clean-room design (guesswork and ABX tests only, no decompilation involved)
2021-05-28 19:15:27 +00:00
- bug/quirk implementation for increased playback accuracy
- VGM and audio file export
2022-02-13 23:04:23 +00:00
- accurate emulation cores whether possible (Nuked, MAME, SameBoy, Mednafen PCE, puNES, reSID, Stella, SAASound and ymfm)
2022-01-11 09:55:52 +00:00
- additional features on top:
- FM macros!
- negative octaves
- arbitrary pitch samples
- sample loop points
2022-01-11 08:52:26 +00:00
- SSG envelopes in Neo Geo
- full duty/cutoff range in C64
2022-01-25 09:14:17 +00:00
- ability to change tempo mid-song with `Cxxx` effect (`xxx` between `000` and `3ff`)
2022-02-15 02:59:26 +00:00
- open-source under GPLv2 or later.
2021-05-28 19:15:27 +00:00
***
# quick references
2022-04-06 19:56:11 +00:00
- **discussion**: see the [Discussions](https://github.com/tildearrow/furnace/discussions) section, or (preferably) the [official Discord server](https://discord.gg/EfrwT2wq7z).
- **help**: check out the [documentation](papers/doc/README.md). it's mostly incomplete, but has details on effects.
2022-04-06 19:56:11 +00:00
## unofficial packages
2022-04-06 19:56:11 +00:00
[![Packaging status](https://repology.org/badge/tiny-repos/furnace.svg)](https://repology.org/project/furnace/versions)
2022-03-04 07:46:35 +00:00
some people have provided packages for Unix/Unix-like distributions. here's a list.
- **Arch Linux**: [furnace-git is in the AUR.](https://aur.archlinux.org/packages/furnace-git) thank you Essem!
- **FreeBSD**: [a package in ports](https://www.freshports.org/audio/furnace/) is available courtesy of ehaupt.
- **Nix**: [package](https://search.nixos.org/packages?channel=unstable&show=furnace&from=0&size=50&sort=relevance&type=packages&query=furnace) thanks to OPNA2608.
- **OpenSUSE**: [a package](https://software.opensuse.org/package/furnace) is available, courtesy of fpesari.
2022-03-04 07:46:35 +00:00
***
2021-12-19 18:05:09 +00:00
# developer info
2022-03-14 04:10:52 +00:00
[![Build furnace](https://github.com/tildearrow/furnace/actions/workflows/build.yml/badge.svg)](https://github.com/tildearrow/furnace/actions/workflows/build.yml)
**NOTE: do not download the project's source as a .zip or .tar.gz as these do not include the project's submodules which are necessary to proceed with building. please instead use Git as shown below.**
2022-01-29 03:23:08 +00:00
2021-05-28 19:15:27 +00:00
## dependencies
2021-05-28 20:31:35 +00:00
- CMake
- SDL2
- zlib
2021-06-09 08:33:03 +00:00
- JACK (optional)
2021-05-28 20:31:35 +00:00
2021-12-14 19:33:24 +00:00
SDL2 and zlib are included as submodules.
2021-05-28 19:15:27 +00:00
2022-01-29 03:23:08 +00:00
## getting the source
type the following on a terminal/console: (make sure Git is installed)
```
git clone --recursive https://github.com/tildearrow/furnace.git
cd furnace
```
(the `--recursive` parameter ensures submodules are fetched as well)
2021-05-28 19:15:27 +00:00
## compilation
2022-01-29 03:23:08 +00:00
your typical CMake project.
2021-05-28 19:15:27 +00:00
2021-05-28 20:31:35 +00:00
### Windows using MSVC
2022-01-28 07:52:48 +00:00
as of now tildearrow uses MinGW for Windows builds, but thanks to OPNA2608 this works again!
2021-12-19 08:37:42 +00:00
2021-05-28 20:31:35 +00:00
from the developer tools command prompt:
```
mkdir build
cd build
cmake ..
msbuild ALL_BUILD.vcxproj
```
### macOS and Linux
2021-05-28 19:15:27 +00:00
```
mkdir build
cd build
cmake ..
make
```
Alternatively, build scripts are provided in the `scripts/` folder in the root of the repository.
2021-05-28 19:15:27 +00:00
### CMake options
To add an option from the command-line: `-D<NAME>=<VALUE>`
Example: `cmake -DBUILD_GUI=OFF -DWARNINGS_ARE_ERRORS=ON ..`
Available options:
| Name | Default | Description |
| :--: | :-----: | ----------- |
| `BUILD_GUI` | `ON` if not building for Android, otherwise `OFF` | Build the tracker (disable to build only a headless player) |
| `WITH_JACK` | `ON` if system-installed JACK detected, otherwise `OFF` | Whether to build with JACK support. Auto-detects if JACK is available |
| `SYSTEM_FMT` | `OFF` | Use a system-installed version of fmt instead of the vendored one |
| `SYSTEM_LIBSNDFILE` | `OFF` | Use a system-installed version of libsndfile instead of the vendored one |
| `SYSTEM_ZLIB` | `OFF` | Use a system-installed version of zlib instead of the vendored one |
| `SYSTEM_SDL2` | `OFF` | Use a system-installed version of SDL2 instead of the vendored one |
| `WARNINGS_ARE_ERRORS` | `OFF` (but consider enabling this & reporting any errors that arise from it!) | Whether warnings in furnace's C++ code should be treated as errors |
2021-05-28 19:15:27 +00:00
## usage
```
2021-12-19 18:05:09 +00:00
./furnace
2021-05-28 19:15:27 +00:00
```
2021-12-19 18:05:09 +00:00
this opens the program.
2021-12-07 18:08:48 +00:00
```
2021-12-19 18:05:09 +00:00
./furnace -console <file>
2021-12-07 18:08:48 +00:00
```
2022-01-16 09:43:54 +00:00
this will play a compatible file.
2021-12-07 18:08:48 +00:00
```
2021-12-19 18:05:09 +00:00
./furnace -console -view commands <file>
2021-12-07 18:08:48 +00:00
```
2022-01-16 09:43:54 +00:00
this will play a compatible file and enable the commands view.
2021-12-07 18:08:48 +00:00
**note that these commands only actually work in Linux environments. on other command lines, such as Windows' Command Prompt, or MacOS Terminal, it may not work correctly.**
***
2021-12-11 18:30:06 +00:00
# notes
2022-01-11 08:52:26 +00:00
> how do I use Neo Geo SSG envelopes?
the following effects are provided:
- `22xy`: set envelope mode.
- `x` sets the envelope shape, which may be one of the following:
- `0: \___` decay
- `4: /___` attack once
- `8: \\\\` saw
- `9: \___` decay
- `A: \/\/` inverse obelisco
- `B: \¯¯¯` decay once
- `C: ////` inverse saw
- `D: /¯¯¯` attack
- `E: /\/\` obelisco
- `F: /___` attack once
- if `y` is 1 then the envelope will affect this channel.
- `23xx`: set envelope period low byte.
- `24xx`: set envelope period high byte.
- `25xx`: slide envelope period up.
- `26xx`: slide envelope period down.
2022-01-11 08:52:26 +00:00
a lower envelope period will make the envelope run faster.
***
2022-04-06 19:56:11 +00:00
# frequently asked questions
2022-01-11 23:57:26 +00:00
> how do I use C64 absolute filter/duty?
on Instrument Editor in the C64 tab there are two options to toggle these.
also provided are two effects:
- `3xxx`: set fine duty.
- `4xxx`: set fine cutoff. `xxx` range is 000-7ff.
additionally, you can change the cutoff and/or duty as a macro inside an instrument by clicking the `absolute cutoff macro` and/or `absolute duty macro` checkbox at the bottom of the instrument. (for the filter, you also need to click the checkbox that says `volume macro is cutoff macro`.)
2022-01-11 23:57:26 +00:00
> Q: how do I use PCM on a PCM-capable system?
A: Two possibilities: the recommended way is via creating the "Amiga/Sample" type instrument and assigning sample to it, or via old, Deflemask-compatible method, using `17xx` effect
2021-12-11 18:30:06 +00:00
> Q: my song sounds very odd at a certain point
2021-12-11 18:30:06 +00:00
A: file a bug report. use the Issues page. it's probably another playback inaccuracy.
2021-12-11 18:41:37 +00:00
> Q: my song sounds correct, but it doesn't in DefleMask
2021-12-11 18:41:37 +00:00
A: file a bug report **here**. it still is a playback inaccuracy.
2022-01-11 08:52:26 +00:00
> Q: my C64 song sounds terrible after saving as .dmf!
2022-01-11 08:52:26 +00:00
A: that's a limitation of the DefleMask format. save in Furnace song format instead (.fur).
> Q: how do I solo channels?
A: right click on the channel name.
2022-02-15 02:59:26 +00:00
***
2022-02-15 02:59:26 +00:00
# footnotes
copyright (C) 2021-2022 tildearrow and contributors.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
2022-02-15 03:01:11 +00:00
despite the fact this program works with the .dmf file format, it is NOT affiliated with Delek or DefleMask in any way, nor it is a replacement for the original program.