
Posts
732 
Joined

Last visited
Content Type
Forums
Events
Store
Tutorials
Videos
Everything posted by JulioHerrlein

resolved How to force a time signature for Snippet fast use
JulioHerrlein replied to JulioHerrlein's topic in OMN Lingo
Thanks a lot, Janusz ! 
resolved How to force a time signature for Snippet fast use
JulioHerrlein posted a topic in OMN Lingo
Dear Friends, I'm setting some 12tone examples for classroom. I just want to show some rows with motives, in the example below. I'd like to force this omn expression to make a snippet in 4/4 only or 2/4, without having to use def score. Is it possible ? It's easier for faster classroom purposes. Best, Julio (setf clodorow '(a4 gs5 c5 d5 bb4 b4 fs5 f5 cs5 g5 ds5 e5)) (setf serierit '(q.. s s s s s s e._q s s s s_q)) (makeomn :length serierit :pitch clodorow :velocity '(pp sfz p < f pp mf mf mp mp) :lengthsymbols t) It's genarating a 7/4 snippet. I would prefer it in 2/4 or 4/4... Any help ? Best, Julio 
solved [SOLVED] Idea for a Rhythmic Set Theory Function
JulioHerrlein replied to JulioHerrlein's topic in Function Examples
The crop function is SOLVED (binarymap (butlast (rowrotation 1 (genbinaryrow 12 (pcs '311b)))7)1/16) It's the number 7 as a parameter for the butlast lisp function, after the three parentheses. HERE for the complementary set of the Rhythm (binaryinvert) (binarymap (butlast (binaryinvert (rowrotation 1 (genbinaryrow 12 (pcs '311b))))4) 1/16) Best, Julio 40 replies

 pitchesrhythm isomorphism
 toussaint
 (and 6 more)

solved [SOLVED] Idea for a Rhythmic Set Theory Function
JulioHerrlein replied to JulioHerrlein's topic in Function Examples
Dear Janusz, Hope it can be useful. It will be great to have this new function ! Thank you ! With a dedicated function, all this can be more elegant, for sure ! An easier workflow. All the code below can be embbeded in only one code: (binarymap (rowrotation 7 (genbinaryrow 12 (pcs '311)))1/16) all this can be something like (pcstorhythm (pcs '311) 1/16) with optional arguments, like :rotation  rotation of the series wrapping around itself. :displace  put a rest of, for ex, 1/16 before the set ;legato  t, for full value or nil (default) for normal operation (each value equals the quantization (pcstorhythm (pcs '311) 1/16) (pcstorhythm (pcs '311) 1/16 :legato t) only the rhtyhm (without the notes) :mod  defalt is the 12 time point cycle, but optionally, any cycle rotation, like 16, for example. :crop  assuming 12 time points as the default cycle, the crop option let you take portions of the sets to use. It's easy, just make something to cut the last parts of the binary result. (pcstorhythm (pcs '311) 1/16 :crop 8 ) will result in: (pcstorhythm (pcs '311) 1/16 :crop 8 :displace 1) (pcstorhythm (pcs '311) 1/16 :crop 8 :rotate 1) The crop option helps using portions of the Rhythmic Sets, by truncating some of them, like this: In the preceeding example, only parts of the 2 sets are used (9 time points out of 12 in the first and 8 time points out of 12 in the second). Best ! Julio 40 replies

 pitchesrhythm isomorphism
 toussaint
 (and 6 more)

solved [SOLVED] Idea for a Rhythmic Set Theory Function
JulioHerrlein replied to JulioHerrlein's topic in Function Examples
This is the EASIEST Method to achieve the result !!! FINALLY !! Without the need of Meier's Functions !! (binarymap (rowrotation 0 (genbinaryrow 12 (pcs '311)))1/16) YEEEEESSSSS !!! added 10 minutes later (binarymap (rowrotation 1 (genbinaryrow 12 (pcs '311)))1/16) (binarymap (rowrotation 0 (genbinaryrow 12 (pcs '311)))1/16) (binarymap (rowrotation 1 (genbinaryrow 12 (pcs '311)))1/16) (binarymap (rowrotation 2 (genbinaryrow 12 (pcs '311)))1/16) (binarymap (rowrotation 3 (genbinaryrow 12 (pcs '311)))1/16) (binarymap (rowrotation 4 (genbinaryrow 12 (pcs '311)))1/16) (binarymap (rowrotation 5 (genbinaryrow 12 (pcs '311)))1/16) (binarymap (rowrotation 6 (genbinaryrow 12 (pcs '311)))1/16) (binarymap (rowrotation 7 (genbinaryrow 12 (pcs '311)))1/16) (binarymap (rowrotation 8 (genbinaryrow 12 (pcs '311)))1/16) (binarymap (rowrotation 9 (genbinaryrow 12 (pcs '311)))1/16) (binarymap (rowrotation 10 (genbinaryrow 12 (pcs '311)))1/16) AND FINALLY, back to que original (binarymap (rowrotation 11 (genbinaryrow 12 (pcs '311)))1/16) It works ! 40 replies

 pitchesrhythm isomorphism
 toussaint
 (and 6 more)

solved [SOLVED] Idea for a Rhythmic Set Theory Function
JulioHerrlein replied to JulioHerrlein's topic in Function Examples
MY effort, version 2 (setf pcsrhy1 (flatten (omn :length (lengthstaccato 1/16 (timepointsystem (pcs '311b :pitch)'s))))) ;; here you adjust the rotation of the rhythm: (1) is the original, 0 is one 16th note ahead (1) is 2 16th notes ahead and so on (setf pcsrot1 (rowrotation 1 (lengthtobinary pcsrhy1 1/16))) (binarymap pcsrot1 1/16) The aforementioned Meier's functions are necessary... Best, Julio 40 replies

 pitchesrhythm isomorphism
 toussaint
 (and 6 more)

solved [SOLVED] Idea for a Rhythmic Set Theory Function
JulioHerrlein replied to JulioHerrlein's topic in Function Examples
This is my best effort, using two André Maier functions (THANKS ANDRÉ !!!) (binarymap (rowrotation 7 (lengthtobinary (flatten (omn :length (lengthstaccato 1/16 (timepointsystem (pitchrotate 0 (pcs '311b :pitch))'s :start 0) )))1/16))1/16) Here are the Andre Meier Functions invoked in the code above: ;EXTRA FUNCTIONS ;;;LENGTHLEGATO (ANDRE MEIER) (defun lengthstaccato (n alist) (let ((newlengths) (newomn (omnmergeties (flatten alist))) (timesign (gettimesignature alist))) (progn (setf newlengths (loop for i in (omn :length newomn) when (> i 0) append (if (= n i) (list i) (list n (* 1 (abs ( i n))))) else collect i)) (if (omnformp alist) (omntotimesignature (makeomn :length newlengths :pitch (omn :pitch newomn) :velocity (omn :velocity newomn) :articulation (omn :articulation newomn)) timesign) newlengths)))) ;;LENGHT TO BINARY ANDRE MEIER (defun lengthtobinary (lengthlist n) (let ((newlist (loop for i in (omn :length lengthlist) collect (/ i n)))) (loop for x in newlist when (> x 0) append (append (list 1) (genrepeat (1 x) '0)) else append (genrepeat (abs x) '0)))) (lengthtobinary '(e s s q e) 1/16) (lengthtobinary '(1/16 1/16 1/8) 1/16) => (0 0 0 0 1 0 0 0 1 0) (lengthtobinary '(q s s q e) 1/16) => (0 0 0 0 1 1 1 0 0 0 1 0) 40 replies

 pitchesrhythm isomorphism
 toussaint
 (and 6 more)

solved [SOLVED] Idea for a Rhythmic Set Theory Function
JulioHerrlein replied to JulioHerrlein's topic in Function Examples
Dear Janusz, This function will deal with the cyclic and rotational aspect of the rhythm, conceived as a necklace: The pitch class set is conceived as a modular space and converted to rhythms with rotation inside the modulo. The figure above shows a module 8 rhythm. In my catalog, every rhythm is module 12, but you can :CROP (possible parameter of the function) the rhythm in a shorter module or cycle, or you can concatenate many sets to form a longer rhythm. HERE IS THE POINT (what timepointsystem don't do) There's a difference between que timepointsystem function and the idea I'm talking about. I'll try to explain: THIS CODE: (timepointsystem (pcs '311b :pitch)'s :start 0) Results in And This (timepointsystem (pcs '311b :pitch)'s :start 4) Results in But, in this case, when the start parameter exceeds 4, like with this code: (timepointsystem (pcs '311b :pitch)'s :start 5) The rhythm cross to the next bar. So, the rhythm is NOT working like a necklace, it's exceeding the 12 timepoints... In my hypothetical Function, let's say the "pcstorhythm" function the result would be like the upper staff below, Pseudocode (pcstorhythm (pcs '311b :pitch)'s :rotation 5 :mod 12) i.e, the note that is going to next bar is actually rotated back to the begining of the same bar, like rotation, wrapping around the modulo 12. Possible parameters would be: :mod  The modulo of the rhythm (explained below) :rotation  the range would be 1 > (mod  1) :crop the range would be x < mod Let me know if I made the point clear. Best, Julio 40 replies

 pitchesrhythm isomorphism
 toussaint
 (and 6 more)

Help needed Binary Length values
JulioHerrlein replied to JulioHerrlein's topic in Function Examples
Thanks a lot, André !!! Exactly. That's great ! Julio 
solved [SOLVED] Idea for a Rhythmic Set Theory Function
JulioHerrlein posted a topic in Function Examples
In my Dissertation, I worked a way to convert every chord and set in a modulo 12 rhythm, so the entire catalog of FORTE are converted to rhythms, following the steps of Babitt: As a hardcore serialist, Babbitt was interested in converting 12tone rows to rhythms, in a kind of 12tone rhythm theory. Below, Wuorinen show one example of a typical Babbitt idea: For the sake of explaining my idea of function, it's important to have in mind that for Babbitt, the order of the row is very important and lead to different results in the pitch to rhythm conversion. Take a look in the example below: In the preceeding figure, the order of the C major triad generate different rhythms. In the example (0 4 7) have a different result from (4 0 7) or (7 0 4). In the system I developed in my Dissertation, the order does NOT matter, since (0 4 7), (7 0 4) or (4 0 7) will result in exactly the same rhythm, as you can see below: In my system, the transposition equals rotation (as well as in Babbitt) And every chord symbol can be transformed in a rhythm: Even voicings can be converted in longer Rhythms (the more spread the voicing, the longer the rhythm): So I did every FORTE SET in the catalog, in this way: Below, you can see the example of the rhythm of the major triad (Forte number 311b). In the 1st bar there is the prime form (0 4 7). In each subsequent bar there is a rotation of the first set by 16th note increments. HERE IS THE POINT, for the sake of the new function ! The note C (that I call Rhythmic Fundamental, the "root" of the rhythm) is being displaced, as you can see in the circled notes. THE SET WRAP AROUND ITSELF, always forming 12 timepoints (always twelve 16th notes), in a different way from Babbit, where the order of the sets generates longer rhythms. THIS WAY IS MORE INTERESTING For Popular and Minimalist Repetition Music, as well as 12 tone music. In the bottom staff, there are the complementary rhythm of the 311b set, i.e., the 911a set. In the catalog, every set is presented alongside its complementary set and every set is presented in 3/4 (16th notes) and in 128 (with the 8th note as the base value for the increments and rotations). So the function needed would be the one that mirror exacty this kind of conversion, not the tradicional timepointsystem conversion, so I could use my catolog inside Opusmodus, connecting the diferent sets, like this: Or even using portions of the Rhythmic Sets, by truncating some of them, like this: In the preceeding example, only parts of the 2 sets are used (9 time points out of 12 in the first and 8 time points out of 12 in the second). So, I hope someone could help me to find a way of implementing this. Maybe Janusz or Stephane could find interesting to develop this kind of idea inside the software. All the best ! Julio Herrlein 40 replies

 pitchesrhythm isomorphism
 toussaint
 (and 6 more)

Dear Friends, 1) How to convert a given length series in a binary series ? For example: ((1/16 3/16 1/16 1/8 1/16 1/4)) with 1/16 as a base could be transformed in binary like: (1 0 0 0 1 0 0 1 0 0 0 0) and/or 2) How to convert a length 3/16 in 1/16 1/16 1/16, i.e. a kind of length conversion based on quantize. 3/16 could be converted in 1/16 1/16 1/16 or 1/32 1/32 1/32 1/32 1/32 1/32 depending on the value regarded as the reference (1/16 in the first case or 1/32 in the second) Thanks ! Julio Code example (setf ccpa1 (omn :length (lengthstaccato 1/16 (timepointsystem (pitchrotate 0 (pcs '311b :pitch))'s :start 0)))) ;EXTRA FUNCTION NEEDED ;;;LENGTHLEGATO (by ANDRE MEIER) (defun lengthstaccato (n alist) (let ((newlengths) (newomn (omnmergeties (flatten alist))) (timesign (gettimesignature alist))) (progn (setf newlengths (loop for i in (omn :length newomn) when (> i 0) append (if (= n i) (list i) (list n (* 1 (abs ( i n))))) else collect i)) (if (omnformp alist) (omntotimesignature (makeomn :length newlengths :pitch (omn :pitch newomn) :velocity (omn :velocity newomn) :articulation (omn :articulation newomn)) timesign) newlengths))))

Sometime ago, I was searching for a function that would be the exact opposite function of lengthlegato. Lenghtlegato turns this: onto this: I wanted exactly the reverse: Changing this: to this: In the ocasion, Andre Meier came with this code below: Janusz, do you think a good idea to include a function like this in the library ? Or there is also something similar that I dont know ? I still need it in a easy way... Best, Julio (defun lengthstaccato (n alist) (let ((newlengths) (newomn (omnmergeties (flatten alist))) (timesign (gettimesignature alist))) (progn (setf newlengths (loop for i in (omn :length newomn) when (> i 0) append (if (= n i) (list i) (list n (* 1 (abs ( i n))))) else collect i)) (if (omnformp alist) (omntotimesignature (makeomn :length newlengths :pitch (omn :pitch newomn) :velocity (omn :velocity newomn) :articulation (omn :articulation newomn)) timesign) newlengths)))) (lengthstaccato 1/16 '(q q q q)) (lengthstaccato 1/16 '(q e4 mp q tasto q q q q)) (lengthstaccato 1/16 '((e. c4 eb4 fs4 a4 tie) (s a4 e. cs4 e4 g4 e bb4 tie) (e bb4 e. d4 f4 gs4 s b4)))

video Turing Piano (Julio Herrlein)
JulioHerrlein replied to JulioHerrlein's topic in Made In Opusmodus
Thank you, SB ! 
Thank You, SB !
 10 replies

 rhythm
 set theory

(and 3 more)
Tagged with:

Thanks a lot, my friend ! Best, Julio
 10 replies

 rhythm
 set theory

(and 3 more)
Tagged with:

video Turing Piano (Julio Herrlein)
JulioHerrlein replied to JulioHerrlein's topic in Made In Opusmodus
Nice to hear It from You, Loopyc ! Hope it can be inspiring ! Best, Julio added 0 minutes later Thank You, Janusz ! 
Thank You, Loopyc ! I' m trying to make this as practical as possible, applying the concepts in compositions and also for improvising. Best, Julio added 11 minutes later Thank You, Janusz !!!
 10 replies

 rhythm
 set theory

(and 3 more)
Tagged with:

Dear Friends In my Doctoral Dissertation, I converted every FORTE number in a modulo 12 Rhythm via timepointsystem. There is a complete catalog included (see the link below). It's in portuguese. After Janusz adjusted the Forte numbers to have the inversion, using "a" and "b" to differentiate the prime forms from the inversions, it was easy to convert using codes like this: (setf ch0 (timepointsystem (pcs '511b :pitch)'s :start 0)) (setf ch1 (timepointsystem (pcs '633 :pitch)'s :start 1)) (setf ch2 (timepointsystem (pcs '711b :pitch)'s :start 2)) (setf ch3 (timepointsystem (pcs '311b :pitch)'s :start 3)) (setf ch4 (timepointsystem (pcs '311b :pitch)'s :start 0)) The dissertation (in portuguese) can be downloaded HERE: Das alturas ao ritmo : teoria dos conjuntos rítmicos como ferramenta composicional From pitches to rhythm: rhythmic set theory as a compositional tool. http://hdl.handle.net/10183/179457 Abstract This doctoral dissertation is divided into two parts: the first deals a rhythmic set theory, and the second contains the portfolio of compositions developed during this period of studies. This dissertation presents a system of rhythmic organization parallel to the musical set theory pitch class organization FORTE (1973), as well as an adaptation of the timepointsystem (BABBITT, 1962). From the standpoint of the traditional set theory, and also from the diatonic set theory, this unified approach allows to estabilish a connecting tissue of basic aspects: from the harmony and chords symbols to the rhythmic organization. At one time, in a complete catalog, the families of pitch class sets and chord symbols are related to their respective rhythmic counterparts. The musical motivation for this research came from my interest in the swinging and groovy repetitive rhythms called timelines (TOUSSAINT, 2013), commonly used in popular music. These dancing timelines have properties similar to those of the diatonic sets, and for this reason, this dissertation presents some properties of the diatonic pitch class sets, drawing a parallel with their rhythmic counterparts. These relationships also appear in the portfolio of compositions, characterizing some procedures used. The portfolio of compositions, which includes a composition for symphony orchestra, is presented form the standpoint of a duality between transparency and opacity. This duality address the essential differences in the audibility of the results from various composition techniques. This study of Rhythmic Set Theory will serve as an analytical approach of my compositional output in popular music, with a systematic way to understant and to extrapolate some aspects already used in my practice as composer and improviser. Here is an analysis of a Wayne Krantz improvisation, using the rhythmic set theory system. Hope you enjoy !! Best, Julio
 10 replies

 rhythm
 set theory

(and 3 more)
Tagged with:

Dear Friends, I'd like to share a composition all made in Opusmodus. The composition is part of the Portfolio of my Doctoral Dissertation. I'd like to thank you so much, Opusmodus and the support of you here in this forum was amazing !! Love you all !! TURING PIANO (Julio Herrlein) Here is the commented code for the First Section: ;;;PART A ;PITCHES – The pitch structure are based on "chevronlike" patterns. This can be related to some Xenakis ideas: the arborescences, the music as a plot idea. (setf patpit (integertopitch (genintegerstep 0 68 '(1 2 3 4 5 6 7 8 9 10 11)))) (setf patpit2 (integertopitch (genintegerstep 0 68 '(11 10 9 8 7 6 5 4 3 2 1)))) ;;; This interval pattern leads to an infinite ascending movement, like the picture below: ;;; After that, I decided to restrict the ambitus of the pattern, otherwise it goes ascending forever. I did the restriction thinking in the hands of the pianist, in a way to not collide or crossing the hands. ;;;After the ambitus restriction, the next step was find some partitions to make some chords for the piece, so each hand have a diferent partition of the chevronlike pattern, like below (setf pitpartition (ambitus '(g3 c6)(chordizelist (gendivide '(1 1 1 3 1 1 1 2) patpit)))) (setf pitpartition2 (ambitus '(g1 g3)(chordizelist (gendivide '(2 1 1 1 1 2 1 1 1 1 1 1 1 1) patpit2)))) ;;; Next, i decided on the Rhythms to use. The rhythms are complementary, i.e., each hand plays on the silence of the other, using the following pattern: DIGRESSION: The FORTE NUMBERS are part of my dissertation that makes the conversion of the entire Forte sets onto Rhythms modulo 12. The dissertation (in portuguese) can be downloaded HERE: Das alturas ao ritmo : teoria dos conjuntos rítmicos como ferramenta composicional From pitches to rhythm: rhythmic set theory as a compositional tool. http://hdl.handle.net/10183/179457 Abstract This doctoral dissertation is divided into two parts: the first deals a rhythmic set theory, and the second contains the portfolio of compositions developed during this period of studies. This dissertation presents a system of rhythmic organization parallel to the musical set theory pitch class organization FORTE (1973), as well as an adaptation of the timepointsystem (BABBITT, 1962). From the standpoint of the traditional set theory, and also from the diatonic set theory, this unified approach allows to estabilish a connecting tissue of basic aspects: from the harmony and chords symbols to the rhythmic organization. At one time, in a complete catalog, the families of pitch class sets and chord symbols are related to their respective rhythmic counterparts. The musical motivation for this research came from my interest in the swinging and groovy repetitive rhythms called timelines (TOUSSAINT, 2013), commonly used in popular music. These dancing timelines have properties similar to those of the diatonic sets, and for this reason, this dissertation presents some properties of the diatonic pitch class sets, drawing a parallel with their rhythmic counterparts. These relationships also appear in the portfolio of compositions, characterizing some procedures used. The portfolio of compositions, which includes a composition for symphony orchestra, is presented form the standpoint of a duality between transparency and opacity. This duality address the essential differences in the audibility of the results from various composition techniques. This study of Rhythmic Set Theory will serve as an analytical approach of my compositional output in popular music, with a systematic way to understant and to extrapolate some aspects already used in my practice as composer and improviser. Here is the rhythm used in Turing Piano (with Forte numbers and rotations) (setf ritmo1 (genrepeat 10 '(s s s s s s s s s s s s s s s s s s s s s s s s))) (setf ritmo1b (lengthinvert ritmo1 :omn t)) ; DINAMICS: Following the parametric stuff, I decided to set the dynamics, according to the harmonic density, i.e. the more notes, the more louder. (setf din1 (span pitpartition '(p p p ff p mf pp ff))) (setf din2 (span pitpartition2 '(f p p p p ff p p ff pp pp f mf mf))) ;ASSEMBLING of the materials (setf lhmat1 (makeomn :length ritmo1 :pitch (pitchtranspose 4 pitpartition) :velocity din1)) (setf rhmat1 (makeomn :length ritmo1b :pitch (pitchtranspose 4 pitpartition2) :velocity din2)) ;MONTAGE of music blocks (assemblage) (setf pianoassemblerh (assembleseq lhmat1)) (setf pianoassemblelh (assembleseq rhmat1)) ;;;SCORE Layout (defscore Miniaturapno1 (:keysignature 'atonal :timesignature '(3 4) :tempo 85 :octaveshift '(c2 c6) :layout (grandlayout 'pno :allaccidentals 'all)) (pno :omn (mergevoices lhmat1 rhmat1) :channel 1 :sound 'gm :program 0) ) COMPLETE VIDEO

More praises and likes to you, guys !! Best ! Julio

I love your loops, André ! Best, Julio

tonalitymap ? (setf seq1 '(c4 cs4 d4 ds4 e4 f4 fs4 g4 gs4 a4 as4 b4)) (tonalitymap '(major) seq1) => (c4 c4 d4 d4 e4 f4 f4 g4 a4 a4 a4 b4)

Thanks, Stephane !

For example: This syntax (expandchord '(c4 69)) will give you a C(6,9) chord. Evaluate the expression via CMD+1 to get the snippet in notation. added 5 minutes later Maybe Janusz can help me here: When I evaluate this: (chordinversion 1 (expandchord '(c4 69))) I get this e4g4a4d5c6 However, when I try to get the snippet, via CMD+1, I get an error: > Error: The value e4g4a4d5c6 is not of the expected type list. > While executing: parsechordformfromstream, in process Listener1(6). > Type cmd. to abort, cmd\ for a list of available restarts. > Type :? for other options.

Changing MIDI channels with articulations
JulioHerrlein replied to torstenanders's topic in Support & Troubleshooting
Me too !!! Thanks !