User:Natasa Siencnik/prototyping/notation: Difference between revisions

From XPUB & Lens-Based wiki
Line 66: Line 66:
s/ö/g+ /g
s/ö/g+ /g
s/ü/d+ /g
s/ü/d+ /g
</source>
<source lang="php">
g+ c+ f d a d g+ e f+ f+ h d f d a d
g+ c+ f d a d g+ e f+ f+ h d f d a d
g+ c+ f d a d g+ e f+ f+ h d f d a d
g+ c+ f d a d g+ e f+ f+ h d f d a d
g+ c+ f d a d g+ e f+ f+ h d f d a d
g+ c+ f d a d g+ e f+ f+ h d f d a d
Bd d d d d
c+ g a+ c+ g+ d e
c+ g+ d e c+
d g
c+ g h g
d a+ f+ f+ a c+ g
c+ g h g g+ g
d a+ f+ f+ a c+ g h g
c+ g h g g+ g a c+ c+
d a+ f+ f+ a c+ g h g a c+ c+
c+ g h g g+ g a c+ c+ h c+ c+
d a+ f+ f+ a c+ g h g a c+ c+ h c+ c+
c+ g h g g+ g a c+ c+ h c+ c+ Ua+
d a+ f+ f+ a c+ g h g a c+ c+ h c+ c+ Ua+
c+ g h g g+ g a c+ c+ h c+ c+ Ua+ g g
d a+ f+ f+ a c+ g h g a c+ c+ h c+ c+ Ua+ g g
c+ g h g g+ g a c+ c+ h c+ c+ Ua+ g g d+ g
d a+ f+ f+ a c+ g h g a c+ c+ h c+ c+ Ua+ g g d+ g
c+ g h g g+ g a c+ c+ h c+ c+ Ua+ g g d+ e d d
d a+ f+ f+ a c+ g h g a c+ c+ h c+ c+ Ua+ g g d+ e d d
</source>
</source>



Revision as of 23:28, 18 October 2010

Ursonate

Homage to Kurt Schwitters

Description


Input example


Output example


Code

ursonate.txt

rakete rinnzekete
rakete rinnzekete
rakete rinnzekete
rakete rinnzekete
rakete rinnzekete
rakete rinnzekete
Beeeee
 	üdrei
dreia

         böwö
fümmsbö
         böwörö
fümmsböwö
         böwörötää
fümmsböwötää
         böwörötääzää
fümmsböwötääzää
         böwörötääzääUu
fümmsböwötääzääUu
         böwörötääzääUu 
fümmsböwötääzääUu 
         böwörötääzääUu pögö
fümmsböwötääzääUu pögö
         böwörötääzääUu pögiff
fümmsböwötääzääUu pögiff
         kwiiEe

notes.sed

s/[a-b]/c /g
s/[c-d]/c+ /g
s/[e-f]/d /g
s/[g-h]/d+ /g
s/[i-j]/e /g
s/[k-l]/f /g
s/[m-n]/f+ /g
s/[o-p]/g /g
s/[q-r]/g+ /g
s/[s-t]/a /g
s/[u-v]/a+ /g
s/[w-z]/h /g

s/ä/f+ /g
s/ö/g+ /g
s/ü/d+ /g
g+ c+ f d a d g+ e f+ f+ h d f d a d 
g+ c+ f d a d g+ e f+ f+ h d f d a d 
g+ c+ f d a d g+ e f+ f+ h d f d a d 
g+ c+ f d a d g+ e f+ f+ h d f d a d 
g+ c+ f d a d g+ e f+ f+ h d f d a d 
g+ c+ f d a d g+ e f+ f+ h d f d a d 
Bd d d d d 
c+ g a+ c+ g+ d e 
c+ g+ d e c+ 
d g 
c+ g h g 
d a+ f+ f+ a c+ g 
c+ g h g g+ g 
d a+ f+ f+ a c+ g h g 
c+ g h g g+ g a c+ c+ 
d a+ f+ f+ a c+ g h g a c+ c+ 
c+ g h g g+ g a c+ c+ h c+ c+ 
d a+ f+ f+ a c+ g h g a c+ c+ h c+ c+ 
c+ g h g g+ g a c+ c+ h c+ c+ Ua+ 
d a+ f+ f+ a c+ g h g a c+ c+ h c+ c+ Ua+ 
c+ g h g g+ g a c+ c+ h c+ c+ Ua+ g g 
d a+ f+ f+ a c+ g h g a c+ c+ h c+ c+ Ua+ g g 
c+ g h g g+ g a c+ c+ h c+ c+ Ua+ g g d+ g 
d a+ f+ f+ a c+ g h g a c+ c+ h c+ c+ Ua+ g g d+ g 
c+ g h g g+ g a c+ c+ h c+ c+ Ua+ g g d+ e d d 
d a+ f+ f+ a c+ g h g a c+ c+ h c+ c+ Ua+ g g d+ e d d

wrap.sh

cat << END

@head {
    \$time_sig 4/4
    \$tempo 120
}
@body {
    @channel 1 {
        \$patch 1
        \$octave 4
        \$length 16

END
 
cat << END

    }
}

END