I have become so enamored with SunVox that I started a project to wrap the SunVox DLL in Python, as well as to read/write/generate/manipulate sunvox and sunsynth files. (Python's "ctypes" and "chunk" standard library modules were a perfect fit)
It's early stages but I wanted to follow the "release early, release often" ethos of Open Source.
https://github.com/metrasynth/sunvox-dll-python
There's also a project to read/modify/write SunVox files:
https://github.com/metrasynth/radiant-voices
Radiant Voices: SunVox wrapper for Python
Radiant Voices: SunVox wrapper for Python
Last edited by queries on Sat Nov 25, 2017 11:36 pm, edited 1 time in total.
- NightRadio
- Site Admin
- Posts: 3955
- Joined: Fri Jan 23, 2004 12:28 am
- Location: Ekaterinburg. Russia
- Contact:
Re: Radiant Voices: SunVox wrapper for Python
Cool! Good luck with development!
Re: Radiant Voices: SunVox wrapper for Python
The URL is now https://github.com/metrasynth/radiant-voices/
We now have a working "hello world" example!
https://github.com/metrasynth/radiant-v ... loworld.py
For those who don't want to install Python stuff, I posted a demo video to the Facebook group: https://www.facebook.com/groups/sunvox/ ... 294214474/
More to come!
We now have a working "hello world" example!
https://github.com/metrasynth/radiant-v ... loworld.py
For those who don't want to install Python stuff, I posted a demo video to the Facebook group: https://www.facebook.com/groups/sunvox/ ... 294214474/
More to come!
Re: Radiant Voices: SunVox wrapper for Python
Here is a brief example of how you can use the new buffered output in sunvox-dll-python to embed audio onto a webpage, and perform analysis on it: http://nbviewer.jupyter.org/gist/gldnsp ... de210501e3
I plan to use this style (Jupyter notebook w/ inline audio and explanatory text) for further examples and studies using Radiant Voices. Stay tuned!
I plan to use this style (Jupyter notebook w/ inline audio and explanatory text) for further examples and studies using Radiant Voices. Stay tuned!
Re: Radiant Voices: SunVox wrapper for Python (and JavaScript!)
Radiant Voices is being updated to support the changes introduced in 1.9.3.
In addition, I've started a JavaScript version that aims to provide a similar set of tools, ready for SunVox JS when it becomes available:
https://github.com/metrasynth/radiant-voices-js
In addition, I've started a JavaScript version that aims to provide a similar set of tools, ready for SunVox JS when it becomes available:
https://github.com/metrasynth/radiant-voices-js
Re: Radiant Voices: SunVox wrapper for Python
is there a 64bit dll yet? i'd like to script a stereo separator using a comb filter setup
Re: Radiant Voices: SunVox wrapper for Python
NR will have to speak to 64-bit Windows DLL. I hope so though
I'll certainly update and test the Python wrapper once the new DLL is released.
I'll certainly update and test the Python wrapper once the new DLL is released.
Re: Radiant Voices: SunVox wrapper for Python
looks like we got a 64 bit lib now )
Re: Radiant Voices: SunVox wrapper for Python
sunvox-dll-python now includes the latest 1.9.3b DLL that was released today, and has been tested with 64-bit Windows. Hooray!
https://pypi.python.org/pypi/sunvox-dll ... .0.1.9.3.1
Still working on new Radiant Voices, for SunVox file read/modify/write. There are a couple of places where I want to fix bugs still.
https://pypi.python.org/pypi/sunvox-dll ... .0.1.9.3.1
Still working on new Radiant Voices, for SunVox file read/modify/write. There are a couple of places where I want to fix bugs still.
Re: Radiant Voices: SunVox wrapper for Python
There is now a rudimentary demo of the JavaScript version of Radiant Voices:
https://sunvox.audio/
The drop-target at the top is to drag/drop SunVox projects. It'll play directly in SunVox JS but it will also load the project using Radiant Voices, to test out parts of the project-loading code.
The button at the bottom is the fun part though, even if the music is boring. It creates a new SunVox project using only JavaScript, loads it into the SunVox JS library, and optionally downloads the project to your computer.
The code snippet that does that is this: https://github.com/metrasynth/radiant-v ... sx#L44-L74
There's a lot of work left to do, but reaching this milestone is very exciting. There's a lot of possibilities to unlock by manipulating SunVox files in a browser!
https://sunvox.audio/
The drop-target at the top is to drag/drop SunVox projects. It'll play directly in SunVox JS but it will also load the project using Radiant Voices, to test out parts of the project-loading code.
The button at the bottom is the fun part though, even if the music is boring. It creates a new SunVox project using only JavaScript, loads it into the SunVox JS library, and optionally downloads the project to your computer.
The code snippet that does that is this: https://github.com/metrasynth/radiant-v ... sx#L44-L74
There's a lot of work left to do, but reaching this milestone is very exciting. There's a lot of possibilities to unlock by manipulating SunVox files in a browser!