Hi cturner, really nice work! I totally missed your post. This would be a great addition/change to the random metronome in MIDI Discombobulator. Thanks for sharing!cturner wrote: ↑Thu Jan 10, 2019 5:03 pm EDIT: This preset has been updated and is available here: viewtopic.php?p=7284039#p7284039
Here's one that nobody asked for: a metronome that generates chaotic time intervals. It's a metronome fragment really, once again embellished to make it immediately demonstrable. The chaotic function that generates the time intervals is the Logistic function. Central aspects of the preset are shaded by colored rectangles, areas outside these rectangles mostly deal with Panel communication and note generation.
If you look first at the [pack note] object in the grey lower right, it's associated MIDI data is note 69, velocity 80 and duration of 120 ticks. So you'll hear the same note a lot, which could get really irritating, but more importantly, the duration of each note is 1/32. I'll refer to this later.
The stock Logistic function generates a number between 0 and 1.0, but we need an integer that represents ticks in a usable range for musical rhythms. So notes between 30ppqn (1/128th) and 3840 (1 bar of 4/4) puts us there for the most part.
The Panel controls have an Offset/Scale input pair like the one in my previous post here. These can be read as: "Offset gives the minimum interval between notes, and Scale gives the range of intervals". In the illustrated setting of 240 offset and 720 scale, no interval will be shorter than 240 ticks (1/16th) and will range between 240 and 960 ticks (1/4th). I've set some minimum and maximum limits in the panel components, some of which are hard limits, and others that you might find constraining. At outset, you'll want the offset to be larger than the note duration, otherwise you'll have to pay attention to voice generation on your instrument.
The Lamba input is bit weird. I'm not sure you can directly input floating point numbers on the Panel. The Logistic function's lambda ranges between >4 (3.9999) and 0, so to get that, you must enter an integer of >40,000, with the scaling is done by the preset. A value of 20000 will give you straight 1/32s, and above 36000, things get very chaotic. There's also a Reset button, but I have no idea what "reset" does in the equation. But it's there if you need it.
The blue area generates ticks when the transport is active.
The red area increments and tracks the count of ticks since the transport started.
The green area contains the Logstic macro where the function is computed.
The yellow area generates a signal when the chaotic interval has ended.
Like my other post, this is yours to do what you will, but support will be limited. I do have an interest in adding quantization of intervals.
Enjoy!
Architect: Does anyone have a * macro/script
-
- KVRist
- 140 posts since 11 Mar, 2014
- KVRAF
- 1672 posts since 3 Aug, 2017 from San Diego, CA
Ohh, so very glad I found this thread!
-
- KVRist
- 140 posts since 11 Mar, 2014
MIDI Discombobulator UPDATE:
Please refer to original post for more info:
viewtopic.php?p=7287725#p7287725
Added: Master Transpose
Changed: Transpose on track module
Transpose dials go from -127 to +127. If any transpose goes above 127 or below 0, the sum will print in the console.
Enjoy!
Please refer to original post for more info:
viewtopic.php?p=7287725#p7287725
Added: Master Transpose
Changed: Transpose on track module
Transpose dials go from -127 to +127. If any transpose goes above 127 or below 0, the sum will print in the console.
Enjoy!
You do not have the required permissions to view the files attached to this post.
- KVRian
- 698 posts since 7 Dec, 2009 from GWB
- KVRian
- 698 posts since 7 Dec, 2009 from GWB
EDIT: I've revised this project, and the newer version can be found here:
viewtopic.php?p=7302518#p7302518
Here's a little thing that some might be interested in. I call it Basic Listener:
http://vze26m98.net/loomer/basic_listener-190120.zip
It sets a tick timer going when a MIDI noteon is received, and when the noteoff occurs, it reports the duration of the note, here through a reassembly of the MIDI tuple to include duration as the first element.
The code branches based on receiving either a noteon or noteoff. If noteon, it sets a variable incrementing on every tick. The count is one-based. On noteon, it also unpacks the MIDI tuple and loads the data into the corresponding [pack tuple] object.
On receiving a noteoff, the tick timer then sends the note duration to the [pack tuple] object, stops incrementing the tick counter and resets it to 1. The noteoff branch also triggers the packing of the tuple, which is printed on the console.
I've noticed on Reaper that while looping MIDI on a track, if the last noteoff and the first noteon occur immediately in sequence, the ticks are miscounted. You'll also notice that there's no logic here for polyphony, or noteon/noteoff to occur out of sequence. I'll likely work on these things and post an update when addressed.
EDIT: I believe the upcoming Beta v.0.9.10 will address the Reaper looping issue, and the revised Basic Listener deals with polyphony, albeit in a primitive way ATM.
Enjoy!
viewtopic.php?p=7302518#p7302518
Here's a little thing that some might be interested in. I call it Basic Listener:
http://vze26m98.net/loomer/basic_listener-190120.zip
It sets a tick timer going when a MIDI noteon is received, and when the noteoff occurs, it reports the duration of the note, here through a reassembly of the MIDI tuple to include duration as the first element.
The code branches based on receiving either a noteon or noteoff. If noteon, it sets a variable incrementing on every tick. The count is one-based. On noteon, it also unpacks the MIDI tuple and loads the data into the corresponding [pack tuple] object.
On receiving a noteoff, the tick timer then sends the note duration to the [pack tuple] object, stops incrementing the tick counter and resets it to 1. The noteoff branch also triggers the packing of the tuple, which is printed on the console.
I've noticed on Reaper that while looping MIDI on a track, if the last noteoff and the first noteon occur immediately in sequence, the ticks are miscounted. You'll also notice that there's no logic here for polyphony, or noteon/noteoff to occur out of sequence. I'll likely work on these things and post an update when addressed.
EDIT: I believe the upcoming Beta v.0.9.10 will address the Reaper looping issue, and the revised Basic Listener deals with polyphony, albeit in a primitive way ATM.
Enjoy!
Last edited by cturner on Sat Feb 02, 2019 4:00 pm, edited 2 times in total.
- KVRAF
- 6297 posts since 9 Dec, 2008 from Berlin
Hey,
I finally updated my website (had to switch CMS to be able to use PHP 7+...) and now "Toms Midi Mangler" for Loomer Architect is online:
https://www.screendream.de/code/toms-midi-mangler
I'm not too happy about the spaghetti code, but haven't found a way to improve it much with the current node input layout - still hoping that this will be improved over time to keep wires more in line instead of crossing so much.
Let me know if you find any bugs and I'll try to fix them.
Cheers,
Tom
I finally updated my website (had to switch CMS to be able to use PHP 7+...) and now "Toms Midi Mangler" for Loomer Architect is online:
https://www.screendream.de/code/toms-midi-mangler
I'm not too happy about the spaghetti code, but haven't found a way to improve it much with the current node input layout - still hoping that this will be improved over time to keep wires more in line instead of crossing so much.
Let me know if you find any bugs and I'll try to fix them.
Cheers,
Tom
You do not have the required permissions to view the files attached to this post.
Last edited by ThomasHelzle on Sun Jan 27, 2019 1:07 pm, edited 1 time in total.
"Out beyond the ideas of wrongdoing and rightdoing, there is a field. I’ll meet you there." - Rumi
Sculptures ScreenDream Mastodon
Sculptures ScreenDream Mastodon
- KVRist
- 123 posts since 25 Jul, 2004 from Italy
Hey Tom, happy to see the release of "Tom's Midi Mangler"!!! Thanks for sharing it.
Edit: very intuitive tool. I used the standalone version of Architect and put a midi player (few bars of midi data) in front of the tool. I just got my first output for "piano solo". Its Impressive...
The little squares above the tool's name are clickable. Do they have any purpose?
Alberto
Edit: very intuitive tool. I used the standalone version of Architect and put a midi player (few bars of midi data) in front of the tool. I just got my first output for "piano solo". Its Impressive...
The little squares above the tool's name are clickable. Do they have any purpose?
Alberto
Last edited by AZZIN on Sun Jan 20, 2019 9:43 pm, edited 1 time in total.
- KVRAF
- 6297 posts since 9 Dec, 2008 from Berlin
You're very welcome!
Now I'm looking for "responsive algorithms": I play something in and it generates something that is somehow related.
The most simple thing I can think of is a Midi delay that has something like the Midi Mangler in the feedback path.
Any other, more sophisticated ideas that you have good experiences with but aren't too involved?
Cheers,
Tom
P.S. No, the clickable squares are just a misuse I found funny for a grid element...
Now I'm looking for "responsive algorithms": I play something in and it generates something that is somehow related.
The most simple thing I can think of is a Midi delay that has something like the Midi Mangler in the feedback path.
Any other, more sophisticated ideas that you have good experiences with but aren't too involved?
Cheers,
Tom
P.S. No, the clickable squares are just a misuse I found funny for a grid element...
Last edited by ThomasHelzle on Tue Oct 22, 2019 1:36 pm, edited 1 time in total.
"Out beyond the ideas of wrongdoing and rightdoing, there is a field. I’ll meet you there." - Rumi
Sculptures ScreenDream Mastodon
Sculptures ScreenDream Mastodon
- KVRAF
- 6297 posts since 9 Dec, 2008 from Berlin
You're welcome too.
BTW. If anybody finds a way to prevent the hanging notes I'm getting, please let me know.
I haven't understood the system in that regard yet.
Cheers,
Tom
BTW. If anybody finds a way to prevent the hanging notes I'm getting, please let me know.
I haven't understood the system in that regard yet.
Cheers,
Tom
"Out beyond the ideas of wrongdoing and rightdoing, there is a field. I’ll meet you there." - Rumi
Sculptures ScreenDream Mastodon
Sculptures ScreenDream Mastodon
-
- KVRist
- 140 posts since 11 Mar, 2014
Hey Tom, I haven't tried your Midi Mangler yet but I've attached 2 fragments with 2 different methods of trying to stop hanging notes "on stop". Is this something that happens during play, like a sustain?ThomasHelzle wrote: ↑Sun Jan 20, 2019 9:39 pm You're welcome too.
BTW. If anybody finds a way to prevent the hanging notes I'm getting, please let me know.
I haven't understood the system in that regard yet.
Cheers,
Tom
Also I want to say thanks for sharing the Lua dropdown.
You do not have the required permissions to view the files attached to this post.
- KVRAF
- 6297 posts since 9 Dec, 2008 from Berlin
Thanks mannymang - and great to know these things are useful
I think I put the question on hanging notes on the other thread.
I think I put the question on hanging notes on the other thread.
"Out beyond the ideas of wrongdoing and rightdoing, there is a field. I’ll meet you there." - Rumi
Sculptures ScreenDream Mastodon
Sculptures ScreenDream Mastodon
-
- KVRAF
- 5785 posts since 27 Jul, 2001 from Tarpon Springs, Florida, USA
Toms Midi Mangler
Last edited by Kalamata Kid on Mon Jan 21, 2019 12:20 am, edited 1 time in total.
My Studio: viewtopic.php?f=4&t=7760&p=7777146#p7777146
- KVRAF
- 6297 posts since 9 Dec, 2008 from Berlin
Cool you like it, but I have no clue what you are talking about regarding "Round Robin"...
Cheers,
Tom
Cheers,
Tom
"Out beyond the ideas of wrongdoing and rightdoing, there is a field. I’ll meet you there." - Rumi
Sculptures ScreenDream Mastodon
Sculptures ScreenDream Mastodon
-
- KVRAF
- 5785 posts since 27 Jul, 2001 from Tarpon Springs, Florida, USA
Just ignore my suggestion.ThomasHelzle wrote: ↑Mon Jan 21, 2019 12:13 am Cool you like it, but I have no clue what you are talking about regarding "Round Robin"...
Cheers,
Tom
I deleted it.
My Studio: viewtopic.php?f=4&t=7760&p=7777146#p7777146