
SIDLab
A downloadable tool
SIDLab is a live DJ / remixing tool for the Commodore 64. It allows you to remix SID music in realtime.
v0.7d - This reverts the internal midi code back to how it worked in 0.6b, for better compatibility with hardware midi cartridges. It also fixes FX 4's visual in the Matrix display not working.
v0.6b is the last throughly tested 'stable' version so I've left this online as well.
Tutorial Video:
Quick FAQ:
- If you're using an NTSC machine, I suggest the PAL timing option from the setup menu as a lot of popular SID music uses that timing model. This plays back PAL music at the correct speed on NTSC machines.
- If you are not directly syncing using MIDI you can use the Hold + Nudge keys (SHIFT+B/N) to easily shift tracks into sync with each other. All songs in the demo video were done this way.
- This uses the slow Kernal load routines for the most compatibility. If you are using an emulator there is normally a 'fast loading/true drive' option you can change for instant loading.
- SID files contain code and data, they are not like tracker/vgm files. For this reason only songs that load into a specific memory area will work. ($0f00-$6fff) This should cover the majority of modern music. If you need to shift a song into this memory space lft has written a tool called Sidreloc that can help with this.
- The keyboard layout is designed to match a real C64. Some emulators swap the CTRL + CBM key positions, you can alter this from the setup menu to make it more comfortable.
Feature status:
- FX set - Additional FX will be added in each build.
- Pitch shift - Pitch detection and playback working, additional work ongoing on slide/offset correction.
- Panning - Basic soft panning algorithm in, additional work on extra algorithms and other panning features ongoing.
- Syncing - First pass MIDI sync is enabled as of v0.6a.
- Fractional Tempo - In progress, this allows two different tempo songs to play in sync.
Links:
The best place to get SID files is DeepSID You can download files by right-clicking on their names. Please read the docs included with SIDLab to see which types of SID files can be used.
If you want to use an emulator I suggest Vice as this software was written using it. If using an emulator I'd suggest running in PAL mode as this has been tested more thoroughly than NTSC.
As of 0.55 you can use an IEC device/virtual folder and just put the program and some SID files into the same folder instead of using disk images. But if you want to use disk images there are tools such as DirMaster to help with this.
If you are using MIDI sync in an emulator (such as Vice) you will need a virtual midi cable to connect both instances. One example of this is Loopbe1
| Updated | 24 days ago |
| Status | In development |
| Category | Tool |
| Rating | Rated 5.0 out of 5 stars (2 total ratings) |
| Author | 4mat |
| Tags | Commodore 64 |
| Content | No generative AI was used |
Install instructions
Zip file contains a Commodore 64 disk image along with documentation.
Development log
- SIDLab - 07b Small bugfix release37 days ago
- SIDLab - 07a External MIDI is go!38 days ago
- SIDLab - 0.6a First pass at MIDI support71 days ago
- SIDLab 0.55 - No disk images required!76 days ago


