Skip to content
slaygonPublic

About

SIDbase is a modern DAW-like music editor for creating Commodore 64 music. Originally created in 1989 by Slaygon of Censor Design.

Topics

Resources

Stars

13 stars

Watchers

0 watching

Forks

Repository files navigation

SIDbase

SIDbase's main view: the arrangement on three voices, each voice's scope, and the output

SIDbase is a music editor for the Commodore 64's SID chip, laid out like a modern DAW: a song is clips arranged on the SID's three voices, notes are drawn in a piano roll, and instruments are shaped on lanes and curves. For those who prefer one, there is a tracker view as well.

What you hear while you edit is the real thing. The editor runs SIDbase's own 6502 player on an emulated 6502 and plays every write it makes to the SID through reSIDfp, at the cycle it makes it, so the song you hear is the song it exports as a .sid file. Songs from GoatTracker 2, SID Factory II and SID-Wizard can be imported to go on working on them here.

Building

SIDbase is written in Rust, with the SID emulation in C++. With a Rust toolchain (https://rustup.rs) and a C++ compiler installed:

cd editor/egui
cargo build --release

builds the editor as editor/egui/target/release/sidbase. rustup installs the version of Rust that rust-toolchain.toml names on the first build.

  • Linux: also the ALSA development package -- on Debian and Ubuntu, build-essential pkg-config libasound2-dev.
  • Windows: the Microsoft C++ build tools, which the Rust installer offers to set up, and LLVM (https://llvm.org/), whose libclang the build uses for audio interfaces' own drivers: set LIBCLANG_PATH to the folder holding libclang.dll if LLVM is not where its installer puts it. The first build downloads Steinberg's SDK for those drivers, unless CPAL_ASIO_DIR names a copy of it.
  • macOS: the Xcode command line tools (xcode-select --install).

What is where

  • editor/sidcore -- the engine: the song model, the packer that turns a song into the player's data, the 6502 emulator and assembler the editor plays songs on, the importers, and the glue to reSIDfp.
  • editor/egui -- the editor itself, built with egui.
  • egui-daw -- the widget kit the editor is built with: the clip timeline, the piano roll, knobs, scopes and the theme. It is MIT-licensed, so other projects can use it on their own.
  • player/c2/player3.s -- the player, in 6502 assembly for the c2 assembler (https://github.com/Hammarberg/c2). player3.flat.s is generated from it by tools/preexpand.py, and is what the editor assembles for every song.
  • editor/csrc/residfp -- reSIDfp, the SID emulation; editor/vendor/egui-winit -- egui's window glue, with a few local changes marked in its source.

Credits

SIDbase by Kenneth 'Slaygon' Mutka.

With great inspiration from GoatTracker 2 by Lasse 'Cadaver' Öörni, SID Factory II and in particular Driver 11.x by Thomas Egeskov Petersen (Laxity), SID-Wizard by Mihály 'Hermit' Horváth, and DMC by Brian of Graffity.

Scenior advisor: Tomas Danko.

Testing and ideas: Valerie 'LMania' Klein, Sebastian 'Moog' Bachliński.

The spark plug: John 'CRT' Hammarberg.

Jump starters: Markus 'Makke' Lagré, Leon 'LPChip' Moorrees.

Logo: TALENT of Censor Design.

Cheerleader: Erika 'ziona' Wittmann.

SIDbase uses reSIDfp by Antti S. Lankila and Leandro Nini, based on reSID by Dag Lem.

License

Copyright (C) 2026 Kenneth Mutka.

SIDbase 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. It comes with ABSOLUTELY NO WARRANTY; see COPYING for the details.

The components SIDbase builds on keep their own licenses, collected in THIRD-PARTY-LICENSES.txt. egui-daw is under the MIT License (egui-daw/LICENSE). A Windows build also contains Steinberg's SDK for audio interface drivers, which it uses under version 3 of the GNU General Public License, so a Windows build as a whole is under version 3.

About

SIDbase is a modern DAW-like music editor for creating Commodore 64 music. Originally created in 1989 by Slaygon of Censor Design.

Topics

Resources

Stars

13 stars

Watchers

0 watching

Forks

Contributors

Languages