BBC Micro SID Tunes

new graphics/music demos - bitshifters, 0xc0de, The Master + others
User avatar
Negative Charge
Posts: 93
Joined: Sat Jan 16, 2021 1:35 pm
Contact:

BBC Micro SID Tunes

Post by Negative Charge »

BBC Micro SID Tunes 1

Hi all. I’ve been working on an approach to convert C64 SID tunes over to the BBC Micro’s SN76489 without the need for additional hardware. These are conversions rather than emulation of the SID, and hence lack the more complex SID effects/filters.

It should (in theory) run on an unexpanded BBC Model B and up, but I’ve only Hoglet’s FPGA implementation on the Spectrum Next to test with (plus emulators) so your mileage may vary.

The UI is functional but basic (menu borrowed from another program). I’d love to add some visualisations, but unlikely to find enough time for that. You can follow the journey over on my Twitter feed.

Emulation: https://bbc.godbolt.org/?autoboot&disc1 ... nes-01.ssd

Download for hardware: https://negativecharge.github.io/files/ ... nes-01.ssd

I’ve borrowed @simondotm’s VGC player for this as they’re big tunes that need high compression: https://github.com/simondotm/vgm-player-bbc

2ABE2FBD-D508-4149-9DFC-FE5E80C99AF4.jpeg
Last edited by Negative Charge on Thu Jul 22, 2021 5:26 am, edited 2 times in total.
User avatar
jms2
Posts: 3765
Joined: Mon Jan 08, 2007 6:38 am
Location: Derby, UK
Contact:

Re: BBC Micro SID Tunes 1

Post by jms2 »

I have had a try in BeebEm and B-Em and it sounds pretty amazing in both! Some tunes are slightly "crackly", but I wonder if this is just an emulation effect. I'll have a go on a real Beeb later and let you know how it goes.
User avatar
Negative Charge
Posts: 93
Joined: Sat Jan 16, 2021 1:35 pm
Contact:

Re: BBC Micro SID Tunes 1

Post by Negative Charge »

jms2 wrote: Sat Jul 17, 2021 10:29 am I have had a try in BeebEm and B-Em and it sounds pretty amazing in both! Some tunes are slightly "crackly", but I wonder if this is just an emulation effect. I'll have a go on a real Beeb later and let you know how it goes.
Thanks! The conversion process is inherently lossy due to the vast differences between the SID and the SN76489. Sawtooth, triangle, high/low/band pass filters, ring modulation effects are difficult, if not impossible, to reproduce and the frequency range difference is an issue too. The result is that in some tunes the clipping / lack of effects manifests itself as cracks and pops. Some tunes are dramatically better than others. As the conversion process is refined I’m sure this will become less noticeable. I think implementing software bass may help with some of the clipped lower frequencies.

Very interested to hear if there’s any difference on real hardware. The emulators sound reproduction is pretty faithful, so I would expect some/all of the conversion artefacts to remain.
User avatar
jms2
Posts: 3765
Joined: Mon Jan 08, 2007 6:38 am
Location: Derby, UK
Contact:

Re: BBC Micro SID Tunes 1

Post by jms2 »

Well, you'll be glad to hear it does sound a lot better on real hardware. It's hard to quantify, but using Monty on the Run as a reference I think about 75% maybe of the crunchy noises are no longer audible, and those that remain are less noticeable.

I have not listened to all the tunes mind you, that's because my real machines are in the attic room and its over 30 degrees up there!

I'm particularly interested in this because I'm currently gathering the components needed to build up my Electron Sound Expansion cartridge, which basically adds an SN76489. It also comes with 8k RAM and 8k ROM, hardly any of which is used, so I have aspirations to put the VGM player up there alongside the OS sound processing code.
User avatar
Negative Charge
Posts: 93
Joined: Sat Jan 16, 2021 1:35 pm
Contact:

Re: BBC Micro SID Tunes 1

Post by Negative Charge »

That’s good to hear! Thanks for testing. B-em and b2 in general seem to reproduce the sound better than beebem. I’ve been looking out for a second generation Electron Sound Expansion cartridge myself, but they appear to be rare beasts to find on the second hand market. I think making one myself from the schematics would be beyond my capabilities unfortunately.
User avatar
jms2
Posts: 3765
Joined: Mon Jan 08, 2007 6:38 am
Location: Derby, UK
Contact:

Re: BBC Micro SID Tunes 1

Post by jms2 »

