Mod Archive Forums

Music Production => MilkyTracker => Tracking => MilkyTracker Feature Requests => Topic started by: storerestore on June 01, 2011, 22:53:04

Title: Multiple samples as command line arguments
Post by: storerestore on June 01, 2011, 22:53:04
When you run milkytracker like "milkytracker.exe acieed.wav" the sample gets loaded into the first instrument with some sensible parameters so that it can be played and composed with immediately.

I thought that this could easily be extended to loading multiple samples into different instruments in the same way, so you could load "milkytracker.exe *.wav" or (in windows) just drag and drop a bunch of samples to start composing right away, or to quickly make a pack for an OHC.

It's a feature that might have limited use, but some people on #botb agreed that it's a nice idea!
Title: Re: Multiple samples as command line arguments
Post by: Saga Musix on June 01, 2011, 23:26:09
I think what Milky might be doing here is rather trying to load your WAV files as a module rather than a sample (I didn't check the source though so I can't tell for sure). So this is probably not the right way to implement multi-sample loading, since that's not what most people would probably expect.
Title: Re: Multiple samples as command line arguments
Post by: storerestore on June 02, 2011, 12:10:47
I think what Milky might be doing here is rather trying to load your WAV files as a module rather than a sample (I didn't check the source though so I can't tell for sure).
No, in the case of having one sample as an argument, the behavior is like I described in the first paragraph. The sample is loaded into the first instrument and is instantly playable. I should have made that more clear :)

The request is for being able to do this but with multiple samples as arguments.
Title: Re: Multiple samples as command line arguments
Post by: Saga Musix on June 02, 2011, 22:48:33
I didn't notice that Milky doesn't put a note in the first pattern, so it probably does indeed try to load the file as a sample. I thought more around the behaviour of ModPlug, which would load the WAV file into the first sample slot and create a pattern as long as that sample and trigger it.