Thanks,<br><br>I will visit this links.<br><br>Eduardo.<br><br><div class="gmail_quote">2011/2/27  <span dir="ltr"><<a href="mailto:fluxus-request@lists.pawfal.org">fluxus-request@lists.pawfal.org</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Send Fluxus mailing list submissions to<br>
        <a href="mailto:fluxus@lists.pawfal.org">fluxus@lists.pawfal.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.pawfal.org/listinfo.cgi/fluxus-pawfal.org" target="_blank">http://lists.pawfal.org/listinfo.cgi/fluxus-pawfal.org</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:fluxus-request@lists.pawfal.org">fluxus-request@lists.pawfal.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:fluxus-owner@lists.pawfal.org">fluxus-owner@lists.pawfal.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Fluxus digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: Fluxus Digest, Vol 70, Issue 13 (Arq. Eduardo H. Obieta)<br>
   2. Re: Fluxus Digest, Vol 70, Issue 13 (gabor papp)<br>
   3. Re: Fluxus Digest, Vol 70, Issue 13 (Kassen)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sun, 27 Feb 2011 03:52:55 -0600<br>
From: "Arq. Eduardo H. Obieta" <<a href="mailto:arquitectura@laad.com.mx">arquitectura@laad.com.mx</a>><br>
To: <a href="mailto:fluxus@lists.pawfal.org">fluxus@lists.pawfal.org</a><br>
Subject: Re: [Fluxus] Fluxus Digest, Vol 70, Issue 13<br>
Message-ID:<br>
        <<a href="mailto:AANLkTineCS2ozCC6TYpfhctc32rBozLwyhEUZa5dLkVf@mail.gmail.com">AANLkTineCS2ozCC6TYpfhctc32rBozLwyhEUZa5dLkVf@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi Gabor,<br>
<br>
Thanks for answer.<br>
<br>
I solve some issues whit the explain you give me, now I have the following<br>
code:<br>
<br>
//<br>
<br>
(define (mid)<br>
     (define note (midi-note))<br>
     (define vel (vector-ref note 3))<br>
(display vel) (newline))<br>
<br>
(every-frame (mid))<br>
<br>
//<br>
in the REPL appears the numbers I receive from the midi device....<br>
<br>
I can take those values of "vel" to scale some objects (for example), but in<br>
some time it sends me an error in task, because expects type <vector> and<br>
given " #f ", or in other examples expects procedure and given the same " #f<br>
"; this #f value appears when no midi message it's sending from the device.<br>
<br>
I'd been trying to turn the not number value " #f  " to  "1" but can't yet,<br>
<br>
How do you think I can to ignore this error?<br>
<br>
Thanks<br>
<br>
Eduardo.<br>
<br>
<br>
<br>
<br>
2011/2/23 <<a href="mailto:fluxus-request@lists.pawfal.org">fluxus-request@lists.pawfal.org</a>><br>
<br>
> Send Fluxus mailing list submissions to<br>
>        <a href="mailto:fluxus@lists.pawfal.org">fluxus@lists.pawfal.org</a><br>
><br>
> To subscribe or unsubscribe via the World Wide Web, visit<br>
>        <a href="http://lists.pawfal.org/listinfo.cgi/fluxus-pawfal.org" target="_blank">http://lists.pawfal.org/listinfo.cgi/fluxus-pawfal.org</a><br>
> or, via email, send a message with subject or body 'help' to<br>
>        <a href="mailto:fluxus-request@lists.pawfal.org">fluxus-request@lists.pawfal.org</a><br>
><br>
> You can reach the person managing the list at<br>
>        <a href="mailto:fluxus-owner@lists.pawfal.org">fluxus-owner@lists.pawfal.org</a><br>
><br>
> When replying, please edit your Subject line so it is more specific<br>
> than "Re: Contents of Fluxus digest..."<br>
><br>
><br>
> Today's Topics:<br>
><br>
>   1. Luis Navarro invited you to Dropbox (Dropbox)<br>
>   2. help (Eduardo Obieta)<br>
>   3. Re: help (gabor papp)<br>
><br>
><br>
> ----------------------------------------------------------------------<br>
><br>
> Message: 1<br>
> Date: Wed, 23 Feb 2011 05:40:08 +0000<br>
> From: Dropbox <<a href="mailto:no-reply@dropboxmail.com">no-reply@dropboxmail.com</a>><br>
> To: <a href="mailto:fluxus@lists.pawfal.org">fluxus@lists.pawfal.org</a><br>
> Subject: [Fluxus] Luis Navarro invited you to Dropbox<br>
> Message-ID: <<a href="mailto:20110223054008.198E4476985@mailman-2.dropboxmail.com">20110223054008.198E4476985@mailman-2.dropboxmail.com</a>><br>
> Content-Type: text/plain; charset="utf8"<br>
><br>
> Luis Navarro wants you to use Dropbox to sync and share files online and<br>
> across computers.<br>
><br>
> Get started here:<br>
> <a href="http://www.dropbox.com/link/20.NYKd022cgp/NjY5OTc5NzQwNw?src=referrals_bulk9" target="_blank">http://www.dropbox.com/link/20.NYKd022cgp/NjY5OTc5NzQwNw?src=referrals_bulk9</a><br>
><br>
> - The Dropbox Team<br>
><br>
> ____________________________________________________<br>
> To stop receiving invites from Dropbox, please go to<br>
> <a href="http://www.dropbox.com/bl/c3af490f2c76/fluxus%40lists.pawfal.org" target="_blank">http://www.dropbox.com/bl/c3af490f2c76/fluxus%40lists.pawfal.org</a><br>
> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
> URL: <<br>
> <a href="http://lists.pawfal.org/pipermail/fluxus-pawfal.org/attachments/20110223/ebbcc4b6/attachment.html" target="_blank">http://lists.pawfal.org/pipermail/fluxus-pawfal.org/attachments/20110223/ebbcc4b6/attachment.html</a><br>

