Log In  

Cart #15800 | 2015-10-25 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
10

3/4 Music Hack (also works for 5/4, 7/8, etc)

By default, music patterns in PICO-8 are 32 notes long. This makes writing music in time signatures other than 4/4 quite difficult. So writing in 3/4 can be quite difficult as 3 doesn't go evenly into 32.

Luckily, we can use the loop function in the sfx editor to cut 32 notes down to 24.

e.g.

but this will loop the first 8 notes again if we play it by itself.

The trick is to use a "empty master" pattern set at so that it plays its 32 empty notes in the time that our 24 actual notes play. Doing some maths, this just requires an empty pattern of SPD 12.

i.e.

Adding in more parts, etc, we end up with something like this:

That's it! This trick does use up one of our channels with an empty track, but since we probably need one channel for actual SFX anyways, this is okay.

You can also use this trick to get 5/4 or 7/8 using 30 or 28 notes respectively with a master of SPD 15 or 14. Experiment! The sky's the limit when it comes to weird time signatures!

Here's a 13/8:

Cart #15817 | 2015-10-25 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
10

Let me know if this comes in helpful, and/or if I should write this up a bit more for the PICO-Zine!

P#15802 2015-10-24 21:02 ( Edited 2015-10-25 15:51)

Nice! Love the demos!

I think this would be an excellent zine article. (Doesn't have to be long.)

P#15818 2015-10-24 23:43 ( Edited 2015-10-25 03:43)

dennis helped me with this when i was writing the victory theme for ragzouken's tactics game. y'all amazin people, great job

P#15819 2015-10-25 04:15 ( Edited 2015-10-25 08:15)

Awww... y'all are so nice! :)

Anyways, you're amazing too, Svetlana! Watching your pico-8 music/sfx stream was so super inspiring and helpful.

I'll see what I can do to massage this into something for the zine.

P#15820 2015-10-25 04:45 ( Edited 2015-10-25 08:45)
:: jbump

Awesome! My "one time at bandcamp" wife will be impressed!

Can I get a link to the Svetlana stream?

P#15824 2015-10-25 10:57 ( Edited 2015-10-25 14:57)

i don't save my streams sorry, it was a spur of the moment thing

but the music i made is in ragzouken's game https://www.lexaloffle.com/bbs/?tid=2620

P#15831 2015-10-25 11:51 ( Edited 2015-10-25 15:51)

Thanks for this! There's a few options for tempos as long as the master tempo is 3/4 the notes' tempo.

P#78449 2020-06-24 01:59

How do I actually create the empty pattern of SPD 12's?

P#78624 2020-06-28 17:21

OK, I figured it out!

P#78664 2020-06-29 14:16

Amazing work, I was disappointed when I found that pico 8 couldn't handle asymmetrical patterns, I'll try this

P#80792 2020-08-14 22:31

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2020-11-25 11:19 | 0.045s | 2097k | Q:50