I combined these two assignments together (API and function).
for line in sys.stdin:
line = line.strip()
words = line.split(” “)
for word in words:
api_key = “a2a73e7b926c924fad7001ca3111acd55af2ffabf50eb4ae5”
for kWord in kWords:
# print kWord
# print type(kWord)
John Cage reminds us that EVERYTHING WE DO IS MUSIC.
His main concept of composition is: Using any sounds in any environment, including noises; Using “chance” to select the order; Giving up structures; Using silence; Broadly using other methods, like electronics and visuals.
All of Cage’s music since 1951 was composed using chance procedures, most commonly using the I Ching.
Cage’s composition is influenced by Eastern Philosophy. His method of using the I Ching was far from simple randomization. The procedures varied from composition to composition, and were usually complex. For example, in the case of Cheap Imitation, the exact questions asked to the I Ching were these:
Which of the seven modes, if we take as modes the seven scales beginning on white notes and remaining on white notes, which of those am I using?
Which of the twelve possible chromatic transpositions am I using?
For this phrase for which this transposition of this mode will apply, which note am I using of the seven to imitate the note that Satie wrote?
Cage discovered Chance. Since chance procedures were used by Cage to eliminate the composer’s and the performer’s likes and dislikes from music, Cage disliked the concept of improvisation, which is inevitably linked to the performer’s preferences.
From mid-20 century, Chance has been increasingly popular because of Cage’s promotion.