Search found 41 matches
- Fri Feb 04, 2022 6:34 pm
- Forum: bach: automated composer's helper
- Topic: max split equivalent
- Replies: 1
- Views: 596
max split equivalent
Is there an equivalent to the max split function with also works with a list? I would like to get rid of all values in a list with are outside of given min and max. So if min is 5 and max is 11 the list [1 2 3 4 5 6 7 8 9 10 11 12 13] should return [ 5 6 7 8 9 10 11]
- Sun Jan 23, 2022 5:32 pm
- Forum: bach: automated composer's helper
- Topic: random permutate selected notes
- Replies: 2
- Views: 724
Re: random permutate selected notes
Actually I got it to work but the ties don't work. I tried to select the notes or chord by onset but the tied notes don't get selected. This is my message but the @tiemode all didn't work:
sel chord if (onset == 3500) @tiemode all
What am I'm doing wrong?
sel chord if (onset == 3500) @tiemode all
What am I'm doing wrong?
- Sun Jan 23, 2022 4:01 pm
- Forum: bach: automated composer's helper
- Topic: sel all quarteronnes by message
- Replies: 1
- Views: 600
sel all quarteronnes by message
Hi, I can't figure the syntax in order to select all quarter tones in a score. I tried "sel note if (cents mod 50) == 50"
What am I doing wrong? Is there a tutorial to get the syntax right?
What am I doing wrong? Is there a tutorial to get the syntax right?
- Fri Jan 21, 2022 8:27 pm
- Forum: bach: automated composer's helper
- Topic: random permutate selected notes
- Replies: 2
- Views: 724
random permutate selected notes
Hi, is there a simple way to randomly permutate selected pitches or chords in a bach.score object?
- Mon Jan 18, 2021 9:40 pm
- Forum: bach: automated composer's helper
- Topic: Selecting from selection to the end
- Replies: 4
- Views: 1600
Re: Selecting from selection to the end
It would be great to have a message "play from selection" for roll and score objects in the future. I need it all the time too.
- Fri Dec 25, 2020 4:22 pm
- Forum: bach: automated composer's helper
- Topic: eval question
- Replies: 2
- Views: 972
Re: eval question
Found the problem myself. No x2dx function. Solution:
[bach.eval differece = nth($l1, 2) - nth($l1, 1); if differece == $x2 then $x1]
[bach.eval differece = nth($l1, 2) - nth($l1, 1); if differece == $x2 then $x1]
- Fri Dec 25, 2020 3:36 pm
- Forum: bach: automated composer's helper
- Topic: eval question
- Replies: 2
- Views: 972
eval question
Hi,
I try to use [bach.eval if x2dx($x1) == $x2 then $x1] in order to find intervals.
If I use 250 in the right inlet and 5800 6050 in the left inlet it should return 5800 6050 but it doesn't.
What am Im doing wrong?
Thanks
Frank
I try to use [bach.eval if x2dx($x1) == $x2 then $x1] in order to find intervals.
If I use 250 in the right inlet and 5800 6050 in the left inlet it should return 5800 6050 but it doesn't.
What am Im doing wrong?
Thanks
Frank
- Fri Dec 18, 2020 9:37 pm
- Forum: cage
- Topic: cage.scale bug?
- Replies: 2
- Views: 31216
Re: cage.scale bug?
Thanks a lot.
Frank
Frank
- Wed Dec 16, 2020 8:25 pm
- Forum: cage
- Topic: cage.scale bug?
- Replies: 2
- Views: 31216
cage.scale bug?
Hi, when I want to build a scale with cage.scale starting with 6100 and intervals 50 100 the scale will start on D quarter tone low. If I use 6150 as start the result is the same. If I start with 6050 the scale starts on the right pitch but with the interval 100. 6000 works fine but 6200 as start wi...
- Fri Oct 02, 2020 8:07 pm
- Forum: bach: automated composer's helper
- Topic: round pitch by script
- Replies: 2
- Views: 811
Re: round pitch by script
Thanks! That was exactly what I wanted.