PR8: Some Design Changes

I got to a stage where PR8 can now playback more than one Pattern but this got me thinking about the structure of PR8.

Originally I was going to have quite a simple structure:

+ Song is made up of Patterns
+ Pattern is 6 Tracks, each Track having 16 steps and assigned a Drum Patch

And that was it really.

The problem was that because there are 5 bytes per Track Step (note, retrigger speed, and the 3 real-time controls), this meant that each Pattern was 480 bytes. If I dedicated 2 of the 4 battery RAM banks (8K each) to Pattern memory, this still only allowed for 32 Patterns in total. I didn’t feel this was enough.

I went back to the drawing board and looked at existing step-sequencer based software and in particular Rebirth. While Rebirth has a simple Song structure and only 16 Patterns, it’s Patterns are per synthesiser (1 set of Patterns for each of the two TB03 units and 1 each for the TR808 and TR909). This mean that you had much more flexibility when selecting Patterns for each Song step.

I wanted to emulate this but because the sounds/drums in PR8 are not fixed per Track (the analogy helps if you think of Rebirth having 4 ‘tracks’ – two TB303s a TR808 and a TR909), initially I couldn’t figure a way how to do it.

Until last night :)

I’ve now broken down the Patterns so that each Pattern is;

+ a speed setting
+ a groove setting
+ 6 ‘Phrases’, one per Track

Doing this complicates the setup of a Pattern a little – you now have to choose a Drum and a Phrase for each Track of your Patterns – but it means you can mix and match Phrases and Drums in your Patterns and best of all, gives me space for about 192 Phrases. Plus each Pattern now can have it’s own Speed and Groove settings so your Song needn’t have a fixed speed all the way through.

The good thing is that the coding needn’t change *that* much to accommodate the changes and it should reduce some code complexity which means it will run a bit faster too.

A bit of pixel tweaking later and the redesign is done. You lose the Drum Name from the Track but it’s a small price to pay (it’s still displayed in the Drum itself)

Something else I added was some little indicators under Drum parameters that are being controlled by the Step Sequencer. You can see that they are underlined in blue. The brighter blue indicates the parameter that you are currently editing in the Sequencer.

3 comments to PR8: Some Design Changes

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>