Search found 209 matches

by andreaagostini
Sat Mar 09, 2024 10:22 am
Forum: bach: automated composer's helper
Topic: write filename.llll - bug report
Replies: 1
Views: 1830

Re: write filename.llll - bug report

Hi Pedro, I think this is expected behaviour, and indeed you'll get something very similar if you try to do the same with, say, buffer~. If you don't have a previous location set, Max will try to save in its installation folder, where you don't have write permissions. And if you open a help file, th...
by andreaagostini
Wed Jan 31, 2024 10:19 am
Forum: bach: automated composer's helper
Topic: Max arrays vs lllls?
Replies: 3
Views: 2201

Re: Max arrays vs lllls?

Hi Jeremy,

Thanks for the clarification, and sorry for the incorrect assumption. And yes, a chat about arrays and strings could be a great idea at some point, but I think we have a few things to sort out first...

Best,
andrea
by andreaagostini
Sun Jan 21, 2024 3:02 pm
Forum: bach: automated composer's helper
Topic: Max arrays vs lllls?
Replies: 3
Views: 2201

Re: Max arrays vs lllls?

Hi, We haven't conducted any benchmarks, but I expect Max arrays to be way faster than lllls for most operations. Exceptions should theoretically include insertion and deletion of elements, but in practice I wouldn't be so sure about that. On the other hand, arrays have limited capacity (32k items) ...
by andreaagostini
Sun Jun 18, 2023 9:50 am
Forum: bach: automated composer's helper
Topic: midi export from bach.roll
Replies: 3
Views: 26301

Re: midi export from bach.roll

Hi,

I've added a "defaulttempo" attribute to exportmidi message of bach.roll. Changing the default to 120 might be a good idea, but I need to investigate the pros and const first.

Best,
andrea
by andreaagostini
Thu Mar 16, 2023 3:58 pm
Forum: bach: automated composer's helper
Topic: Lyrics 2 info for MusicXML
Replies: 1
Views: 12625

Re: Lyrics 2 info for MusicXML

EDIT: the answer was actually unrelated to the question.

I'm not sure that the correct way to deal with this is a generic text slot. I need to discuss this with Daniele. In the meantime, thanks for the suggestion.

Best,
andrea
by andreaagostini
Thu Feb 02, 2023 10:56 pm
Forum: bach: automated composer's helper
Topic: Any interest in Bach working with Scheme for Max? (embedded lisp in Max)
Replies: 2
Views: 2074

Re: Any interest in Bach working with Scheme for Max? (embedded lisp in Max)

Hi Iain, I had already downloaded your s4m object, and I have to say it's terrific. Unfortunately I don't really know Scheme and my Common Lisp is decidedly rusty, so I couldn't really put it to good use as it deserves. Anyway, the idea of linking s4m to bach seriously entices me, although I anticip...
by andreaagostini
Mon Jul 11, 2022 7:45 am
Forum: bach: automated composer's helper
Topic: Bell – help with memory exhausted error
Replies: 2
Views: 1877

Re: Bell – help with memory exhausted error

Hi Micha, Yep, this one looks bad. Interestingly, and unexpectedly, I found out that removing parentheses in this case helps. How did I found out? By experimenting and seeing that, as I removed parentheses, the "memory exhausted" error moved downwards. Anyway, the only solution I found is to split y...
by andreaagostini
Sun Jul 10, 2022 8:30 am
Forum: bach: automated composer's helper
Topic: bell – sort()
Replies: 1
Views: 1555

Re: bell – sort()

Hi, you need to provide a sort function: <pre><code> ----------begin_max5_patcher---------- 448.3ocqTEsaiCBD7Y7WwJTdHQxsx3zzyp5t6GIMJBauWCUIfEfS8op9uevh cauKUM4j5KfYXYGOytvyYLdsY.cb3NXMvXOmwXDTDfMtlwOHGZ1KcTX7CnyI e.44o873fmvW6ex.kaf0FMBhv7uL8V3lvG9cVDgkalNRmz2rSoeXqEa7IpqV dcQNTIhihuUFmJCivlwin6OX5...
by andreaagostini
Wed Jun 29, 2022 7:11 pm
Forum: bach: automated composer's helper
Topic: bell.map() arguments for the modification function
Replies: 2
Views: 1953

Re: bell.map() arguments for the modification function

Hi, What you need here are lifted variables. This one works: Scale = ($input, $inmin, $inmax, $outmin, $outmax ->( $scale = ($input -^ $inmin, $inmax, $outmin, $outmax -> ( ((($outmax-$outmin)*($input-$inmin))/$inmax-$inmin)+$outmin ) ); map($input,$scale) ) ) I must admit that the documentation of ...
by andreaagostini
Sat May 21, 2022 8:35 am
Forum: bach: automated composer's helper
Topic: Efficiency in bach.constraints
Replies: 3
Views: 2718

Re: Efficiency in bach.constraints

Hi, There might be a minimal performance improvement if rules that are evaluated more times appear earlier in bach.keys, but I wouldn't expect anything significant. On the other hand, the deterministic engine of bach.constraints internally rearranges both the constraints and the domains so as to imp...