Hi,<br><br>I worked on a drum machine a while ago. I used textfiles to save and read patterns, using the [textfile] object.<br><br>Cheers,<br><br>Pierre.<br><br><div class="gmail_quote">2012/9/11 Filippo Beck Peccoz <span dir="ltr">&lt;<a href="mailto:mail@fbpsound.com" target="_blank">mail@fbpsound.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hello list!<div><br></div><div>I&#39;m working on a drum machine to be used in a mobile game- it&#39;s a trading card game.</div>
<div>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.</div><div><br></div><div>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.</div>
<div><br></div><div>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&#39;m missing?</div><div><br></div>
<div><br></div><div>The idea is to create a very dynamic drumsound, which is closely related to what&#39;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!</div>
<div><br></div><div>Thanks for reading, any advice is greatly appreciated!</div><div><br></div><div><br></div><div>Cheers from Munich,</div><div><br></div><div>Filippo</div><span class="HOEnZb"><font color="#888888"><div>
<br></div><div><br></div><div><br></div><div><br></div><div><br><div>
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<div><div style="word-wrap:break-word">Filippo Beck Peccoz<br>Game Audio<br></div><div style="word-wrap:break-word"><div><a href="http://www.fbpsound.com" target="_blank">www.fbpsound.com</a></div><div>Twitter: <a href="http://twitter.com/fbpsound" target="_blank">@fbpsound</a></div>
<div>Skype: fbpsound</div><div>Mobile: <a href="tel:%2B49-%280%291520-4004143" value="+4915204004143" target="_blank">+49-(0)1520-4004143</a></div></div></div></div></span></div></span></div></span></span>
</div>
<br></div></font></span></div><br>_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br>