Re: [PD] Is it possible to change webcam's resolution in Mac OS?

2012-05-07 Thread Max
I'm guessing this is a colorspace issue. try [pix_rgba] right after [pix_video].
m.

Am 08.05.2012 um 01:07 schrieb Matteo Sisti Sette:

> Hi,
> 
> I'm using Pd Extended 0.42.5 and for a series of reasons upgrading is not an 
> option right now. I don't have a Mac but I need my patches to work on Mac OS 
> and Windows. (I can test windows and linux)
> 
> I don't know if it has been fixed in later versions of GEM, but there's some 
> dreadful bug somewhere in [pix_video], [pix_movement] or [pix_blob] or maybe 
> somewhere else, that causes [pix_blob] to randomly output out-of-range values 
> for x and y (negative values and values a lot greater than 1), both on 
> Windows and Mac.
> 
> On Windows a workaround that works is to lower the webcam's frame rate AND 
> resolution (I'm not 100% sure the framerate is needed, but the resolution 
> certainly is). I can live (unhappy) with having to do it manually every time, 
> and I can trigger the settings dialog to open by sending the "dialog format" 
> message to [pix_video] (unfortunately the values are not saved)
> 
> THE PROBLEM is that on Mac OS, the settings dialog that open up with "dialog 
> format" doesn't give any option to change the resolution. I can change the 
> framerate (which is not enough for the workaround to work) but not the 
> resolution.
> 
> The questions then are:
> - Is there a way, perhaps somewhere in the system settings in Mac OS, to 
> lower the webcam's resolution?
> - Does the "dimen" message work on Mac OS? (it doesn't on Linux, at least 
> with my hardware)
> - Btw Is there a message for setting the camera's framerate? (I don't find it 
> documented)
> 
> 
> And if anybody has encountered a similar issues 
> (pix_video+pix_movement+pix_blob = out of range values) I'd of course love to 
> know how you have worked around it (or is it worked it around?)
> 
> 
> Thanks in advance
> cheers
> m.
> 
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Is it possible to change webcam's resolution in Mac OS?

2012-05-07 Thread Marian Weger


- Does the "dimen" message work on Mac OS? (it doesn't on Linux, at 
least with my hardware)


dimen works perfect for me on OSX 10.7 with PD 0.43 and Gem 0.93

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] new disis_wiimote : undefined symbol: sys_flushtogui

2012-05-07 Thread Benjah @ 01xy.fr

Hello,

while trying to compile the new disis_wiimote with the L2Ork version of 
CWiid library on ubuntu 10.04 against Pd extended 0.42.5 or Pd 0.43.2, I 
get "disis_wiimote.pd_linux: undefined symbol: sys_flushtogui" when 
trying to load the help patch disis_wiimote-help.pd and the object is 
not created.

Any idea why ?

thanks
Benjamin


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] old patch to (automatically) fragment an audio buffer

2012-05-07 Thread William Brent
See 06-timbre-ordering/order.pd in the timbreID examples.  That one
rearranged grains of a fixed size.  order-perc.pd in the same
directory does it with a bunch of percussion sounds of various length.


On Mon, May 7, 2012 at 4:44 PM, johannes  wrote:
> apropos slices,
>
> is there a patch for rearranging slices based on audio descriptors
> (i.e. amplitude or spectral centroid) in pd?
>
> jo
>
>
>
> Am 07.05.12 22:04, schrieb João Pais:
>
>>> might be this one:
>>>
>>> http://puredata.hurleur.com/sujet-3199-bonked-beat-slicer
>>>
>>> or maybe this one (that i made):
>>>
>>>
>>> http://puredata.hurleur.com/sujet-1953-sample-slicer-user-selectable-slices
>>>
>>> if not, search the forum for 'slicer' and pretty much everyone has had a
>>> go
>>> making one at some time or other :D
>>
>>
>> ah yes, that was it, as I remember. I did some edits to allow for more
>> than 100 fragments, the files I'm using have more than that initially (which
>> have to be mixed up together).
>>
>> If I have time later, I would try to implement a zoom function. For some
>> things it has to be seen in detail.
>>
>> thanks,
>>
>> João
>>
>> ___
>> Pd-list@iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>>
>
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list



