On 01/11/2007, at 10.51, Frank Barknecht wrote: > Steffen Juul hat gesagt: // Steffen Juul wrote: > >> On 31/10/2007, at 21.11, Frank Barknecht wrote: >> >>> Lua could also be used as a very powerful "textfile" replacement, >>> that >>> would allow more structured score files in a BibTex fashion. Wait >>> for >>> an example for this coming soon. >> >> I'm really looking forward to see what you mean by 'structured score >> files in a BibTex fashion'. > > I mean something like this: http://www.lua.org/pil/10.1.html of course > adapted to music, so a datafile could look like: (snip)
Ah, ok. It was especially the 'BibTex fashion' that got me curious. Now i know what you mean by 'fashion'. I think. There is no nesting in BibTeX for what i know of though. All that blah blah said i think what your write about the structured- ness is a good thing, as it allows for a (BibTeX kinda) way of handling/doing multi diminutional arrays even with strings as keys. - Which in a PHP fashion could be like: Instruments[bass][tb303][cutoff] = 10 Instruments[bass][tb303][cf] = 440 Instruments[drumm] = drummset1 Patterns[p1] = "1 0 0 0 1 0 0 1" Patterns[p2] = "0 0 1 0 0 0 1 0" Score[bass] = p1 Score[drum] = p2 Though the idea is the same, the Poor Mans SC is properly more human readable. Hope you post your example somewhere when you get to it. Best, Steffen _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
