Page 1 of 1
Radiant Voices: SunVox wrapper for Python
Posted: Fri Jul 01, 2016 10:43 pm
by queries
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
Re: Radiant Voices: SunVox wrapper for Python
Posted: Fri Jul 08, 2016 11:20 pm
by NightRadio
Cool! Good luck with development!
Re: Radiant Voices: SunVox wrapper for Python
Posted: Mon Aug 22, 2016 2:29 am
by queries
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!
Re: Radiant Voices: SunVox wrapper for Python
Posted: Sat Sep 17, 2016 4:52 am
by queries
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!
Re: Radiant Voices: SunVox wrapper for Python (and JavaScript!)
Posted: Wed Nov 01, 2017 3:09 am
by queries
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
Re: Radiant Voices: SunVox wrapper for Python
Posted: Wed Nov 08, 2017 5:31 pm
by zeffii
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
Posted: Wed Nov 08, 2017 5:39 pm
by queries
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.
Re: Radiant Voices: SunVox wrapper for Python
Posted: Wed Nov 22, 2017 10:26 pm
by zeffii
looks like we got a 64 bit lib now
)
Re: Radiant Voices: SunVox wrapper for Python
Posted: Sat Nov 25, 2017 11:35 pm
by queries
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.
Re: Radiant Voices: SunVox wrapper for Python
Posted: Mon Jul 13, 2020 12:55 am
by queries
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!