[Fluxus] Fluxus Digest, Vol 70, Issue 14

Arq. Eduardo H. Obieta arquitectura at laad.com.mx
Sun Feb 27 13:27:15 PST 2011


Thanks,

I will visit this links.

Eduardo.

2011/2/27 <fluxus-request at lists.pawfal.org>

> Send Fluxus mailing list submissions to
>        fluxus at lists.pawfal.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.pawfal.org/listinfo.cgi/fluxus-pawfal.org
> or, via email, send a message with subject or body 'help' to
>        fluxus-request at lists.pawfal.org
>
> You can reach the person managing the list at
>        fluxus-owner at lists.pawfal.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Fluxus digest..."
>
>
> Today's Topics:
>
>   1. Re: Fluxus Digest, Vol 70, Issue 13 (Arq. Eduardo H. Obieta)
>   2. Re: Fluxus Digest, Vol 70, Issue 13 (gabor papp)
>   3. Re: Fluxus Digest, Vol 70, Issue 13 (Kassen)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 27 Feb 2011 03:52:55 -0600
> From: "Arq. Eduardo H. Obieta" <arquitectura at laad.com.mx>
> To: fluxus at lists.pawfal.org
> Subject: Re: [Fluxus] Fluxus Digest, Vol 70, Issue 13
> Message-ID:
>        <AANLkTineCS2ozCC6TYpfhctc32rBozLwyhEUZa5dLkVf at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi Gabor,
>
> Thanks for answer.
>
> I solve some issues whit the explain you give me, now I have the following
> code:
>
> //
>
> (define (mid)
>     (define note (midi-note))
>     (define vel (vector-ref note 3))
> (display vel) (newline))
>
> (every-frame (mid))
>
> //
> in the REPL appears the numbers I receive from the midi device....
>
> I can take those values of "vel" to scale some objects (for example), but
> in
> some time it sends me an error in task, because expects type <vector> and
> given " #f ", or in other examples expects procedure and given the same "
> #f
> "; this #f value appears when no midi message it's sending from the device.
>
> I'd been trying to turn the not number value " #f  " to  "1" but can't yet,
>
> How do you think I can to ignore this error?
>
> Thanks
>
> Eduardo.
>
>
>
>
> 2011/2/23 <fluxus-request at lists.pawfal.org>
>
> > Send Fluxus mailing list submissions to
> >        fluxus at lists.pawfal.org
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> >        http://lists.pawfal.org/listinfo.cgi/fluxus-pawfal.org
> > or, via email, send a message with subject or body 'help' to
> >        fluxus-request at lists.pawfal.org
> >
> > You can reach the person managing the list at
> >        fluxus-owner at lists.pawfal.org
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of Fluxus digest..."
> >
> >
> > Today's Topics:
> >
> >   1. Luis Navarro invited you to Dropbox (Dropbox)
> >   2. help (Eduardo Obieta)
> >   3. Re: help (gabor papp)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Wed, 23 Feb 2011 05:40:08 +0000
> > From: Dropbox <no-reply at dropboxmail.com>
> > To: fluxus at lists.pawfal.org
> > Subject: [Fluxus] Luis Navarro invited you to Dropbox
> > Message-ID: <20110223054008.198E4476985 at mailman-2.dropboxmail.com>
> > Content-Type: text/plain; charset="utf8"
> >
> > Luis Navarro wants you to use Dropbox to sync and share files online and
> > across computers.
> >
> > Get started here:
> >
> http://www.dropbox.com/link/20.NYKd022cgp/NjY5OTc5NzQwNw?src=referrals_bulk9
> >
> > - The Dropbox Team
> >
> > ____________________________________________________
> > To stop receiving invites from Dropbox, please go to
> > http://www.dropbox.com/bl/c3af490f2c76/fluxus%40lists.pawfal.org
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL: <
> >
> http://lists.pawfal.org/pipermail/fluxus-pawfal.org/attachments/20110223/ebbcc4b6/attachment.html
> > >
> >
> > ------------------------------
> >
> > Message: 2
> > Date: Wed, 23 Feb 2011 06:33:13 -0600
> > From: Eduardo Obieta <eduardobieta at gmail.com>
> > To: fluxus at lists.pawfal.org
> > Subject: [Fluxus] help
> > Message-ID:
> >        <AANLkTim_Ws+ezqNZL3HxCZ0R+yMYWsF9Zpe4u6P9M0er at mail.gmail.com>
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > MIDI and OSC help.
> >
> >
> > Hello, i'm so new in programing and I have been working with fluxus the
> > last
> > months.
> >
> >
> >  Now I'm programming some functions with MIDI and OSC inside FLUXUS,
> > sending
> > midi message from other machine through a MOTU interface and OSC message
> > from an iphone, with the OSCemote application, via Wi-Fi.
> >
> >
> > The problems are the next:
> >
> >
> >  - *MIDI*
> >
> > The message that it sends via (midi-note), is this:
> >
> > *(note-on 0 73 **100**)*
> >
> >
> > I want to know how can I select only the value of the velocity "*100*" in
> > this case, for a transform like a rotate
> >
> >
> > *(clear)*
> >
> > *(midi-init 0)*
> >
> > *(define (something)*
> >
> > * (rotate (vector 0 0  **(* 0.5 ("**100**")) **))*
> >
> > * (draw-cube))*
> >
> > **
> >
> > *(every-frame (something))*
> >
> >
> >
> >  - *OSC*
> >
> > On the other hand, something similar happens to the OSC from iphone ,
> where
> > the messages from OSCemote says: "
> >
> > /tuio/2Dcur set {touch_id} {x} {y} {velocity_x} {velocity_y}
> {acceleration}
> >
> > in FLUXUS
> >
> > (cond
> >
> >  ((osc-msg "tuio/2Dcur")
> >
> >  (display (osc 1))(newline))) ;looks like that:
> >
> >
> >
> >
> >  *OSC 0 OSC 1        OSC 2*
> >
> > /tuio/2Dcur source  OSCemote at 0a839fc215c31e13c14cf48933a327cb60e93138
> > #<void>
> >
> > /tuio/2Dcur set  1 0.41875 0.6691 0 0 0
> >
> > /tuio/2Dcur alive  1
> >
> > /tuio/2Dcur fseq  0
> >
> > /tuio/2Dcur source  OSCemote at 0a839fc215c31e13c14cf48933a327cb60e93138
> >
> > /tuio/2Dcur set  1 0.390625 0.63747 -0.439142 -0.493872 10.3189
> >
> > /tuio/2Dcur alive  1
> >
> > /tuio/2Dcur fseq  1
> >
> > /tuio/2Dcur source  OSCemote at 0a839fc215c31e13c14cf48933a327cb60e93138
> >
> > /tuio/2Dcur set  1 0.396875 0.610706 0.409134 -1.75201 99.3308
> >
> > /tuio/2Dcur alive  1
> >
> > /tuio/2Dcur fseq  2
> >
> > ...
> >
> >
> > Then... when sends " #<void> " the console tells me expects type <number>
> > ..., and I given #<void>
> >
> >
> >
> > Appologies if it is seem confused, but I don't understand how I can say
> to
> > FLUXUS not to multiply for a void message, or how select some parto of
> the
> > message.
> >
> >
> > Hope can help me.
> >
> >
> > Best Regards.
> >
> >
> > Eduardo
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL: <
> >
> http://lists.pawfal.org/pipermail/fluxus-pawfal.org/attachments/20110223/fb24833f/attachment-0001.htm
> > >
> >
> > ------------------------------
> >
> > Message: 3
> > Date: Wed, 23 Feb 2011 13:59:40 +0100
> > From: gabor papp <gabor.lists at mndl.hu>
> > To: fluxus at lists.pawfal.org
> > Subject: Re: [Fluxus] help
> > Message-ID: <4D6504BC.7020808 at mndl.hu>
> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> >
> > hi Eduardo,
> >
> > > The message that it sends via (midi-note), is this:
> > >
> > > *(note-on 0 73 **100**)*
> > (define note (midi-note))
> > (define velocity (vector-ref note 3))
> >
> >
> > >   - *OSC*
> > >
> > > On the other hand, something similar happens to the OSC from iphone ,
> > where
> > > the messages from OSCemote says: "
> > >
> > > /tuio/2Dcur set {touch_id} {x} {y} {velocity_x} {velocity_y}
> > {acceleration}
> > it seems you are using tuio, there's a scheme tuio library you can try,
> > so you don't need to process the messages by hand.
> > http://code.google.com/p/scheme-tuio/
> >
> >
> > > Then... when sends " #<void>  " the console tells me expects
> type<number>
> > > ..., and I given #<void>
> > >
> > > Appologies if it is seem confused, but I don't understand how I can say
> > to
> > > FLUXUS not to multiply for a void message, or how select some parto of
> > the
> > > message.
> > there are type checkers in scheme, for example void? or number?.
> >
> > best,
> > gabor
> >
> >
> > ------------------------------
> >
> > _______________________________________________
> > Fluxus mailing list
> > Fluxus at lists.pawfal.org
> > http://lists.pawfal.org/listinfo.cgi/fluxus-pawfal.org
> >
> >
> > End of Fluxus Digest, Vol 70, Issue 13
> > **************************************
> >
>
>
>
> --
> Arq. Eduardo H. Obieta
>
> arquitectura at laad.com.mx
> www.laad.com.mx
> cel. 55 40387218
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.pawfal.org/pipermail/fluxus-pawfal.org/attachments/20110227/3b396854/attachment.html
> >
>
> ------------------------------
>
> Message: 2
> Date: Sun, 27 Feb 2011 11:17:56 +0100
> From: gabor papp <gabor.lists at mndl.hu>
> To: fluxus at lists.pawfal.org
> Subject: Re: [Fluxus] Fluxus Digest, Vol 70, Issue 13
> Message-ID: <4D6A24D4.5000805 at mndl.hu>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> hi Eduardo,
>
> > I can take those values of "vel" to scale some objects (for example), but
> in
> > some time it sends me an error in task, because expects type<vector>  and
> > given " #f ", or in other examples expects procedure and given the same "
> #f
> > "; this #f value appears when no midi message it's sending from the
> device.
> #f means false, you can use a conditional expression for testing,
> something like:
>
> (define (mid)
>        (define note (midi-note))
>        (define vel (vector-ref note 3))
>        (when vel
>             (displayln vel)))
>
> i suggest that you should read the fluxus manual and the racket
> documentaion to have a better grasp of the basics of the language.
>
> http://en.flossmanuals.net/Fluxus/Introduction
> http://docs.racket-lang.org/guide/index.html
> http://www.htdp.org/
>
> best,
> gabor
>
>
> ------------------------------
>
> Message: 3
> Date: Sun, 27 Feb 2011 14:38:14 +0100
> From: Kassen <signal.automatique at gmail.com>
> To: gabor papp <gabor.lists at mndl.hu>
> Cc: fluxus at lists.pawfal.org
> Subject: Re: [Fluxus] Fluxus Digest, Vol 70, Issue 13
> Message-ID:
>        <AANLkTimgUdaU3snqXLCDRh0w2rh=t0o4FRzdc_irBGiP at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Gabor said;
>
> i suggest that you should read the fluxus manual and the racket
> documentaion
> > to have a better grasp of the basics of the language.
> >
> > http://en.flossmanuals.net/Fluxus/Introduction
> > http://docs.racket-lang.org/guide/index.html
> > http://www.htdp.org/
> >
> >
> That's good advice.
>
> I'd like to suggest re-naming this;
> http://www.pawfal.org/fluxus/documentation/ to "getting started" and
> making
> it refer to the examples directory and the racket docs in addition to the
> stuff that's already there.
>
> I took the liberty of adding the Racket reference here;
> http://en.flossmanuals.net/bin/view/Fluxus/Scheme It's such a valuable and
> immediate resource that I feel it should be there. I don't imagine that
> people starting out with Fluxus feel like reading a whole book when they
> just want a single function to get something done right now. If we can keep
> them happy for a playful evening or two then the books will be useful for
> the longer term in-depth perspectives. I think the Racket reference serves
> well for that.
>
> Feel free to edit my addition if that's the wrong spot or it has other
> issues.
>
> Yours,
> Kas.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.pawfal.org/pipermail/fluxus-pawfal.org/attachments/20110227/9c6d7de9/attachment-0001.htm
> >
>
> ------------------------------
>
> _______________________________________________
> Fluxus mailing list
> Fluxus at lists.pawfal.org
> http://lists.pawfal.org/listinfo.cgi/fluxus-pawfal.org
>
>
> End of Fluxus Digest, Vol 70, Issue 14
> **************************************
>



-- 
Arq. Eduardo H. Obieta

arquitectura at laad.com.mx
www.laad.com.mx
cel. 55 40387218
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pawfal.org/pipermail/fluxus-pawfal.org/attachments/20110227/2af01924/attachment-0002.htm>


More information about the Fluxus mailing list