User:Birgit bachler/assignment

From XPUB & Lens-Based wiki

<DynamicPageList> category=2011 P1.01 </DynamicPageList>

Title Bash the Vocals

Description A very simple and yet inelegant script to represent a piece of text only based on the occurance of the vocals aeiou, äöü and playing them in a 5-channel piece.

Input excerpt of Schwitters Ursonate

Beeeee
bö
bö
bö
bö
bö
bö
böwö
böwö
böwö
böwö
böwö
böwö
böwörö
böwörö
böwörö
böwörö
böwörö
böwörö
böwöböpö
böwöböpö
böwöböpö
böwöböpö
böwöböpö
böwöböpö
böwöröböpö
böwöröböpö
böwöröböpö
böwöröböpö
böwöröböpö
böwöröböpö
böwörötääböpö
böwörötääböpö
böwörötääböpö
böwörötääböpö
böwörötääböpö
böwörötääböpö
böwörötääböpö
böwörötääzääböpö
böwörötääzääböpö
böwörötääzääböpö
böwörötääzääböpö
böwörötääzääböpö
böwörötääzääböpö
böwörötääzääUu böpö
böwörötääzääUu böpö
böwörötääzääUu böpö
böwörötääzääUu böpö
böwörötääzääUu böpö
böwörötääzääUu böpö
böwörötääzääUu pögö
böwörötääzääUu pögö
böwörötääzääUu pögö
böwörötääzääUu pögö
böwörötääzääUu pögö
böwörötääzääUu pögö
böwörötääzääUu pöggiff
böwörötääzääUu pöggiff
böwörötääzääUu pöggiff
böwörötääzääUu pöggiff
böwörötääzääUu pöggiff
böwörötääzääUu pöggiff
fümmsböwötääzääUu pöggiff
fümmsböwötääzääUu pöggiff
fümmsböwötääzääUu pöggiff
fümmsböwötääzääUu pöggiff
fümmsböwötääzääUu pöggiff
fümmes bö wö tää zää Uu, 
pöggiff,
kwiiee
kwiiee
kwiiee
kwiiee
kwiiee
kwiiee.

Code & Output

