Hello,
Very impressive work with sunvox !!
Question :
I would like to create a python package.
I want to call sunvox API from python.
Am-I allowed to include the library (file) into a package ?
Thank you.
python packages and sunvox libis
- NightRadio
- Site Admin
- Posts: 3955
- Joined: Fri Jan 23, 2004 12:28 am
- Location: Ekaterinburg. Russia
- Contact:
Re: python packages and sunvox libis
Yes, if the Python can include the native dynamic libraries (.so, .dll). But i don't know Python :)
Re: python packages and sunvox libis
I wanted to do the same thing Python's ctypes module made it really easy to do so.gryken wrote: I want to call sunvox API from python.
I am also interested in reading/manipulating/writing the file format, in ways not supported by the SunVox DLL. Python's "chunk" module was perfect for this.
Here's the project I started: https://github.com/metrasynth/rv
Re: python packages and sunvox libis
Hi,
Yes "ctypes" is the good solution.
For now i'm not using Darwin platform, but a linux one.
I will try anyway.
Thanks to share you work.
Yes "ctypes" is the good solution.
For now i'm not using Darwin platform, but a linux one.
I will try anyway.
Thanks to share you work.
Re: python packages and sunvox libis
I've split this project, and the DLL wrapper is now at https://github.com/metrasynth/sunvox-dll-python -- file format reader/writer project is at https://github.com/metrasynth/radiant-voices
It also now supports Windows (untested) and Linux as well as Mac (darwin).
It doesn't yet have examples for sending output to a buffer instead of to sound card, but support for that is on the TODO list!
It also now supports Windows (untested) and Linux as well as Mac (darwin).
It doesn't yet have examples for sending output to a buffer instead of to sound card, but support for that is on the TODO list!