opmo Posted May 23, 2017 Share Posted May 23, 2017 New functions: HALF-SINE, HALF-SAWTOOTH, HALF-TRIANGLE, HALF-SQUARE JOIN-ATTRIBUTES, DISJOIN-ATTRIBUTES HALF-SINE The HALF-SINE function generates a sequence of vectors that describe and simulate the characteristics of a half sine wave. First the GEN-SINE: (gen-sine 32 1 0.5) Now the HALF-SINE: (half-sine 32 0.5) With control over resolution (the length of the wave), frequency and amplitude (and additional control over phase and modulation) this function can be a remarkably effective tool for creating gestural forms in pitch, rhythm, dynamics and structure. Examples: With the shortcut ⌃1 (menu: Plot/Numbers) as a guide it's possible to experiment with shapes and forms before applying these to musical parameters. (half-sine 120 1.0 :phase 90) In the example below the keyword :modulation is applied and its values are generated by the GEN-SINE function. (half-sine 120 1.0 :phase 90 :modulation (gen-sine 120 1 0.2)) In the example below the amplitude parameter '(0.5 0.2 0.1) has three values. These represent a sequence of alternating amplitudes. (half-sine 120 '(0.5 0.2 0.1)) In this final example the keyword :phase is used to produce a different start point (90) in the 360 degree range. (half-sine 120 '(0.5 0.2 0.1) :phase 90) In this final example the GEN-SINE the amplitude values are generated by the HALF-SINE function: (gen-sine 120 5 (half-sine 120 1.0 :phase 180)) (gen-sine 120 5 (half-sine 240 1.0 :phase 180)) Here below there's a clear example of how alternating amplitude values can affect the wave output when the vectors are mapped to pitches. (vector-to-pitch '(g3 g5) (gen-sine 120 32 (half-sine 120 1.0 :phase 180)) HALF-TRIANGLE The HALF-TRIANGLE function generates a sequence of vectors that describe and simulate the characteristics of a half triangle wave. First the GEN-TRIANGLE: (gen-triangle 32 1 0.5) Now the HALF-TRIANGLE: (half-triangle 32 0.5) With control over resolution (the length of the wave), frequency and amplitude (and additional control over phase and modulation) this function can be a remarkably effective tool for creating gestural forms in pitch, rhythm, dynamics and structure. Examples: With the shortcut ⌃1 (menu: Plot/Numbers) as a guide it's possible to experiment with shapes and forms before applying these to musical parameters. (half-triangle 120 1.0 :phase 45) In the example below the keyword :modulation is applied and its values are generated by the GEN-TRIANGLE function. (half-triangle 120 1.0 :phase 45 :modulation (gen-triangle 120 1 0.2)) In the example below the amplitude parameter '(0.5 0.2 0.1) has three values. These represent a sequence of alternating amplitudes. (half-triangle 120 '(0.5 0.2 0.1)) In this final example the keyword :phase is used to produce a different start point (90) in the 360 degree range. (half-triangle 120 '(0.5 0.2 0.1) :phase 90) In this final example the GEN-TRIANGLE the amplitude values are generated by the HALF-TRIANGLE function: (gen-triangle 120 5 (half-triangle 120 1.0 :phase 180)) (gen-triangle 120 5 (half-triangle 240 1.0 :phase 180)) Here below there's a clear example of how alternating amplitude values can affect the wave output when the vectors are mapped to pitches. (vector-to-pitch '(g3 g5) (gen-triangle 120 32 (half-triangle 120 1.0 :phase 180)) HALF-SQUARE The HALF-SQUARE function generates a sequence of vectors that describe and simulate the characteristics of a half square wave. First the GEN-SQUARE: (gen-square 32 1 0.5) Now the HALF-SQUARE: (half-square 32 0.5) With control over resolution (the length of the wave), frequency and amplitude (and additional control over phase and modulation) this function can be a remarkably effective tool for creating gestural forms in pitch, rhythm, dynamics and structure. Examples: With the shortcut ⌃1 (menu: Plot/Numbers) as a guide it's possible to experiment with shapes and forms before applying these to musical parameters. (half-square 120 1.0 :phase 45) In the example below the keyword :modulation is applied and its values are generated by the GEN-SQUARE function. (half-square 120 1.0 :phase 90 :modulation (gen-square 120 1 0.7)) In the example below the amplitude parameter '(0.5 0.2 0.1) has three values. These represent a sequence of alternating amplitudes. (half-square 120 '(0.5 0.2 0.1)) In this final example the keyword :phase is used to produce a different start point (90) in the 360 degree range. (half-square 120 '(0.5 0.2 0.1) :phase 90) In this final example the GEN-SQUARE the amplitude values are generated by the HALF-SQUARE function: (gen-square 120 5 (half-square 120 1.0 :phase 180)) (gen-square 120 5 (half-square 240 1.0 :phase 180)) Here below there's a clear example of how alternating amplitude values can affect the wave output when the vectors are mapped to pitches. (vector-to-pitch '(g3 g5) (gen-square 120 32 (half-square 120 1.0 :phase 180)) HALF-SAWTOOTH The HALF-SAWTOOTH function generates a sequence of vectors that describe and simulate the characteristics of a half sawtooth wave. First the GEN-SAWTOOTH: (gen-sawtooth 32 1 0.5) Now the HALF-SAWTOOTH: (half-sawtooth 32 0.5) With control over resolution (the length of the wave), frequency and amplitude (and additional control over phase and modulation) this function can be a remarkably effective tool for creating gestural forms in pitch, rhythm, dynamics and structure. Examples: With the shortcut ⌃1 (menu: Plot/Numbers) as a guide it's possible to experiment with shapes and forms before applying these to musical parameters. (half-sawtooth 120 1.0 :phase 90) In the example below the keyword :modulation is applied and its values are generated by the GEN-SAWTOOTH function. (half-sawtooth 120 1.0 :phase 90 :modulation (gen-sawtooth 120 1 0.7)) In the example below the amplitude parameter '(0.5 0.2 0.1) has three values. These represent a sequence of alternating amplitudes. (half-sawtooth 120 '(0.5 0.2 0.1)) In this final example the keyword :phase is used to produce a different start point (90) in the 360 degree range. (half-sawtooth 120 '(0.5 0.2 0.1) :phase 90) In this final example the GEN-SAWTOOTH the amplitude values are generated by the HALF-SAWTOOTH function: (gen-sawtooth 120 5 (half-sawtooth 120 1.0 :phase 180)) (gen-sawtooth 120 5 (half-sawtooth 240 1.0 :phase 180)) Here below there's a clear example of how alternating amplitude values can affect the wave output when the vectors are mapped to pitches. (vector-to-pitch '(g3 g5) (gen-sawtooth 120 32 (half-sawtooth 120 1.0 :phase 180)) DISJOIN-ATTRIBUTES The function DISJOIN-ATTRIBUTES separates a combined articulations into a list of its individual attributes. (disjoin-attributes 'leg+ponte) => (leg ponte) (disjoin-attributes 'leg+ponte+stacc) => (leg ponte stacc) JOIN-ATTRIBUTES The function JOIN-ATTRIBUTES merges a list of attributes into one articulation. (join-attributes '(leg ponte)) => leg+ponte (join-attributes '(leg+ponte stacc)) => leg+ponte+stacc Fix to OMN-REPLACE :articulation Best wishes, JP hujairi and AM 2 Link to comment Share on other sites More sharing options...
Recommended Posts