[PD] Creating a drum machine with "save slots"

Pierre Massat pimassat at gmail.com
Tue Sep 11 18:59:06 CEST 2012


I worked on a drum machine a while ago. I used textfiles to save and read
patterns, using the [textfile] object.



2012/9/11 Filippo Beck Peccoz <mail at fbpsound.com>

> Hello list!
> I'm working on a drum machine to be used in a mobile game- it's a trading
> card game.
> Right now, I have a 64 step grid with 5 instruments ready (although a tad
> messy :D) and I can manually write patterns in by hand using toggle boxes.
> In every turn, the game features many different game states, like deck
> building, defense, attack and so on. It would be great to have a drum
> machine that can change beat patterns based on those states, and maybe
> generate fresh patterns in a controlled way. Two different problems, I
> know, but I was wondering first of all how you would solve the saving of
> patterns inside the instrument.
> I would basically create arrays with patterns in them, name them
> appropriately and then tell PD when to change to specific patterns via
> message. Is there a better way I'm missing?
> The idea is to create a very dynamic drumsound, which is closely related
> to what's happening on screen. We can already change the tempo and mix
> sounds in and out, but the real fun starts when patterns will become more
> flexible!
> Thanks for reading, any advice is greatly appreciated!
> Cheers from Munich,
> Filippo
> Filippo Beck Peccoz
> Game Audio
> www.fbpsound.com
> Twitter: @fbpsound <http://twitter.com/fbpsound>
> Skype: fbpsound
> Mobile: +49-(0)1520-4004143
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20120911/72c59db2/attachment-0001.htm>

More information about the Pd-list mailing list