Hello everybody, first of all I’m really glad to join this community!
I have a small question to ask, is it possible to modify the C:\Program Files\Sonic Pi\app\server\ruby\lib\sonicpi\tuning.rb file in order to create custom temperaments?
I’ve tried but when saving the file and then opening Sonic PI, nothing changes.
PS: I have a decent background in programming but never write a line in Ruby. As a side note, despite i have posted a windows path, i actually made the test on a rasperry pi 400 with Raspi OS.
Hello @FainaruFantaji ! welcome to in_thread
You’re almost there - that file tells Sonic Pi how to use the available tuning options.
In order to make any changes to these visible, it is also necessary to edit the code that provides the auto-completing list of tuning names for the editor. (See here, how I have done so just now with a new tuning called blabla.
The code for this is here:
Unfortunately, since the file that needs changing for this is part of the c++ code, once updated, it is necessary to recompile the GUI, according to the build instructions at the root of the Sonic Pi repository (sonic-pi/BUILD-LINUX.md at main · sonic-pi-net/sonic-pi · GitHub if you are testing on a RPi).
Thank you @ethancrawford , you’re great!
My custom tuning are there…but invisible!I should have guessed this possibility.
Tomorrow i’ll try to edit and recompile (and post my results).
For those interested, here is one of the microtonal scales that I want to implement; 12 notes selected from the 19edo (quite beginner firendly )
:19ish =>
[
1.0, #19edoish 12tet - every interval is sharper than the original
1.076,
1.157,
1.200,
1.291,
1.339,
1.440,
1.549,
1.607,
1.728,
1.793,
1.928]
For everyone interested in this operation, it took little more than an hour to download, edit, compile and build the files on a Raspberry pi 400; a little time consuming task!
I’d be interesting in your tuning experiments. Probably won’t do much of them myself but it’s always neat to find people with an interest in tuning systems, including xenharmonic ones.
Could be nice to have support for Scala/.tun files. And/or a system to automatically support the common EDO ones (which is what the Bitwig Studio DAW did, not too long ago).
I’ve been quite intrigued with 31EDO as it has several intervals which are quite close to JI.
In fact, I’ve been playing with something of a “noodling scale” (heptatonic) which could work well with several just intervals from 31EDO.
So, if you have examples of your tuning experiments, I’d be interested.
Of course we understand! Hope the situation has improved for you.
Your favourite tunings are among mine as well. Especially 31, at this point. A bit unwieldy to map on a keyboard. Should work nicely in SPi.