If my design works, and you are ok with soldering, I can send you one.
User avatar
Negative Charge
Posts: 93
Joined: Sat Jan 16, 2021 1:35 pm
Contact:

Re: BBC Micro SID Tunes 1

Post by Negative Charge »

Thanks for the kind offer. I can just about work my way round a soldering iron. Very interested to see how you get on with it. I still have plans in the works to get better sound out of the native Elk ULA, but have got a bit distracted by the Beeb at the moment.
User avatar
Arcadian
Site Admin
Posts: 4226
Joined: Fri Nov 24, 2000 12:16 pm
Contact:

Re: BBC Micro SID Tunes 1

Post by Arcadian »

Goodness, these tracks sounds superb. Really worthwhile project this, are more compilations in the pipeline?
Please subscribe to the ABug YouTube channel!
User avatar
Negative Charge
Posts: 93
Joined: Sat Jan 16, 2021 1:35 pm
Contact:

Re: BBC Micro SID Tunes 1

Post by Negative Charge »

Thank you! I’m converting as many of the tracks that I enjoy as I can, and will include those that turn out okay. Some tracks, especially those by Martin Galway, are well beyond the capabilities of the current conversion process and I can’t do them justice.

Disc 2 is already underway, and I’m open to suggestions for tracks to include on future discs if you have any favourites.
User avatar
Pernod
Posts: 3439
Joined: Fri Jun 08, 2012 11:01 pm
Location: Croydon, UK
Contact:

Re: BBC Micro SID Tunes 1

Post by Pernod »

Negative Charge wrote: Sun Jul 18, 2021 2:10 pm and I’m open to suggestions for tracks to include on future discs if you have any favourites.
I could make a lengthy list but I don't think you've done Crazy Comets and Zoids yet.
- Nigel

BBC Model B: ATPL Sidewise, Acorn Speech, 2xWatford Floppy Drives, AMX Mouse, Viglen case, BeebZIF, etc.
User avatar
anightin
Posts: 970
Joined: Thu Aug 23, 2018 2:03 pm
Location: Cambridge UK
Contact:

Re: BBC Micro SID Tunes 1

Post by anightin »

Awsome bringing SID to the Beeb without the SID hardware!

I'd love to hear:
  • Rambo Frist Blood Part II
  • Giana Sisters
  • Parallax
User avatar
Negative Charge
Posts: 93
Joined: Sat Jan 16, 2021 1:35 pm
Contact:

Re: BBC Micro SID Tunes 1

Post by Negative Charge »

Pernod wrote: Sun Jul 18, 2021 2:44 pm
Negative Charge wrote: Sun Jul 18, 2021 2:10 pm and I’m open to suggestions for tracks to include on future discs if you have any favourites.
I could make a lengthy list but I don't think you've done Crazy Comets and Zoids yet.
Please do! :D Crazy Comets and Zoids should make disc 2 as there’s space. Rob Hubbard’s tracks can be a bit hit and miss ass to whether they’ll convert to the SN76489, but these seem to be okay representations.
User avatar
Negative Charge
Posts: 93
Joined: Sat Jan 16, 2021 1:35 pm
Contact:

Re: BBC Micro SID Tunes 1

Post by Negative Charge »

anightin wrote: Sun Jul 18, 2021 4:11 pm Awsome bringing SID to the Beeb without the SID hardware!

I'd love to hear:
  • Rambo Frist Blood Part II
  • Giana Sisters
  • Parallax
Thank you! You’ve picked three very tough ones there, so no guarantees but I’ll give them a go. Any specific subtunes in those SIDs?
User avatar
anightin
Posts: 970
Joined: Thu Aug 23, 2018 2:03 pm
Location: Cambridge UK
Contact:

Re: BBC Micro SID Tunes 1

Post by anightin »

Negative Charge wrote: Sun Jul 18, 2021 5:30 pm
anightin wrote: Sun Jul 18, 2021 4:11 pm Awsome bringing SID to the Beeb without the SID hardware!

I'd love to hear:
  • Rambo Frist Blood Part II
  • Giana Sisters
  • Parallax
Thank you! You’ve picked three very tough ones there, so no guarantees but I’ll give them a go. Any specific subtunes in those SIDs?
Since you ask, the title theme for Parallax for me is just mesmerising :)

https://www.youtube.com/watch?v=rVZ2zfXlVSk
User avatar
Negative Charge
Posts: 93
Joined: Sat Jan 16, 2021 1:35 pm
Contact:

