back to list

using scala to tune timidity

🔗Rustom Mody <rustompmody@...>

4/10/2010 11:41:15 PM

I would like to use scala to generate scale files that I can then use to tune timidity. That way I could experiment with playing the same midi file with different tunings.

Is this easy (possible?) to do?
Or are there better ways of doing this?

[And if this not the list for this kind of question please let me know :-) ]

🔗genewardsmith <genewardsmith@...>

4/11/2010 7:59:43 AM

--- In tuning@yahoogroups.com, Rustom Mody <rustompmody@...> wrote:
>
> I would like to use scala to generate scale files that I can then use to tune timidity. That way I could experiment with playing the same midi file with different tunings.

Scala is made for that sort of thing. Unfortunately, I've been out of it for a few years, and find I have trouble configuring Scala; it's evident that the timidity.cmd and timidityplay.cmd files in the home directory should be edited to point to timidity, but so fr I haven't even managed to get it to play a midi file.

If you want to try, look under the tools menu for "Retune midi file". That should be what you want, if you can get it to work. My favorite way of working was to use the "Transform midi to sequence file", then to edit the seq file, then invoke "Transform sequence to midi file", and then toss the midi file onto a batch file which then invoked timidity.

🔗Rustom Mody <rustompmody@...>

4/11/2010 10:12:56 AM

I guess my scala is not working. It keeps giving (getting?) this error
GThread-ERROR **: file /build/buildd-glib2.0_2.22.4-1-i386-jRfNZE/glib2.0-2.22.4/gthread/gthread-posix.c: line 348 (g_thread_create_posix_impl): error 'Invalid argument' during 'pthread_attr_setschedparam (&attr, &sched)'
aborting...
Aborted
[This is on linux]

googling around tells me that this seems to be a general (and recent) glib problem not specific to scala
So to get back to my question -- Then how do you experts in tunings actually do tunings?

[I'll also try on windows and see how things fare there]

________________________________
From: genewardsmith <genewardsmith@...>
To: tuning@yahoogroups.com
Sent: Sun, April 11, 2010 8:29:43 PM
Subject: [tuning] Re: using scala to tune timidity

--- In tuning@yahoogroups. com, Rustom Mody <rustompmody@ ...> wrote:
>
> I would like to use scala to generate scale files that I can then use to tune timidity. That way I could experiment with playing the same midi file with different tunings.

Scala is made for that sort of thing. Unfortunately, I've been out of it for a few years, and find I have trouble configuring Scala; it's evident that the timidity.cmd and timidityplay. cmd files in the home directory should be edited to point to timidity, but so fr I haven't even managed to get it to play a midi file.

If you want to try, look under the tools menu for "Retune midi file". That should be what you want, if you can get it to work. My favorite way of working was to use the "Transform midi to sequence file", then to edit the seq file, then invoke "Transform sequence to midi file", and then toss the midi file onto a batch file which then invoked timidity.