b-tracker
b-tracker
I think this better belongs here than anywhere else?
I wrote a chiptune tracker for the BBC Micro. It'll run on a B or Master (haven't tried a Compact); Second Processors need not apply.
http://cowlark.com/btracker/
(Yes, this is the thing I was asking about on the programming forums. On a B there's enough space for 70 patterns, each of which occupying 256 bytes. It'd be trivial to do a Master rebuild with more space if anyone's interested. The sample track uses 54.)
I wrote a chiptune tracker for the BBC Micro. It'll run on a B or Master (haven't tried a Compact); Second Processors need not apply.
http://cowlark.com/btracker/
(Yes, this is the thing I was asking about on the programming forums. On a B there's enough space for 70 patterns, each of which occupying 256 bytes. It'd be trivial to do a Master rebuild with more space if anyone's interested. The sample track uses 54.)
David Given
http://cowlark.com
http://cowlark.com
- dominicbeesley
- Posts: 2210
- Joined: Tue Apr 30, 2013 12:16 pm
- Contact:
Re: b-tracker
That is absolutely brilliant! I've been toying with that idea for months but not got round to it - you've done a better job that I would have managed.
And you've covered SpaceDebris my favourite protracker too - it sounds pretty good!
D
And you've covered SpaceDebris my favourite protracker too - it sounds pretty good!
D
Re: b-tracker
This is great! It's also been on my very long backlog, for a very long time, to write a Tracker on the Beeb - shame there wasn't one available BITD.
Bitshifters Collective | Retro Code & Demos for BBC Micro & Acorn computers | https://bitshifters.github.io/
Re: b-tracker
Yes, absolutely amazing!
Here's a one-click link to play the DEBRIS demo:
https://tinyurl.com/y8vkhkj5
https://bbc.godbolt.org/?&disc=https:// ... A%20EOF%0A
Here's a one-click link to play the DEBRIS demo:
https://tinyurl.com/y8vkhkj5
https://bbc.godbolt.org/?&disc=https:// ... A%20EOF%0A
Re: b-tracker
Thanks!
I have actually been wondering whether it's worth restricting the range a bit --- right now it goes from midi notes 48 to 115, or C3 to G8. Except, the sound chip can't really reproduce the top octave very well and it's pretty screechy at the best of times. By reducing it to midi notes 48 to 108, or C3 to C8, then I get increase the pitch resolution to a quarter of a semitone. Currently trying to do vibrato using the pitch graph sounds pretty bad because the minimum deflection is a third of a semitone, which I think is too great.
The downside is that the high octaves are useful for controlling the noise channel...
I have actually been wondering whether it's worth restricting the range a bit --- right now it goes from midi notes 48 to 115, or C3 to G8. Except, the sound chip can't really reproduce the top octave very well and it's pretty screechy at the best of times. By reducing it to midi notes 48 to 108, or C3 to C8, then I get increase the pitch resolution to a quarter of a semitone. Currently trying to do vibrato using the pitch graph sounds pretty bad because the minimum deflection is a third of a semitone, which I think is too great.
The downside is that the high octaves are useful for controlling the noise channel...
David Given
http://cowlark.com
http://cowlark.com
Re: b-tracker
Is it a storage issue?
It is a bit annoying that it is 33 bits for frequency and 16 for volumes for full range on everything.
It is a bit annoying that it is 33 bits for frequency and 16 for volumes for full range on everything.
Re: b-tracker
Yeah, pretty much. Each note is stored as two bytes --- one for the note or command itself, and one for the envelope number and volume (both nibbles). That makes a single pattern 256 bytes. There are 26 possible commands, each of which is a letter, which leaves a note range of 229.
Re volume: the BBC sound chip is actually heavily weighted at the top end. Anything below 8 might as well be silent. Switching between 15 and 14 is quite noticeable.
Not sure what you mean by 33-bit frequency; the sound chip uses 10-bit pitch IDs internally, which are looked up from the b-tracker note number by a table.
Re volume: the BBC sound chip is actually heavily weighted at the top end. Anything below 8 might as well be silent. Switching between 15 and 14 is quite noticeable.
Not sure what you mean by 33-bit frequency; the sound chip uses 10-bit pitch IDs internally, which are looked up from the b-tracker note number by a table.
David Given
http://cowlark.com
http://cowlark.com
Re: b-tracker
I assumed Richard was talking about the total bits to program the sound chip VGM style...
3x10bit (tones freq) + 2bit (prng freq) + 1bit (periodic/white noise) = 33
4x4bit (attenuation) = 16
I am very impressed by the tracker. I tried it on jsbeeb with your link first then within 10s grabbed the SSD and moved to a real model B
Re: b-tracker
Ah, right! Yes, that makes sense.
How well does this work on real hardware? I don't have one, and had to work with an emulator. b-em has an option to enable an audio filter that's supposed to the tinny speaker but I don't know what it's like in practice.
How well does this work on real hardware? I don't have one, and had to work with an emulator. b-em has an option to enable an audio filter that's supposed to the tinny speaker but I don't know what it's like in practice.
David Given
http://cowlark.com
http://cowlark.com
Re: b-tracker
That is great. Good on ya! The Beeb needs a tracker
Love it mode 7! Very creative. Listening to Debris it's amazing what you can do with the limitations.
Love it mode 7! Very creative. Listening to Debris it's amazing what you can do with the limitations.
-
- Posts: 13
- Joined: Wed Jul 15, 2020 10:43 am
- Location: Oslo, Norway
- Contact:
Re: b-tracker
Woah, finally a tracker on the Beeb. I'm not musical myself, but I might ask some of my Gameboy chiptune friends whether they're up for composing on a new platform...
Btw, if anybody fancies having a bash at using it to try and create a version of the New Rally-X theme music, Tricky is struggling to find a version of theme he can use to port to the Beebto complement his conversion: viewtopic.php?f=53&t=21371#p302213
I think it could sound great with some extra drum beats thrown in there that have been generated by the Beeb's white noise channel ... !
Btw, if anybody fancies having a bash at using it to try and create a version of the New Rally-X theme music, Tricky is struggling to find a version of theme he can use to port to the Beebto complement his conversion: viewtopic.php?f=53&t=21371#p302213
I think it could sound great with some extra drum beats thrown in there that have been generated by the Beeb's white noise channel ... !
Please subscribe to the ABug YouTube channel!
Re: b-tracker
Where have I heard that music before. It is another game! It's not Frak is it......of course it's Rally X but I am sure I've heard it on another game....maybe it is just Rally X from years ago at the arcade and it's still in my head. I really enjoyed playing Rally X back in the day!
Re: b-tracker
It's also in Caveman Capers, I always thought it was an original tune and only now know it's from Rally X.pixelblip wrote: ↑Wed Jan 06, 2021 7:46 pm Where have I heard that music before. It is another game! It's not Frak is it......of course it's Rally X but I am sure I've heard it on another game....maybe it is just Rally X from years ago at the arcade and it's still in my head. I really enjoyed playing Rally X back in the day!
- Nigel
BBC Model B: ATPL Sidewise, Acorn Speech, 2xWatford Floppy Drives, AMX Mouse, Viglen case, BeebZIF, etc.
BBC Model B: ATPL Sidewise, Acorn Speech, 2xWatford Floppy Drives, AMX Mouse, Viglen case, BeebZIF, etc.
Re: b-tracker
Well done Pernod. Caveman Capers. Oh joy that brings back memories!
Just watching it now. Gosh I'd forgotten about that game. The amount of times I heard that tune!
https://www.youtube.com/watch?v=elDf7meYyjE
Just watching it now. Gosh I'd forgotten about that game. The amount of times I heard that tune!
https://www.youtube.com/watch?v=elDf7meYyjE
Re: b-tracker
Yep, I originally only knew it from Caveman Capers too, however Capers only features the first half of the track - whilst Rally-X uses a longer version.
Please subscribe to the ABug YouTube channel!