> > Testing on old and slow computer would provide your answers. > If garbage collection disrupts tempo, it can be disabled > GC.disable > Enable and start between midi songs > GC.enable > GC.start > GC is not known to leak memory, AFAIK. I wrote "leak" but I meant "grows", how much does the garbage grow if it is not collected ? (I will test this to see). > > > Gerald I will try this before moving to Lua. If it's fast enough and the memory does not grow too much between garbage collections: Ruby. Else: Lua. Gaspard