Re: BBC Micro SID Tunes 1

Post by Negative Charge »

anightin wrote: Sun Jul 18, 2021 5:46 pm Since you ask, the title theme for Parallax for me is just mesmerising :)

https://www.youtube.com/watch?v=rVZ2zfXlVSk
That’s a tough one without a means to effectively simulate SID filters. It’s one I keep coming back to as I revise the conversion technique. I’ll put it down for disc 3, but it all depends on the output and whether I can squeeze an 11m25s track into memory.
User avatar
anightin
Posts: 970
Joined: Thu Aug 23, 2018 2:03 pm
Location: Cambridge UK
Contact:

Re: BBC Micro SID Tunes 1

Post by anightin »

Negative Charge wrote: Sun Jul 18, 2021 9:48 pm
anightin wrote: Sun Jul 18, 2021 5:46 pm Since you ask, the title theme for Parallax for me is just mesmerising :)

https://www.youtube.com/watch?v=rVZ2zfXlVSk
That’s a tough one without a means to effectively simulate SID filters. It’s one I keep coming back to as I revise the conversion technique. I’ll put it down for disc 3, but it all depends on the output and whether I can squeeze an 11m25s track into memory.
Absolutely no pressure, keep up the great work -- really enjoying these =D>
User avatar
Negative Charge
Posts: 93
Joined: Sat Jan 16, 2021 1:35 pm
Contact:

Re: BBC Micro SID Tunes 1

Post by Negative Charge »

anightin wrote: Mon Jul 19, 2021 10:01 am Absolutely no pressure, keep up the great work -- really enjoying these =D>
They’re in for disc 3… Parallax loses a lot of the definition due to the lack of filters but all 11mins+ are there, and Great Giana Sisters is without the digi drums, but sounds okay:

B3B86C22-3DB0-492D-A3AB-138194561DAF.jpeg
User avatar
anightin
Posts: 970
Joined: Thu Aug 23, 2018 2:03 pm
Location: Cambridge UK
Contact:

Re: BBC Micro SID Tunes 1

Post by anightin »

Negative Charge wrote: Mon Jul 19, 2021 4:34 pm
anightin wrote: Mon Jul 19, 2021 10:01 am Absolutely no pressure, keep up the great work -- really enjoying these =D>
They’re in for disc 3… Parallax loses a lot of the definition due to the lack of filters but all 11mins+ are there, and Great Giana Sisters is without the digi drums, but sounds okay:


B3B86C22-3DB0-492D-A3AB-138194561DAF.jpeg
Wow that's fantastic!! =D> =D> :D
User avatar
anightin
Posts: 970
Joined: Thu Aug 23, 2018 2:03 pm
Location: Cambridge UK
Contact:

Re: BBC Micro SID Tunes 1

Post by anightin »

jms2 wrote: Sat Jul 17, 2021 9:41 pm If my design works, and you are ok with soldering, I can send you one.
Happy to build one for @Negative Charge when available :)
User avatar
Diminished
Posts: 1247
Joined: Fri Dec 08, 2017 9:47 pm
Contact:

Re: BBC Micro SID Tunes 1

Post by Diminished »

No idea if it's feasible, but how about Jon Dunn's Ocean Loader 4?
User avatar
Negative Charge
Posts: 93
Joined: Sat Jan 16, 2021 1:35 pm
Contact:

Re: BBC Micro SID Tunes 1

Post by Negative Charge »

BBC Micro SID Tunes 3

14 further conversions from the C64 SID to the BBC Micro’s SN76489.

Emulation: https://bbc.godbolt.org/?autoboot&disc1 ... nes-03.ssd

(If using B-em, switch off the internal sound filter. With b2 make sure you’re using a very recent version. JSBeeb sounds okay)

Download for hardware: https://negativecharge.github.io/files/ ... nes-03.ssd
Attachments
beebsid3.png
User avatar
Negative Charge
Posts: 93
Joined: Sat Jan 16, 2021 1:35 pm
Contact:

Re: BBC Micro SID Tunes 1

Post by Negative Charge »

Diminished wrote: Tue Jul 20, 2021 6:26 pm No idea if it's feasible, but how about Jon Dunn's Ocean Loader 4?
I’ve given Ocean Loader 5 a go (posted on Twitter a week or so ago). I can try 4, but I think it didn’t sound so good when I last tried. Tools have been updated since, so may be better.
User avatar
Negative Charge
Posts: 93
Joined: Sat Jan 16, 2021 1:35 pm
Contact:

