Follow

I wonder if I can learn enough 6502 assembly to make Commodore 64 SID music? Well, I know I *can*, but I mean, will I be able to stick with it and not get bored before I get that far? I've always admired SID music, making it is an artform consisting of a mix of programming and music. It's a craft.

@enfors Technically you don't *need* to program to make music, but you want to make your own player to know how it works? Feel free to bounce ideas with me. I've made a player. Not a good one but I know the basics.

@bjonte Oh really? Wow. Yeah, I want (as one of MANY projects I want to do) to make a player routine, and make my own song with it. That would be awesome. The ultimate would be to make my own ProTracker-like music program. Both of those are unlikely to happen, but it would be such an interesting thing to do.

@enfors I started off just making macros to represent note events and programmed the whole thing, music and player in assembler. It's a pain to make music like that but it gets to a result faster.

@bjonte Right, I see. Yeah, it's insane nerdcred to have done something like that! =)

@enfors It looked something like this.

set_register(VOICE_PULSE_WIDTH, CHING_PULSE_WIDTH)
play_note(1, INSTRUMENT_CHING, D5, CHING_VELOCITY)
effect_arpeggio(2, 7, 12)
wait(2)
play_note(1, INSTRUMENT_CHING, D5, CHING_VELOCITY)
effect_arpeggio(2, 7, 12)
wait(2)

So it wasn't too bad. Rob Hubbard was a lot more crazy, editing hex codes directly in a machine code monitor.

@bjonte I see. Your approach makes it readable. I'd probably go with Hubbard's approach though, because that is sort of what I'm used to. ProTracker on the Amiga had numbers after each note which told you which instrument was used, and the effects if any.

@enfors you dont need to learn assembly for that. Most SID musicians use(d) so called "trackers" to compose the music.

@mischk I see. Well, I used ProTracker on the Amiga a lot, so I suppose I could use one for SID music as well. But to be honest, it would be even more fun to make my own music routine, and possibly even a tracker that uses it. Making music that way is truly a craft... It's a combination of programming and music making, which appeals to me.

Sign in to participate in the conversation
Mastodon for Tech Folks

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!