Architect: Does anyone have a * macro/script

Official support for: loomer.co.uk
mannymang
KVRist
120 posts since 11 Mar, 2014

Post Sat Jan 26, 2019 1:47 pm

Hi Alberto, thanks for sharing!

I tried to use this for min/max rotary dials to keep both dials from going inverse but I couldn't make it work. Is this what it could be used for? For example dial "min" would force dial "max" to raise if > "max" to keep dial "min" from going higher than the "max" dial's current value, as well as the inverse.

User avatar
AZZIN
KVRist
99 posts since 25 Jul, 2004 from Italy

Re: Architect: Does anyone have a * macro/script

Post Sat Jan 26, 2019 2:13 pm

Hi mammymang, not sure to understand your use-case. a-linmap is used to "remap" the output of any object in a certain range to a different range of values. What do you mean with "dials to go inverse"? Alberto

mannymang
KVRist
120 posts since 11 Mar, 2014

Re: Architect: Does anyone have a * macro/script

Post Sat Jan 26, 2019 4:07 pm

Thanks Alberto, for example if you look at Generative Midi Machine and "Note Range" while playing, if you raise the "min" dial above the "max" dial, the error "Note Range: minimum value must be equal to or below the maximum value" prints. The same error happens if the "max" dial goes below the "min" dial. This is when the dials are inverse or opposite.

I haven't tried yet to fix this because it's on a higher level of knowledge for me :), but I looked at your a-linmap and it looked like this might work in my case.

Thanks for your help! I'll keep learning by looking at your macro.

mannymang
KVRist
120 posts since 11 Mar, 2014

Re: Architect: Does anyone have a * macro/script

Post Sat Jan 26, 2019 5:08 pm

I think I over-thought the minimum/maximum dial inversion problem. I've attached a fragment of a simple true/false solution. It seems to work as it should.
You do not have the required permissions to view the files attached to this post.

User avatar
cturner
KVRian
568 posts since 7 Dec, 2009 from GWB

Re: Architect: Does anyone have a * macro/script

Post Tue Jan 29, 2019 5:17 am

As it seems that there are a few folks here interested in chaotic and random sequences, I thought I would post this. In another topic here, I got started on a search for what remained of Peter Castine's lovely objects for Max/MSP, now sadly unusable there due to lack of maintenance. Turns out Peter has posted the source on GitHub:

https://github.com/v7b1/LitterPower?files=1

A first step might best be looking at the documentation, which I've posted here:

http://vze26m98.net/loomer/Litter%20Docs.zip

A real treasure trove. Enjoy!
Tranzistow Tutorials: http://vze26m98.net/tranzistow/
Xenakis in America: http://oneblockavenue.net

User avatar
ThomasHelzle
KVRAF
5348 posts since 9 Dec, 2008 from Berlin

Re: Architect: Does anyone have a * macro/script

Post Tue Jan 29, 2019 9:22 am

cturner wrote:
Tue Jan 29, 2019 5:17 am
As it seems that there are a few folks here interested in chaotic and random sequences, I thought I would post this. In another topic here, I got started on a search for what remained of Peter Castine's lovely objects for Max/MSP, now sadly unusable there due to lack of maintenance. Turns out Peter has posted the source on GitHub:

https://github.com/v7b1/LitterPower?files=1

A first step might best be looking at the documentation, which I've posted here:

http://vze26m98.net/loomer/Litter%20Docs.zip

A real treasure trove. Enjoy!
Thanks cturner!
This indeed is a treasure trove.
I just implemented lp.ccc in Lua as a test and it's quite fun and simple.

But I wonder about the license and always struggle with this kind of thing:
Since the author himself seems to have collected those algorithms from others and I do not use his implementation but only extract how it works and the algorithm itself, can I or can I not make this available to others as Architect fragments?
His license docs say I can only use it for my own work, but I would assume that relates mostly to the Max implementation?
Would I have to hunt down each original author and find out if I can use the algorithms?
I seem to remember that you can only claim authorship for an implementation, not for the algorithm itself, but always found it hard to really grok this stuff.

