Porl, linux-audio people<br><div class="gmail_quote"><br>A SCALA scale library interface would be a fantastic idea....I did something like this as an exercise in Python for turning SCALA .scl files into tuning dump commands for fluidsynth (even though SCALA itself has fluidsynth scale output :) )<br>

<br>One could use regex statements to parse the header, and have some case switches to determine if the line in the scale 'body' of the .scl file was a ratio, or value in cents, etc.<br>The synth engine would work with the final array of frequencies that were spit out into a MIDI-key indexed array....<br>

<br>I think this would be the easier part. The harder part, and where I think I'd need help, is integrating such functions into an existing audio architecture, plus integrating new GUI dialogs and menus into the same...it might take a whole to figure out if other things get broken as a result...I'm thinking for instance of envelope scaling being related to absolute pitch in HZ instead of MIDI note numbers. I haven't dug deep enough into the 'whysynth' code to see, but such things might need to be redesigned, and it might take time to work out any side effects of shoving SCALA interface code into the mix....maybe if Sean Bolton is on the list here, he'd have some insight into how to best fit things in with his existing code....<br>

<br>Perhaps the SCALA interface library could have a modular template of GUI dialogs/controls/menus for the more popular libs like GTK, FLTK, KDE, TK, etc.?<br><br>Anyway, I'd be happy as a pig in %^&* to see this in whysynth, and as a de facto standard library the same way jack is in any synth application now written.<br>

<br>Best,<br>AKJ<br><a href="http://www.akjmusic.com" target="_blank">http://www.akjmusic.com</a>  #my site (lots of music made with linux there!)<br><a href="http://www.untwelve.org" target="_blank">http://www.untwelve.org</a>    #my project (microtonal/tuning-centric concert series ;) )<div>
<div></div><div class="h5"><br>
<br><div class="gmail_quote">On Tue, Apr 28, 2009 at 5:25 AM, porl sheean <span dir="ltr"><<a href="mailto:porl42@gmail.com" target="_blank">porl42@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

perhaps someone could write a simple library that takes a midi-key (0-127) as input, as well as a 'scala' mapping and outputs frequency numbers? rather than every project reimplementing the same idea.<br><br>having written this, you all probably think it is obvious anyway, so i'll keep quiet :)<br>



<br>porl<br><br><div class="gmail_quote">2009/4/28 Dave Phillips <span dir="ltr"><<a href="mailto:dlphillips@woh.rr.com" target="_blank">dlphillips@woh.rr.com</a>></span><div><div></div><div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



Aaron Johnson wrote:<br>
> ... after having located the code snippet in whysynth that creates a<br>
<div>> standard 12-equal tuning array, called 'y_pitch', as factors relative<br>
> to 440HZ (A440), and indexed by MIDI note numbers. I wonder, how easy<br>
> would it be to make this table dynamic and subject to for example,<br>
> loading a SCALA .scl file, or at least, a user defined array which can<br>
> be loaded from a dialog box?<br>
<br>
</div>I'd like to second Aaron's proposal/request. Support for Scala files<br>
should be standard in all software synthesizers. It seems a bit<br>
ludicrous to fix intonation at 12-tone ET when the medium is capable of<br>
any intonation desired.<br>
<br>
Best,<br>
<br>
dp<br>
<br>
_______________________________________________<br>
Linux-audio-dev mailing list<br>
<a href="mailto:Linux-audio-dev@lists.linuxaudio.org" target="_blank">Linux-audio-dev@lists.linuxaudio.org</a><br>
<a href="http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev" target="_blank">http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev</a><br>
</blockquote></div></div></div><br>
<br>_______________________________________________<br>
Linux-audio-dev mailing list<br>
<a href="mailto:Linux-audio-dev@lists.linuxaudio.org" target="_blank">Linux-audio-dev@lists.linuxaudio.org</a><br>
<a href="http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev" target="_blank">http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev</a><br>
<br></blockquote></div><br><br clear="all"><br></div></div><div><div></div><div class="h5">-- <br><br>Aaron Krister Johnson<br><a href="http://www.akjmusic.com" target="_blank">http://www.akjmusic.com</a><br><a href="http://www.untwelve.org" target="_blank">http://www.untwelve.org</a><br>
<br>
</div></div></div><br><br clear="all"><br>-- <br><br>Aaron Krister Johnson<br><a href="http://www.akjmusic.com">http://www.akjmusic.com</a><br><a href="http://www.untwelve.org">http://www.untwelve.org</a><br><br>