Trying to deal with an issue in my first string quartet, where performers are faced with a probabilistic decision… being that musicians are not computers, I’m looking at pre-calculating these probabilities, whilst trying to find a way to keep my score system indeterminate (more on that later). Some code I knocked up today to calculate probabilities for weighted edges in a graph network.
### Weighted outcome calculator for Network #1 (String Quartet #1)
# owmtxy, feb 2013 - python, v.2.7
# Input up to 5 probability percentages, and calculate a weighted outcome
elapsed = 0
duration = 0 #int(input("Enter duration: "))
while(elapsed < 840): # While the elapsed time is < 14 minutes
print("nEnter probabilites, smallest first (0 for unused edges)...")
# Enter each (accumulative) probability weighting (%)
val1 = int(input("Weighting A: "))
val2 = val1 + int(input("Weighting B: "))
val3 = val2 + int(input("Weighting C: "))
val4 = val3 + int(input("Weighting D: "))
val5 = val4 + int(input("Weighting E: "))
randomVal = random.random() # Generate a random 'deciding' value
randomVal = round(randomVal*100) #Scale it to a %
randomX = makeRandom()
# Compare the randomX value to the probability boundries:
if(randomX <= val1): print("Outcome A") elif (randomX > val1) and (randomX <= val2): print("Outcome B") elif (randomX > val2) and (randomX <= val3): print("Outcome C") elif (randomX > val3) and (randomX <= val4): print("Outcome D") elif (randomX > val4) and (randomX <= val5): print("Outcome E") # Add the duration of the selected edge to the elapsed time duration = int(input("Enter duration: ")) elapsed += duration print("Elapsed time: ", elapsed/60) # Repeat until we reach > 14 minutes
Happy Holidays! Gianmarco Del Re has made a rather wonderful video of Hibernate’s christmas bash we played at on Dec 15th, 2012. It’s got some really nice shots of the gear we used that night and James and I trying to keep it under control.
The sound seems only to be from our intro though so doesn’t totally capture the sound of the set, but a very good watch.
Shortly after this set I was also very kindly asked to come on Rich Hughes’ Cambridge radio show ‘The Visitor‘ for a chat and a bit of a live set. Unfortunately my gear crashed in the first take so had to try and pull it back with some chatter and spectralist improv. Now, you too can listen to me die of embarrassment on-air and talk about Aaliyah!
I’m currently working on a composition which uses the Collatz Conjecture (or Hailstone Numbers) as source data in a piece for solo Disklavier Piano. Below is a screenshot from a (currently too messy to post) Processing script I wrote to get a better idea of the behavior of these numbers.
The main inspiration behind the piece is György Ligeti’s Piano Etude no.1: Disordre. I love the frenetic pace, and the algorithmically derived recursion of the piece, but with the Collatz project I’m toying with the concept of softening the aggressive/human element of that speed (the Disklavier can play very fast with a ‘softer’ touch/velocity), in a falling ‘hailstone’ pattern.
Very happy to announce that my new album, ‘New Music from the Delta Quadrant’, is out now!
Originally released back in 2010 New Music was a series of unheard, unreleased or otherwise unknown compositions by the mighty Leeds based trio. It was also released in a severely limited quantity of just ten hand-made editions. New Music From The Delta Quadrant sees the album re-released as a larger edition with the tracks having all been reworked by the Ithaca Trio and remastered by Lawrence English.
Buy it from our Bandcamp and enjoy a bonus live-recording made back in 2010 around the time of some of the original sessions!