If anybody here has a better grasp than me, I'd be really interested in your views!

Thanks and cheers,

Tom
"Out beyond the ideas of wrongdoing and rightdoing, there is a field. I’ll meet you there." - Rumi
ScreenDream|Thomas Helzle 8) Twitter

User avatar
cturner
KVRian
568 posts since 7 Dec, 2009 from GWB

Re: Architect: Does anyone have a * macro/script

Post Tue Jan 29, 2019 12:10 pm

I’m sure as long as you’re not charging money for it, you’ll be fine.
Tranzistow Tutorials: http://vze26m98.net/tranzistow/
Xenakis in America: http://oneblockavenue.net

User avatar
AZZIN
KVRist
99 posts since 25 Jul, 2004 from Italy

Re: Architect: Does anyone have a * macro/script

Post Tue Jan 29, 2019 12:40 pm

cturner wrote:
Tue Jan 29, 2019 5:17 am
As it seems that there are a few folks here interested in chaotic and random sequences, I thought I would post this. In another topic here, I got started on a search for what remained of Peter Castine's lovely objects for Max/MSP, now sadly unusable there due to lack of maintenance. Turns out Peter has posted the source on GitHub:

https://github.com/v7b1/LitterPower?files=1

A first step might best be looking at the documentation, which I've posted here:

http://vze26m98.net/loomer/Litter%20Docs.zip

A real treasure trove. Enjoy!
Nice find Charles! Thanks for the link.
Unfortunately I'm not a Max guy, but the ideas contained in the docs could be useful anyway.
Alberto

User avatar
ThomasHelzle
KVRAF
5348 posts since 9 Dec, 2008 from Berlin

Re: Architect: Does anyone have a * macro/script

Post Tue Jan 29, 2019 12:46 pm

Well, I'll see if I'll convert more of them - for now, here is a setup with two streams, one on Channel 1, one on Channel 2 - I have String Studio 3 with a picked guitar on 1 and Lounge Lizard on 2 in an instrument layer device in Bitwig Studio behind Architect.

BurstFunction.png

Stream one is built from the lp.ccc from the Litter library in Lua which is basically

Code: Select all

x' = (x * x + x) modulo 1.0
This creates a stream of numbers that are very small for long times and then rise fast to 1 and reset. As you can see in the graph, you feed it with a relatively fast Trigger impulse and give it a Seed between 0 and 1 to create different streams.
I then took a rise over 0.1 to create a note on and a fall below that for the note off. Set this to a higher value like 0.75 to create shorter notes.

It is normal that there sometimes are long phases where nothing happens - enable debug and watch the console to see how it slowly counts up from very small numbers then.

The second stream is a structure that uses my Lua Noises to create steady 1/8 notes (while stream one is basically random).

Below I put both through my Midi Mangler to create further variation and thin out the second stream to taste.

Very nice ambient stuff, especially in surround :-)

Cheers,

Tom
You do not have the required permissions to view the files attached to this post.
"Out beyond the ideas of wrongdoing and rightdoing, there is a field. I’ll meet you there." - Rumi
ScreenDream|Thomas Helzle 8) Twitter

User avatar
ThomasHelzle
KVRAF
5348 posts since 9 Dec, 2008 from Berlin

Re: Architect: Does anyone have a * macro/script

Post Tue Jan 29, 2019 12:49 pm

AZZIN wrote:
Tue Jan 29, 2019 12:40 pm
Unfortunately I'm not a Max guy, but the ideas contained in the docs could be useful anyway.
Alberto
You don't need Max knowledge (I don't have any) - just extract the algorithm from the .c source (see my post above).

Cheers,

Tom
"Out beyond the ideas of wrongdoing and rightdoing, there is a field. I’ll meet you there." - Rumi
ScreenDream|Thomas Helzle 8) Twitter

