SunVox Engine for JavaScript

Multi-platform modular music creation studio
Post Reply
User avatar
NightRadio
Site Admin
Posts: 3016
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

SunVox Engine for JavaScript

Post by NightRadio » Sat Aug 04, 2018 2:14 pm

SunVox library for developers has been updated to v1.9.4c!
With a lot of changes, including JavaScript support!
Look at the example: JS SunVox Player with endless generative demo songs.

Image

GENNA
Posts: 9
Joined: Wed Apr 25, 2018 7:42 pm
Contact:

Re: SunVox Engine for JavaScript

Post by GENNA » Sun Aug 19, 2018 1:07 am

This looks pretty rad. So, how difficult would you say it would be to create a simple page that would select a sunvox file at random and begin playing it whenever someone visited the page? The user would have the option to stop playing the file, or select another file at random.

I've been working with generative music for years and I've been finding SunVox to be pretty accommodating for some of my projects. I should mention, however, that I have very little JS experience. Still, I think this is definitely worth looking into.

Thanks for all of the great work you do, NightRadio!

GENNA
Posts: 9
Joined: Wed Apr 25, 2018 7:42 pm
Contact:

Re: SunVox Engine for JavaScript

Post by GENNA » Sun Aug 19, 2018 7:06 am

Actually, I am happy to report I've already made quite a bit of headway with this project. Having said that, I do want to make sure I'm adhering to the proper protocols.

Alexander, so long as I include the statement about it being powered by SunVox, a link to your web site and the statement regarding OGG Vorbis and Xhip.org I am ok to use this, correct? This project is not for commercial purposes, but I want to ensure that I am giving proper credit. Also, please let me know if I should remove this post and move this discussion to a private message.

Once again, thank you.

User avatar
NightRadio
Site Admin
Posts: 3016
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

Re: SunVox Engine for JavaScript

Post by NightRadio » Sun Aug 19, 2018 1:05 pm

Actually, I am happy to report I've already made quite a bit of headway with this project.
It's great!

Alexander, so long as I include the statement about it being powered by SunVox, a link to your web site and the statement regarding OGG Vorbis and Xhip.org I am ok to use this, correct?
Yes, that's right.
Please don't forget to share a link to your project when it is finished :)

GENNA
Posts: 9
Joined: Wed Apr 25, 2018 7:42 pm
Contact:

Re: SunVox Engine for JavaScript

Post by GENNA » Sat Aug 25, 2018 1:48 am

So, after having some playtime with the JS version I am running into some issues. One is file size, which is understandable. Some of my projects use rather large samples and I could see why that would create a problem when trying to load. However, I've also noticed that none of my songs that use MetaModules will play, nor will any of my songs that use more than a few percent of the CPU.

Is there any documentation available about what the limitations are for the JS version of SunVox? If not, I understand. I am more than happy to keep experimenting to see what works and what doesn't.

Thanks!

User avatar
NightRadio
Site Admin
Posts: 3016
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

Re: SunVox Engine for JavaScript

Post by NightRadio » Sun Aug 26, 2018 12:55 am

Is there any documentation available about what the limitations are for the JS version of SunVox?
Not yet, sorry. So far I do not really know these limitations too :) I should check this in more detail...
Please can you send me some of your songs that don't play correctly in JS player?
nightradio@gmail.com

hseiken
Posts: 140
Joined: Thu Jul 17, 2008 3:52 am

Re: SunVox Engine for JavaScript

Post by hseiken » Mon Sep 03, 2018 11:48 pm

@GENNA I'm sure you're well aware of this, but do not assume that everyone has a system that can play crazy complicated tracks. Even some songs that are shipped with Sunvox won't play on my main computer without overloading the CPU. I personally would keep tracks to simple chiptunes or sampler-based tracks with only a few FX. Especially for handheld devices that might be browsing your page. ;) 8 Cores at 4Ghz isn't exactly standard for most people. ;)
WARNINGThis angry old nerd may rant about modern computers or computer culture! It is not directed at you 99% of the time! Ignore it if it seems silly or personal!

GENNA
Posts: 9
Joined: Wed Apr 25, 2018 7:42 pm
Contact:

Re: SunVox Engine for JavaScript

Post by GENNA » Tue Sep 04, 2018 4:37 am

@NightRadio, my apologies for not replying sooner. I've been away from my computer for extended periods over the past two weeks. I'm back to experimenting though and will send you a few examples.

@hseiken, you are absolutely right. I think I definitely sometimes take my system for granted. It's fairly high-spec as I use it for live performance as well. Also, I'm new to the whole JavaScript thing so I'm really not sure what sort of limitations or flexibility is available there. I do need to remember that keeping things simple is best - thank you! :good:

Post Reply