![]() |
![]() ![]() ![]() ![]() ![]()
|
next newest topic | next oldest topic |
Author | Topic: Dice roll using TouchOSC | |
douglasdifranco Member |
![]() ![]() ![]() Is it possible to send a message from TouchOSC to trigger the dice roll? I can do it using Osculator to send an 'R' but I find the OSC mapping on the VCS easier to deal with than using Osculator. IP: Logged | |
SSC Administrator |
![]() ![]() ![]() Is there a way to have TouchOSC send an OSC message of the form: /preset,i index This message would let you select a VCS preset. The integer argument is the one-based index into the array of VCS presets. Use 126 to select the previous preset, 127 to select the next preset, 128 to roll the dice, 129 to resend the current settings, 130 to save the current settings as a new preset. You could send the message from a toggle or a pushbutton. IP: Logged | |
douglasdifranco Member |
![]() ![]() ![]() It's not working for me. I set a button at /1/preset, i index and it's value at 128. IP: Logged | |
SSC Administrator |
![]() ![]() ![]() Try the message /preset and value 128 IP: Logged | |
douglasdifranco Member |
![]() ![]() ![]() I never did get this to work but I'm trying again this time using Lemur for Ipad. I'm typing /preset into Lemur's address field of a button, but /preset, 128 doesn't change presets. Perhaps I'm leaving something out of the address path? IP: Logged | |
SSC Administrator |
![]() ![]() ![]() It may be that these programs are sending floating point values by default. The Paca(rana) expects an integer argument, so please try to see if the program can send an integer argument. IP: Logged | |
douglasdifranco Member |
![]() ![]() ![]() It seems Lemur needs a script to send the integer value. I'll let you know what I find. IP: Logged | |
ChristianSchloesser Member |
![]() ![]() ![]() Hello, indeed by default Lemur.app on iPad seams to send floats by default for OSC messages and ints for MIDI messages ... To Randomize your Preset with Lemur: 1. Create a Pad or Button and remember the name for the OSC variable (default x) 3. Name the script for example "RandomizePreset" oscout(0,'/preset',{128}); into the Script field. That should send the necessary OSC message. I am a brand new Lemur.app user actually bought my first iPad a few days ago.. so there might be an easier way then a script ... I hope that helped a bit. Have a nice day IP: Logged | |
douglasdifranco Member |
![]() ![]() ![]() Hi Chris, Thank you so much! It works almost perfect. It's triggering when I press and again when I release the button. I have "message sent when value goes from zero to positive" selected so I would think that only one message would be set per button press. What do you think? Second question, where can I find information on Lemur scripting language and syntax? Doug IP: Logged | |
ChristianSchloesser Member |
![]() ![]() ![]() Maybe you could use a PAD-Widget instead of a Button-Widget! Pads send the message when pressed ... but not on release. I will let you know if i found a good source of information. Have a nice day IP: Logged | |
douglasdifranco Member |
![]() ![]() ![]() That's what I've done, use a switch button in Lemur. Have fun with your new iPad! I've got a few too many sound apps but Lemur and Kyma Control are a must if you have Kyma and a iPad. Doug IP: Logged | |
Douglas Kraul Member |
![]() ![]() ![]() TouchOSC only supports floating point arguments, and the Lemur uses them unless you send from a script. This is unfortunate because critical Kyma OSC commands, like "/preset", require integer arguments. One of the features we include in KymaConnect is an extension to the Kyma OSC language to include floating alternatives for a few of these commands, including "/preset". This makes it possible to do things like the dice roll from a TouchOSC template, and from the Lemur without resorting to a script. The commands currently supported include /preset, /layout, /volume, and the OSC extensions KymaConnect adds to control Kyma's DSP commands. If you know of other commands where having floating point equivalents would be helpful let us know and we'll investigate if its practical to add them. Doug IP: Logged | |
douglasdifranco Member |
![]() ![]() ![]() I'm using PacaConnect but so far the only way I could achieve the dice roll is by using Osculator along with Lemur. I can't get volume to work. [This message has been edited by douglasdifranco (edited 30 November 2012).] [This message has been edited by douglasdifranco (edited 30 November 2012).] IP: Logged | |
Douglas Kraul Member |
![]() ![]() ![]() quote: The Kyma OSC extension were one of the features we added to KymaConnect. Unless you are running on OSX Leopard you might want to contact us about migrating up to KymaConnect. drop me a line at support@delora.com Doug IP: Logged | |
rafe Member |
![]() ![]() ![]()
Here are the vcs control commands listed by Carla in one menu object for import into the lemur app. This basic menu object needs to be place higher in your lemur interface as the menu is drop down only. When you select 'Save' unfortunately Kyma does not keep the File name window open option it simply saves the result so you cannot create your own name file. Question 1) Is there any way to change that?
What I tried was using many syntax variations of ; /delora/kyma_connect/kyma_commands/preset/ and scaling the 'selection' parameter to the corresponding values mentioned above but I didn't succeed with that method, however, the menu object will ouput integers. I tested an output with a scale of 0-128 and i can get corresponding values when mapped to a fader in the vcs. Which also seems odd as the other extended functions are hidden from the vcs. 2) What is the correct full syntax for that statement? Rafe
IP: Logged | |
Douglas Kraul Member |
![]() ![]() ![]() quote: There are two type of OSC commands that KymaConnect adds. The first ones are the "DSP" control commands. Those are documented in the back of the manual and follow a pattern similar to the above. The second are the extension to existing Kyma OSC where KymaConnect adds an improvement, like supporting floating point arguments when Kyma accepts only integer. Those commands use the identical OSC address as the originals. So, for example, the send preset command is simply "/preset f" (where 'f' is a floating point number). Also there really is not any scaling per say. The value of the argument is the same as the integer value, its just expressed as a floating point number. Doug [This message has been edited by Douglas Kraul (edited 07 December 2012).] [This message has been edited by Douglas Kraul (edited 07 December 2012).] IP: Logged |
All times are CT (US) | next newest topic | next oldest topic |
![]() ![]() |
This forum is provided solely for the support and edification of the customers of Symbolic Sound Corporation.