Mod Archive Forums
Music Production => MilkyTracker => Tracking => MilkyTracker Feature Requests => Topic started by: carloratm on May 18, 2010, 19:11:51
-
Hi,
i'm carloratm, the author of a very little patch to autoconnect Milky
to Jack Audio Server forst outputs.
I'd like to try develop a minor feature, but i need some help.
Feature is, in 2 words: multichannel output for Jack Audio Server in
Linux (and Mac)
It's a minor feature, affecting a few people, and could looks
scandalous for someone,
but i really think that would be useful!
So, every MilkyTracker channel will have a separate stereo output in Jack.
Could you please tell me where to start, in the code, to discover the
audio channels system?
Thank you
Cheers
-
I could be wrong, but I think the actual mixing takes place inside the Resampler* files located in the Milkyplay directory.
Warning: do not look inside ResamplerMacros.h, you won't like what you see!
-
Feature is, in 2 words: multichannel output for Jack Audio Server in
Linux (and Mac)
I'm not a coder but I fully endorse this :) This would make it possible to route the audio to any DAW for mixing (not to mention the use of delays, which i would find valuable). As far as I know rewire is only being licenced to commercial products.
I use virtual audio cable under windows at the moment, routing only the master audio to renoise for some extra mastering and visualization.
Some would probably think that it's better to change software alltogether, but except for being used to its tracking interface, Milkytrackers vibsweep and sample drawing is invaluable to me and I can't find these features anywhere else.
-
And where is the part of adding/removing Tracks ? ;)
-
Mixing audio is just summing up the tracks in the same buffer. If you want to add this feature you will have to modify ChannelMixer.* and rework parts of the audio driver implementation because mixing always takes place in the same buffer and I assume for multichannel support you need to mix into seperate buffers for each channel you have.
-
Mixing audio is just summing up the tracks in the same buffer. If you want to add this feature you will have to modify ChannelMixer.* and rework parts of the audio driver implementation because mixing always takes place in the same buffer and I assume for multichannel support you need to mix into seperate buffers for each channel you have.
Exactly. It's a bit harder than i thought.
-
I was expecting this ;)
-
is there somewhere a scheme diagram on how work audio routing in milky?
Maybe it could help me a bit
-
Real programmers don't need diagrams ;)
Just kidding, but honestly, there is none... It's fairly easy to understand actually.
-
Real programmers don't need diagrams ;)
I am NOT a real programmer, absolutely :)
-
Hi,
i'm carloratm, the author of a very little patch to autoconnect Milky
to Jack Audio Server forst outputs.
... where to find your patch?1
-
http://milkytracker.org/?download (http://milkytracker.org/?download)
The complete source code and patches are available here.
-
ChannalMixer.cpp, line 126 says:
for (mp_uint32 c=0;c<numChannels;c++)
{
[...]
}
in this loop the signals are summed up one channal after the other. Would it be possible to init a buffer for each channel and write the channal's signal into it?
I can't help with C++ programming, but I can answer most questions about audio signal processing. Looking at the jack_autoconnect patch it seems knowledge of jack functions is also there...
-
It's a minor feature, affecting a few people, and could looks scandalous for someone, but i really think that would be useful!
So, every MilkyTracker channel will have a separate stereo output in Jack.
still a killerfeature.