« Return to Thread: Harry Partch's 43-note scale

Re: Harry Partch's 43-note scale [LONG]

by James Harkins-2 :: Rate this Message:

Reply to Author | View in Thread

Just a general suggestion... whenever you find yourself writing:

~p1 = ...;
~p2 = ...;
etc.

... you'll be much better served by an array.

p = [1, 81/80, etc.];

Then, instead of

>                 p1list=[~p18, ~p19, ~p20, ~p22, ~p24, ~p25, ~p26,
>  ~p27, ~p28, ~p29, ~p30, ~p33, ~p43];

You could do

p1list = p[[17, 18, 19, 21, 23, 24, 25, 26, 27, 28, 29, 32, 42]];

It does mean thinking from 0 rather than 1 but isn't that a much cleaner syntax?
hjh

On Wed, Mar 5, 2008 at 11:05 PM, Mark Ballora <ballora@...> wrote:
>  I created this backdrop of shifting tones from his scale for a piece.
>  I defined the ratios and multiplied them by a fundamental.
>
>  ~p1=1.round(1);                 // 1/1
>  ~p2=1.0125.round(1.0125);       // 81/80
>  ~p3=1.03125.round(1.03125); // 33/32

--
James Harkins /// dewdrop world
jamshark70@...
http://www.dewdrop-world.net

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman
_______________________________________________
sc-users mailing list
sc-users@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-users

 « Return to Thread: Harry Partch's 43-note scale