Re: [PD] Index of the maximum value in a list

2015-04-13 Thread Miller Puckette
You can store the numbers in an array (using the [array set] object) and
then use [array max] to find the maximum value.

cheers
Miller

On Mon, Apr 13, 2015 at 07:00:42PM -0400, Pierre Desprats wrote:
> Hi,
> 
> it would be really helpfull if someone had patched something to obtain the
> index of the maximum value in a list,
> 
> Or maybe a [max] object with more than 2 inputs ?
> 
> Thx,
> 
> P.
> 
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list

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


Re: [PD] pd in a eurorack modular system

2015-04-13 Thread Paul Batchelor
Hey Patrick!

I'm pretty good friends with the guys at QuBit. In fact, they hired me to
help them get PD working on the Nebulae! I only wrote some basic tests for
it, but people are definitely using it for PD.

pd-vanilla is what it ships with, but with some work it may be possible to
include compiled PD objects from pd-extended.

There are definitely custom Csound patches available online. Not sure about
any PD ones. They do supply templates for PD patches that work. I was the
one who wrote it (though they might have tweaked it a bit since then.)

It's a great sounding module that I highly recommend. Let me know if you
have any more questions about it on or off list.

-P


On Mon, Apr 13, 2015 at 8:01 PM, Peter P.  wrote:

> * Pagano, Patrick  [2015-04-13 19:53]:
> > Hi
> >
> >
> > I am building my first modualr system with a little grant money i got
> for research. For the first 1000$ i got a beginner Pittsburgh Modular
> system and one envelope module. FOr the second 1000$ to complete the grant
> i am considering
> >
> >
> >
> > http://www.qubitelectronix.com/#!nebulae/c23nm
> >
> >
> > The nebulae says it will run custom Csound and pd code which i find very
> intriguing.
> The manual says "The module uses a Raspberry Pi as a CPU."
> So you could get yourself a Raspberry Pi, or even better, UDOO board,
> run Pd on it and save some money and gain some expertise on the way, and
> stay independent of a additional commercial hardware provider.
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pd in a eurorack modular system

2015-04-13 Thread Peter P.
* Pagano, Patrick  [2015-04-13 19:53]:
> Hi
> 
> 
> I am building my first modualr system with a little grant money i got for 
> research. For the first 1000$ i got a beginner Pittsburgh Modular system and 
> one envelope module. FOr the second 1000$ to complete the grant i am 
> considering
> 
> 
> 
> http://www.qubitelectronix.com/#!nebulae/c23nm
> 
> 
> The nebulae says it will run custom Csound and pd code which i find very 
> intriguing.
The manual says "The module uses a Raspberry Pi as a CPU." 
So you could get yourself a Raspberry Pi, or even better, UDOO board,
run Pd on it and save some money and gain some expertise on the way, and
stay independent of a additional commercial hardware provider.

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


[PD] pd in a eurorack modular system

2015-04-13 Thread Pagano, Patrick
Hi


I am building my first modualr system with a little grant money i got for 
research. For the first 1000$ i got a beginner Pittsburgh Modular system and 
one envelope module. FOr the second 1000$ to complete the grant i am considering



http://www.qubitelectronix.com/#!nebulae/c23nm


The nebulae says it will run custom Csound and pd code which i find very 
intriguing.

i would LOVE to buid a patch with about 3 simple effects that are not in the 
traditional analog modular world a sample and hold and a simple RM


Granulation

PV

FFT

S&H

Ring Mod


and be able to toggle through the effects. It says it runs pd-vanilla


Has anyone on the list seen/used or can confrim that the code actually runs 
properly

I have been searching through the web and Muffwiggler and i have not seen any 
proof of it running so i am skeptical but still curious

before i lunk down 400+4 i want it to run my patches or at least a detailed how 
to


please let me know if you have any experience with it.


Patrick Pagano B.S, M.F.A
Audio and Projection Design Faculty
Digital Worlds Institute
University of Florida, USA
(352)294-2020
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] Index of the maximum value in a list

2015-04-13 Thread Pierre Desprats

Hi,

it would be really helpfull if someone had patched something to obtain 
the index of the maximum value in a list,


Or maybe a [max] object with more than 2 inputs ?

Thx,

P.

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


Re: [PD] bbogart's popup

2015-04-13 Thread Peter P.
* Claude Heiland-Allen  [2015-04-13 18:47]:
> On 13/04/15 22:56, Peter P. wrote:
> >Hi list,
> >
> >trying to compile Ben Bogart's popup object from svn, executing
> > make pd_linux
> >in the popup source directory. Getting the following error though:
> >
> >cc -DPD -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wshadow
> >-Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch
> >-I../../src -I../../../pd/src -o popup.o -c popup.c
> >popup.c: In function ‘popup_activate’:
> >popup.c:306:36: error: unused parameter ‘z’ [-Werror=unused-parameter]
> >  static void popup_activate(t_gobj *z, t_glist *glist, int state)
> >
> >[...]
> >
> >cc1: all warnings being treated as errors
> 
> delete -Werror from the makefile.
> 
> probably compiler added/changed warnings since popup was written - this is
> why -Werror should not be used unless specified manually by the developer
> during testing.
> 
> there are many (around 70) instances of -Werror in various build systems in
> the pd svn.  they should all be removed.
> 
> btw, after doing this it still failed to link for me - missing -fPIC
> required on my architecture - so add that to the makefile too while you're
> there.

Thank you so much Claude, this is amazing, fast, wonderful help! Of
course the object compiles really nicely after your changes have been
done to the makefile.

best, P

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


Re: [PD] bbogart's popup