Re: BBC Micro SID Tunes 1

Post by Negative Charge »

anightin wrote: Mon Jul 19, 2021 6:37 pm
jms2 wrote: Sat Jul 17, 2021 9:41 pm If my design works, and you are ok with soldering, I can send you one.
Happy to build one for @Negative Charge when available :)
Thank you for the kind offer. Now that I have an FPGA Beeb, I’ve less use for this expansion than I did previously, but interested to see how this one works out.
User avatar
Diminished
Posts: 1247
Joined: Fri Dec 08, 2017 9:47 pm
Contact:

Re: BBC Micro SID Tunes 1

Post by Diminished »

Negative Charge wrote: Tue Jul 20, 2021 7:06 pm
Diminished wrote: Tue Jul 20, 2021 6:26 pm No idea if it's feasible, but how about Jon Dunn's Ocean Loader 4?
I’ve given Ocean Loader 5 a go (posted on Twitter a week or so ago). I can try 4, but I think it didn’t sound so good when I last tried. Tools have been updated since, so may be better.
I prefer 4, although 5 is very similar anyway. I've been thinking a bit about attempting a cover version of it, but the slap bass part is ... not easy to play live.

The Beeb version actually sounded better than I expected. Not bad at all!

This may be timely, since a turbo speed tape loader for the Beeb and Electron has just been invented, and ... uh ... well, it could really do with a front-end, you know?
User avatar
Negative Charge
Posts: 93
Joined: Sat Jan 16, 2021 1:35 pm
Contact:

Re: BBC Micro SID Tunes 1

Post by Negative Charge »

Another 14 conversions from the C64 SID to the BBC Micro’s SN76489.

Emulation: https://bbc.godbolt.org/?autoboot&disc1 ... nes-04.ssd

(Best in JSBeeb, recent B-Em (internal sound filter disabled) or b2 builds)

Download for hardware: https://negativecharge.github.io/files/ ... nes-04.ssd

3F9EADC5-BB79-40A3-8CEB-B223008CB506.jpeg
User avatar
Negative Charge
Posts: 93
Joined: Sat Jan 16, 2021 1:35 pm
Contact:

Re: BBC Micro SID Tunes

Post by Negative Charge »

BBC Micro SID Tunes 5

Even more conversions from the C64 SID to the BBC Micro’s SN76489.

Emulation: https://bbc.godbolt.org/?autoboot&disc1 ... nes-05.ssd

(Best in JSBeeb, recent B-Em (internal sound filter disabled) or b2 builds)

Download for hardware: https://negativecharge.github.io/files/ ... nes-05.ssd

0FA492A1-B8CF-4703-8AAB-EFF6D97070E2.jpeg

(Note: I’m still trying to work out the cause of the brief blip of static before each track plays. It might be reading non-tune data, but need to trace this further)
User avatar
fwibbler
Posts: 764
Joined: Thu Jan 13, 2005 10:37 pm
Location: Essex
Contact:

Re: BBC Micro SID Tunes

Post by fwibbler »

Can you do one with all of the C64 R-Type music (I mean all the levels)?
User avatar
Negative Charge
Posts: 93
Joined: Sat Jan 16, 2021 1:35 pm
Contact:

Re: BBC Micro SID Tunes

Post by Negative Charge »

fwibbler wrote: Fri Jul 23, 2021 9:22 pm Can you do one with all of the C64 R-Type music (I mean all the levels)?
I think I can manage that: https://bbc.godbolt.org/?autoboot&disc1 ... _music.ssd

12C281DD-7215-4F64-AEB8-811E190BDD6A.jpeg
User avatar
anightin
Posts: 970
Joined: Thu Aug 23, 2018 2:03 pm
Location: Cambridge UK
Contact:

Re: BBC Micro SID Tunes

Post by anightin »

Have just seen this on the Acorn Computer and BBC Micro FB page:

The Register promoting a music composition competition at the TNMOC:

https://www.theregister.com/2021/07/27/ ... nERksct2q8


Sending your conversions to them should definitely inform them that the Beeb is better than just "bleeps, whistles, and flatulent squawks" :D


The actual TNMOC competition page is here:

https://www.tnmoc.org/retro-sounds-musi ... tion-entry
Post Reply

Return to “new projects and releases: demoscene”