-- 
William Brent
www.williambrent.com

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] Is it possible to change webcam's resolution in Mac OS?

2012-05-07 Thread Matteo Sisti Sette

Hi,

I'm using Pd Extended 0.42.5 and for a series of reasons upgrading is 
not an option right now. I don't have a Mac but I need my patches to 
work on Mac OS and Windows. (I can test windows and linux)


I don't know if it has been fixed in later versions of GEM, but there's 
some dreadful bug somewhere in [pix_video], [pix_movement] or [pix_blob] 
or maybe somewhere else, that causes [pix_blob] to randomly output 
out-of-range values for x and y (negative values and values a lot 
greater than 1), both on Windows and Mac.


On Windows a workaround that works is to lower the webcam's frame rate 
AND resolution (I'm not 100% sure the framerate is needed, but the 
resolution certainly is). I can live (unhappy) with having to do it 
manually every time, and I can trigger the settings dialog to open by 
sending the "dialog format" message to [pix_video] (unfortunately the 
values are not saved)


THE PROBLEM is that on Mac OS, the settings dialog that open up with 
"dialog format" doesn't give any option to change the resolution. I can 
change the framerate (which is not enough for the workaround to work) 
but not the resolution.


The questions then are:
- Is there a way, perhaps somewhere in the system settings in Mac OS, to 
lower the webcam's resolution?
- Does the "dimen" message work on Mac OS? (it doesn't on Linux, at 
least with my hardware)
- Btw Is there a message for setting the camera's framerate? (I don't 
find it documented)



And if anybody has encountered a similar issues 
(pix_video+pix_movement+pix_blob = out of range values) I'd of course 
love to know how you have worked around it (or is it worked it around?)



Thanks in advance
cheers
m.

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] gridflow length of movie

2012-05-07 Thread Antonio Roberts
If I remember correctly Mathieu (the maintainer of Gridflow) is only
answering questions about Gridflow on the Gridflow mailing list
http://gridflow.ca/

On 7 May 2012 15:22, olsen  wrote:
> Buenas
>
> is there a way in gridflow to get the infos about the length of a loaded
> movie without using quicktimehw?
>
> thanks for infos n'salutis
> ø
>
>
>
>
>
>
>
>
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list



-- 

anto...@hellocatfood.com
http://www.hellocatfood.com


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] old patch to (automatically) fragment an audio buffer

2012-05-07 Thread johannes

apropos slices,

is there a patch for rearranging slices based on audio descriptors
(i.e. amplitude or spectral centroid) in pd?

jo



Am 07.05.12 22:04, schrieb João Pais:

might be this one:

http://puredata.hurleur.com/sujet-3199-bonked-beat-slicer

or maybe this one (that i made):

http://puredata.hurleur.com/sujet-1953-sample-slicer-user-selectable-slices 



if not, search the forum for 'slicer' and pretty much everyone has 
had a go

making one at some time or other :D


ah yes, that was it, as I remember. I did some edits to allow for more 
than 100 fragments, the files I'm using have more than that initially 
(which have to be mixed up together).


If I have time later, I would try to implement a zoom function. For 
some things it has to be seen in detail.


thanks,

João

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list





___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] old patch to (automatically) fragment an audio buffer

2012-05-07 Thread João Pais

might be this one:

http://puredata.hurleur.com/sujet-3199-bonked-beat-slicer

or maybe this one (that i made):

http://puredata.hurleur.com/sujet-1953-sample-slicer-user-selectable-slices

if not, search the forum for 'slicer' and pretty much everyone has had a  
go