2015-04-13 Thread Claude Heiland-Allen

On 13/04/15 22:56, Peter P. wrote:

Hi list,

trying to compile Ben Bogart's popup object from svn, executing
make pd_linux
in the popup source directory. Getting the following error though:

cc -DPD -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wshadow
-Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch
-I../../src -I../../../pd/src -o popup.o -c popup.c
popup.c: In function ‘popup_activate’:
popup.c:306:36: error: unused parameter ‘z’ [-Werror=unused-parameter]
  static void popup_activate(t_gobj *z, t_glist *glist, int state)

[...]

cc1: all warnings being treated as errors


delete -Werror from the makefile.

probably compiler added/changed warnings since popup was written - this 
is why -Werror should not be used unless specified manually by the 
developer during testing.


there are many (around 70) instances of -Werror in various build systems 
in the pd svn.  they should all be removed.


btw, after doing this it still failed to link for me - missing -fPIC 
required on my architecture - so add that to the makefile too while 
you're there.



Claude


makefile:61: recipe for target 'popup.pd_linux' failed
make: *** [popup.pd_linux] Error 1


Does anyone have a hint what I could be trying next?

thank you!
Peter

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




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


[PD] bbogart's popup

2015-04-13 Thread Peter P.
Hi list,

trying to compile Ben Bogart's popup object from svn, executing
make pd_linux
in the popup source directory. Getting the following error though:

cc -DPD -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wshadow
-Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch
-I../../src -I../../../pd/src -o popup.o -c popup.c
popup.c: In function ‘popup_activate’:
popup.c:306:36: error: unused parameter ‘z’ [-Werror=unused-parameter]
 static void popup_activate(t_gobj *z, t_glist *glist, int state)

[...]

cc1: all warnings being treated as errors
makefile:61: recipe for target 'popup.pd_linux' failed
make: *** [popup.pd_linux] Error 1


Does anyone have a hint what I could be trying next?

thank you!
Peter

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


Re: [PD] Pix_video

2015-04-13 Thread Nicolas Lhommet
Yes, that's why i was talking about "recent macs's built in webcam driver",
(possibly models with PCIe-based cameras such as the MacBook Air 2013, and
others since), and by "macs" i DONT mean "non-apple hardware" :)

QuickTime API (which is used by GEM for video capture) has been deprecated
since 10.9, so it can be presumed that full compatibility with this
obsolete video library was not Apple's priority for their new webcam
drivers (which already had their problems on OSX 10.8 before a bug fix
update :
http://www.macrumors.com/2013/09/24/os-x-10-8-5-supplemental-update-being-prepared-to-address-facetime-camera-and-other-issues/
).
But compatibility problems seem to affect built-in usb cameras drivers as
well, see
http://stackoverflow.com/questions/20669326/sgnewchannel-error-9405-on-mac-10-9-1/

Regards, Nicolas

2015-04-13 9:29 GMT+02:00 Peter Venus :

> Just want to share this:
> I am working on OSX 10.9.5 with pdX-43.4 as well and i DONT have any
> problems getting my webcam running (built in and USB).
>
> This applies to my Desktop as well as my laptop.
>
> The interesting part here is, that i am running OSX on non-apple hardware.
> So maybe the bug is related to the apple-machines themselves???
>
> regards, Peter
>
> Am 12.04.15 um 00:52 schrieb Nicolas Lhommet:
>
>> Hello,
>> It's probably the same problem, related to recent macs's built in
>> webcam driver incompatibility with the video library used by Gem, that has
>> been discussed last month on this list, and for which i proposed a
>> workaround : make use of "iGlasses" shareware as a "webcam passthrough"
>> (see "GEM Motion Capture" thread for details), but a real solution will
>> require a rewrite of Mac OS X video-related code in Gem.
>>
>> Regards,
>> Nicolas
>>
>> 2015-04-11 17:18 GMT+02:00 Olga Isabel Medina :
>>
>>  I am starting to work with Pd and I want to do something with video
>>> editing. But I still cannot find a way for Pd to recognise my camera,
>>> when I try to work with a video patch, it just shows a white image.
>>>
>>> Can you please help me solve this problem?
>>>
>>> I have a Mac OS X Version 10.9.5
>>> My version of Pd is: Pd 0.43.4-extended
>>> And I'm working with the Mac's built in camera.
>>>
>>>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Pix_video

2015-04-13 Thread Peter Venus

Just want to share this:
I am working on OSX 10.9.5 with pdX-43.4 as well and i DONT have any 
problems getting my webcam running (built in and USB).


This applies to my Desktop as well as my laptop.

The interesting part here is, that i am running OSX on non-apple 
hardware. So maybe the bug is related to the apple-machines themselves???


regards, Peter

Am 12.04.15 um 00:52 schrieb Nicolas Lhommet:

Hello,
It's probably the same problem, related to recent macs's built in
webcam driver incompatibility with the video library used by Gem, that has
been discussed last month on this list, and for which i proposed a
workaround : make use of "iGlasses" shareware as a "webcam passthrough"
(see "GEM Motion Capture" thread for details), but a real solution will
require a rewrite of Mac OS X video-related code in Gem.

Regards,
Nicolas

2015-04-11 17:18 GMT+02:00 Olga Isabel Medina :


I am starting to work with Pd and I want to do something with video
editing. But I still cannot find a way for Pd to recognise my camera,
when I try to work with a video patch, it just shows a white image.

Can you please help me solve this problem?

I have a Mac OS X Version 10.9.5
My version of Pd is: Pd 0.43.4-extended
And I'm working with the Mac's built in camera.






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



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