@head {
    $time_sig 4/4
    $tempo 200
}
@body {
 
    @channel 1 {
        $patch 10
        $octave 3
        $length 8
 
r r r r r r 
r r 
r r 
r r 
r r 
r r 
r r 
r r r r 
r r r r 
r r r r 
r r r r 
r r r r 
r r r r 
r r r r r r 
r r r r r r 
r r r r r r 
r r r r r r 
r r r r r r 
r r r r r r 
r r r r r r r r 
r r r r r r r r 
r r r r r r r r 
r r r r r r r r 
r r r r r r r r 
r r r r r r r r 
r r r r r r r r r r 
r r r r r r r r r r 
r r r r r r r r r r 
r r r r r r r r r r 
r r r r r r r r r r 
r r r r r r r r r r 
r r r r r r r a+ a+ r r r r 
r r r r r r r a+ a+ r r r r 
r r r r r r r a+ a+ r r r r 
r r r r r r r a+ a+ r r r r 
r r r r r r r a+ a+ r r r r 
r r r r r r r a+ a+ r r r r 
r r r r r r r a+ a+ r r r r 
r r r r r r r a+ a+ r a+ a+ r r r r 
r r r r r r r a+ a+ r a+ a+ r r r r 
r r r r r r r a+ a+ r a+ a+ r r r r 
r r r r r r r a+ a+ r a+ a+ r r r r 
r r r r r r r a+ a+ r a+ a+ r r r r 
r r r r r r r a+ a+ r a+ a+ r r r r 
r r r r r r r a+ a+ r a+ a+ r r r r r r r 
r r r r r r r a+ a+ r a+ a+ r r r r r r r 
r r r r r r r a+ a+ r a+ a+ r r r r r r r 
r r r r r r r a+ a+ r a+ a+ r r r r r r r 
r r r r r r r a+ a+ r a+ a+ r r r r r r r 
r r r r r r r a+ a+ r a+ a+ r r r r r r r 
r r r r r r r a+ a+ r a+ a+ r r r r r r r 
r r r r r r r a+ a+ r a+ a+ r r r r r r r 
r r r r r r r a+ a+ r a+ a+ r r r r r r r 
r r r r r r r a+ a+ r a+ a+ r r r r r r r 
r r r r r r r a+ a+ r a+ a+ r r r r r r r 
r r r r r r r a+ a+ r a+ a+ r r r r r r r 
r r r r r r r a+ a+ r a+ a+ r r r r r r r r r r 
r r r r r r r a+ a+ r a+ a+ r r r r r r r r r r 
r r r r r r r a+ a+ r a+ a+ r r r r r r r r r r 
r r r r r r r a+ a+ r a+ a+ r r r r r r r r r r 
r r r r r r r a+ a+ r a+ a+ r r r r r r r r r r 
r r r r r r r a+ a+ r a+ a+ r r r r r r r r r r 
r r r r r r r r r r a+ a+ r a+ a+ r r r r r r r r r r 
r r r r r r r r r r a+ a+ r a+ a+ r r r r r r r r r r 
r r r r r r r r r r a+ a+ r a+ a+ r r r r r r r r r r 
r r r r r r r r r r a+ a+ r a+ a+ r r r r r r r r r r 
r r r r r r r r r r a+ a+ r a+ a+ r r r r r r r r r r 
r r r r r r r r r r r r r r a+ a+ r r a+ a+ r r r r r 
r r r r r r r r 
r r r r r r 
r r r r r r 
r r r r r r 
r r r r r r 
r r r r r r 
r r r r r r r r r 
}
    @channel 2 {
        $patch 10
        $octave 4
        $length 8
 
r a a a a a 
r r 
r r 
r r 
r r 
r r 
r r 
r r r r 
r r r r 
r r r r 
r r r r 
r r r r 
r r r r 
r r r r r r 
r r r r r r 
r r r r r r 
r r r r r r 
r r r r r r 
r r r r r r 
r r r r r r r r 
r r r r r r r r 
r r r r r r r r 
r r r r r r r r 
r r r r r r r r 
r r r r r r r r 
r r r r r r r r r r 
r r r r r r r r r r 
r r r r r r r r r r 
r r r r r r r r r r 
r r r r r r r r r r 
r r r r r r r r r r 
r r r r r r r r r r r r r 
r r r r r r r r r r r r r 
r r r r r r r r r r r r r 
r r r r r r r r r r r r r 
r r r r r r r r r r r r r 
r r r r r r r r r r r r r 
r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r r r r r r r r r r 
r r r r a r r r r r r r r r r r r r r r r r r r r 
r r r r r r r r 
r r r r a a 
r r r r a a 
r r r r a a 
r r r r a a 
r r r r a a 
r r r r a a r r r 
}
    @channel 3 {
        $patch 10
        $octave 4
        $length 8
 
r r r r r r 
r r 
r r 
r r 
r r 
r r 
r r 
r r r r 
r r r r 
r r r r 
r r r r 
r r r r 
r r r r 
r r r r r r 
r r r r r r 
r r r r r r 
r r r r r r 
r r r r r r 
r r r r r r 
r r r r r r r r 
r r r r r r r r 
r r r r r r r r 
r r r r r r r r 
r r r r r r r r 
r r r r r r r r 
r r r r r r r r r r 
r r r r r r r r r r 
r r r r r r r r r r 
r r r r r r r r r r 
r r r r r r r r r r 
r r r r r r r r r r 
r r r r r r r r r r r r r 
r r r r r r r r r r r r r 
r r r r r r r r r r r r r 
r r r r r r r r r r r r r 
r r r r r r r r r r r r r 
r r r r r r r r r r r r r 
r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r r r r a r r 
r r r r r r r r r r r r r r r r r r r a r r 
r r r r r r r r r r r r r r r r r r r a r r 
r r r r r r r r r r r r r r r r r r r a r r 
r r r r r r r r r r r r r r r r r r r a r r 
r r r r r r r r r r r r r r r r r r r a r r 
r r r r r r r r r r r r r r r r r r r r r r a r r 
r r r r r r r r r r r r r r r r r r r r r r a r r 
r r r r r r r r r r r r r r r r r r r r r r a r r 
r r r r r r r r r r r r r r r r r r r r r r a r r 
r r r r r r r r r r r r r r r r r r r r r r a r r 
r r r r r r r r r r r r r r r r r r r r r r r r r 
r r r r a r r r 
r r a a r r 
r r a a r r 
r r a a r r 
r r a a r r 
r r a a r r 
r r a a r r r r r 
}
    @channel 4 {
        $patch 10
        $octave 4
        $length 8
 
r r r r r r 
r c+ 
r c+ 
r c+ 
r c+ 
r c+ 
r c+ 
r c+ r c+ 
r c+ r c+ 
r c+ r c+ 
r c+ r c+ 
r c+ r c+ 
r c+ r c+ 
r c+ r c+ r c+ 
r c+ r c+ r c+ 
r c+ r c+ r c+ 
r c+ r c+ r c+ 
r c+ r c+ r c+ 
r c+ r c+ r c+ 
r c+ r c+ r c+ r c+ 
r c+ r c+ r c+ r c+ 
r c+ r c+ r c+ r c+ 
r c+ r c+ r c+ r c+ 
r c+ r c+ r c+ r c+ 
r c+ r c+ r c+ r c+ 
r c+ r c+ r c+ r c+ r c+ 
r c+ r c+ r c+ r c+ r c+ 
r c+ r c+ r c+ r c+ r c+ 
r c+ r c+ r c+ r c+ r c+ 
r c+ r c+ r c+ r c+ r c+ 
r c+ r c+ r c+ r c+ r c+ 
r c+ r c+ r c+ r r r r c+ r c+ 
r c+ r c+ r c+ r r r r c+ r c+ 
r c+ r c+ r c+ r r r r c+ r c+ 
r c+ r c+ r c+ r r r r c+ r c+ 
r c+ r c+ r c+ r r r r c+ r c+ 
r c+ r c+ r c+ r r r r c+ r c+ 
r c+ r c+ r c+ r r r r c+ r c+ 
r c+ r c+ r c+ r r r r r r r c+ r c+ 
r c+ r c+ r c+ r r r r r r r c+ r c+ 
r c+ r c+ r c+ r r r r r r r c+ r c+ 
r c+ r c+ r c+ r r r r r r r c+ r c+ 
r c+ r c+ r c+ r r r r r r r c+ r c+ 
r c+ r c+ r c+ r r r r r r r c+ r c+ 
r c+ r c+ r c+ r r r r r r r r r r c+ r c+ 
r c+ r c+ r c+ r r r r r r r r r r c+ r c+ 
r c+ r c+ r c+ r r r r r r r r r r c+ r c+ 
r c+ r c+ r c+ r r r r r r r r r r c+ r c+ 
r c+ r c+ r c+ r r r r r r r r r r c+ r c+ 
r c+ r c+ r c+ r r r r r r r r r r c+ r c+ 
r c+ r c+ r c+ r r r r r r r r r r c+ r c+ 
r c+ r c+ r c+ r r r r r r r r r r c+ r c+ 
r c+ r c+ r c+ r r r r r r r r r r c+ r c+ 
r c+ r c+ r c+ r r r r r r r r r r c+ r c+ 
r c+ r c+ r c+ r r r r r r r r r r c+ r c+ 
r c+ r c+ r c+ r r r r r r r r r r c+ r c+ 
r c+ r c+ r c+ r r r r r r r r r r c+ r r r r r 
r c+ r c+ r c+ r r r r r r r r r r c+ r r r r r 
r c+ r c+ r c+ r r r r r r r r r r c+ r r r r r 
r c+ r c+ r c+ r r r r r r r r r r c+ r r r r r 
r c+ r c+ r c+ r r r r r r r r r r c+ r r r r r 
r c+ r c+ r c+ r r r r r r r r r r c+ r r r r r 
r r r r r r c+ r c+ r r r r r r r r r r c+ r r r r r 
r r r r r r c+ r c+ r r r r r r r r r r c+ r r r r r 
r r r r r r c+ r c+ r r r r r r r r r r c+ r r r r r 
r r r r r r c+ r c+ r r r r r r r r r r c+ r r r r r 
r r r r r r c+ r c+ r r r r r r r r r r c+ r r r r r 
r r r r r r r r c+ r r c+ r r r r r r r r r r r r r 
r c+ r r r r r r 
r r r r r r 
r r r r r r 
r r r r r r 
r r r r r r 
r r r r r r 
r r r r r r r r r 
}
    @channel 5 {
        $patch 10
        $octave 5
        $length 8
 
r r r r r r 
r r 
r r 
r r 
r r 
r r 
r r 
r r r r 
r r r r 
r r r r 
r r r r 
r r r r 
r r r r 
r r r r r r 
r r r r r r 
r r r r r r 
r r r r r r 
r r r r r r 
r r r r r r 
r r r r r r r r 
r r r r r r r r 
r r r r r r r r 
r r r r r r r r 
r r r r r r r r 
r r r r r r r r 
r r r r r r r r r r 
r r r r r r r r r r 
r r r r r r r r r r 
r r r r r r r r r r 
r r r r r r r r r r 
r r r r r r r r r r 
r r r r r r r r r r r r r 
r r r r r r r r r r r r r 
r r r r r r r r r r r r r 
r r r r r r r r r r r r r 
r r r r r r r r r r r r r 
r r r r r r r r r r r r r 
r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r r r r 
r r r r r r r r r r r r r e r r r r r 
r r r r r r r r r r r r r e r r r r r 
r r r r r r r r r r r r r e r r r r r 
r r r r r r r r r r r r r e r r r r r 
r r r r r r r r r r r r r e r r r r r 
r r r r r r r r r r r r r e r r r r r 
r r r r r r r r r r r r r e r r r r r 
r r r r r r r r r r r r r e r r r r r 
r r r r r r r r r r r r r e r r r r r 
r r r r r r r r r r r r r e r r r r r 
r r r r r r r r r r r r r e r r r r r 
r r r r r r r r r r r r r e r r r r r 
r r r r r r r r r r r r r e r r r r r r r r 
r r r r r r r r r r r r r e r r r r r r r r 
r r r r r r r r r r r r r e r r r r r r r r 
r r r r r r r r r r r r r e r r r r r r r r 
r r r r r r r r r r r r r e r r r r r r r r 
r r r r r r r r r r r r r e r r r r r r r r 
r e+ r r r r r r r r r r r r r r e r r r r r r r r 
r e+ r r r r r r r r r r r r r r e r r r r r r r r 
r e+ r r r r r r r r r r r r r r e r r r r r r r r 
r e+ r r r r r r r r r r r r r r e r r r r r r r r 
r e+ r r r r r r r r r r r r r r e r r r r r r r r 
r e+ r r r r r r r r r r r r r r r r r r r r e r r 
r r r r r r r r 
r r r r r r 
r r r r r r 
r r r r r r 
r r r r r r 
r r r r r r 
r r r r r r r r r 
}
}