Mod Archive Forums

Music Production => MilkyTracker => Tracking => MilkyPlay => Topic started by: chfoo on March 16, 2009, 02:59:30

Title: Want Python interface to MilkyPlay
Post by: chfoo on March 16, 2009, 02:59:30
I've been trying to build a Python interface using SWIG. I only started learning C and never programmed in C++ before.

I literally just cat'd the header files and removed sections of code that failed to compile in the SWIG C wrapper. I got it to work but when I try to play or export something, no sound is heard and the pattern and row numbers stay at 0. It shows up in PulseAudio but its not playing anything. Any ideas? I have the files I used attached.

In the end, it would be nice to have a python interface to play notes on-the-fly and maybe even edit a module.