making one at some time or other :D


ah yes, that was it, as I remember. I did some edits to allow for more  
than 100 fragments, the files I'm using have more than that initially  
(which have to be mixed up together).


If I have time later, I would try to implement a zoom function. For some  
things it has to be seen in detail.


thanks,

João

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pduino patch help

2012-05-07 Thread olsen

Ej Drake

you've to put the arduino.pd abstraction and all other patches you're refering within the same folder where you saved 
your patch. Another problemo is your patch is refering to [arduino] and [Arduino] - notice the upper and the lower case 
- guess it should be lowercase [arduino] only! the argument within the [arduino] in your case f.e. [arduino 1] is the 
port that will be opened by loading the patch. You can get the info aboutthe availiable ports by sending a [devices( 
message to the [arduino] and/or reading the arduino-help.pd.


hth
ø

btw the pduino rewrite by roman & myself might make your life easier as it provides a more graphical approach for pduino 
called arduino-gui.pd - you'll find it here https://github.com/reduzent/pduino



On 05/04/2012 11:04 PM, Drake Schutt wrote:

you'll find my patch attached!

On Fri, May 4, 2012 at 2:04 PM, Hans-Christoph Steiner mailto:h...@at.or.at>> wrote:


Attach the patch, then we can take a look , attached pd patches arewelcome, 
common and even encouraged here! :-D

.hc

On May 4, 2012, at 2:59 PM, Drake Schutt wrote:

 > I've got a fairly simple patch that I got help from someone on the list 
in building.  It just takes midi data
from 16 drum pads and routes the bangs to different output pins.  The pins 
then trigger a seperate solenoids with
the arduino board.  These solenoids hit actual drums.
 >
 > I thought the pd patch was working last week and the [digital 0 0] 
message box was displaying different numbers
when different drum pads were triggered.  I then updated the firmata 
library because I thought I should.  The
[digital 0 0] box then stopped displaying numbers according to midiinput 
data.
 >
 > Would someone mind looking at my patch and seeing if something is wrong? 
I don't know a whole lot about pd.  I
can send it off list, I doubt there's attachments here.
 >
 > Thanks,
 > Drake
 > ___
 > Pd-list@iem.at  mailing list
 > UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list




___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management ->  
http://lists.puredata.info/listinfo/pd-list



___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] gridflow length of movie

2012-05-07 Thread olsen

Buenas

is there a way in gridflow to get the infos about the length of a loaded movie 
without using quicktimehw?

thanks for infos n'salutis
ø









___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] Live Interfaces conference on performance technology, 7-8th September, University of Leeds

2012-05-07 Thread alex
LIVE INTERFACES
Performance, Art, Music
http://icsrim.org.uk/liveinterfaces/

Date: 7th-8th September, 2012
Venue: ICSRiM, School of Music, University of Leeds, UK

CALL FOR PAPERS AND PERFORMANCES

Live Interfaces is a conference on live, technology-mediated
interaction in performance.  The conference seeks to investigate
cross-disciplinary understandings of performance technology with a
particular focus on issues related to the notion of ‘liveness’ in
interaction.

Live Interfaces will consist of paper and poster presentations,
performances and workshops over two days.   Researchers, theorists and
artists from diverse fields are encouraged to participate, including:
digital performance, live art, computer music, choreography, music
psychology, interaction design, human computer interaction, digital
aesthetics, computer vision, smart materials and augmented stage
technology.

We invite submissions addressing the conference theme of
technology-mediated live interaction  in performance, and suggest the
following indicative topics:

- Audience perception/interaction
- Biophysical sensors
- Brain-computer interfaces
- Computer vision/real-time video in performance
- Cross-modal perception/illusion
- Digital dramaturgy/choreography/composition
- Digital performance phenomenology
- Gesture recognition and control
- Historical perspectives
- Live coding in music, video animation and/or dance
- Participatory performance
- Performance technology aesthetics
- Redefining audience interaction
- Tangible interaction

