Ipad Liine Lemur Interface triggers samples in a preset object

Mar 24, 2012 at 8:08pm

Ipad Liine Lemur Interface triggers samples in a preset object

Hello there,
3 days i’m on it, and i can’t resolve the problem only by myself. Here’s the facts :

I’ve got on my iPad, the Liine App, a lemur interface composed for my example, of 1 ensemble of 8 buttons (the ensemble is named : /Pads85/x in Osculator).
In Max, got a patch which is a sampler player composed of a [preset] object, which hold many samples (one for each preset : preset 1 first sample, preset 2 second sample, and so on…).
What I want : if i trigger the button 5 of my iPad Lemur interface, I want to trigger the preset 5, if I trigger the button 8 on my iPad lemur interface, i want to trigger the preset 8 in Max.

In my patch, got this side chain objects : [udp receive 9000] to [route /Pads85/x] to [listfunnel] to [spray 8] plugged into 8 [Int] objects, that are all connected to the inlet of the [preset box].

Got some [print] boxes attached on [udp receive] [route /Pads85/x] and [listfunnel] objects.
In the Max tab console, data flow and the list generated render like this, if i tap on the second button (number 1) of my iPad Lemur Interface :

object udp : /Pads85/x 0. 1. 0. 0. 0. 0. 0. 0.
object route : 0. 1. 0. 0. 0. 0. 0. 0.
object listfunnel : 0 0.
object listfunnel : 1 1.
object listfunnel : 2 0.
object listfunnel : 3 0.
object listfunnel : 4 0.
object listfunnel : 5 0.
object listfunnel : 6 0.
object listfunnel : 7 0.
object listfunnel : 8 0.

What the trick to transform this list into a wonderful message that would say to max : play the appropriate preset according to the button of the iPad lemur Interface ?

I’m sure, i’m just near the answer, but need some help…
Best
E’

#62576
Mar 25, 2012 at 9:40am

post your patch.

#225992
Mar 25, 2012 at 4:58pm

post the patch, and no need for osculator… it only confuses things.

#225993
Mar 25, 2012 at 4:59pm

also, you want [zl sub 1.] which will output where in your list the 1. occurs. So straight from route to zl sub.

#225994

You must be logged in to reply to this topic.