back to list

Mathics, eh?

🔗Carl Lumma <carl@lumma.org>

8/23/2012 10:36:16 PM

Interesting new-to-me site

http://www.mathics.net

I've put in a request for permalinks to saved worksheets.
That could be a handy feature for us.

-Carl

🔗Mike Battaglia <battaglia01@gmail.com>

8/23/2012 10:50:42 PM

Yep, stumbled on this a while ago. Hooray for SAGE. One of these days
I'll get around to coding up the matrix library in JS and I'll be sure
to add a frontend like this.

One immediate pain in the ass, however, is that there's no
pseudoinverse routine here. This makes coding stuff up miserable and
sad. What you probably want is this online octave server:

http://weboctave.mimuw.edu.pl/weboctave/web/index.php

Now copy and paste the overly verbose code below into "commands"

%==============%
meantone = [1 1 0;0 1 4]; %meantone mapping matrix
weighting = diag(1./log2([2 3 5])); %val weighting matrix
wm = meantone * weighting; %weighted meantone
JIP = [1 1 1]; %you better damn
well know what the JIP is
format long g; %lots of decimals
TEgenmap = 1200*JIP*pinv(wm) %TE generator map
TEtuningmap = TEgenmap*meantone %the sweet smell of victory
%==============%

There's TE meantone for you.

-Mike

On Fri, Aug 24, 2012 at 1:36 AM, Carl Lumma <carl@lumma.org> wrote:
>
> Interesting new-to-me site
>
> http://www.mathics.net
>
> I've put in a request for permalinks to saved worksheets.
> That could be a handy feature for us.
>
> -Carl

🔗Carl Lumma <carl@lumma.org>

8/23/2012 11:06:03 PM

Sweet. Too bad it doesn't have permalinks either.

-Carl

At 10:50 PM 8/23/2012, you wrote:
>Yep, stumbled on this a while ago. Hooray for SAGE. One of these days
>I'll get around to coding up the matrix library in JS and I'll be sure
>to add a frontend like this.
>
>One immediate pain in the ass, however, is that there's no
>pseudoinverse routine here. This makes coding stuff up miserable and
>sad. What you probably want is this online octave server:
>
>http://weboctave.mimuw.edu.pl/weboctave/web/index.php
>
>Now copy and paste the overly verbose code below into "commands"
>
>%==============%
>meantone = [1 1 0;0 1 4]; %meantone mapping matrix
>weighting = diag(1./log2([2 3 5])); %val weighting matrix
>wm = meantone * weighting; %weighted meantone
>JIP = [1 1 1]; %you better damn
>well know what the JIP is
>format long g; %lots of decimals
>TEgenmap = 1200*JIP*pinv(wm) %TE generator map
>TEtuningmap = TEgenmap*meantone %the sweet smell of victory
>%==============%
>
>There's TE meantone for you.
>
>-Mike

🔗Mike Battaglia <battaglia01@gmail.com>

8/23/2012 11:30:26 PM

On Fri, Aug 24, 2012 at 1:50 AM, Mike Battaglia <battaglia01@gmail.com> wrote:
>
> Now copy and paste the overly verbose code below into "commands"

Here's another overly verbose one which can handle arbitrary subgroups

%===============%
limit = [[1;0;0;0] [0;2;0;-1] [0;-1;1;0]]; %[a;b;c] are
column vectors representing monzos, this is the 2.9/7.5/3 limit. this
is also secretly a V-map
mapping = [1 0 0;0 1 2]; %may or may not rhyme with shmensi
shmemperament

p = primes(31); %don't go past the 31-limit, ever
flimit = p(1:size(limit,1)); %flimit is the full limit the
above exists in. So in this case it's [2 3 5 7]
kernel = null(mapping); %get the kernel of the mapping matrix
fkernel = limit*kernel; %get the full-limit version
fmapping = null(fkernel')'; %full-limit mapping
weighting = diag(1./log2(flimit)); %weighting matrix
JIP = ones(1,length(flimit)); %lol JIP
fTEmap = 1200*JIP*pinv(fmapping*weighting)*fmapping; %full-limit TE map

format long g;
TEgenmap = fTEmap*limit*pinv(mapping) %TE generator map
TEtuningmap = fTEmap*limit %the sweet smell of victory
%===============%

-Mike

🔗genewardsmith <genewardsmith@sbcglobal.net>

8/24/2012 7:30:30 AM

--- In tuning-math@yahoogroups.com, Carl Lumma <carl@...> wrote:
>
> Interesting new-to-me site
>
> http://www.mathics.net
>
> I've put in a request for permalinks to saved worksheets.
> That could be a handy feature for us.

Apparently you can use it as a light-weight front end for SAGE, but otherwise I don't see enough under the hood to make it very useful to me.

🔗genewardsmith <genewardsmith@sbcglobal.net>

8/24/2012 8:32:53 AM

--- In tuning-math@yahoogroups.com, Carl Lumma <carl@...> wrote:
>
> Sweet. Too bad it doesn't have permalinks either.

If you're talking about SAGE, apparently you can publish worksheets and thereby make them available.