Paper submissions should be in extended abstract form, with a
suggested length of 500 words.  Please format all submissions using
either the Word or LaTeX template available from the website.

Performance proposals should include a description of the performance
and the live interaction technology used, as well as a list of
technical requirements.  Attaching recordings of past performances is
strongly encouraged.

We hope to announce a journal special issue on performance technology
following the conference as a publication opportunity for extended
papers.

Extended abstracts must be submitted electronically via the website by
midnight (GMT+1) on the 17th June 2012.  All submissions will be
subject to cross-disciplinary peer review, and notified of acceptance
by 1st July.

Please address all queries to liveinterfa...@icsrim.org.uk

Key dates:

- 6th May - Call for extended abstracts
- 17th May - Submissions system open
- 17th June - Submission deadline
- 1st July - Notification of selected papers/performances
- 29th July - Camera-ready deadline for accepted papers
- 7-8th September - Conference

Registration will open nearer the date, with a fee in the region of
£25, including lunch for both days.

Please keep an eye on one of the following for updates, including
information on conference workshops and co-located events.

Website: http://icsrim.org.uk/liveinterfaces/
Facebook: http://facebook.com/liveinterfaces/
Twitter: http://twitter.com/liveinterfaces/
Identica: http://identi.ca/liveinterfaces/

Planning committee:
Alex McLean, University of Sheffield, University of Leeds (from August)
Kate Sicchio, University of Lincoln
Maria Chatzichristodoulou, University of Hull
Scott Hewitt, University of Huddersfield
Ben Dornan, University of Sheffield
Stephen Pearse, University of Sheffield
Phoebe Bakanas, ICSRiM, University of Leeds
Ash Sagar, York St Johns University

Senior advisor:
Kia Ng, Director of ICSRiM, University of Leeds

Supported by Vitae Yorkshire, the University of Leeds and the Arts and
Humanities Research Council

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] old patch to (automatically) fragment an audio buffer

2012-05-07 Thread William Brent
The [bark] object in the latest timbreID analyzes samples loaded to
tables in non real time and reports the onset times.  If you're going
to make a new patch, it'll probably make the process of finding onsets
easier.  In the help file, after you hit the "analyze" button you can
play back any segment in the [pd segmented-player] subpatch.  You can
expand on it from there to do whatever you're after.


On Mon, May 7, 2012 at 12:35 AM, i go bananas  wrote:
> might be this one:
>
> http://puredata.hurleur.com/sujet-3199-bonked-beat-slicer
>
> or maybe this one (that i made):
>
> http://puredata.hurleur.com/sujet-1953-sample-slicer-user-selectable-slices
>
> if not, search the forum for 'slicer' and pretty much everyone has had a go
> making one at some time or other :D
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>



-- 
William Brent
www.williambrent.com

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [Pd] Compile external with C++ compiler?

2012-05-07 Thread Joe White
Hi Ed,

Sorry for the delay, these emails got filtered out of my inbox for some
reason :(

You make the object in C, compile it and then build your patch in pd
> vanilla + the object.
> Then in the xcode object you just call the setup function for the object,
> the source code for which gets included in the xcode project.
> That's all I know. I'm not responsible for the Xcode/C++ of this app, only
> the Pd patch and Pd objects, so there may be more to it. It's quite simple
> though, my developer colleague tells me.
> Don't forget, C is a subset of C++!


Yep, this is what I'm doing. The issue is that to call C++ code in the C
external I need to compile it with a C++ compile, therefore I change the
source code extension to .mm (objective-c++). Now when I do this Xcode goes
all weird about class_addmethod(), which is maybe a namespace issue - I'm
not sure. But it means I can't add any methods in the external.

The solution I used was to write a C wrapper for the C++ library, it's a
bit annoying as any function I want to use has to be declared in the
wrapper, but it works so I can't complain. Maybe your dev guy might have a
solution? :)

