Csound Csound-dev Csound-tekno Search About

[Csnd] Csound Parsing Data

Date2014-01-16 00:49
Fromdaredevilpantera
Subject[Csnd] Csound Parsing Data
I am trying to pass data from UIPangestureRecognizer to Csound, I have it
done but it is totally inefficient.

There is my post on Stackoverflow 

Link
  

Can I use another method to pass the data to Csound.



--
View this message in context: http://csound.1045644.n5.nabble.com/Csound-Parsing-Data-tp5731706.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2014-01-17 15:57
FromSteven Yi
SubjectRe: [Csnd] Csound Parsing Data
I haven't used gesturerecognizers, but I'm wondering if you need to
add the gesture recognizer each time a touch begins.  My take from
looking at:

https://developer.apple.com/library/ios/samplecode/Touches/Listings/Touches_GestureRecognizers_Touches_APLViewController_m.html#//apple_ref/doc/uid/DTS40007435-Touches_GestureRecognizers_Touches_APLViewController_m-DontLinkElementID_8

is that it implies from the .h file that if you just make your view
controller implement the UIGestureRecognizerDelegate protocol, you'll
get those events.  From your code, it looks like to me it keeps adding
gesture recognizers over and over instead of having just one in place.
 (I can't tell from the code fragment if that is the case though.)

On Wed, Jan 15, 2014 at 7:49 PM, daredevilpantera
 wrote:
> I am trying to pass data from UIPangestureRecognizer to Csound, I have it
> done but it is totally inefficient.
>
> There is my post on Stackoverflow
>
> Link
> 
>
> Can I use another method to pass the data to Csound.
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Csound-Parsing-Data-tp5731706.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>             https://sourceforge.net/p/csound/tickets/
> csound5:
>             https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>

Date2014-01-17 18:54
Fromdaredevilpantera
Subject[Csnd] Re: Csound Parsing Data
Hi Steven 

The problem was that I was calling [self setNeedsDisplay];.

Thanks for the link, it is a good point of reference to construct
UIPanGestureRecognizer properly, that was my next step, and also add
multiple touch, I don't know if the Ipad will manage that.

A question for you, have you the intention to make the app csGrain
compatible with Audiobus, it will be amazing.

Regards
David



--
View this message in context: http://csound.1045644.n5.nabble.com/Csound-Parsing-Data-tp5731706p5731748.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2014-01-17 19:09
FromSteven Yi
SubjectRe: [Csnd] Re: Csound Parsing Data
I have nothing to do with CsGrain, so I can not answer that question.
Perhaps someone else who is involved with that project can reply.

Otherwise, glad to hear you got past the problem!

steven

On Fri, Jan 17, 2014 at 1:54 PM, daredevilpantera
 wrote:
> Hi Steven
>
> The problem was that I was calling [self setNeedsDisplay];.
>
> Thanks for the link, it is a good point of reference to construct
> UIPanGestureRecognizer properly, that was my next step, and also add
> multiple touch, I don't know if the Ipad will manage that.
>
> A question for you, have you the intention to make the app csGrain
> compatible with Audiobus, it will be amazing.
>
> Regards
> David
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Csound-Parsing-Data-tp5731706p5731748.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>             https://sourceforge.net/p/csound/tickets/
> csound5:
>             https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>