> ><br>
><br>
> ------------------------------<br>
><br>
> Message: 2<br>
> Date: Wed, 23 Feb 2011 06:33:13 -0600<br>
> From: Eduardo Obieta <<a href="mailto:eduardobieta@gmail.com">eduardobieta@gmail.com</a>><br>
> To: <a href="mailto:fluxus@lists.pawfal.org">fluxus@lists.pawfal.org</a><br>
> Subject: [Fluxus] help<br>
> Message-ID:<br>
>        <<a href="mailto:AANLkTim_Ws%2BezqNZL3HxCZ0R%2ByMYWsF9Zpe4u6P9M0er@mail.gmail.com">AANLkTim_Ws+ezqNZL3HxCZ0R+yMYWsF9Zpe4u6P9M0er@mail.gmail.com</a>><br>
> Content-Type: text/plain; charset="iso-8859-1"<br>
><br>
> MIDI and OSC help.<br>
><br>
><br>
> Hello, i'm so new in programing and I have been working with fluxus the<br>
> last<br>
> months.<br>
><br>
><br>
>  Now I'm programming some functions with MIDI and OSC inside FLUXUS,<br>
> sending<br>
> midi message from other machine through a MOTU interface and OSC message<br>
> from an iphone, with the OSCemote application, via Wi-Fi.<br>
><br>
><br>
> The problems are the next:<br>
><br>
><br>
>  - *MIDI*<br>
><br>
> The message that it sends via (midi-note), is this:<br>
><br>
> *(note-on 0 73 **100**)*<br>
><br>
><br>
> I want to know how can I select only the value of the velocity "*100*" in<br>
> this case, for a transform like a rotate<br>
><br>
><br>
> *(clear)*<br>
><br>
> *(midi-init 0)*<br>
><br>
> *(define (something)*<br>
><br>
> * (rotate (vector 0 0  **(* 0.5 ("**100**")) **))*<br>
><br>
> * (draw-cube))*<br>
><br>
> **<br>
><br>
> *(every-frame (something))*<br>
><br>
><br>
><br>
>  - *OSC*<br>
><br>
> On the other hand, something similar happens to the OSC from iphone , where<br>
> the messages from OSCemote says: "<br>
><br>
> /tuio/2Dcur set {touch_id} {x} {y} {velocity_x} {velocity_y} {acceleration}<br>
><br>
> in FLUXUS<br>
><br>
> (cond<br>
><br>
>  ((osc-msg "tuio/2Dcur")<br>
><br>
>  (display (osc 1))(newline))) ;looks like that:<br>
><br>
><br>
><br>
><br>
>  *OSC 0 OSC 1        OSC 2*<br>
><br>
> /tuio/2Dcur source  OSCemote@0a839fc215c31e13c14cf48933a327cb60e93138<br>
> #<void><br>
><br>
> /tuio/2Dcur set  1 0.41875 0.6691 0 0 0<br>
><br>
> /tuio/2Dcur alive  1<br>
><br>
> /tuio/2Dcur fseq  0<br>
><br>
> /tuio/2Dcur source  OSCemote@0a839fc215c31e13c14cf48933a327cb60e93138<br>
><br>
> /tuio/2Dcur set  1 0.390625 0.63747 -0.439142 -0.493872 10.3189<br>
><br>
> /tuio/2Dcur alive  1<br>
><br>
> /tuio/2Dcur fseq  1<br>
><br>
> /tuio/2Dcur source  OSCemote@0a839fc215c31e13c14cf48933a327cb60e93138<br>
><br>
> /tuio/2Dcur set  1 0.396875 0.610706 0.409134 -1.75201 99.3308<br>
><br>
> /tuio/2Dcur alive  1<br>
><br>
> /tuio/2Dcur fseq  2<br>
><br>
> ...<br>
><br>
><br>
> Then... when sends " #<void> " the console tells me expects type <number><br>
> ..., and I given #<void><br>
><br>
><br>
><br>
> Appologies if it is seem confused, but I don't understand how I can say to<br>
> FLUXUS not to multiply for a void message, or how select some parto of the<br>
> message.<br>
><br>
><br>
> Hope can help me.<br>
><br>
><br>
> Best Regards.<br>
><br>
><br>
> Eduardo<br>
> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
> URL: <<br>
> <a href="http://lists.pawfal.org/pipermail/fluxus-pawfal.org/attachments/20110223/fb24833f/attachment-0001.htm" target="_blank">http://lists.pawfal.org/pipermail/fluxus-pawfal.org/attachments/20110223/fb24833f/attachment-0001.htm</a><br>

