Re: proof of concept, looping and granulation on an android tablet
Date | 2015-05-07 23:00 |
From | "Art Hunkins" |
Subject | Re: proof of concept, looping and granulation on an android tablet |
Attachments | None None |
Justin -
I've been valiantly trying to get Android to play a .csd with
a TouchOSC layout (both mine). Can't get the duo to produce sound; .csd spawns
no error messages, but will no stop when Stop button pushed. (I'm of course
using Mike's 6.05 based Csound6.apk).
Here's an initial snippet of my .csd that shows that
side of things; I think it's correct, but ?: (note that I'm attempting one-way
communication only)
sr = 44100 ; Sample
Rate
ksmps = 100 nchnls = 2 gichan OSCinit 8000
instr 1
gkamp init 0 kans OSClisten gichan, "slider1", "f", gkamp gkamp tab gkamp * 511, 2 gkamp = gkamp * 12000 What's probably going wrong is what you had figured out by
using tcpdump (which I've little wish to get into, not knowing anything about
it): in my layout, I don't know how to set the Page (and perhaps also the Widget
- here "slider1") names/references correctly. Seems *if I could get the Page
address right*, and use "Auto" mode (as I have) with all the sliders, naming
them "slider1" etc., I should be good to go. So I just don't think the TouchOSC
messages are being sent from the right location.
Should it matter where TouchOSC is being run from, and where
the layouts are stored, given that I'm doing these things in the normal way?
And, for that matter, will the layout's Page name/address be the same on all
Android devices, or different on most or all? (If the latter, this would be an
impediment to distributing viable layouts.)
One other possible pitfall: in my layout Settings, should OSC
Host address be set, as you seem to suggest, to 127.0.0.1, or to my Android
device's local IP address: 192.168.1.104? I presume the former.
Thanks for your - or anyone else's - help with
this.
Art Hunkins
|