# born

Members

46

1. ## fill-space function

Hi, attached is a function I wrote for a piece. Does anybody have an idea how to extend this with a seed functionality. I have tried a few things but so far without any real success ... The other thing: It can take quite a while until a possible solution ist found. Does anybody have an idea to improve the calculation speed? Thanks and best, Achim fill-space.opmo
2. ## merge lengths with same pitches

Thanks a lot Stephane, that helps. Achim
3. ## merge lengths with same pitches

Does anybody know how to merge lengths with same pitches? (e c4 c4 e. c4 q c4 s c4 e eb4 e. eb4 h eb4 e. eb4 q eb4) => (h. c4 wq eb4) Thanks for help, Achim
4. ## resolved Find all combinations that add upto given number

I use this to select different unique modules for Live-Electronics. Here ist my adapted function: (defun comb-to-sum (n &key (reps t)) (let* ((nums (gen-integer 1 n)) (x 0) (result (find-unique (sort-asc (flatten-sublist (loop repeat n for i = (combination2 (incf x) nums) collect (loop for c in i if (= (sum c) n) collect c))))))) (if reps result (loop for i in result when (equal (sum (remove-duplicates i)) n) collect i)))) (comb-to-sum 5 :reps nil) ; => ((5) (1 4) (2 3))
5. ## resolved Find all combinations that add upto given number

I would actually need ALL possibilities …
6. ## resolved Find all combinations that add upto given number

Is something like this implemented in OM or has anybody written a function for it? Input: N = 3 Output: 1 1 1 1 2 3 Input: N = 5 Output: 1 1 1 1 1 1 1 1 2 1 1 3 1 2 2 1 4 2 3 5 see: https://www.geeksforgeeks.org/find-all-combinations-that-adds-upto-given-number-2/ Best, Achim
7. ## Open web link in Assistant?

Is this feature still existing? Achim
8. ## Opusmodus on a Windows Machine (using VMWare)

Hello Julio, could you repost this video. It seems to be offline. Thanks, Achim
9. ## score-duration

Hi all, has anyone written a function that calculates the total duration of a score (including tempo changes and fermatas) in minutes and seconds? Achim

Hi, how can I add a Glockenspiel instrument to the GM-Instrument-Set? Best, Achim
11. ## Inspiring Idea For Rhythm (with Nested Tuplets)

see: OpenMusic Documentation - Rhythm Trees Structure SUPPORT.IRCAM.FR Best, Achim
12. ## Span pedal over several measures with notes and rests

Is it possible to span the pedal notation over several measures with notes and rests? Thanks for help. Achim ... and how do I have to set the controllers in the def-score accordingly? Best, Achim
13. ## Distribute rhythm

Hi, is there a function for distributing one voice successively into a defined number of voices as described in my attachment? Best, Achim
14. ## extract measures from voices an merge to new voice

Hi everybody, how can I extract specific measures from voices in a score and merge them to a new voice. Thanks for help. Achim
15. ## ps display bug?

In my understanding it should be exactly as notated, not interpreted.
16. ## Clefs not exported with music-xml

I actually would like to HAVE them exported - not to get rid of them ...
17. ## Automatically split chord for piano notation

Merci. I will have a look at it. Achim
18. ## ps display bug?

Hi, pitches are only displayed as sharps, bug? (ps 'gm :bass (list '((w e1 f1 gb1 e1 f1 gb1 ab1 b1))) :time-signature '(4 4)) Achim
19. ## Clefs not exported with music-xml

Hi, it seems that the automatically created clefs e.g. from ps are not exported with music-xml. When I open these files in Sibelius the clefs are gone. Any suggestions how to solve or work around this? Achim
20. ## Automatically split chord for piano notation

Hi, how could I automatically split chords for a further piano notation? Achim
21. ## resolved Midi display print

Hi, is there a print function for the midi display? At the moment I am using "zoom to fit" in fullscreen mode and then make a screenshot but this is a little cumbersome ... Achim
22. ## Midi display colours

Hi, is it possible to set a voice of staff to a specific colour in the midi display? Achim
23. ## ps with display-midi

Is it possible to use display-midi in combination with? Achim

25. ## Help with seed and semi-colons

It's actually (setf motifx12 (rnd-order (gen-repeat 12 (list motif)) :seed 3)) Achim
×

• Lessons