Welcome, Guest! Log In | Create Account

Changeset 1980

Show
Ignore:
Timestamp:
09/16/09 10:06:22 (4 months ago)
Author:
t-anders
Message:

41 ET notation tests

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/strasheela/contributions/anders/ET41/testing/Output-test.oz

    r1944 r1980  
    1111/* 
    1212 
     13%% all 41 ET notes 
    1314declare 
    1415MyScore = {Score.makeScore 
    15            seq(items:{Map {List.number 0 40 1} 
    16                       fun {$ PC} 
    17                          note(duration:1 
    18                               amplitude:64 
    19                               pitchClass:PC 
    20                               octave:4) 
    21                       end} 
     16           seq({Map {List.number 0 40 1} 
     17                fun {$ PC} 
     18                   note(duration:1 
     19                        pitchClass:PC 
     20                        octave:4) 
     21                end} 
    2222               startTime:0 
    2323               timeUnit:beats) 
    2424           unit(seq:Score.sequential 
    2525                note:HS.score.note)} 
     26{MyScore wait} 
    2627%%  
    2728{ET41.out.renderAndShowLilypond MyScore 
    2829 unit(file:"41ET-test")} 
    2930 
     31 
     32%% chord notation test 
     33declare 
     34fun {MakeChord PCs} 
     35   sim({Map PCs 
     36        fun {$ PC} 
     37           note(duration:1 
     38                pitchClass:PC 
     39                octave:4) 
     40        end}) 
     41end 
     42MyScore = {Score.make 
     43           seq([{MakeChord [0 15 30]} 
     44                {MakeChord [1 16 31]} 
     45                {MakeChord [2 17 32]}] 
     46               startTime:0 
     47               timeUnit:beats) 
     48           add(note:HS.score.note)} 
     49{MyScore wait} 
     50%%  
     51{ET41.out.renderAndShowLilypond MyScore 
     52 unit(file:"41ET-test2")} 
     53 
     54 
    3055*/