If you don't it will break the global color TouchOSC feature. NOTE: To upgrade your existing patches to be fully compatible with this package, add an color IO box node to all of your patches named "Global Color". Setup the IP address and ports on your i-device for each app (for Fantastick goto iOS Settings).Set the IP addresses and ports for TouchOSC and Fantastick.Download the TouchOSC editor from the TouchOSC website and use it to upload the included osc\gSvvvvitcher.touchosc layout to your idevice.Get these apps for your i-device: Fantastick, TouchOSC.My latest Fantastick Svvvvitcher integration to chose presets.My latest TouchOSC Svvvvitcher integration to mess with the sliders, plus a Freeze, Global Color and Fade in/out feature.It also adds some features to the original SvvvvitcherV1 that are only accessible via the TouchOSC interface. Just having the amp sliders is priceless for fine-tuning your mix, fading seamlessly from one to another, and because Sonic Pi’s synthesizers have very different opinions on what amp: 1 means.This is the wonderful SvvvvitcherV1 customized for controlling Svvvvitcher remotely with i-devices. A basic setup for you to get started working with TouchOSC. I’m going to experiment with the idle time and see how responsive i can make it, while making sure it runs flawlessly. The second code piece is my “Boilerplate” where I put the actual music loops. It works perfectly with the layout I linked above. It’s not very complicated, just awfully repetitive. This first one is where I set up my communication with TouchOSC. This helped a ton, and now I can do fancy stuff with fading in and out and changing code snippets on the fly. So i also made a framework for having my five loops (one for each amplitude slider), and having them sleep when the amp is 0. I also ran into another problem, which is that since i wanted to fade my loops in and out, i needed them to run constantly. This script has a loop for each layout item, which waits for changes in the layout items. So what I did was to save a script for setting up the process of gathering data, and loading that in another buffer. Using get will give you the most up-to-date data, but it takes up a ton of resources, and even on the biggest machines Sonic Pi will start cracking and popping within 10 minutes or so. sync makes the code wait until something changes, whereas get continuously poll the device for data. With set, you can either get or sync the OSC data. The general approach is to use set and get to store your OSC data in Time States and use those as a kind of global variable. This is where I ran into most of my trouble. The question is how to save the data you get. You refer to it as a web address like “/osc/1/Slider1”, and TouchOSC gives you a floating point number back. It’s your instrument, after all!Īccessing the OSC elements is quite simple. OSC Layouts is a very personal thing, and I encourage you spend a bit of time making your own. You can download the layout file here and give it a try. My layout looks like this: 5 sliders for amplitude, 5 toggle buttons for on-off effects, and 6 sliders for messing with effects and parameters. Once you got this part working, you’ll probably want to make a less expansive layout at first. If the connection works, you’ll see a ton of messages in the Cues section. Once you’ve done this, open Sonic Pi and TouchOSC, pick a layout on your app, and give one of the sliders a wiggle. You will also want to set the Outgoing Port field to 4559, since that’s the port Sonic Pi expects to get OSC messages from. In TouchOSC you will need to set up the connection between it and your computer by entering the IP Address of the machine. Then you need to grab the TouchOSC App from the App Store / Play Store. The first thing you need to do is go to settings -> Input/Output and allow Sonic Pi to receive external OSC messages. Hopefully this will help someone avoid a few of the problems I ran into. I spent easter getting TouchOSC to work with sonic pi and I thought I’d share my work.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |