A simple example of how to use the Live Drawing actor.
An Isadora User Actor, Isadora Patch, and OSCulator file that allows control of Isadora via OSC using a Wii Remote. OSCulator is a Mac-only software that costs $20 USD and, among other things, allows you to use a Wii Remote as a wireless controller by taking the data collected from the Wii Remote and transmitting it via OSC or MIDI to other software on your computer. When paired with Isadora, it allows you to use the Wii Remote as an interactive controller/data source for anything inside your Isadora Patch. CHANGELOG v3 – 2022-05-31
- Updated the Wii Remote User Actor to allow the first OSC Channel to be set (so it’s easier to move to different files)
- Gave the Wii Remote User Actor a new input and four new outputs that give information about the chosen item (OSC channel, OSC address, function, location of button).
- Added a Comment to the first Scene that explains how the Wii Remote User Actor works.
- Added a Comment to the first Scene that explains how to use the Wii Remote User Actor with a file that isn’t the example file (and therefore doesn’t already have the OSC addresses setup).
- Created a User Actor for each of the three Logic examples in the second Scene (and added them to the download).
- Organized and labeled the OSC Multi Listeners better in the third Scene.
- Added screenshots of the OSCulator settings to the download.
- Added a text file with the OSCulator OSC addresses.
v2 – 2020-11-04
- Changed the OSCulator file so that it uses port 8001 instead of port 8000 so that it does not conflict with ZoomOSC.
- Added three examples of how I use the Wiimote.
- One set of examples that trigger if the chosen button is pressed and released 3x within the span of 1 second.
- One set of examples that prevents you from triggering things with the “GO” button unless the “primer” button held down.
- One set of examples where accelerometer data is only allowed to pass through when a specific button is held down.
A simple User Actor that allows a sound file to be selected and then triggered with Keyboard Watcher, MIDI Note, MIDI Control Change, or OSC.
- For MIDI Notes it triggers when sent the specified note at any velocity, so make sure not to send a note off or you’ll double-trigger it.
- For MIDI Control Changes it triggers when sent the specified controller at the specified value.
- For OSC it triggers when a value is sent on the specified channel that is greater than or equal to the specified value (default is 1 so it can be used with buttons that send 1/0).
- If you want it to trigger on value 0 for OSC, you’ll need to open up the User Actor and make sure to change the ‘value1’ input of the Comparator actor to initialize at a value other than zero.
- If you want it to change the mode of the Comparator actor for OSC, you’ll need to open up the User Actor and change it inside the User Actor.
The download also includes a template Isadora Patch with a Scene that contains 18 of the User Actors, with ten of them already set to use keys 1 – 9 and 0.
A short example file showing some simple ways to use MIDI notes to change values in your patch. It includes two screenshots showing basic Live Capture and MIDI Setup for sending MIDI notes from Isadora to Isadora. The patch covers:
- Starting Live Capture
- Sending MIDI from Isadora to Isadora
- Using a Text Draw actor to display the incoming MIDI Note and a Speak Text actor to say it.
- Colorizing live video dynamically based on the pitch of the MIDI note.
- Colorizing Shape with one of three pre-selected colors based on which of three ranges the incoming MIDI note falls into.
- Colorizing a pulsing/exploding shape with Explode and a Decay Generator
- Using the MIDI note to change the color of the Live Drawing actor while using the mouse to draw.
- Using the MIDI note to change the color of the Live Drawing actor while using the pitch and velocity of the note as x/y coordinates, letting you draw automatically with the random MIDI notes.
This User Actor can be fed a string of characters (or a value) and will tell you the number of characters (length) of the input. There is also an input that affects the count for the “value” input which allows you to either ignore or not ignore the “-” character if the incoming number is negative.
Bob = 3
Terry = 5
76 = 2
0.3 = 3
-0.3 = 4 (with Ignore “-” set to “off”)
-0.3 = 3 (with Ignore “-” set to “on”)
This User Actor can convert ASCII values into characters, as well as convert single characters into ASCII values.
Additionally, there is an output that tells you if the character is a number (0-9) and another output that gives you the character as an integer (instead of a string) if the character is a number (0-9).
A complete table of ASCII characters can be found here: https://theasciicode.com.ar/
CHANGELOG: v2 2022-06-08
- Added an input that lets you set the notify mode for the Comparator used for the number-related outputs.
- Added an expanded version of the Date Convertor User Actor (Date Convertor v2)
This example patch has twelve example scenes that show how to:
- Randomly select a video, picture, or sound file to be played (without repeating any files until each has been played once, after which a new random order is generated)
- Play the randomly selected file for a set duration then start the next random file immediately
- Play the randomly selected file for a random duration then start the next random file immediately
- Play the randomly selected file for a set duration then start then crossfade to the next random file
- Play the randomly selected file for a random duration then crossfade to the next random file
The name is the program. Key ‘c’ (can be changed) to show/hide adapts its size to the given stage
This Small little actor fades between random values
I have used this in multiple projects to animate objects.
The output can be curved.
The rate input is the time it takes to go from 0 to 100 (or from the min to the max)
When the distance between the values is smaller the speed is lowered.
When an object is connected, this makes sure the object is moving at a constant speed.