vsariola / sointu

Fork of 4klang that can target 386, amd64 and WebAssembly. Tools run on Windows, Mac & Linux
MIT License
254 stars 17 forks source link

Mechanism to play gm.dls based instruments in non-native tracker on linux #159

Closed LeStahL closed 2 hours ago

LeStahL commented 2 hours ago

When working on a prod targeting windows with gm.dls use, it's not possible to play back the track on linux.

Maybe Sointu could allow to specify where the non-native tracker & plugin look for gm.dls over a CLI arg and a menu entry? That way it would be possible to at least play and convert to wave correctly on linux (by copying the file over from windows).

LeStahL commented 2 hours ago

(This would make cross-development much easier)

vsariola commented 2 hours ago

I think it looks first for it from the current directory, if by any magic you get hold of this file on linux ;)

https://github.com/vsariola/sointu/blob/8fd2df19a16d16a7846a7ec02fb33e0422339b43/vm/go_synth.go#L80

vsariola commented 2 hours ago

Is this not enough?

LeStahL commented 2 hours ago

oh, even better - I'll try that :) didn't look into the source

LeStahL commented 2 hours ago

works perfectly. Thank you! :)