Mod Archive Forums

Music Production => MilkyTracker => Tracking => MilkyTracker Feature Requests => Topic started by: nitrofurano on January 15, 2019, 19:14:09

Title: Lua/Python script plugin support
Post by: nitrofurano on January 15, 2019, 19:14:09
would be great if MilkyTracker could have Lua or/and Python script plugin support

that would help us to create scripts that, for example, would import/export to formats like .mid , .aria , .vgm , .txt (VortexTracker and FamiTracker), etc.

what do you all think about?
Title: Re: Lua/Python script plugin support
Post by: leondustar on August 30, 2022, 07:30:23
I think you can already do this no?
I mean XM is a standard with many parsers/readers on github, so you could technically start a python or lua script which than translates it to the format's you're talking about.
Title: Re: Lua/Python script plugin support
Post by: Saga Musix on September 02, 2022, 18:58:02
Of course you can write scripts outside of MilkyTracker, but scripting support usually implies that the scripts can be triggered and managed from within the application, accessing all its internals, like in Renoise or Reaper.
Title: Re: Lua/Python script plugin support
Post by: leondustar on November 16, 2022, 16:45:55
please go on...what are you really saying to the original author here (your thoughts)?
Title: Re: Lua/Python script plugin support
Post by: Saga Musix on November 16, 2022, 18:34:58
I was just saying that your reply doesn't address the feature request, it just works around it. I fully support the addition of proper, well-thought-out scripting APIs in any tracker, there's not much to add to the original request (except that it's a lot of work which is why Renoise is pretty much the only tracker(-like) that has this feature at the moment, I have been working on it on an off for years in OpenMPT and someone else also is working on basic scripting support for SchismTracker. It's certainly in the realms of possibility, but not a feature you can simply "wish for" - it needs a very dedicated person to actually want to implement it.
Title: Re: Lua/Python script plugin support
Post by: leondustar on November 19, 2022, 11:04:26
Well, perhaps nitrofurano's silence on this topic, and your off-and-on focus (in openMPT) might indicate that it's a feature which certainly adds possibilities, but does not solve urgent actual problems end-users are having.
I think we're pretty much on the same page: a scripting-engine requires a lot of sparetime effort/maintenance for a subniche of endusers.
I had some off-and-on lua experiments with milkytracker too.
Implementing a midi-importer is one thing, implementing a script-engine which allows endusers to write importer-code is something exponentially bigger.

Having that said, I do like the idea.
If you ever feel like writing down a universal module scripting-api standard let me know.
I can imagine running the same pattern-scripts (`writeNote(..) getCurrentRow(..)` e.g.) or sample-scripts (setSampleValue(instr,sample,v) e.g.) in different trackers (by just implementing the same functions).

Title: Re: Lua/Python script plugin support
Post by: theorize on January 09, 2023, 00:19:31
I think what it has going on is cool.. it's like when a DAW triggers an audio editor but it can be anything.