pouët.net

Go to bottom

Tracker sourcecode reuse ?

category: code [glöplog]
 
Is there a well known PC tracker with source code available which is well written to be "easily" (e.g. without rewriting all the stuff, well decoupled) modified to remove the PC sound generation ?

In my case, I just need the composition part (GUI, objects which model pattern, tracks, instruments...), the player will be embedded on some little hardware stuff (or emulated on the PC).

Else bah I'll got for it but... I'm lazy.

thx !
well theres openMPT, but i have no idea if the code is feasable for your evil plans :p
added on the 2011-04-05 17:44:39 by wysiwtf wysiwtf
thx.
I'm looking at the sourcecode, doesn't seem easy, a lot of different things per file, different classes, but I need to try.
Hum I forgot MilkyTracker (shame on me), looks to be a good candidate
libmodplug is just the module playing part of ModPlug Tracker, however it lacks behind OpenMPT when it comes to playback compatibility. If that's not too much of concern for you, it might be an option.
saga: You seem to have misunderstood. He wants to reuse the GUI-code, not the playback-code.
added on the 2011-04-05 18:49:53 by kusma kusma
sounds like an interesting project!

I'm the author of this tracker.
It is totally unknown but I think it would be rather easy to modify
it / add your softsynth + some UI for it / write an exporter that
saves the song in a size-optimized file-format of your choice.

Since I know the source inside-out, I could offer to do that for you
so you would not have to waste time wading through hundreds of
classes and files :)

Of course you could use Milkytracker (which is very well written)
but mine has "macros" (C64 style!) which might come in handy on
a size-contrained embedded platform.

Just offering my help..Feel free to get in touch if you are interested!
added on the 2011-04-05 19:13:21 by xyz xyz
kusma: yeah, just noticed that as well. usually it's the other way around, people want to re-use the play code and not the GUI. :)

That said, maybe it would be a better idea to look into VST coding - then you could use the sound generator in any host that supports VST instruments and you could still export the music data to a binary format for your embedded platform (kind of like V2's or 4klang's record button).
(and yes, both VST and re-using other tracker's code is a nightmare)
Bastian : let's discuss about it, I'll send you an email to tkscript.de.

Saga, I don't know much about VST coding, is there some trackers that support VST instrument ? (I guess so...)
So in this case, maybe I just need to write a VST which sends data to my hardware synthesizer ?
Renoise is most definately my favorite tracker with a vast VST-section
added on the 2011-04-05 23:02:45 by Punqtured Punqtured
Shazz: That's cool.

Forget about VST unless you want to implement a V3 plugin (pure madness!).
VST 2.x doesn't support voice handles so your soft-synth will have to look
like a generic MIDI-synth to the plugin host. Not want you want, probably.
added on the 2011-04-05 23:06:07 by xyz xyz
Shazz: A few trackers and "trackers" that support VSTi are OpenMPT, Renoise, MadTracker and Buzz + clones. I don't think any of them support VST 3, though. You can either write a VST that has its own sound generator or you indeed just pass on the note data to your hardware. The latter might be more complicated, though.
I had originally written MONOTONE http://www.oldskool.org/pc/MONOTONE for that purpose but lost time and interest in the project. It was satisfying but it probably isn't useful for you (the goal was to create a tracker for generic-sound-device of just tones and volume). It was ported to a microprocessor but that's all since I stopped developing it.

When I start up my sound card museum idea, I am thinking of completely rewriting the interface portion to emulate ST3 so that people will have a common interface to make tunes with. (the idea is that the tracker would eventually support every single sound device you can hook into a DOS machine, so as to provide working code examples of how to drive that device)
added on the 2011-04-06 04:54:28 by trixter trixter

login

Go to top