I'm trying to implement a very simple sequencer/player in Objective C using libpd (in an iOS app). It seems to me like the easiest way to do what I want is using [qlist]. Then I can just construct the strings dynamically (timing and note value) in Objective C and pass them to the qlist. The problem is that the qlist needs to read from a text file and writing out to a text file only for it to be read right back in is going to be really hacky and could cause memory issues. Is there anyway to pass messages to a qlist without using a text file? Like the way you can add them to [textfile] without needing a text file? I really need the tempo/timing handling [qlist]. Is there something that gives similar functionality? Thanks!
A qlist without a text file?
you can use 'add' and 'add2' (many of these) to add messages to a qlist. i have made a little
recorder/player using qlists, it is in my instrument-collection at my homepage.
Thanks mnb I hadn't thought of that. I tried adding them to a [textfile] and then that to the [qlist] but that didn't work. Doing the 'add2' straight to a qlist does the trick!