> ><br>
><br>
> ------------------------------<br>
><br>
> Message: 3<br>
> Date: Wed, 23 Feb 2011 13:59:40 +0100<br>
> From: gabor papp <<a href="mailto:gabor.lists@mndl.hu">gabor.lists@mndl.hu</a>><br>
> To: <a href="mailto:fluxus@lists.pawfal.org">fluxus@lists.pawfal.org</a><br>
> Subject: Re: [Fluxus] help<br>
> Message-ID: <<a href="mailto:4D6504BC.7020808@mndl.hu">4D6504BC.7020808@mndl.hu</a>><br>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
><br>
> hi Eduardo,<br>
><br>
> > The message that it sends via (midi-note), is this:<br>
> ><br>
> > *(note-on 0 73 **100**)*<br>
> (define note (midi-note))<br>
> (define velocity (vector-ref note 3))<br>
><br>
><br>
> >   - *OSC*<br>
> ><br>
> > On the other hand, something similar happens to the OSC from iphone ,<br>
> where<br>
> > the messages from OSCemote says: "<br>
> ><br>
> > /tuio/2Dcur set {touch_id} {x} {y} {velocity_x} {velocity_y}<br>
> {acceleration}<br>
> it seems you are using tuio, there's a scheme tuio library you can try,<br>
> so you don't need to process the messages by hand.<br>
> <a href="http://code.google.com/p/scheme-tuio/" target="_blank">http://code.google.com/p/scheme-tuio/</a><br>
><br>
><br>
> > Then... when sends " #<void>  " the console tells me expects type<number><br>
> > ..., and I given #<void><br>
> ><br>
> > Appologies if it is seem confused, but I don't understand how I can say<br>
> to<br>
> > FLUXUS not to multiply for a void message, or how select some parto of<br>
> the<br>
> > message.<br>
> there are type checkers in scheme, for example void? or number?.<br>
><br>
> best,<br>
> gabor<br>
><br>
><br>
> ------------------------------<br>
><br>
> _______________________________________________<br>
> Fluxus mailing list<br>
> <a href="mailto:Fluxus@lists.pawfal.org">Fluxus@lists.pawfal.org</a><br>
> <a href="http://lists.pawfal.org/listinfo.cgi/fluxus-pawfal.org" target="_blank">http://lists.pawfal.org/listinfo.cgi/fluxus-pawfal.org</a><br>
><br>
><br>
> End of Fluxus Digest, Vol 70, Issue 13<br>
> **************************************<br>
><br>
<br>
<br>
<br>
--<br>
Arq. Eduardo H. Obieta<br>
<br>
<a href="mailto:arquitectura@laad.com.mx">arquitectura@laad.com.mx</a><br>
<a href="http://www.laad.com.mx" target="_blank">www.laad.com.mx</a><br>
cel. 55 40387218<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.pawfal.org/pipermail/fluxus-pawfal.org/attachments/20110227/3b396854/attachment.html" target="_blank">http://lists.pawfal.org/pipermail/fluxus-pawfal.org/attachments/20110227/3b396854/attachment.html</a>><br>