Comments
Log in with itch.io to leave a comment.
it seems you have a lot knowlagdge about MIDI. Could you do a .midi player that uses SID(S) to playback MIDI music on C64/C128/C....?
The C64 midi driver page uses SIDs to playback through MIDI devices. However it's only partial support for the MIDI standard. Adding slides, tied-notes etc. would be a lot of work and not something I'd be interested in working on. The FMX fm driver page has a much more accurate player through FM devices as it was easier to map the SID registers to the hardware.
Testing 07b with MIDI on two real machines: I think there is a bug with Ctrl+F3 when in Internal mode. I expect it to go to listen mode and don't start playback. But it goes to broadcast mode and starts playback. Bug doesn't happen in external mode, but there I have to set C the have the song play continously to imitate what I want to achieve in internal mode.
Thanks, I'll take a look. Yeah internal mode should only be using continuous playback and ignoring the option to change it, so I'll have a look at that too.
I've added 0.7c , in Internal mode this makes broadcasting and listening set to Constant mode automatically.
The other bug with listening mode going to broadcast mode I couldn't replicate in the emulator except with the cartridge switched off, so I've added a 'midi debug' mode you can toggle with CTRL + D. This will show the current midi buffer (where the author credits were) and also the current midi listen value from the cartridge, this is next to the 'Midi' title text in the Settings window. If this value isn't showing $ff with real cartridges that might be where the problem is, as that's what I'm checking for the 'idle' value.
CTRL+D shows an endless amount of changing random values where $ff is not present. SIDKick Teensy with the included MIDI-Interface allows me to disable/ignore MIDI-In-Events for those demos (somebody did a demo called Instinct ;-)) that only use MIDI-Out. If I disable MIDI-In, then I always get $ff.
Comparing with version 0.6b it seems that 0.7b/c has a different approach to MIDI-In handling. 0.6b works fine. Could it be that 0.7x is reading values without waiting for IRQ to happen?
Side note: Ctrl+F7 stops track but leaves last notes audible (fading out depending on ADSR). Shift+F7 additionally silences the track.
Thanks for the update. It's interesting the hardware produces random values on the bus. The way 0.7 works is like this:
On the main thread it's polling the listen register and checking if it's an $ff, if not it adds the value to the midi buffer. (a ring buffer, this got added once it had to start listening for midi input instead of just one-byte system commands.)
In Internal mode, when set to listen it reads through the midi buffer looking for either $f8 for a sync or $fc to switch over to being a broadcast machine when the other machine has stopped. Stopping or restarting the song clears the midi buffer out.
0.6 stored the latest midi value in a single byte and then compared that directly. (not checking for idle) So I'll get it back to that sort of setup but still using the midi buffer. I can make it simulate what the hardware is doing while I'm testing this and have a more realistic environment.
In external mode ctrl+f7will be leaving the notes trailing at the moment, if it's happening with internal mode though that's definitely a bug. :)
I've added a 'debug test' upload. This uses the 0.6 code for internal midi instead of the 0.7 stuff which isn't working. If this works I'll add it into the next 0.7d upload. In the midi debug screen only the value in the Settings window should be changing as it's directly getting the data from the listen register.
Good news! :-) I tested with internal mode on my usual setup and it works fine for me. I did a round robin of 4 to 5 songs going from one machine to the other and only using Ctrl+F7, load next song, Ctrl+F3 and the transfer from broadcast to listen to broadcast worked fine! I did not yet test external mode at all although I have some hardware for doing that in future. So from my perspective it is working as expected now in internal mode.
Having said that, my only MIDI interface in my collection is the one I am using (SIDKick Teensy with MIDI expansion). I have a Messiah but don't see it fitting in at the moment as a MIDI interface. So other MIDI interfaces may behave like the emulation you are focussed on, who knows? Or to turn it around: If SIDLab needs a hardware MIDI cartridge that always provides valid values when read - it would not be too hard to create a new MIDI cartridge that satisfies the special needs of SIDLab I guess.
To prove my writing I will try to attach a few screenshots.
Excellent, many thanks for testing. I'll fix a couple of other bugs on my list and get the 0.7d version out over the weekend.
I really like this tool and have tested 0.6 and gave some small feedback to 4mat. Next time I find time I will test 0.7b (or newer).
As a Mastodon user I would like to follow the Bluesky profile of you 4mat. You have to agree to brid.gy service to bridge your profile over to Mastodon. I will trigger a request for this so that a brid.gy bot will ask you if you want that.
For the record - my first test:
Hello, very good software! Please add lots of new, highly sophisticated features and plenty of things that make it feel like a real professional DJ software. Thank you in advance. I’m really looking forward to the new features! I would prefer it to be more focused on the VICE emulator rather than the Commodore 64 Ultimate.
please is possible add good tutorial in youtube ? thanks
Great to see a new version of this!
Can you use an IEC device to load SID files instead of having to bake them into a disk image? Thinking of using my Ultimate 1541's internal IEC device.
I'm using all Kernal routines for the drive so I assume some of it probably works. (like the load/saving) Testing locally in an emulator it seems the directory is blank if I set to an IEC device. I'll have a look if that's an easy fix, the drive stuff is probably the oldest part of the tool. :) I only have space for about 60 filenames from a directory.
After doing some more tests. If I put the sidlab program in a folder with some sid files and set that as the IEC device folder it works.
I can load/save them and also config files. So the main part seems to work.
The directory listing looks a bit weird because I don't have support for caps letters or anything so I can look into that. Is this what you were looking for?
yeah that sounds amazing! Even if there's a limit to how many files you can have, it's much easier to drag and drop SID files and SIDLab in a USB stick than using something like Dirmaster and swap virtual disk images often.
Love it!!
Thanks