User:Yiorgos Bagakis/prototyping/assignment1
I AM THAT I AM
After Brion Gysin's permutation poem
Description
I am interested in using permutations in my first thematic project and the following exercise is a good starting point. As a form of concrete poetry, permutation poems emphasize in the creation of patterns and pictures out of letters and words. These may disclose, new decorative and semantic possibilities. Since I quite inexperienced with code I found this input example easy to follow and understand the sed substitutions while I listen to the final piece. The example I used is one of the famous Gysin poems. For the future project I am planning to work on I would like to create a permutations software.
Input example
iamthatiam.txt
I AM THAT I AM
I AM AM I THAT
I AM THAT AM I
I AM I THAT AM
I THAT AM I AM
I AM I AM THAT
I AM AM THAT I
I THAT AM AM I
THAT I I AM AM
AM THAT I I AM
AM AM THAT I I
AM I AM THAT I
AM AM I THAT I
AM AM I I THAT
AM THAT I AM I
AM I I THAT AM
AM I AM I THAT
AM I I AM THAT
THAT AM I I AM
AM I THAT AM I
THAT I AM AM I
AM I THAT I AM
AM THAT AM I I
THAT AM AM I I
THAT I AM I AM
I I AM AM THAT
I THAT I AM AM
I I THAT AM AM
THAT AM I AM I
I I AM THAT AM
iamthatiam.sed
s/I/c /g
s/AM/d /g
s/THAT/e /g
Then I executed the iamthatiam.sed on the terminal and with pipeline I created a txt file
sed -f iamthatiam.sed iamthatiam.txt > iati-out.txt
iata-out.txt output:
c d e c d
c d d c e
c d e d c
c d c e d
c e d c d
c d c d e
c d d e c
c e d d c
e c c d d
d e c c d
d d e c c
d c d e c
d d c e c
d d c c e
d e c d c
d c c e d
d c d c e
d c c d e
e d c c d
d c e d c
e c d d c
d c e c d
d e d c c
e d d c c
e c d c d
c c d d e
c e c d d
c c e d d
e d c d c
c c d e d
wrap.sh
cat << END
@head {
\$time_sig 4/4
\$tempo 80
}
@body {
@channel 1 {
\$patch 14
\$octave 8
\$length 16
END
sed -f iamthatiam.sed iamthatiam.txt
cat << END
}
}
END
And this will create the .mid file:
bash wrap.sh | midge -o iamthatiam.mid
Here is the final audio file: File:Iamthatiam.ogg