mannymang
KVRist
120 posts since 11 Mar, 2014

Re: Architect: Does anyone have a * macro/script

Post Tue Jan 29, 2019 3:05 pm

MIDI Discombobulator
:Discombobulates midi files in Architect.

UPDATE:
MIDI Discombobulator is now a hybrid of Generative Midi Machine:
viewtopic.php?p=7293372#p7293372

You can now add random notes to the midi files you discombobulate per track (Add Random Notes) on/off. You can also turn off the Discombobulator completely or per track (Play midi file) on/off, and add random notes to the original midi file playing. If you would like to use it to generate random notes altogether, turn off all tracks from playing midi files etc. and other combinations.

Fixed: Dials no longer invert to cause error. It works different now but you'll find it's better for live interaction as well.
Fixed: Other things I don't remember. :wink:

I'll update Generative Midi Machine with the latest as time permits.

Please refer to the original post for MIDI Discombobulator for more info:
viewtopic.php?p=7287725#p7287725

Enjoy!
You do not have the required permissions to view the files attached to this post.

User avatar
AZZIN
KVRist
99 posts since 25 Jul, 2004 from Italy

Re: Architect: Does anyone have a * macro/script

Post Tue Jan 29, 2019 10:31 pm

ThomasHelzle wrote:
Tue Jan 29, 2019 12:46 pm

Very nice ambient stuff, especially in surround :-)
That's interesting.. Do you have a track on Soundcloud or similar to listen?

User avatar
AZZIN
KVRist
99 posts since 25 Jul, 2004 from Italy

Re: Architect: Does anyone have a * macro/script

Post Tue Jan 29, 2019 10:34 pm

mannymang wrote:
Tue Jan 29, 2019 3:05 pm
MIDI Discombobulator is now a hybrid of Generative Midi Machine:
Nice! I'll find some time to try it!!

User avatar
ThomasHelzle
KVRAF
5348 posts since 9 Dec, 2008 from Berlin

Re: Architect: Does anyone have a * macro/script

Post Wed Jan 30, 2019 1:56 am

AZZIN wrote:
Tue Jan 29, 2019 10:31 pm
ThomasHelzle wrote:
Tue Jan 29, 2019 12:46 pm

Very nice ambient stuff, especially in surround :-)
That's interesting.. Do you have a track on Soundcloud or similar to listen?
No, sorry.
"Out beyond the ideas of wrongdoing and rightdoing, there is a field. I’ll meet you there." - Rumi
ScreenDream|Thomas Helzle 8) Twitter

User avatar
AZZIN
KVRist
99 posts since 25 Jul, 2004 from Italy

Re: Architect: Does anyone have a * macro/script

Post Wed Jan 30, 2019 12:41 pm

Hello all, during this month I enjoyed a lot tweaking with Architect and I had fun in creating a small library project implementing chaotic/fractal algorithms - I called it "a-chaos" ("a" stands for Architect). It is a set of .frag files in a folder, that you need to extract from the attached zip archive and put (the complete folder) on the Architect fragments folder on your system. I attached also a small manual. It contains the clifford, dejong, hopalong, henon, duffing, lorenz and logistic maps (thanks cturner!).
If you want to play with these toys: once you copied the a-chaos folder in the Fragment folder you have the macros available by clicking the right mouse button in the architect "graph". Attach a metronome on the "step" inlet (the rightmost one) and the macro will generate sequences of values from each algorithm triggered by the metro signal. These sequences, in general, need to be mapped to meaningful midi values like pitch, velocity, cutoff, duration and so on, to generate nice and "unexpected" results :wink: . To this aim, the "a-linmap" macro is also part of the collection.
Why not using the LUA scripting for implementing this? That would have been easier, but with less fun.. Comments, feedback, anything, welcome. Enjoy :).
Alberto
You do not have the required permissions to view the files attached to this post.

Return to “Loomer”