Hi,
I'm working with maxlispj from Brad Garton and I get very good results with single lists coming out of it. The compatibility is perfect with any bach objects.
The problem is now about double lists like this one: ((587.3295 1479.9777) (466.16376 1479.9777) (466.16376 932.3275))
This is a list of 3 chords expressed in Hz coming out of a short program in maxlispj.
None of the bach objects I tried recognize it as list of lists. When I check for its depth, 1 is return instead of 3.
Furthermore, when I send it to a Max message it is represented with quotes witch is not the case in the Max window.
How can I convert, if it is possible, this Lisp list to a IIII?
Thanks for any help.
Working with Lisp lists
-
- Site Admin
- Posts: 1349
- Joined: Fri Dec 03, 2010 1:25 pm
Re: Working with Lisp lists
I'm not really familiar with the maxlispj package, but could you provide a patch snippet showing the issue?
My guess is that the package outputs a single long symbol, so you could maybe try to put a "fromsymbol" object before giving it to the first bach object?
Let me know if that helps.
d
My guess is that the package outputs a single long symbol, so you could maybe try to put a "fromsymbol" object before giving it to the first bach object?
Let me know if that helps.
d
Re: Working with Lisp lists
Thank you very much Daniele, you put me on the way, "from symbol" solved my issue.
And bravo for your great package which is what everyone expected on Max. It really fit my expectations at least.
All the best.
JMD
And bravo for your great package which is what everyone expected on Max. It really fit my expectations at least.
All the best.
JMD