audio-visualizer-python icon indicating copy to clipboard operation
audio-visualizer-python copied to clipboard

Integrate projectM Visualizer

Open dv-anomaly opened this issue 8 years ago • 2 comments

Some dicussion about this took place in #15 this is now the formal place for projectM discussions. If you have suggestions for other visualization libraries please create a new issue. projectM is written in C++ we would need to create our own bindings. Perhaps using SWIG.

http://projectm.sourceforge.net/ https://github.com/projectM-visualizer/projectm http://www.swig.org/

dv-anomaly avatar Jun 06 '17 22:06 dv-anomaly

Swig could work, and if nothing else would probably be a decent example of how the bindings would look.

But generally if you're looking for maximum performance which i imagine something realtime like this would be, it makes more sense to write the bindings by hand in the long run.

rikai avatar Jun 07 '17 18:06 rikai

Guys, I took a swag at creating python bindings using cython. Please see https://github.com/projectM-visualizer/projectm/issues/10 . I'm not really an expert with project M, but have played around with using cython to create bindings quite a bit. The PCM bindings are only partially implemented at this point, but you should be able to feed data to it using a numpy array. I would be interested in hearing your thoughts and discussing what can be done better to adapt it to your needs. Thanks.

walshbp avatar Apr 03 '18 01:04 walshbp