Everything posted by JulioHerrlein
-
Different seeds in a loop expression
Dear All, How can I get controlled seeds in a expression like this? (let ((r-lis nil)) (dotimes (i 4) (push (rnd-unique 5 '(1 2 3 4 5)) r-lis)) r-lis) This will result four different seeds (one for each loop iteration), like this: rnd-unique :seed 361914 rnd-unique :seed 275956 rnd-unique :seed 883737 rnd-unique :seed 46981 ((3 1 4 5 2) (4 2 1 5 3) (2 5 4 1 3) (1 3 5 4 2)) And this will result the same seed for all four iterations: (let ((r-lis nil)) (dotimes (i 4) (push (rnd-unique 5 '(1 2 3 4 5):seed 1) r-lis)) r-lis) Like this: rnd-unique :seed 1 rnd-unique :seed 1 rnd-unique :seed 1 rnd-unique :seed 1 ((3 1 5 4 2) (3 1 5 4 2) (3 1 5 4 2) (3 1 5 4 2)) How to make it with a specific seed chosen for each loop iteration? THIS WON´T WORK... (let ((r-lis nil)) (dotimes (i 4) (push (rnd-unique 5 '(1 2 3 4 5):seed '(1 23 467 11)) r-lis)) r-lis) All the best ! Thank you ! Julio
-
Stemlets Notation in OMN / XML
Any progress related to this Stemlets in XML ? All the best ! Julio
-
Interval distance of a list (integers or pitches) in relation to a chosen note
Genius !
-
Interval distance of a list (integers or pitches) in relation to a chosen note
Great, André !! Thanks a lot ! Best ! Julio
-
Interval distance of a list (integers or pitches) in relation to a chosen note
Dear All, Is there a function for get all intervals of a row (or any list of integers or pitches) in relation to one note ? For example, given this 12 tone row: (a3 gs4 c4 d4 bb3 b3 fs4 f4 cs4 g4 ds4 e4) Get all intervals related to a4 ? The result should be: (-12 -1 -9 -7 -11 -10 -3 -4 -8 -2 -6 -5) This is for getting a resultant set of numbers related to a chromatic octave-module. Each order of the set result in a different set. Maybe can be a mapping function.
-
chord-filter-tie, organ
Dear René, Maybe something like this. This works for de-mixing a texture onto 4 voices, each with differen rhythms. Hope it can help. Best, Julio (setf klang-chorale '(e c4fs4e4a4 cs4fs4e4a4 cs4fs4e4bb4 cs4gs4e4bb4 cs4gs4eb4bb4 cs4gs4eb4b4 cs4gs4f4b4 cs4gs4f4a4 d4gs4f4a4 d4gs4e4a4 d4g4e4a4 d4fs4e4a4)) ;;; (setf v1 (filter-tie (flatten (pitch-demix 1 klang-chorale)))) (setf v2 (filter-tie (flatten (pitch-demix 2 klang-chorale)))) (setf v3 (filter-tie (flatten (pitch-demix 3 klang-chorale)))) (setf v4 (filter-tie (flatten (pitch-demix 4 klang-chorale)))) (ps 'gm :sq (list v1 v2 v3 v4) :key-signature 'atonal :time-signature '(4 4) :tempo 70 :title "QUARTET" :display :window)
-
Rhythmic Resultants
Thank you ! Very nice ! In relation of counting the rests as items attacks, I suggested this to Janusz (probably in the next update). Best ! Julio
- Automatic opening last MIDI file files in Musescore (or Sibelius, etc)
- Automatic opening last MIDI file files in Musescore (or Sibelius, etc)
- Automatic opening last MIDI file files in Musescore (or Sibelius, etc)
-
Automatic opening last MIDI file files in Musescore (or Sibelius, etc)
I tried using the musicxml-to-editor (defun last-midi-to-musescore () (compile-score *last-score* :output :midi :file "temp-last-midi") (musicxml-to-editor "temp-last-midi" :application "/Applications/MuseScore3.app")) Like above, but the musicxml gives an error with midi files... How about to create a generic-file-to-editor choice, to send any type of file to other auxiliary apps ? Best ! Julio
- Automatic opening last MIDI file files in Musescore (or Sibelius, etc)
-
Automatic opening last MIDI file files in Musescore (or Sibelius, etc)
Thank you, Janusz Yes, I already have some user defined things, like this: (defparameter *snippet-clef-default* :treble-down8) (defun last-score-to-musescore () (compile-score *last-score* :output :musicxml :file "temp-last-score") (musicxml-to-editor "temp-last-score" :application "/Applications/MuseScore3.app")) Thanks !! I will try this to see if works ! (defun last-midi-to-musescore () (compile-score *last-score* :output :midi :file "temp-last-midi") (midi-to-editor "temp-last-midi" :application "/Applications/MuseScore3.app"))
- Automatic opening last MIDI file files in Musescore (or Sibelius, etc)
-
Automatic opening last MIDI file files in Musescore (or Sibelius, etc)
Thanks, Janusz ! But I need the Midi File to get the VSL articulations from it. I take the notated part from the XML, using (last-score-to-musescore) wich makes musescore open "automagically" the XML I´d like to have the same thing for Export/Last Score to Midi... without having to save midi file in disk first, then opening to Musescore. Just the command and boom ! Like I have with the XML. Then I will cut just the articulation keyswitches part and paste alongside the XML part. Best ! Julio
-
Automatic opening last MIDI file files in Musescore (or Sibelius, etc)
Dear Friends, Is there some way to automatically opening a MIDI FILE (related to the last snippet/score generated) from Opusmodus to other application (Musescore, Sibelius) ? Something similar to this solution ? last-score-to-musescore solution, but for last midi files ? Like this post ? But for midi file? Many thanks in advance ! Much needed now. Best, Julio
-
Request: a gen-divide-attack function only to positive rhythmic values
Dear Stephane, I´m planning to do a little video sooner or later. But basically, it´s the same stuff/template I´m working for some time. Inside this template, some ideas about music and composition are emerging, alongside with the constraints of my imagination and the different ways of realizing all this with this wonderful Opusmodus tool. Thanks in advance to all the support and inspiration you and Janusz bring to me and all the people in this forum. All the best ! Julio
-
Request: a gen-divide-attack function only to positive rhythmic values
Yes !! This is great ! Thank you, Janusz !] Just a keyword did the job. Very interesting for controlling the number of rhythmic attacks in a time span, without having to measure a time span so strictly. As a consequence, the harmony can be better controlled also, because I use lists of compatible harmonies. All the best ! Julio
- Request: a gen-divide-attack function only to positive rhythmic values
-
Request: a gen-divide-attack function only to positive rhythmic values
Dear friends, A cool idea to implement would be to have a gen-divide like function for dividing rhythm lists, filtering just the positive values, like this: (setf rhy '(q -q -e e e e q q -s s s s)) ;;;Standard gen divide (gen-divide 3 rhy) ;;result: (q -q -e) (e e e) (q q -s) (s s s) ;;; (gen-divide-attack 3 rhy) ;;;result (q -q -e e e) (e q q) (-s s s s) To me, would be very useful. All the best ! Julio
- Per Measure processing of accidentals (flats, sharps)
-
Per Measure processing of accidentals (flats, sharps)
Yes, But the purpose of omn-dictum, according to the documentation is to provide the possibiliry of revisions : "The dictum arguments can be seen as maps, rules or handwritten corrections to a final score." So, this kind of revision is typical. Maybe keywords like :flats and :sharps Something like: (omn-dictum '((e stacc 1) (:sharps 2) (3q leg 2)) omn2) Best ! Julio
- Per Measure processing of accidentals (flats, sharps)
-
harmonics for equal tempered tunings / guitar // sorting single-events?
Yes, lots of fun, Torsten ! Thank you for the recommendation. Hmmmm... I don´t know if I would "recognize" the number 3 if I see it crossing the street, but I will give a try !
-
harmonics for equal tempered tunings / guitar // sorting single-events?
Thanks, Torsten !! Best !