Minkowski Etudes: The Aftermath

It was about one year ago when I made the decision to write Minkowski Etudes as a work for solo trumpet and interactive electronics. Last week my performer Dylan premiered it in its entirety for his senior recital and he also played it as a part of the Southern Sonic Festival. The Max programming needs some final tweaking and I may want to redo my cue structure by using Antescofo (I have to decide if I want to pay for the annual Ircam fee), but given that a bulk of the creative, notational, and programming work is now complete, I thought I’d write a quick retrospective about it. First off…

Thoughts about my Buffer Loop Patches

I’ve created a Buffer Recorder and Buffer Loop engine for Minkowski Etudes for Dylan and I’ve hit upon a small programming snag that means I might have to modify how I tag loops and how they end.

Some background first:

This is my BufferRecord patch:

It’s pretty straightforward – you give a command for what buffer you want to record into, it activates the recording and sets a timer to track the length of time recorded. When you’re done recording, it turns off the Record function and stores the length in ms into a list that it can then use for reference for looped playback (because otherwise it would loop the whole buffer which i’ve set at a default for 20s).

This is my Loop patch:

There’s a lot of small things going on there, but the relevant point to this entry is that the actual engine for playback is going through that [poly~] object. [Poly~] is a way to “clone” a subpatch with multiple instances without actually copy/pasting those individual instances which necessitates routing signals to those individual instances via cumbersome gates and switches. Everything is instead set by a single [poly`] object that has a definable number of “voices” that can be dealt with all at once or individually. In this patch I have 16 different voices. When a loop is activated, a counter iterates to the next [poly~] voice and then all of the loop info is assigned to that voice – it iterates to one voice higher in number to the one that was last used, so if the last voice used was 8, the next loop activation chooses voice 9.

Here’s the patch that exists inside of the [poly~] object: 

The [groove~] object is what actually plays the loop. I send in the buffer name to loop (which replaces the default i created “Buffer1”) as well as all of the variables of loop start/end time and speed.

The problem is: since i’m not personally tracking which [poly~] voice is being used for an individual loop (because i just have the counter iterating to the next available voice), I needed to find an alternate way to find a specific loop within a voice instance so i could end just that specific loop as needed. I decided to use the Buffer name (in this instance “1-01”) as a means of doing that, so if i send the command [LoopEnd 1-01], it would find the [poly~] voice that’s looping 1-01 by name and then turn it off. Except what if I want to run multiple voices with the same buffer simultaneously and I only want to turn off some of those voices later? Sending the command [LoopEnd 1-01] would turn off all voices that hold a buffer named 1-01 at once with no ability to deal with that partially.

There’s a few different ways to address this. The quick and dirty method is to take any instance in which i want the same buffer materials looped and write that material into multiple buffers. That way, voices in the [poly~] will never have duplicate names. It’s sloppy and would require a ton of extra CPU buffer depending on how many copies of a single buffer i would want to create.

A more programmatically clean but inflexible way is to identify the loops by poly voice only with no concern for what’s there. That could create some potential problems down the road if, say, one Record Buffer fails to trigger or the counter iterates wrong or something and now sample 1 is not located in voice 1 where it’s supposed to be and i accidentally activate or cut the wrong loop.

The most airtight but most difficult to program way is to somehow link the name of the sample with either the voice it’s connected to or its simultaneous iteration number and then somehow program LoopEnds to know which voice each simultaneous iteration is connected to even if that voice is different every performance. As i type this out, I may have a strategy to address this, but I still need to work out some of the details in my head to make sure it will work. If it doesn’t, i’ll probably go quick and dirty and hope that my laptop can handle the CPU load that would be necessary. We’ll see what happens.

New sketchwork

There’s two pieces of music that I have on the brain right now to complete by the beginning of 2018, and I thought i’d write down some initial brainstorm thoughts that I’ve had with them.

First, one of my marching band students has asked me to write a piece for his senior trumpet recital. After a brief discussion about ideas, I decided to write it as an interactive piece using Max, which has gotten me down the path of re-learning and doing a lot of Max programming (because apparently I can’t make things easy for myself even if i tried). I’m not as familiar with MSP as I should be, but hopefully this will graduate me from beginner to competent amateur.

Right now I’m conceiving of the piece as being done in four movements, all of which play with a different concept of time. The first movement will be about the trumpet playing some passages that will then get echoed back and potentially manipulated, representing the trumpet playing from the “past” being used with current material. The second movement will be about the trumpet playing passages that has chordal movement in live unison, representing the trumpet playing from the “present” being used with the current material. The third movement will be about the trumpet playing passages that it hears from Max first, representing the idea that those passages are grabbing trumpet playing from “future” passages. The fourth movement will pull from all of those concepts into a single movement that is loosely based on the concept of spacetime.

The beginning stages of this is mostly programming Max patches that can deal with these various mechanics. I’m trying to figure out the best way to get the trumpet signal into Max, easily identify its pitch, account for tuning errors, different input/output gains and levels, and the like. Once I create that groundwork, I’ll deal with tools for the actual music. The patch for Movement 2 is going to be a modified version of an external patch already built by ICST, so that’ll also probably be what I compose first.

Second, I need to write a piece for nienteForte this year, and if all goes according to plan, that will be for the TALEA ensemble. A lot will depend on exactly what members of TALEA will be a part of the festival, but if all goes according to plan, the piece will also include some basic Max programming (but much more simple as it will be MIDI only and I can do that in my sleep). The piece is going to be based on a Dali painting that i love, with the idea that the ensemble is going to be split into two distinct tonal groups – one that uses equal-temperament and another that uses a “parallel” microtonal equal-temperament that phases in and out as controlled by Max and a MIDI piano. The idea I have right now is to put the responsibility of the parallel tuning on string instruments with the idea that it’s easier for them to constantly microtune than it is for wind instruments.

We’ll see how all of this shakes down; the current goal is to get the Max programming structure of the trumpet piece done in the next few weeks so that I can start writing the actual music in July. My progress on that will be somewhat contingent on Life getting in the way, which is going wonderfully ballistic right now with house hunting with the girlfriend, staying on top of TUMB stuff, etc.