Under the hood
How SIDbase plays a song
The player in every export, the frames it runs on, and how it compares: with the trackers you know, and with the real chip.
The player
The preview is the player
Most editors for an old machine play your song with a second engine, written for the computer you sit at, and the two can drift apart. SIDbase doesn't have one.
Every edit packs your song and assembles the 6502 player for it, with only the code paths its music and player options need. That image runs on an emulated 6502, cycle by cycle, and reSIDfp turns its writes to the chip into sound at the cycles they happen. Export, and the .sid holds the same player and the same song data, packed into one block.
So the editor refuses what the export would. You can't write a song that sounds right here but doesn't play on the c64: if a song can't play, the transport shows CANNOT PLAY and takes you to the reason.
Frame by frame
Fifty times a second
The player runs once a frame, 50 times a second on a PAL C64. An instrument is a set of small programs, its lanes - waveform, pulse, filter, pitch, vibrato and arpeggio - and each steps through its values at its own speed, with its own length and loop.
A note's first frame is its note-init frame: it sets the waveform and the envelope and nothing else. Pitch and pulse start on the frame after, where the lanes take their first step. Before the note, hard restart forces the envelope down for two frames, so each note's attack starts from the same place.
What's in the box?
People like numbers, right!?
The SID's own count. A chord is arranged across them, or played as an arpeggio.
Each one its own set of lanes. CensorEd 1.7 stopped at 16.
The chip's full range, $000-$fff, drawn as a curve or adjusted with a sweep.
Curves reach the chip's full cutoff and keep fractions of a step, for sweeps slower than one step a frame.
Up to 16 calls a frame: the whole player, or the instruments alone, per voice and per instrument.
For a clip's steps, with four automation lanes: one for the song, one per voice.
Allowed for the song and switched off per instrument, each with its own gate lead. The HR envelope is any value you like.
Swing it, exported: the player and every note of the song in one .sid file.
Song cost: The transport's Raster time box shows the rasterlines the player spends each frame, and the Settings page shows what each player option costs in bytes and cycles, for the song you have open.
The trackers
Quick comparison
SIDbase's player began as CensorEd 1.7's but has since gone its own way. Here it is next to the players of the trackers you know, on four things that shape a sound.
| SIDbase | GoatTracker 2.73 | SID Factory II driver 11 | SID-Wizard 1.97 | CensorEd 1.7 | |
|---|---|---|---|---|---|
| Commands per step | 2, with the note and its instrumentAnd four automation lanes of their own: one per voice, one for the song | 1And the command rows of an instrument's wavetable | 1 | 1 with a note and an instrument2 on a step that sets no instrument, 3 on one with no note | NoneA step has no command column |
| Filter cutoff | 11 bits, or 8, per song | 8 bits | 11 bits | 11 bits8 in its Light and Bare players | 8 bits |
| Hard restart | On or off per instrumentAny HR envelope, $0F00 by default; the window parks the voice or keeps its lanes running, per song | Per instrument: hard restart and gate-off, gate-off only, or neitherAny HR envelope, $0F00 by default, chosen at export | Always two frames of gate-offThe HR envelope from 8 table rows, $0F00 in row 0 | Normal and Extra players: any HR envelope, 0-2 frames, and a TEST "staccato" formThe others: two frames of $0F00 | NoA note's own first frame sets TEST and drops the gate |
| Multispeed | 1-16 calls a frameThe whole player, or the instruments alone at 1x-16x per voice and per instrument | 1-16 calls a frameChosen at export | No | 1-8 calls a frameThe extra calls step the instruments alone; not in the Bare player | No |
From a tracker to SIDbase
Ready.
Interested?
SIDbase is free for macOS, Windows and Linux, and open source under the GPL.