.scl to curve3 converter!

Post Reply
User avatar
AutumnCheney
Posts: 503
Joined: Sun Dec 29, 2019 8:16 am
Location: tahlequah, ok, usa
Contact:

.scl to curve3 converter!

Post by AutumnCheney »

hello,

i wrote a pixilang script that converts .scl files to curve16bit files for the multisynth's curve3! this means that if you have a .scl file you want to use in sunvox, now you can! just run the script and choose the file in the dialog, then load the generated file into the multisynth's curve3

additionally, normally .scl files assume that the center is a4 and the frequency of a4 is 440 hz. however, in the config of the script, you can change this to whatever you want!

here's the script:
scl_to_curve3.pixi
(10.24 KiB) Downloaded 41 times
and as a bonus, here are almost all of the scales from sevish's scale pack, converted for sunvox; it'll be a great resource for getting into xenharmonics:

converted-sevish-tunings.zip
(47.84 KiB) Downloaded 123 times

(you can find the original here: https://sevish.com/music-resources/)

granted, the script isn't perfect, and if there are any bugs, please tell me (or fix it yourself if you can :wink: ). sometimes, it saves the file in the same directory as the script and other times in the same directory as the original .scl. nonetheless, it works pretty well, and perhaps in the future i can add some functionality for generating your own tunings...
Last edited by AutumnCheney on Thu Nov 23, 2023 6:57 am, edited 2 times in total.
my website: https://acheney.xyz

it features my music, sunvox content, and social media links!
johan_s
Posts: 14
Joined: Tue Jan 25, 2022 12:02 am

Re: .scl to curve3 converter!

Post by johan_s »

+1 thank you for this, some great results just experimenting with the sevish tunings,.. will try and import some of my other Scala files tonight.
I remember someone making a similar converter a while ago (https://www.ahornberg.at/scala2sunvox/) but didn’t really get to check it out.. in any case very useful, cheers. Hoping the eventual implementation of pixilang in sunvox makes it even easier to generate custom scales/curves in engine
User avatar
AutumnCheney
Posts: 503
Joined: Sun Dec 29, 2019 8:16 am
Location: tahlequah, ok, usa
Contact:

Re: .scl to curve3 converter!

Post by AutumnCheney »

i updated the file

it should no longer break when you load files generated with sevish's scale workshop tool; some files will break if they have consecutive line feeds/carriage returns (this includes some world tunings in the original sevish tunings). i've tried fixing it myself and have gotten nowhere; hopefully i'll fix it eventually
my website: https://acheney.xyz

it features my music, sunvox content, and social media links!
User avatar
AutumnCheney
Posts: 503
Joined: Sun Dec 29, 2019 8:16 am
Location: tahlequah, ok, usa
Contact:

Re: .scl to curve3 converter!

Post by AutumnCheney »

this script has been updated

this script and my other script are now available here: https://git.acheney.xyz/acheney/scl_to_ ... converters

also, there is now functionality for mapping a scale from the tuning to the 12 notes of the keyboard. this is particularly useful for tunings smaller than 12, or with tunings that you want to make a preset scale from. the details to this process are in the file

lastly, the log output is now shown on the screen using a modified version of nightradio's show_log() function, so you no longer need to have a terminal open to check for errors
my website: https://acheney.xyz

it features my music, sunvox content, and social media links!
Post Reply