I'd like to build a small sequencer plugin in Lua but I'm having a hard time finding the functions needed. I've been digging through the source and documentation without any luck. I'm fairly new to developing for Rockbox so I may be overlooking something. I have a couple of questions and any help would be much appreciated:
1. Is there a way to playback 2 or more audio files at the same time? I noticed a few mixer functions but not sure if those could be used.
2. Is there any way to access the midi plugin functions in Lua (like synth - initSynth)? I noticed there is a "beep_play" function for generating a square wave but it seems pretty basic and doesn't look to support polyphony.
It would be great to do something in the spirit of the beatbox.c plugin that was abandoned several years ago. Also, if I'm missing documentation any help be great there too. I've just been using
https://www.rockbox.org/wiki/PluginLua#API_list along with the source. The graphics API seem pretty well documented so I don't think I'll have issues there.
Thanks!