[PD] pack/unpack pointer data

Jack jack at rybn.org
Sun Jun 28 12:16:50 CEST 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Michael-Jon,

Le 28/06/2015 00:26, Michael-Jon Mizra a écrit :
> Hi Jack,
> 
> my webcam is taking in data via pix_film, I wish to unpack this
> data into float to control translationXYZ and rotationXYZ. at the
> minute I try to unpack it with [unpack f] or [unpack s] but the
> console spits out an error, type mismatched I get 'bad type' if I
> try [unpack a]

Usually, i use [pix_video] to get the video stream of a webcam.
[pix_film] is more designed to read a movie file from your hard drive.
> 
> maybe I'm approaching the task with the wrong process - but I want
> the webcam movement to feedback and control translations/rotations
> 
If you need a value to quantify the movement in your webcam field, you
can use [pix_movement] (or [pix_movement2]) and the fourth outlet of
[pix_blob].
See 04.video/03.movement_detection.pd in the Gem examples (in the help
browser window) and the help patch of these objects.
++

Jack


> 
> all recommendations wanted,
> 
> all the best
> 
> michael-jon (mj)
> 
>> From: pd-list-request at lists.iem.at Subject: Pd-list Digest, Vol
>> 123, Issue 113 To: pd-list at lists.iem.at Date: Sat, 27 Jun 2015
>> 21:51:07 +0200
>> 
>> Send Pd-list mailing list submissions to pd-list at lists.iem.at
>> 
>> To subscribe or unsubscribe via the World Wide Web, visit 
>> http://lists.puredata.info/listinfo/pd-list or, via email, send a
>> message with subject or body 'help' to 
>> pd-list-request at lists.iem.at
>> 
>> You can reach the person managing the list at 
>> pd-list-owner at lists.iem.at
>> 
>> When replying, please edit your Subject line so it is more
>> specific than "Re: Contents of Pd-list digest..."
>> 
>> 
>> Today's Topics:
>> 
>> 1. Re: URL Audio to PD (IOhannes m zmölnig) (Francesco Redente) 
>> 2. Re: URL Audio to PD (Alexandre Torres Porres) (Francesco
>> Redente) 3. Re: URL Audio to PD (Alexandre Torres Porres) 
>> (IOhannes m zmölnig) 4. pack/unpack pointer data (Michael-Jon
>> Mizra) 5. Re: pack/unpack pointer data (Jack)
>> 
>> 
>> ---------------------------------------------------------------------
- -
>>
>>
>> 
Message: 1
>> Date: Sat, 27 Jun 2015 13:09:29 +0100 From: Francesco Redente
>> <f.redente at sae.edu> To: pd-list at lists.iem.at Subject: Re: [PD]
>> URL Audio to PD (IOhannes m zmölnig) Message-ID:
>> <737DC43E-FEA5-4642-AE1A-C45C0B03896E at sae.edu> Content-Type:
>> text/plain; charset=iso-8859-1
>> 
>> Hi, IOhannes,
>> 
>> Thank you for the replay. Jack sounds like a good solution,
>> however i cannot randomise the URL
> request. ?
>> 
>> I really wanted to make it all inside PD, but I guess that's not
>> possible?
>> 
>> Thank you for you help.
>> 
>> Best
>> 
>> Franky
>> 
>> 
>> 
>> 
>> On 27 Jun 2015, at 11:00, pd-list-request at lists.iem.at wrote:
>> 
>>> Send Pd-list mailing list submissions to pd-list at lists.iem.at
>>> 
>>> To subscribe or unsubscribe via the World Wide Web, visit 
>>> http://lists.puredata.info/listinfo/pd-list or, via email, send
>>> a message with subject or body 'help' to 
>>> pd-list-request at lists.iem.at
>>> 
>>> You can reach the person managing the list at 
>>> pd-list-owner at lists.iem.at
>>> 
>>> When replying, please edit your Subject line so it is more
>>> specific than "Re: Contents of Pd-list digest..."
>>> 
>>> 
>>> Today's Topics:
>>> 
>>> 1. Re: URL Audio to PD (IOhannes m zmölnig) 2. Re: Troubles
>>> running Pd on Windows XP Professional (Roman Haefeli)
>>> 
>>> 
>>> --------------------------------------------------------------------
- --
>>
>>> 
> 
>>> Message: 1 Date: Fri, 26 Jun 2015 22:42:07 +0200 From: IOhannes
>>> m zmölnig <zmoelnig at iem.at> To: pd-list at lists.iem.at Subject:
>>> Re: [PD] URL Audio to PD Message-ID: <558DB91F.7000608 at iem.at> 
>>> Content-Type: text/plain; charset="utf-8"
>>> 
>>> On 06/26/2015 10:14 PM, Alexandre Torres Porres wrote:
>>>> i guess you can use software to route audio from the browser
>>>> to pd, may this one works
>>>> https://www.rogueamoeba.com/audiohijack/
>>> 
>>> or just use jack.
>>> 
>>> fgmdsar IOhannes
>>> 
>>> -------------- next part -------------- A non-text attachment
>>> was scrubbed... Name: signature.asc Type:
>>> application/pgp-signature Size: 819 bytes Desc: OpenPGP digital
>>> signature URL:
> <http://lists.puredata.info/pipermail/pd-list/attachments/20150626/795
3e25c/attachment-0001.sig>
>>
> 
> 
>>> ------------------------------
>>> 
>>> Message: 2 Date: Sat, 27 Jun 2015 08:15:59 +0200 From: Roman
>>> Haefeli <reduzent at gmail.com> To: pd-list at lists.iem.at Subject:
>>> Re: [PD] Troubles running Pd on Windows XP Professional 
>>> Message-ID: <1435385759.4033.55.camel at yoyo5> Content-Type:
>>> text/plain; charset="UTF-8"
>>> 
>>> On Fre, 2015-06-26 at 21:46 +0200, IOhannes m zmölnig wrote:
>>>> On 06/24/2015 06:05 PM, Roman Haefeli wrote:
>>>>> Assuming it might be a specialty of the install medium I
>>>>> used back
> then,
>>>>> I got another copy of Windows XP as an .ova-file from
>>>>> here: http://dev.modern.ie/tools/vms/#downloads
>>>> 
>>>> 
>>>> though i'm under the impression that these VM images are
>>>> mainly for testing IE - which may imply that the XP
>>>> installation is deliberately stripped down compared to a
>>>> "normal" installation. (which might explain your problems)
>>> 
>>> I'm under the impression that is not the case. I mean they're
>>> certainly intended for IE testing, but I don't have any reason
>>> to think they're stripped down. I installed all kinds of other
>>> tools on it (GitExtensions, TortoiseSVN, mingw-w64, MSYS) and
>>> they all work fine.
>>> 
>>> Also, I have this problem _not only_ on this IE testing
>>> appliance, but also with two different installations of Windows
>>> XP from an original CD. I don't know what medium Chris
>>> McCormick used to install, but he has the same problem, too.
>>> 
>>> People having used Windows XP over years very likely installed
>>> software that ships with the redistributable Pd is asking for.
>>> So that is probably why only some people experience this kind
>>> of problem while many others don't. The Windows XP VirtualBox
>>> VM (not the modern.ie-test-appliance) I initially experienced
>>> that problem withj I'm using only for a single purpose and that
>>> is why I never installed anything on it but the software used
>>> to fulfill the single purpose.
>>> 
>>> Now, I'm using this machine also for building and testing Pd
>>> and externals.
>>> 
>>> Roman
>>> 
>>> 
>>> 
>>> 
>>> 
>>> ------------------------------
>>> 
>>> Subject: Digest Footer
>>> 
>>> _______________________________________________ Pd-list mailing
>>> list Pd-list at lists.iem.at to manage your subscription
>>> (including un-subscription) see 
>>> http://lists.puredata.info/listinfo/pd-list
>>> 
>>> 
>>> ------------------------------
>>> 
>>> End of Pd-list Digest, Vol 123, Issue 112 
>>> *****************************************
>> 
>> 
>> 
>> 
>> ------------------------------
>> 
>> Message: 2 Date: Sat, 27 Jun 2015 13:12:57 +0100 From: Francesco
>> Redente <f.redente at sae.edu> To: pd-list at lists.iem.at Subject: Re:
>> [PD] URL Audio to PD (Alexandre Torres Porres) Message-ID:
>> <349BEA2E-C4EF-4EB7-99E4-EBB10BFBECC2 at sae.edu> Content-Type:
>> text/plain; charset=iso-8859-1
>> 
>> HI Alexandre,
>> 
>> Thank you for the reply. I already use Audiohijack, that were I
>> got the idea from, but I want
> to make a PD patch.. with out having to use and external app to
> route the URL audio into PD.
>> 
>> Thank you anyway.
>> 
>> Best
>> 
>> Franky
>> 
>> 
>> On 26 Jun 2015, at 21:15, pd-list-request at lists.iem.at wrote:
>> 
>>> Send Pd-list mailing list submissions to pd-list at lists.iem.at
>>> 
>>> To subscribe or unsubscribe via the World Wide Web, visit 
>>> http://lists.puredata.info/listinfo/pd-list or, via email, send
>>> a message with subject or body 'help' to 
>>> pd-list-request at lists.iem.at
>>> 
>>> You can reach the person managing the list at 
>>> pd-list-owner at lists.iem.at
>>> 
>>> When replying, please edit your Subject line so it is more
>>> specific than "Re: Contents of Pd-list digest..."
>>> 
>>> 
>>> Today's Topics:
>>> 
>>> 1. Re: Troubles running Pd on Windows XP Professional (IOhannes
>>> m zmölnig) 2. Re: URL Audio to PD (Alexandre Torres Porres)
>>> 
>>> 
>>> --------------------------------------------------------------------
- --
>>
>>> 
> 
>>> Message: 1 Date: Fri, 26 Jun 2015 21:46:20 +0200 From: IOhannes
>>> m zmölnig <zmoelnig at iem.at> To: pd-list at lists.iem.at Subject:
>>> Re: [PD] Troubles running Pd on Windows XP Professional 
>>> Message-ID: <558DAC0C.3060803 at iem.at> Content-Type: text/plain;
>>> charset="utf-8"
>>> 
>>> On 06/24/2015 06:05 PM, Roman Haefeli wrote:
>>>> Assuming it might be a specialty of the install medium I used
>>>> back
> then,
>>>> I got another copy of Windows XP as an .ova-file from here: 
>>>> http://dev.modern.ie/tools/vms/#downloads
>>> 
>>> 
>>> though i'm under the impression that these VM images are mainly
>>> for testing IE - which may imply that the XP installation is
>>> deliberately stripped down compared to a "normal" installation.
>>> (which might explain your problems)
>>> 
>>> mdsr IOhannes
>>> 
>>> 
>>> -------------- next part -------------- A non-text attachment
>>> was scrubbed... Name: signature.asc Type:
>>> application/pgp-signature Size: 819 bytes Desc: OpenPGP digital
>>> signature URL:
> <http://lists.puredata.info/pipermail/pd-list/attachments/20150626/b10
7941c/attachment-0001.sig>
>>
> 
> 
>>> ------------------------------
>>> 
>>> Message: 2 Date: Fri, 26 Jun 2015 17:14:49 -0300 From:
>>> Alexandre Torres Porres <porres at gmail.com> To: Francesco
>>> Redente <f.redente at sae.edu> Cc: "pd-list at lists.iem.at"
>>> <pd-list at lists.iem.at> Subject: Re: [PD] URL Audio to PD 
>>> Message-ID: 
>>> <CAEAsFmgpe3xhBOxRSWD4TWstFCLmGQPX_Cw9ChTE58KfSgw5Ew at mail.gmail.com>
>>
>>> 
> Content-Type: text/plain; charset="utf-8"
>>> 
>>> i guess you can use software to route audio from the browser to
>>> pd, may this one works
>>> https://www.rogueamoeba.com/audiohijack/
>>> 
>>> 2015-06-26 6:52 GMT-03:00 Francesco Redente
>>> <f.redente at sae.edu>:
>>> 
>>>> I there, I hope you are good. My name is Franky, I am new PD
>>>> user
>>>> 
>>>> I would like to create a PD patch designed to perform
>>>> realtime sampling from random URL-web (for example youtube or
>>>> soundcloud). Basically a WebAudio sampler, but as part of a
>>>> live performing patch.
>>>> 
>>>> I would like to send/bang random URL requests and capture/rec
>>>> the audio stream, of such URLs, into PD.
>>>> 
>>>> I have been advised by my uni lecturer to use " mrpeach
>>>> objects in connection with a python script to run youtube-dl
>>>> ". He also advised me to mail this list to check if there are
>>>> any new
> objects
>>>> which will accomplish that, similar to the jweb object in
>>>> max/msp 7.
>>>> 
>>>> Could you please be so kind to advice me the best way I
>>>> should approach this?
>>>> 
>>>> Thank you,
>>>> 
>>>> Best ,
>>>> 
>>>> 
>>>> Franky
>>>> 
>>>> 
>>>> *Francesco Redente* *EMP Lecturer*
>>>> 
>>>> 
>>>> 
>>>> 
>>>> Phone: +44 (0) 207923 9159 <http://uk.sae.edu/en-gb/home/> 
>>>> Web: <http://uk.sae.edu/en-gb/home/>uk.sae.edu 
>>>> <http://uk.sae.edu/en-gb/home/>
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> SAE Institute is accredited by Middlesex University, London
>>>> UK.
> Students
>>>> enrolled on a validated programme will receive a Middlesex
>>>> award on successful completion of their studies. SAE
>>>> Institute is a member
> of Study
>>>> UK and a listed body on the register of the Department for
>>>> Business, Innovation & Skills.
>>>> 
>>>> 
>>>> 
> <http://www.qaa.ac.uk/reviews-and-reports/provider?UKPRN=10007839#.VCF
8nCtdUeZ>
>>
> 
>> 
>>>> 
> <http://www.qaa.ac.uk/reviews-and-reports/provider?UKPRN=10007839#.VCF
8nCtdUeZ>
>>
> 
>> QAA checks how UK universities, colleges and other providers
> maintain the
>>>> standard of their higher education provision.
>>>> 
> <http://www.qaa.ac.uk/reviews-and-reports/provider?UKPRN=10007839#.VCF
8nCtdUeZ>Click
>>
> 
>> here
>>>> 
> <http://www.qaa.ac.uk/reviews-and-reports/provider?UKPRN=10007839#.VCF
9cCtdUeZ>
>
> 
to
>>>> read this institution's latest review report.
>>>> 
>>>> SAE is the trading name of SAE Education Ltd. Registered in
>>>> England No 06647488 Registered office: SAE Oxford, Littlemore
>>>> Park, Armstrong Road, Oxford, OX4 4FY.
>>>> 
>>>> CONFIDENTIALITY CAUTION : This message is intended only for
>>>> the use
> of the
>>>> individual or entity to whom it is addressed and contains
> information that
>>>> is privileged and confidential. If you, the reader of this
>>>> message,
> are not
>>>> the intended recipient, you should not disseminate,
>>>> distribute or
> copy this
>>>> communication. If you have received this communication in
>>>> error, please notify us immediately by return email and
>>>> delete the original message. Thank you.
>>>> 
>>>> 
>>>> _______________________________________________ 
>>>> Pd-list at lists.iem.at mailing list UNSUBSCRIBE and
>>>> account-management -> 
>>>> http://lists.puredata.info/listinfo/pd-list
>>>> 
>>>> 
>>> -------------- next part -------------- An HTML attachment was
>>> scrubbed... URL:
> <http://lists.puredata.info/pipermail/pd-list/attachments/20150626/9b2
71c1e/attachment.html>
>>
>  -------------- next part --------------
>>> A non-text attachment was scrubbed... Name:
>>> 30412_Email_Logo.jpg Type: image/jpeg Size: 8252 bytes Desc:
>>> not available URL:
> <http://lists.puredata.info/pipermail/pd-list/attachments/20150626/9b2
71c1e/attachment.jpg>
>>
>  -------------- next part --------------
>>> A non-text attachment was scrubbed... Name:
>>> 30409_Email_Logo.jpg Type: image/jpeg Size: 13641 bytes Desc:
>>> not available URL:
> <http://lists.puredata.info/pipermail/pd-list/attachments/20150626/9b2
71c1e/attachment-0001.jpg>
>>
>  -------------- next part --------------
>>> A non-text attachment was scrubbed... Name: 30415_QAA.jpg Type:
>>> image/jpeg Size: 6966 bytes Desc: not available URL:
> <http://lists.puredata.info/pipermail/pd-list/attachments/20150626/9b2
71c1e/attachment-0002.jpg>
>>
> 
> 
>>> ------------------------------
>>> 
>>> Subject: Digest Footer
>>> 
>>> _______________________________________________ Pd-list mailing
>>> list Pd-list at lists.iem.at to manage your subscription
>>> (including un-subscription) see 
>>> http://lists.puredata.info/listinfo/pd-list
>>> 
>>> 
>>> ------------------------------
>>> 
>>> End of Pd-list Digest, Vol 123, Issue 111 
>>> *****************************************
>> 
>> 
>> 
>> 
>> ------------------------------
>> 
>> Message: 3 Date: Sat, 27 Jun 2015 16:36:40 +0200 From: IOhannes m
>> zmölnig <zmoelnig at iem.at> To: pd-list at lists.iem.at Subject: Re:
>> [PD] URL Audio to PD (Alexandre Torres Porres) Message-ID:
>> <558EB4F8.3020701 at iem.at> Content-Type: text/plain;
>> charset="utf-8"
>> 
>> On 06/27/2015 02:12 PM, Francesco Redente wrote:
>>> HI Alexandre,
>>> 
>>> Thank you for the reply. I already use Audiohijack, that were I
>>> got the idea from, but I want
> to make a PD patch.. with out having to use and external app to
> route the URL audio into PD.
>> 
>> 
>> why would you want to do that? (the only reason that comes to my
>> mind is showing off that you *can* do it; apart from that i don't
>> think there is any benefit).
>> 
>> Pd is good in audio processing; it's less good in creating
>> webpages or editing xlsx files. this is a good thing: you don't
>> want to do audio programming in excel or minesweeper, do you?
>> 
>> gfmards IOhannes
>> 
>> -------------- next part -------------- A non-text attachment was
>> scrubbed... Name: signature.asc Type: application/pgp-signature 
>> Size: 819 bytes Desc: OpenPGP digital signature URL:
> <http://lists.puredata.info/pipermail/pd-list/attachments/20150627/018
bb8d1/attachment-0001.sig>
>>
>>
> 
- ------------------------------
>> 
>> Message: 4 Date: Sat, 27 Jun 2015 20:05:58 +0100 From:
>> Michael-Jon Mizra <mmizra at live.co.uk> To: "pd-list at lists.iem.at"
>> <pd-list at lists.iem.at> Subject: [PD] pack/unpack pointer data 
>> Message-ID: <DUB122-W11E87C9E8CD4CD27D2DC5DFEAC0 at phx.gbl> 
>> Content-Type: text/plain; charset="iso-8859-1"
>> 
>> Hi, any help would be greatly appreciated, thank you - my data
>> input is a
> webcam feed, I am trying to use this feed to create rotational / 
> translational movement. I assumed unpacking the pointer data as a
> float to control the parameters would work best, corrections
> welcomed
>> michael-jon -------------- next part -------------- An HTML
>> attachment was scrubbed... URL:
> <http://lists.puredata.info/pipermail/pd-list/attachments/20150627/6fc
4a29d/attachment-0001.html>
>>
>>
> 
- ------------------------------
>> 
>> Message: 5 Date: Sat, 27 Jun 2015 21:50:57 +0200 From: Jack
>> <jack at rybn.org> To: pd-list at lists.iem.at Subject: Re: [PD]
>> pack/unpack pointer data Message-ID: <558EFEA1.4010801 at rybn.org> 
>> Content-Type: text/plain; charset=utf-8
>> 
> Hello,
> 
> Hmm, sorry, i really can't understand your question, can you
> develop ? ++
> 
> Jack
> 
> 
> 
> Le 27/06/2015 21:05, Michael-Jon Mizra a écrit :
>> Hi,
> 
>> any help would be greatly appreciated, thank you - my data input
>> is a webcam feed, I am trying to use this feed to create
>> rotational / translational movement. I assumed unpacking the
>> pointer data as a float to control the parameters would work
>> best, corrections welcomed
> 
>> michael-jon
> 
> 
>> _______________________________________________ 
>> Pd-list at lists.iem.at mailing list UNSUBSCRIBE and 
>> account-management ->
>> http://lists.puredata.info/listinfo/pd-list
> 
> 
>> 
>> 
>> 
>> ------------------------------
>> 
>> Subject: Digest Footer
>> 
>> _______________________________________________ Pd-list mailing
>> list Pd-list at lists.iem.at to manage your subscription (including
>> un-subscription) see http://lists.puredata.info/listinfo/pd-list
>> 
>> 
>> ------------------------------
>> 
>> End of Pd-list Digest, Vol 123, Issue 113 
>> *****************************************
> 
> 
> _______________________________________________ 
> Pd-list at lists.iem.at mailing list UNSUBSCRIBE and
> account-management -> http://lists.puredata.info/listinfo/pd-list
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJVj8mNAAoJEOuluecjw8GUTaEH/A3yR8Jy28zUivOePw8jTtVn
hA1r04IgrQW19D6NRsACrPJL5konVRCz2J+XhmUXbcbXMnbKOdD7mmp941zg4J4N
mj6zc6z+M4xj4RKC3XoycWXEH8bQ6N+uXP5Bv8haQ7ieqaPdnkg9dWNL8pJvDyfw
3SsttKSLfebVOnWqmP51cbu2otFbxeZfG9u38wFv+nPpGDtWwth6Bkl0N6QbDbkd
kCxUeFEcL+X5EUp1oMCDTDiSC2nTvLLCakxT72aCV8TmmSZGkLVJQSSICOdJpxGG
nC0W4+hWyQZsjkU6BrQ26rpqOakNwUj3CskkRhIThugNYHWpBidpIABxI5bqEiY=
=wLwG
-----END PGP SIGNATURE-----



More information about the Pd-list mailing list