<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Sun, 27 Feb 2011 11:17:56 +0100<br>
From: gabor papp <<a href="mailto:gabor.lists@mndl.hu">gabor.lists@mndl.hu</a>><br>
To: <a href="mailto:fluxus@lists.pawfal.org">fluxus@lists.pawfal.org</a><br>
Subject: Re: [Fluxus] Fluxus Digest, Vol 70, Issue 13<br>
Message-ID: <<a href="mailto:4D6A24D4.5000805@mndl.hu">4D6A24D4.5000805@mndl.hu</a>><br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
hi Eduardo,<br>
<br>
> I can take those values of "vel" to scale some objects (for example), but in<br>
> some time it sends me an error in task, because expects type<vector>  and<br>
> given " #f ", or in other examples expects procedure and given the same " #f<br>
> "; this #f value appears when no midi message it's sending from the device.<br>
#f means false, you can use a conditional expression for testing,<br>
something like:<br>
<br>
(define (mid)<br>
        (define note (midi-note))<br>
        (define vel (vector-ref note 3))<br>
        (when vel<br>
             (displayln vel)))<br>
<br>
i suggest that you should read the fluxus manual and the racket<br>
documentaion to have a better grasp of the basics of the language.<br>
<br>
<a href="http://en.flossmanuals.net/Fluxus/Introduction" target="_blank">http://en.flossmanuals.net/Fluxus/Introduction</a><br>
<a href="http://docs.racket-lang.org/guide/index.html" target="_blank">http://docs.racket-lang.org/guide/index.html</a><br>
<a href="http://www.htdp.org/" target="_blank">http://www.htdp.org/</a><br>
<br>
best,<br>
gabor<br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Sun, 27 Feb 2011 14:38:14 +0100<br>
From: Kassen <<a href="mailto:signal.automatique@gmail.com">signal.automatique@gmail.com</a>><br>
To: gabor papp <<a href="mailto:gabor.lists@mndl.hu">gabor.lists@mndl.hu</a>><br>
Cc: <a href="mailto:fluxus@lists.pawfal.org">fluxus@lists.pawfal.org</a><br>
Subject: Re: [Fluxus] Fluxus Digest, Vol 70, Issue 13<br>
Message-ID:<br>
        <AANLkTimgUdaU3snqXLCDRh0w2rh=<a href="mailto:t0o4FRzdc_irBGiP@mail.gmail.com">t0o4FRzdc_irBGiP@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Gabor said;<br>
<br>
i suggest that you should read the fluxus manual and the racket documentaion<br>
> to have a better grasp of the basics of the language.<br>
><br>
> <a href="http://en.flossmanuals.net/Fluxus/Introduction" target="_blank">http://en.flossmanuals.net/Fluxus/Introduction</a><br>
> <a href="http://docs.racket-lang.org/guide/index.html" target="_blank">http://docs.racket-lang.org/guide/index.html</a><br>
> <a href="http://www.htdp.org/" target="_blank">http://www.htdp.org/</a><br>
><br>
><br>
That's good advice.<br>
<br>
I'd like to suggest re-naming this;<br>
<a href="http://www.pawfal.org/fluxus/documentation/" target="_blank">http://www.pawfal.org/fluxus/documentation/</a> to "getting started" and making<br>
it refer to the examples directory and the racket docs in addition to the<br>
stuff that's already there.<br>
<br>
I took the liberty of adding the Racket reference here;<br>
<a href="http://en.flossmanuals.net/bin/view/Fluxus/Scheme" target="_blank">http://en.flossmanuals.net/bin/view/Fluxus/Scheme</a> It's such a valuable and<br>
immediate resource that I feel it should be there. I don't imagine that<br>
people starting out with Fluxus feel like reading a whole book when they<br>
just want a single function to get something done right now. If we can keep<br>
them happy for a playful evening or two then the books will be useful for<br>
the longer term in-depth perspectives. I think the Racket reference serves<br>
well for that.<br>
<br>
Feel free to edit my addition if that's the wrong spot or it has other<br>
issues.<br>
<br>
Yours,<br>
Kas.<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.pawfal.org/pipermail/fluxus-pawfal.org/attachments/20110227/9c6d7de9/attachment-0001.htm" target="_blank">http://lists.pawfal.org/pipermail/fluxus-pawfal.org/attachments/20110227/9c6d7de9/attachment-0001.htm</a>><br>

<br>
------------------------------<br>
<br>
_______________________________________________<br>
Fluxus mailing list<br>
<a href="mailto:Fluxus@lists.pawfal.org">Fluxus@lists.pawfal.org</a><br>
<a href="http://lists.pawfal.org/listinfo.cgi/fluxus-pawfal.org" target="_blank">http://lists.pawfal.org/listinfo.cgi/fluxus-pawfal.org</a><br>
<br>
<br>
End of Fluxus Digest, Vol 70, Issue 14<br>
**************************************<br>
</blockquote></div><br><br clear="all"><br>-- <br>Arq. Eduardo H. Obieta<br><br><a href="mailto:arquitectura@laad.com.mx">arquitectura@laad.com.mx</a><br><a href="http://www.laad.com.mx">www.laad.com.mx</a><br>cel. 55 40387218<br>