Glad to see others using Pd on iOS/Android!

Cheers,
Joe


On 27 April 2012 21:54, Ed Kelly  wrote:

> It's really easy actually.
>
> You make the object in C, compile it and then build your patch in pd
> vanilla + the object.
> Then in the xcode object you just call the setup function for the object,
> the source code for which gets included in the xcode project.
> That's all I know. I'm not responsible for the Xcode/C++ of this app, only
> the Pd patch and Pd objects, so there may be more to it. It's quite simple
> though, my developer colleague tells me.
> Don't forget, C is a subset of C++!
>
> Ed
>
> Gemnotes-0.1alpha: Live music notation for Pure Data
> http://sharktracks.co.uk/
>--
> *From:* Joe White 
> *To:* Charles Henry 
> *Cc:* pd-list 
> *Sent:* Friday, 27 April 2012, 9:56
> *Subject:* Re: [PD] [Pd] Compile external with C++ compiler?
>
> Hi Charles,
>
> Thanks for replying!
>
> I don't believe it's a problem calling C functions, you just have to
> declare them with 'extern "C"' to avoid name mangling (I think??).
>
> The issue is, when I want to use C++ I have to switch the implementation
> file to ".mm", which is a Objective-C++ file. As soon as I do this Xcode
> starts complaining about 'class_addmethod()' in my setup function. The
> weird thing is that it only applies to 'class_addmethod()'. For example,
> 'class_addbang()', 'class_new()' all work fine.
>
> It seems like it's an issue only with this function, and it looks like 
> class_addMethod
> is already a function used by Objective-C 
> 
>  I
> think maybe there's some namespace issues, but I have no idea how to
> resolve this.
>
> wrote wrapper functions to export a C-callable public interface to C++
> functions.
>
>
> Yep, this is what I'm doing now. A bit annoying because I was so close :)
>
> Thanks for your help!
>
> Cheers,
> Joe
>
> On 27 April 2012 04:10, Charles Henry  wrote:
>
> Hi guys
>
> The part that I don't get is how to call C functions from C++? I don't
> think I've even tried that before.  Have you?
> Joe: I've built externals that just call C++ functions that I declared
> with extern "C" or wrote wrapper functions to export a C-callable
> public interface to C++ functions.  Best suggestion I've got is to
> identify which functions you've got are going to be public and which
> ones are private and plan out how you're going to declare them.
>
> Chuck
>
> On 4/26/12, Ed Kelly  wrote:
> > Hi Joe,
> >
> > Have you thought of using ofxPd?
> >
> > I'm involved in the creation of an app for the iPhone right now, and
> we're
> > using ofxPd from Dan Wilcox:
> > https://github.com/danomatika/ofxPd
> > Since Openframeworks is a bunch of C++ wrappers for various libraries,
> ofxPd
> > adds Pd to the libraries that you can work with in C++.
> > Then you can call the setup function within the xcode build, and your
> object
> > will work in libpd (i.e. ofxPd) in the app environment.
> > Bear in mind that Apple do not like GnuGPL licensed stuff, so I've
> created
> > BSD licensed versions of some of my own Pd externals for this project.
> >
> >
> > And the app works. We're in the final stages now, so I'll post to the
> list
> > when it's complete!
> > Best,
> > Ed
> >
> >
> > Gemnotes-0.1alpha: Live music notation for Pure Data
> > http://sharktracks.co.uk/
> >
> >
> > 
> >  From: Joe White 
> > To: pd-list 
> > Sent: Thursday, 26 April 2012, 16:51
> > Subject: [PD] [Pd] Compile external with C++ compiler?
> >
> >
> > Hi all,
> >
> > Thought I might as well ask this here because you guys know everything :)
> >
> > I'm writing an external to be built into an iOS app that's running Pd.
> The
> > catch is I need to interface with a