Le 30 avr. 2015 à 11:01, Christian Schoenebeck <schoeneb...@linuxsampler.org> a écrit :
> On Wednesday 29 April 2015 22:21:09 Raphaël Mouneyres wrote: >> The display format is really good, and pleasant to read, this is really >> good work. > > Thanks! > >> Now It's a good reason to try to script the Hihat behaviour i need (and was >> only made workable with some tricky midi treatment before the sampler). >> But i may lack some timing tools (i need a sort of enveloppe tool)... Is >> there a way so i could make a arithmetic operation every 10ms for example >> ? > > You "could" write a note event handler and use the wait() function: > > http://doc.linuxsampler.org/Instrument_Scripts/NKSP_Language/Reference/wait_function/ > > and then update all required synthesis parameters directly in a while loop. > I said "could" because I did not have time yet to fully implement the wait() > function. As the document states, a wait() call currently ignores the > parameter passed to it, because the required scheduling code is yet missing. > Instead the script is always resumed in the next audio period. > > But since the wait() function is one of the most fundamental functions for > writing useful scripts, this is probably one of the next things I'm going to > do. So stay tuned! > > Best regards, > Christian Schoenebeck So this could still be tested with a uncontrollable but fixed wait time (audio period). I'll let you know how it goes when I put my hand in the code. Raphaël ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Linuxsampler-devel mailing list Linuxsampler-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel