Re: [PD] parse textfile

2015-11-16 Thread Jaime E Oliver
checkout the [textfile] and [list split] objects.
best,
J



On Nov 16, 2015, at 3:58 PM, Simon Iten  wrote:

> hi list,
> 
> i’m trying to parse a textfile and use some numbers as parameters in a patch. 
> unfortunately i can’t change the way the textfile is formatted, since it has 
> to be compatible with another program. the first lines look like this:
> 
> 0; field:  0  poti:  0   ser.no.:  1 
> 0; field:  0  poti:  1   ser.no.:  2 
> 0; field:  0  poti:  2   ser.no.:  3 
> 127  ; field:  0  poti:  3   ser.no.:  4 
> 0; field:  0  poti:  4   ser.no.:  5 
> 22   ; field:  0  poti:  5   ser.no.:  6 
> 76   ; field:  0  poti:  6   ser.no.:  7 
> 0; field:  0  poti:  7   ser.no.:  8 
> 127  ; field:  0  poti:  8   ser.no.:  9 
> 0; field:  0  poti:  9   ser.no.:  10 
> 0; field:  0  poti:  10  ser.no.:  11 
> 32   ; field:  0  poti:  11  ser.no.:  12 
> 0; field:  1  poti:  0   ser.no.:  13 
> 17   ; field:  1  poti:  1   ser.no.:  14 
> 0; field:  1  poti:  2   ser.no.:  15 
> 0; field:  1  poti:  3   ser.no.:  16 
> 0; field:  1  poti:  4   ser.no.:  17 
> 0; field:  1  poti:  5   ser.no.:  18 
> 1; field:  1  poti:  6   ser.no.:  19 
> 0; field:  1  poti:  7   ser.no.:  20 
> 64   ; field:  1  poti:  8   ser.no.:  21 
> 0; field:  1  poti:  9   ser.no.:  22 
> 0; field:  1  poti:  10  ser.no.:  23 
> 0; field:  1  poti:  11  ser.no.:  24 
> 0; field:  2  poti:  0   ser.no.:  25 
> -19   ; field:  2  poti:  1   ser.no.:  26 
> 0; field:  2  poti:  2   ser.no.:  27 
> 0; field:  2  poti:  3   ser.no.:  28 
> 0; field:  2  poti:  4   ser.no.:  29 
> 0; field:  2  poti:  5   ser.no.:  30 
> 1; field:  2  poti:  6   ser.no.:  31 
> 0; field:  2  poti:  7   ser.no.:  32 
> 64   ; field:  2  poti:  8   ser.no.:  33 
> 0; field:  2  poti:  9   ser.no.:  34 
> 0; field:  2  poti:  10  ser.no.:  35 
> 0; field:  2  poti:  11  ser.no.:  36 
> 
> basically i just need the first number of every line since that is the 
> parameter. is there a way to route this based on the ser.no (since that is 
> unique) or can i route the number to a send just by line? (i.e. number from 
> first line goes to [s pitch1] number from 2nd line to [s pitch1_fine])
> 
> when i open the file with [read example.txt cr] i get all the parameters on 
> separate lines, since pd starts a new line for all semicolons and all 
> newlines. so if i could just read every second line i would be fine as well.
> 
> to further complicate things i should also be able to write files in that 
> format… and it should all be in vanilla!
> 
> is this even doable in pd?
> 
> attached is an example preset file
> 
> thanks for any insights and sorry for the questions, i just never really 
> worked with file parsing.
> 
> simon
> 
> 
> 
> 
> 
> 
> 
> ___
> 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] Compiling gem for Vanilla on Mac OS 10.9.5

2015-11-12 Thread Jaime E Oliver
can you post the output of "./autogen.sh" and of "pwd"? 
are you sure you are in the gem directory?
J
On Nov 12, 2015, at 7:18 PM, Reed Perkins  wrote:

> Hi and thanks for the link! 
> 
> So I followed the instructions exactly until I reached the "configure" 
> heading on the github.com webpage. When I run this command "./configure 
> --with-pd=/Applications/Pd-0.45-4-64bit.app/Contents/Resources/" I get this 
> error: "-bash: ./configure: No such file or directory". Any idea why I might 
> be having this error. Sorry if this is a noob question I suck at computers.
> 
> Thanks!
> 
> On Thu, Nov 12, 2015 at 12:41 PM, IOhannes m zmölnig  wrote:
> On 11/12/2015 07:29 PM, Reed Perkins wrote:
> > Hi list!
> >
> > Posted this on the forum recently but it hasn't gotten traction:
> >
> > Could anyone give me some tips for how to compile the GEM library for
> > Vanilla? Maybe just a short list of instructions to get me started? I am a
> > total noob at this stuff and there are so many files...
> 
> cannot give you instructions how to compile Gem especially for
> *pd-vanilla*, but only for all flavours of Pd:
> 
>   https://github.com/umlaeute/Gem/wiki
> 
> fgmdsaf
> IOhanns
> 
> 
> ___
> 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-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] fft~ bug in Pd-0.46-7-64bit.app on OSX

2015-10-16 Thread Jaime E Oliver
laptop baby

On Oct 16, 2015, at 5:12 PM, Matt Barber  wrote:

> I meant 32 points, sorry. You can usually assume I'm typing with a crying 
> baby in my lap. :)
> 
> On Fri, Oct 16, 2015 at 4:14 PM, IOhannes m zmölnig  wrote:
> On 10/16/2015 03:50 AM, Matt Barber wrote:
> > Basically, for [block~] sizes less than 32 bits, [fft~] doesn't perform --
> > it just passes the signal through unchanged.
> 
> isn't that what is expected of a 1 point FFT? (32bits == 4 bytes ==
> sizeof(float)).
> 
> > See the attached patch, which only shows [fft~]. The saved contents of the
> > tables on opening are the results for [block~ 8] on my machine, for
> > quarter-nyquist at 44100.
> 
> so you meant 32 bytes (8 samples * 4 bytes each)?
> 
> or 32pins aka points (as in [block~ 32])?
> 
> gfmrdsa
> IOhannes
> 
> 
> ___
> 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-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] announcing Context, a modular sequencer for PD

2015-08-15 Thread Jaime E Oliver
Is deken officially working?
J
On Aug 15, 2015, at 9:27 AM, patrice colet colet.patr...@free.fr wrote:

 Hi,
 
  Isn't Deken a good alternative to replace pd-extended? I didn't try it yet 
 but it exactly look like what I've expected from pdx...
 
 Le 15/08/2015 09:54, IOhannes m zmölnig a écrit :
 On 08/15/2015 09:29 AM, Liam Goodacre wrote:
 Are you asking if Context can be made compatible with PD-Vanilla? As 
 IOhannes says, this should be possible by installing some extra packages. 
 I've only ever had Extended installed, so I don't know exactly which 
 packages I've used that aren't available in Vanilla. Maybe someone with 
 Vanilla could run the program and tell me what pops up in the error console?
 
 BTW, Extended is still easy to install on Ubuntu by adding the right ppa, 
 as detailed on the official page.
 
 maybe, but Pd-extended is dead since about 2 years.
 
 fgmrdsa
 IOhannes
 
 
 
 ___
 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-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] A patch to create a patch to create a patch to create a patch to close puredata...

2015-07-06 Thread Jaime E Oliver
nice indeed!
J
On Jul 6, 2015, at 2:10 PM, Jack j...@rybn.org wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hello Olivier,
 
 Very nice ;)
 ++
 
 Jack
 
 
 
 
 Le 06/07/2015 20:46, Olivier Baudu a écrit :
 Thank you Julian...
 
 Well, I don't know if this one is funny but, for sure, it's still 
 useless... :-)
 
 The Carouslide: https://vimeo.com/132739686
 
 :-p
 
 01
 
 Le 01/07/2015 15:02, Julian Brooks a écrit :
 definitely raised a smile :)
 
 2015-06-30 17:15 GMT+01:00 Olivier Baudu 01iv...@labomedia.net 
 mailto:01iv...@labomedia.net:
 
 Hi list...
 
 I got bored again... so...
 
 https://vimeo.com/132195870
 
 :-p
 
 Cheers...
 
 °1
 
 Le 24/06/2015 17:34, Olivier Baudu a écrit :
 Hi list...
 
 I had time to waste so here you are :
 
 https://vimeo.com/131648084
 
 :-p
 
 Cheers...
 
 °1ivier
 
 
 
 ___ 
 Pd-list@lists.iem.at mailto:Pd-list@lists.iem.at mailing
 list UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list
 
 
 -- On ne peut pas vivre dans un monde où l'on croit que
 l'élégance exquise du plumage de la pintade est inutile. Ceci est
 tout à fait à part. J'ai eu envie de le dire, je l'ai dit. Jean
 Giono, Un roi sans divertissement.
 
 ___ 
 Pd-list@lists.iem.at mailto:Pd-list@lists.iem.at mailing list 
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list
 
 
 
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1
 
 iQEcBAEBAgAGBQJVmtKlAAoJEOuluecjw8GUTNgH/2KfCGwcXmBbbvprf7GLhvzD
 4jMaG7Cpy1GziSq2OoPxCtiZgUNoAMev/ijlxm5+rRGZhjrUVpyudTlK8ED2CBz1
 iZIea+lVK9ewFTV0oWTlClUyoHYK4i/6OQHPOkGyRf/zC0U0BsCwTQhPi/eaj0XA
 9taugTTKC7wM8bEf9sKOiVit11eBC8xzMg5Yr4rSul/xpcR1lDS3gDAs+apfAkIT
 3/uqwdwjZBdtPirLu3Dz2jKir+a1VH+Q1Z2t2YbiQjAuJjRbCtLstiDgSkMhxM5n
 Ldo1V79rhd4suez0Lujj4TJUeXBxOD6W7guwwydACT1yfkqdgft42pIbHuGem6I=
 =jmON
 -END PGP SIGNATURE-
 
 ___
 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] compiling for Raspberry Pi 2 (was 2nd Pi 2 issue)

2015-07-06 Thread Jaime E Oliver
the externals will crash pd if it isn't opened with sudo.
J


On Jul 6, 2015, at 7:49 PM, Rick Snow ricks...@gmail.com wrote:

 Hi Luis, so you mean you compile as l_arm and then change the name to read 
 pd_darwin? I tried this with the wiringpi externals and they crash pd. I 
 definitely think there is some problem in the compiling.
 
 On Jul 6, 2015 7:19 PM, Luis G Angel luisgerardoange...@gmail.com wrote:
 Rick:
 
 I think the problem is that pd does not looking the .l_arm extension?? I have 
 the same problem(in RbPI2 too) So, I rename the extension to .pd_linux and it 
 works for the externals I compile with the makefile template: the hello world 
 example(in hans’s guide to make externals), the counter(again from the guide) 
 and one external I make to convert decimal to binary. 
 Maybe the error is in the compilation?
 
 El 06/07/2015, a las 2:42 p.m., Rick Snow ricks...@gmail.com escribió:
 
 Just to clarify: This is a Raspberry Pi 2 I am using.  Maybe it needs a 
 different architecture?
 
 I tried renaming as wiringPi_gpio.pd_linux then when instantiating the 
 object it crashes pd.
 
 i really appreciate the suggestions.  Hopefully this will help some other 
 folks as well.
 
 cheers,
 Rick
 
 
 On Mon, Jul 6, 2015 at 1:11 PM, Antoine Villeret 
 antoine.ville...@gmail.com wrote:
 hum, strange, 
 
 I was pretty sure that pd loads l_arm on RPi, 
 
 btw, did you try to rename the .l_arm in .pd_linux ?
 
 +
 a
 
 --
 do it yourself   
 http://antoine.villeret.free.fr
 
 2015-07-05 23:53 GMT+02:00 Rick Snow ricks...@gmail.com:
 Thanks Antoine.
 
 The pi2 does not seem to be looking for .l_arm
  When I try to load the object with verbose checked I get:
 tried /home/pi/pd-externals/wiringPi_gpio.l_i386 and failed
 tried /home/pi/pd-externals/wiringPi_gpio.l_i386 and failed
 tried /home/pi/pd-externals/wiringPi_gpio.l_i386 and failed
 tried /usr/local/lib/pd-externals/wiringPi_gpio.l_i386 and failed
 tried /usr/lib/puredata/tcl/../extra/wiringPi_gpio.l_i386 and failed
 tried /usr/lib/pd/extra/wiringPi_gpio.l_i386 and failed
 tried /home/pi/pd-externals/wiringPi_gpio.pd_linux and failed
 tried /home/pi/pd-externals/wiringPi_gpio.pd_linux and failed
 tried /home/pi/pd-externals/wiringPi_gpio.pd_linux and failed
 tried /usr/local/lib/pd-externals/wiringPi_gpio.pd_linux and failed
 tried /usr/lib/puredata/tcl/../extra/wiringPi_gpio.pd_linux and failed
 tried /usr/lib/pd/extra/wiringPi_gpio.pd_linux and failed
 tried /home/pi/pd-externals/wiringPi_gpio/wiringPi_gpio.l_i386 and failed
 tried /home/pi/pd-externals/wiringPi_gpio/wiringPi_gpio.l_i386 and failed
 tried /home/pi/pd-externals/wiringPi_gpio/wiringPi_gpio.l_i386 and failed
 tried /usr/local/lib/pd-externals/wiringPi_gpio/wiringPi_gpio.l_i386 and 
 failed
 tried /usr/lib/puredata/tcl/../extra/wiringPi_gpio/wiringPi_gpio.l_i386
 and failed
 tried /usr/lib/pd/extra/wiringPi_gpio/wiringPi_gpio.l_i386 and failed
 tried /home/pi/pd-externals/wiringPi_gpio/wiringPi_gpio.pd_linux and failed
 tried /home/pi/pd-externals/wiringPi_gpio/wiringPi_gpio.pd_linux and failed
 tried /home/pi/pd-externals/wiringPi_gpio/wiringPi_gpio.pd_linux and failed
 tried /usr/local/lib/pd-externals/wiringPi_gpio/wiringPi_gpio.pd_linux
 and failed
 tried /usr/lib/puredata/tcl/../extra/wiringPi_gpio/wiringPi_gpio.pd_linux
 and failed
 tried /usr/lib/pd/extra/wiringPi_gpio/wiringPi_gpio.pd_linux and failed
 tried /home/pi/pd-externals/wiringPi_gpio.pd and failed
 tried /home/pi/pd-externals/wiringPi_gpio.pd and failed
 tried /home/pi/pd-externals/wiringPi_gpio.pd and failed
 tried /usr/local/lib/pd-externals/wiringPi_gpio.pd and failed
 tried /usr/lib/puredata/tcl/../extra/wiringPi_gpio.pd and failed
 tried /usr/lib/pd/extra/wiringPi_gpio.pd and failed
 tried /home/pi/pd-externals/wiringPi_gpio.pat and failed
 tried /home/pi/pd-externals/wiringPi_gpio.pat and failed
 tried /home/pi/pd-externals/wiringPi_gpio.pat and failed
 tried /usr/local/lib/pd-externals/wiringPi_gpio.pat and failed
 tried /usr/lib/puredata/tcl/../extra/wiringPi_gpio.pat and failed
 tried /usr/lib/pd/extra/wiringPi_gpio.pat and failed
  wiringPi_gpio
 
 
 On 7/5/15, Antoine Villeret antoine.ville...@gmail.com wrote:
  2015-07-05 23:00 GMT+02:00 Rick Snow ricks...@gmail.com:
 
  Dear list,
 
  In addition to having trouble getting pd 46.6 to install on the Raspberry
  Pi 2 I am having trouble compiling the NYU wiringPi objects.
 
  Does anyone know which architecture the Pi 2 requires?  l_arm or
  .pd_linux?t
 
  both are good candidates
  but pd_linux could be of arch i686, x86_64 or arm (or even something else)
 
 
  I am able to compile the objects using the provided makefile as an l_arm
  object but when I try to create a .pd_linux object with the makefile
  terminal returns:
  * No rule to make target 'wiringPi_gpio.pd_linux'. Stop.
 
 
  run pd with -verbose option and look at pd's console to know what it is
  trying to load when you make a [wiringPi_gpio] object
  it should try to load 

Re: [PD] compiling for Raspberry Pi 2 (was 2nd Pi 2 issue)

2015-07-06 Thread Jaime E Oliver
 El 06/07/2015, a las 8:52 p.m., Jaime E Oliver jaime.oliv...@gmail.com 
 escribió:
 
 the externals will crash pd if it isn't opened with sudo.
 J
 What do you mean with external crash? do you refer the wiringPi externals?
yes. you need sudo level to access the gpio with those externals and will crash 
if you don't start pd as sudo.

J



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


Re: [PD] Bonk~ and array ?

2015-05-26 Thread Jaime E Oliver
Hi Pierre, 

If I remember correctly, William Brent in his timbreID library does onset 
detection on tables. I cannot remember now how he does it exactly, but I hope 
this might prompt him to reply…?

In any case, all of his timbre analysis objects have real-time signal and 
non-signal versions...

best,

J


On May 26, 2015, at 12:52 PM, Miller Puckette m...@ucsd.edu wrote:

 Unfortunately there's no way - the attack detection in bonk~ depends on
 a succession of frames and not just a single one.  (It might have made sense
 for bonk~ at least to be able to do its spectral analysis from an array but
 I think most uses of bonk~ are for the attack detection.)
 
 cheers
 Miller
 
 On Tue, May 26, 2015 at 10:08:54AM +0200, Pierre Massat wrote:
 Dear list,
 
 Is there a way to analyze an array containing audio data with bonk~ ? I
 believe sigmund~ is capable of this.
 (By the way, is there any pun intended with bonk ?)
 
 I'm trying to build a sample slicer and right now I just read the array at
 audio rate and feed the output to bonk~ . This is both slow (is the sample
 is long) and not very reliable (for some reason the sets of attacks
 detected in the same sample are sometimes different from one analysis to
 the next).
 
 Cheers,
 
 Pierre.
 
 ___
 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-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] [OT] flexura

2015-05-22 Thread Jaime E Oliver
Hi all, 

Just sharing a recent piece done with Pd entirely, well, and a cello…

http://www.jaimeoliver.pe/flexura
https://www.youtube.com/watch?v=y9uFY2hWhfg

All the best,

J


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


Re: [PD] [OT] flexura

2015-05-22 Thread Jaime E Oliver
Hi Ricardo, 

 super cool!
Thanks!
 do you have some documentation about the hardware?

There's some info on the controller here:
http://www.jaimeoliver.pe/instrumentos/mano
and an incomplete tutorial here:
http://www.jaimeoliver.pe/archives/879

or do you mean something else?

thanks for listening!

best,

J




 nice to hear you jaime!
 
 cheers!
 
 palm
 
 -- 
 
 mobileVIVO#+5511-9-60175161
 mobileTIM## +5511-9-85833173
 
 [noisetupi.com.br]
 [www.vjpalm.com]
 [facebook.com/vjpalm]
 [myspace.com/livenoisetupi]
 [https://soundcloud.com/abaporupindoba]
 [skype-me:palmieriricardo]
 [twitt-me: @ricardopalmieri]
 [linux user # 392484]
 
 2015-05-22 13:13 GMT-03:00 Jaime E Oliver jaime.oliv...@gmail.com:
 Hi all, 
 
 Just sharing a recent piece done with Pd entirely, well, and a cello…
 
 http://www.jaimeoliver.pe/flexura
 https://www.youtube.com/watch?v=y9uFY2hWhfg
 
 All the best,
 
 J
 
 
 
 ___
 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] GEM external pd_darwin: mach-o, but wrong architecture

2015-05-04 Thread Jaime E Oliver
Hi all, 

I have successfully compiled a GEM external in OS X using the latest gem from 
git and Pd 0.45-5. When I try to load this external I get that it finds it, but 
complains about the architecture:

[…]/Gem-master/extra/pix_demo/pix_demo.pd_darwin: mach-o, but wrong architecture
 pix_demo
... couldn't create

I assume I need to add a flag but not entirely sure which one or where to put 
it. 

Any suggestions?

best,

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


Re: [PD] GEM external pd_darwin: mach-o, but wrong architecture

2015-05-04 Thread Jaime E Oliver
Hi Antoine, 

Thanks for the info and the reference page.

When I open the 64 bit version of Pd it cannot open the OS X precompiled 
version of GEM I downloaded from http://gem.iem.at/: no matching architecture 
in universal wrapper. I used to be able to compile an external and use it with 
this version of GEM, but this strategy might not work anymore.

I tried:

./configure --enable-fat-binary=i386 
--with-pd=/Applications/Pd-0.45-4.app/Contents/Resources/

then make pix_demo.pd_darwin, but when I try to create the object in Pd I get:

/Users/jo57/Documents/NYU/Courses/2015-1-IMG-SND-GESTURE/session-13/Gem-master/extra/pix_demo/pix_demo.pd_darwin:
 
dlopen(/Users/jo57/Documents/NYU/Courses/2015-1-IMG-SND-GESTURE/session-13/Gem-master/extra/pix_demo/pix_demo.pd_darwin,
 10): Symbol not found: __ZN7GemBase14beforeDeletionEv
  Referenced from: 
/Users/jo57/Documents/NYU/Courses/2015-1-IMG-SND-GESTURE/session-13/Gem-master/extra/pix_demo/pix_demo.pd_darwin
  Expected in: flat namespace
 in 
/Users/jo57/Documents/NYU/Courses/2015-1-IMG-SND-GESTURE/session-13/Gem-master/extra/pix_demo/pix_demo.pd_darwin
 pix_demo
... couldn't create

I also tred to build pix_demo.d_fat, but it says: 
make: *** No rule to make target `pix_demo.d_fat'.  Stop.

Thanks!

J


On May 4, 2015, at 11:26 AM, Antoine Villeret antoine.ville...@gmail.com 
wrote:

 hi, 
 
 did you try to load it with 64bit version of Pd ?
 
 you probably miss the --enable-fat-binary=arch flag
 please refer to 
 https://github.com/umlaeute/Gem/wiki/How-to-build-Gem-on-MacOSX-Mavericks#configure
 to learn how to build 32bit and 64bit of Gem
 Please also note that it should be possible to build a FAT binary (32+64bit).
 
 best
 
 a
 
 --
 do it yourself   
 http://antoine.villeret.free.fr
 
 2015-05-04 17:08 GMT+02:00 Jaime E Oliver jaime.oliv...@gmail.com:
 Hi all,
 
 I have successfully compiled a GEM external in OS X using the latest gem from 
 git and Pd 0.45-5. When I try to load this external I get that it finds it, 
 but complains about the architecture:
 
 […]/Gem-master/extra/pix_demo/pix_demo.pd_darwin: mach-o, but wrong 
 architecture
  pix_demo
 ... couldn't create
 
 I assume I need to add a flag but not entirely sure which one or where to put 
 it.
 
 Any suggestions?
 
 best,
 
 J
 ___
 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] GEM external pd_darwin: mach-o, but wrong architecture

2015-05-04 Thread Jaime E Oliver
Hi Iohannes,

 so what's the architecture of pix_demo.pd_darwin, Gem.pd_darwin and Pd
 resp.?

They're all i386, unless i've done something wrong with pix_demo.
 
 I assume I need to add a flag but not entirely sure which one or where to 
 put it. 
 
 most likely you are using an i386 Gem (as provided on gem.iem.at) and
 Pd, so you need to make sure that your external is i386 as well.
 do this by passing -arch i386 (or even better. -arch i386 -arch
 x86_64, which will give you fat binaries) to both the compiler and the
 linker.
you mean using this flag: --enable-fat-binary=i386  ?
or how?
 
 if you build pix_demo in-tree (that is, in extra/, like pix_drum)  using
 Gem's build-system, this should happen automatically via the
 @GEM_ARCH_CXXFLAGS@/@GEM_ARCH_LDFLAGS@ templates.
This is exactly what I did. Which is why I was surprised when it didn't work…

J


 
 
 gfmsard
 IOhannes
 
 ___
 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] help patch translations

2015-05-02 Thread Jaime E Oliver
Yes, I agree with this, at least in spanish it doesn't seem like a big deal to 
have object names in spanish. often they're close enough or exactly the same 
cos, osc, +, etc…

Help patches would be very helpful though…

J

On May 2, 2015, at 10:46 AM, Martin Peach chakekat...@gmail.com wrote:

 Well I dispute the asertion that Pd objects have English names.
 I think it hardly matters what language you speak, you need to remember an 
 arbitrary character string that represents some function. The string may act 
 as a mnemonic of some kind but it almost never works to specify an object 
 using an English term to denote its function.
 Of course this is only true for languages that can use an ASCII character set.
 How to write uzi  or moses in Chinese or Thai for example?
 
 Martin
 
 On Sat, May 2, 2015 at 10:07 AM, Dan Wilcox danomat...@gmail.com wrote:
 What probably makes sense in the long run is for objects to have two names: 
 internal name (aka current english name) and a display name (translated). I 
 think that’s how Scratch does it, as all of their building blocks are 
 translated in other languages too. We sat down with one of my German nephews 
 and showed him scratch. The UI was in German *and* the objects were all in 
 German too, which worked really nicely.
 
 Dan Wilcox
 @danomatika
 danomatika.com
 robotcowboy.com
 
 
 ___
 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-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] GEM Motion Capture

2015-03-18 Thread Jaime E Oliver
Macam wasn't mentioned, but although it is not currently maintained, it is also 
free and supports several cameras still.

best,

J


On Mar 18, 2015, at 11:30 AM, me.grimm megr...@gmail.com wrote:

  iGlasses, a 20$ shareware available as a 7 days trial demo (and one of the 
  few still actively maintained applications of this type) was our last try, 
  and... bingo ! : detected and working with Pd-extended and [pix_video] 
 
 yes this does work! I just tried it! Thanks!
 
 m
 
 
 On Thu, Mar 12, 2015 at 9:31 PM, Nicolas Lhommet nlhom...@gmail.com wrote:
 Hi,
 Despite the many selfish and pretentious morons who should be ban from 
 teaching, and their usual shameless and disgusting whining (long version : 
 me me me, i'm important, my students, my university, my situation,  i'm an 
 artist, i only speak for myself, i'm an expert, i'm pertinent, i'm the 
 prophet chosen to illuminate the mind of masses,contracted (by other morons) 
 to teach what i want to teach, and you do understand that i'm called to a 
 higher mission than taking the burden of the meanest tasks, SO OBEY AND DO 
 YOUR F*CKING DIRTY JOB ! NOW HURRY UP AND FOLLOW THE PACE OF CUPERTINO'S 
 ARMIES, YOU MISERABLE SLAVES, so i can continue to enjoy the undeserved 
 praise for free and get more education money to forward to a 
 multi-billionaire manufacturer in exchange of a shinny macbook. And rejoice 
 that one day perhaps i may leave you a tip ! 
 yeah no intention to flame. apologies if taken that way ;)
 
 Let me bring my very own perspective to this debate (it's my turn for the me 
 me moment) : last days, i spent some time to find a simple workaround for 
 this very issue with webcams. I don't have a mac, but i only tried to find a 
 reasoned solution to this problem (like most people do on the list) for the 
 sake of the community of this great FREE software (thanks for all this 
 generous work) after someone asked about it on the french forum codelab.fr 
 (sadly the same person didn't provide any help in testing the proposed 
 fixes... guess what : another university teacher!). Eventually i had to join 
 some weekly hacking free meeting in my city today to find Fabrice Jorge, 
 who i didn't know but was kind enough to let me try different software on his 
 (2013?) Macbook Air with system 10.9.5, including Pd-extended 0.43.4 which 
 (fortunately!) was affected :)
 
 Anyway, back to the subject and an actual workaround of 'error -9405' : idea 
 was to use a webcam enhancer (typically used to decorate video chat) as a 
 passtrough, hoping it would present a virtual interface that could be 
 properly handled by [pix_video], while taking care of the compatibilty with 
 recent integrated webcam drivers (which is especially expected from software 
 you PAY for).
 
 Manycam, the most popular utility of this kind, was not tested because logo 
 watermark can't be remove in free version anymore, and the price of a licence 
 is ridiculously high.
 CamTwist which is a freeware (therefore an obvious choice) is not maintained 
 for some time, and virtual webcam never appeared in video input settings of 
 any application... same thing with the latest beta. The latter is supposed to 
 bring Yosemite support, and this failure could have been specific to the test 
 system, so it could worth a try.
 
 iGlasses, a 20$ shareware available as a 7 days trial demo (and one of the 
 few still actively maintained applications of this type) was our last try, 
 and... bingo ! : detected and working with Pd-extended and [pix_video] !
 
 Now, this has not been extensively tested at all, your mileage may vary with 
 any of these options and, as a workaround requiring additionnal (commercial) 
 software, this is far from ideal, and may present many caveats (stability, 
 resolution, framerate...). But i hope it could prove useful as a temporary 
 solution for nice people like Joshua, and unfortunate students too :) so more 
 thorough tests and reports are welcome.
 Cheers
 Nicolas
 
 
 2015-03-12 17:59 GMT+01:00 me.grimm megr...@gmail.com:
  Anyway, I may have scared up some funding to support me for a week to do 
  this in the summer. I'll chime back in when I know more details
 
 yeah no intention to flame. apologies if taken that way.
 
 no i just teach what i want to teach. thats what im contracted to do which is 
 dependent on my own expertise as an artist. there is no specific requirement 
 at all here other than Mac/OSX/Adobe CC ... the rest is all instructor based 
 but then again I only speak for myself.
 
 if i can find more funding (which i might have) ill send it your way!
 
 m
 
 
 
 On Thu, Mar 12, 2015 at 12:35 PM, Dan Wilcox danomat...@gmail.com wrote:
 To be fair, people work on what is important to them, so no need to flame. 
 I'd suggest that a university program that *requires* PD should at least be 
 willing to fund/support it's development instead of using it as a cheap 
 alternative to Max and then *hoping* that open source will do that for 

Re: [PD] [PD-announce] Egregore - source | software edition

2015-03-17 Thread Jaime E Oliver
Great work!
Has it changed recently? I downloaded it about two months ago!
best,
J
On Mar 17, 2015, at 9:57 AM, Dan Wilcox danomat...@gmail.com wrote:

 Agreed. Congrats!
 
 Dan Wilcox
 @danomatika
 danomatika.com
 robotcowboy.com
 
 On Mar 17, 2015, at 1:53 AM, pd-list-requ...@lists.iem.at wrote:
 
 From: Jamie Bullock ja...@jamiebullock.com
 Cc: pd-annou...@lists.iem.at
 To: pd-l...@iem.at
 Date: March 17, 2015 at 1:51:00 AM PDT
 Reply-To: pd-l...@iem.at
 Subject: Re: [PD] [PD-announce] Egregore - source | software edition
 
 
 
 Congratulations Cyrille,
 
 This is really beautiful work. For me, the connection between the sonic and 
 visual elements is seamless.
 
 Best,
 
 Jamie
 
 ___
 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] [GEM] Latest OS X version working with GEM

2015-03-12 Thread Jaime E Oliver
Well, it's good to know for teaching… 
So I wonder what is the plan to keep compatibility with OS X moving forward...
Thanks!
J

On Mar 12, 2015, at 1:39 AM, IOhannes zmölnig zmoel...@iem.at wrote:
 Am 11. März 2015 23:24:29 MEZ, schrieb Jaime E Oliver 
 jaime.oliv...@gmail.com:
 So what is the newest version of OS X with which GEM will work?
 
 
 I have mavericks installation that appears to work fine, but i'm no expert in 
 the shallow depths of osx
 
 mfg.ugd.fhj
 IOhannes
 
 --
 Sent from my pdp-11


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


[PD] [GEM] Latest gem?

2015-03-09 Thread Jaime E Oliver
Hi everyone, 

I am getting errors when running:
sudo apt-get build-dep gem

a few libraries are not installing and I think I might have an older version of 
gem.

So, I wonder where is the latest gem lately? Is it on git still?(git clone 
git://git.code.sf.net/p/pd-gem/gem)?

best,

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


[PD] pix_record not working on OS X 10.8.5

2015-02-23 Thread Jaime E Oliver
Hi, 

I am trying to use pix_record to output a video file, but it isn't working 
correctly I think. 

In OS X 10.8.5, with Pd 0.45-4 and gem 0.93-3 from http://gem.iem.at/ including 
the bugfix, pix_record says codecs are unknown and crashes if I try to record 
something.

Any suggestions?

best,

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


[PD] clear delwrite~?

2015-02-05 Thread Jaime E Oliver
Hi all, 

Is there a way to clear a delwrite~, there is nothing in the help file but 
perhaps there is a hidden method?

best,

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


Re: [PD] Extending Vanilla (was Cyclone help patches issue list)

2014-12-17 Thread Jaime E Oliver
Hi all, 

I guess the subject of the thread is misleading, perhaps we should be talking 
about an external repository rather than extending vanilla? 

I'd certainly be interested in contributing my own externals.

best,

Jaime



On Dec 17, 2014, at 9:33 PM, Alexandre Torres Porres por...@gmail.com wrote:

 Hello, I don't know if Hans is replaceable and I didn't mean to start a 
 thread about replacing him or even point to a new extendeddistro.
 
 I just wanted to highlight what miller mentioned about people considering 
 working on a repository of external objects compatible to vanilla, and how 
 all extended libs should work on vanilla and that he was willing to help 
 make'm work in it.
 
 I, for one, think that's good enough to work as an extended replacement, 
 while hans (or any other who'd replace him) carries on with pd-extended (or 
 some new distro).
 
 As far as library management and maintenance goes. In my opinion, maybe that 
 shouldn't be a burden that someone has to carry alone. I don't believe Hans 
 vouched for being the one responsible for maintaining that much libraries on 
 his own. I believe he ended up doing so because the original developers just 
 didn't care anymore and abandoned it...
 
 I have to say that's a hell of a bummer. And that I've had some experiences 
 trying to reach creators and maintainers about a bug on some extended object 
 and got not much help of something like yeah, I know about it but I don't 
 have time to work on it.
 
 I love the work Hans did with Pd extended, and still use it, but I'm critic 
 on how many libraries and objects are badly maintained, with bugs and not 
 that good documentation. There are also many redundanct objects. So can't say 
 it's such a great package of externals... 
 
 I know there are a few libraries I can't live without. Like, from the top of 
 my head there are: zexy, iemlib, cyclone... I'd be kinda done with these few 
 libraries.
 
 In the scenario context we're discussing - of a repository of working 
 libraries - if whoever made a library that was on the repository and, for 
 some reason, it stopped working, I guess the creator should care to maintain 
 it. but if he doesn't, if it's open source and everything, maybe someone else 
 who cares would care to step in and deal with it.
 
 But I have the idea that if a library is working fine as an external in 
 vanilla, it should normally keep working as such. And Miller is here waving . 
 And well, if it doesn't and nobody cares. Then it is crossed out of the 
 repository. Simple as that...
 
 So, it's a whole different paradigm. It's not about building and releasing a 
 new distro. It's not about telling Miller what he should do with Vanilla. And 
 it should be pretty simple as I see it. Moreover, I could manifest the 
 opinion that that's the easy way and how it should be - a list of plugins, 
 nicely organised somewhere, for people to download and use it. 
 
 And no need for that much diplomacy. I think it should be open and free. If 
 people make some libraries and wanna to put it on the repository, just let'em 
 do it.
 
 Well, that's my two cents
 
 Cheers
 
 
 
 
 2014-12-17 18:08 GMT-02:00 Jonathan Wilkes jancs...@yahoo.com:
 
 
 Who is going to replace Hans?
 
 Here's an incomplete list of the responsibilities such a person would have:
 * all the technical responsibilities of maintaining releasing software 
 (whether that software is a collection of libraries or a full distro of Pd, 
 the work required is still comparable)
 * maintaining the abandoned libs that users still need
 * responding to requests from new developers in a timely manner
 * being a leader.  For example, when someone asks a question whether doing X 
 is feasible, you would give a clear and definitive answer based on where you 
 think the project should go
 * being a diplomat.  After someone has done the work you encouraged them to 
 do and Miller says he wants to take another decade to think of a better 
 solution, you have to find a compromise that doesn't discourage the 
 development effort (and create yet another unmaintained lib or patch/plugin 
 for Vanilla)
 * generally encouraging development efforts of developers with various styles 
 of communication and expectations for the software
 * working with developers like me who have essentially given up on trying to 
 get improvements into Pd Vanilla.  (But I am happy to work with anyone 
 willing to do all this work)
 
 -Jonathan
 
 ___
 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 Virginia Tech cube for SEAMUS?

2014-10-22 Thread Jaime E Oliver
I was wondering about that same issue!

J


On Oct 22, 2014, at 12:37 PM, Miller Puckette m...@ucsd.edu wrote:

 Hi all -
 
 Looking at eh SEAMUS application info, I see that the 128-channel
 sound system is accessible from Max 6.1 and Supercollider but 
 apparently not Pd... is there some specific audio I/O capability that
 Pd doesn't have that's needed to make this possible?
 
 cheers
 Miller
 
 
 ___
 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] message box - text editing?

2014-09-28 Thread Jaime E Oliver

 I can't remember when that disappeared - years ago.
 
 i think it was lost during the gui-rewrite.
 (the argument being, that this feature was mainly useful for Copy-Paste which 
 - snce the rewrite - works within msg-boxes)

not really… you could open edit and close and you could do arrows up and down 
which you cannot do in message boxes. no need to copy in and out of pd which is 
more convenient.

miller's suggestion of updown keys working in msg boxes would solve it.

best,

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


[PD] message box - text editing?

2014-09-27 Thread Jaime E Oliver
Hi all, 

Whatever happened to the feature that let one edit message boxes as if with a 
text editor? I think I used to hit ctl+t in a message box and got a text 
editor-like window where you could move up and down rows and not only forward 
or backward one character at a time as with regular messages. Quite useful and 
haven't found it in a while. do i have the wrong command? or was this feature 
abandoned? (or never released?)

best,

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


Re: [PD] Ensuring the order of inlets/outlets in a subpatch

2014-08-22 Thread Jaime E Oliver
They are sorted based on location. My advice would be to pack all the arguments 
into a single message and then unpack them in the sub patch whenever possible.

best,

J


On Aug 22, 2014, at 12:36 PM, Bektur ph...@yandex.ru wrote:

 the leftmost inlet (outlet) is the 1, the right is 3, and the middle is 2.
 the best practive is to allign inle (outlet) from left to right.
 
 Thanks!
 
 I’m a bit confused here though, does the order in which I created 
 inlets/outlets matter? Or are they sorted only by left/right location within 
 the subpatch?
 
 Best regards,
 Bektur
 
 On Aug 22, 2014, at 10:31 PM, Cyrille Henry c...@chnry.net wrote:
 
 
 
 Le 22/08/2014 18:08, Bektur a écrit :
 Hello,
 
 I have a question about inlet/outlet order. Let’s say I have a subpatch 
 which accepts and outputs 3 signal inlets/outlets:
 
 in1~   in2~   in3~
  \ |   /
 [   pd subpatch   ]
  / |   \
 out1~  out2~  out~3
 
 
 How do I know which inlet within the subpatch would work with in1~, in2~ 
 and so on? What would be the best practice to ensure correct inlet/outlet 
 order?
 the leftmost inlet (outlet) is the 1, the right is 3, and the middle is 2.
 the best practive is to allign inle (outlet) from left to right.
 
 cheers
 c
 
 
 Best regards,
 Bektur
 ___
 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-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] Sending and receiving messages with a RaspPi

2014-07-19 Thread Jaime E Oliver via Pd-list
On Jul 19, 2014, at 3:34 AM, Simon Wise via Pd-list pd-list@lists.iem.at 
wrote:
 Maybe you have the laptop running audio and want several projections, or want 
 to use the GPIO features which are not available on a laptop. Pis are a 
 compact, cheap, low-power way to do this (if they are up to the task you have 
 in mind … 

Just continuing with that thread, what are the best ways to send and receive 
messages with a Pi via UDP or similar?

Is it possible to connect them with an ethernet cable directly without a router?

best,

J



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


Re: [PD] Cross platform path for externals ?

2014-06-29 Thread Jaime E Oliver via Pd-list
Thanks!

This is exactly what I was looking for...

J

On Jun 29, 2014, at 1:29 PM, Jonathan Wilkes via Pd-list pd-list@lists.iem.at 
wrote:

 canvas_open inside g_canvas.c

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


[PD] Pd Function to Create a File relative to canvas was: Cross platform path for externals ?

2014-06-29 Thread Jaime E Oliver via Pd-list
Hi all, 

Checking out  canvas_open inside g_canvas.c, I realize that this is a function 
to open a file that already exists, while what I am trying to do is write a 
file with a path that is relative to the canvas. I couldn't find something 
similar, such as canvas_write or such.

thanks again!

J


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


[PD] canvas_makefilename() returns error

2014-06-29 Thread Jaime E Oliver via Pd-list
Hi all, 

I am trying to use the canvas_makefilename() function in g_canvas.c

I am calling it like this: 

static void lilypond_write(t_lilypond *x, t_symbol *s) {
char buf[MAXPDSTRING];
canvas_makefilename(x-x_canvas, s-s_name, buf, MAXPDSTRING);
}

but when I send the object a message such as [write test.txt( or similar, I get:

error: consistency check failed: canvas_getenv
Bus error: 10

The method is set up like this:
class_addmethod(lilypond_class, (t_method)lilypond_write, 
gensym(write), A_SYMBOL, 0);

Anybody has any suggestion?

best,

J

PS Sorry for pestering everyone with this, but there is little documentation on 
some of the functions in Pd. Perhaps this thread belong in the Pd-Dev list?
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] canvas_makefilename() returns error

2014-06-29 Thread Jaime E Oliver via Pd-list
Yes, 

in the main struct x_canvas is created as:

t_canvas *x_canvas;

So, I think that is not the problem.

J



On Jun 29, 2014, at 8:00 PM, Jonathan Wilkes jancs...@yahoo.com wrote:

 Well, it expects a t_canvas *, so if you send it something else it will 
 trigger the error.
 
 -Jonathan
 
 
 On Sunday, June 29, 2014 8:47 PM, Jaime E Oliver via Pd-list 
 pd-list@lists.iem.at wrote:
 
 
 Hi all, 
 
 I am trying to use the canvas_makefilename() function in g_canvas.c
 
 I am calling it like this: 
 
 static void lilypond_write(t_lilypond *x, t_symbol *s) {
 char buf[MAXPDSTRING];
 canvas_makefilename(x-x_canvas, s-s_name, buf, MAXPDSTRING);
 }
 
 but when I send the object a message such as [write test.txt( or similar, I 
 get:
 
 error: consistency check failed: canvas_getenv
 Bus error: 10
 
 The method is set up like this:
 class_addmethod(lilypond_class, (t_method)lilypond_write, 
 gensym(write), A_SYMBOL, 0);
 
 Anybody has any suggestion?
 
 best,
 
 J
 
 PS Sorry for pestering everyone with this, but there is little documentation 
 on some of the functions in Pd. Perhaps this thread belong in the Pd-Dev list?
 ___
 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] canvas_makefilename() returns error

2014-06-29 Thread Jaime E Oliver via Pd-list
Ah, yes, I see now. 

I solved it by adding:

 x-x_canvas = canvas_getcurrent();

in _new

thanks!

J

On Jun 29, 2014, at 11:56 PM, Jonathan Wilkes jancs...@yahoo.com wrote:

 It's hard to say without seeing the code.
 
 Does x-x_canvas actually point to a canvas?  The error seems to be telling 
 you it isn't.
 
 (Consistency check errors come from the bug() function.  Generally they occur 
 when an argument, struct, or struct field is checked for existence and fails 
 that check.)
 
 -Jonathan
 On Sunday, June 29, 2014 9:25 PM, Jaime E Oliver jaime.oliv...@gmail.com 
 wrote:
 
 
 Yes, 
 
 in the main struct x_canvas is created as:
 
 t_canvas *x_canvas;
 
 So, I think that is not the problem.
 
 J
 
 
 
 
 
 On Jun 29, 2014, at 8:00 PM, Jonathan Wilkes jancs...@yahoo.com wrote:
 
 Well, it expects a t_canvas *, so if you send it something else it will 
 trigger the error.
 
 -Jonathan
 
 
 On Sunday, June 29, 2014 8:47 PM, Jaime E Oliver via Pd-list 
 pd-list@lists.iem.at wrote:
 
 
 Hi all, 
 
 I am trying to use the canvas_makefilename() function in g_canvas.c
 
 I am calling it like this: 
 
 static void lilypond_write(t_lilypond *x, t_symbol *s) {
 char buf[MAXPDSTRING];
 canvas_makefilename(x-x_canvas, s-s_name, buf, MAXPDSTRING);
 }
 
 but when I send the object a message such as [write test.txt( or similar, I 
 get:
 
 error: consistency check failed: canvas_getenv
 Bus error: 10
 
 The method is set up like this:
 class_addmethod(lilypond_class, (t_method)lilypond_write, 
 gensym(write), A_SYMBOL, 0);
 
 Anybody has any suggestion?
 
 best,
 
 J
 
 PS Sorry for pestering everyone with this, but there is little documentation 
 on some of the functions in Pd. Perhaps this thread belong in the Pd-Dev 
 list?
 ___
 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 Function to Create a File relative to canvas was: Cross platform path for externals ?

2014-06-29 Thread Jaime E Oliver via Pd-list
Yes, exactly, thanks for this!
best,
J


On Jun 30, 2014, at 12:40 AM, Miller Puckette m...@ucsd.edu wrote:

 You probably want to call  canvas_makefilename(), supplying the owning canvas,
 not a new one.  YOu can get the owning canvas using canvas_getcurrent(), 
 but only when the object is being created (the information is not kept so
 your object needs to keep it itself).  For a simple example, search
 pd/extra/bink~/bonk~.c for x-x_canvas - it gets intialized in the new()
 methnd and used both to create and read files.
 
 cheers
 Miller
 
 On Sun, Jun 29, 2014 at 05:49:23PM -0500, Jaime E Oliver via Pd-list wrote:
 Hi all, 
 
 Checking out  canvas_open inside g_canvas.c, I realize that this is a 
 function to open a file that already exists, while what I am trying to do is 
 write a file with a path that is relative to the canvas. I couldn't find 
 something similar, such as canvas_write or such.
 
 thanks again!
 
 J
 
 
 ___
 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-announce] GPIO External for RPi based on WiringPi

2014-06-28 Thread Jaime E Oliver via Pd-list
Indeed variety is a thing to celebrate, but I think miller's gpio is not 
calling wiring pi's c functions. this is actually why I made this external 
since I was using that one. maybe I'm wrong?

J


On Jun 27, 2014, at 10:13 PM, Ivica Ico Bukvic via Pd-list 
pd-list@lists.iem.at wrote:

 Congrats! Gotta love FOSS and the variety of options it offers :-)
  
 There are several implementations of this, including Miller’s gpio, and 
 pd-l2ork’s disis_spi and disis_gpio (which are also compatible with 
 pd-vanilla). disis_spi gives you 8 channels of mcp3008 connectivity, and 
 disis_gpio gives you all the GPIO functionality from wiringpi, including both 
 hw and sw pwm and the ability to side-step wiringpi’s dubious requirement to 
 exit the program if an error is encountered. They build automatically for 
 Raspberry Pi builds of pd-l2ork (./tar_em_up.sh –R), but can be also built 
 manually by going into git_mirrored_folder/l2ork_addons/raspberry_pi 
 folder. These will be presented at NIME early next week. Cheers!
  
 From: Pd-announce [mailto:pd-announce-boun...@mail.iem.at] On Behalf Of Jaime 
 E Oliver via Pd-announce
 Sent: Friday, June 27, 2014 9:34 PM
 To: pd-annou...@iem.at; PDlist List
 Subject: [PD-announce] GPIO External for RPi based on WiringPi
  
 Hi all, 
  
 I've recently made this external to access the GPIO and the mcp3008 (or 
 mcp3004) chip in the raspberry pi. They are standalone externals based on 
 WiringPi (http://wiringpi.com/). Everything is in C so they should be 
 reasonably fast.
  
 To get the code, binaries and help files go to:
 http://nyu-waverlylabs.org/rpi-gpio/
  
 All best,
  
 J
 ___
 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] Cross platform path for externals ?

2014-06-27 Thread Jaime E Oliver via Pd-list
Hi Everyone, 

I'm trying to get my head around this problem, and I am not sure the subject 
describes it well…:

In an external, I'm writing into a file with:

FILE *fp1;
fp1 = fopen(x-globalpath, w);

I provide the external with x-globalpath through a message such as open 
/home/user/filename.txt, but I am trying to find a path that would work on 
both os x and linux, so that it at least works in two platforms and my help 
file isn't platform specific.

In Linux, I call Pd from the console with pd and I send several relative 
paths like filename.txt , ~/filename.txt, or ./filename.txt work.

In OS X, If I call Pd from the Terminal, I can also use these relative paths. 
By relative i mean relative to the Pd executable (bin).

However, in OS X, when I double click on the Pd Icon, these same paths are not 
valid. I am trying to figure how textfile's write message does it, but I cannot 
locate the point in source where this is done.

Anybody has any pointers?

best,

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


Re: [PD] Running external software from within a Pd external

2014-06-18 Thread Jaime E Oliver via Pd-list
Thanks, I think i solved it using the system() function in C. 
If anyone knows a better way, let me know… 

best,

J


On Jun 18, 2014, at 12:09 PM, Jaime E Oliver jaime.oliv...@gmail.com wrote:

 Hi Py, 
 
 Thanks, convert-ly is used to update .ly files to different versions of 
 lilypond. But Lilypond can indeed be run from the shell.
 
 I guess my question is how to access the shell and run any executable from 
 within a pd external.
 
 thanks!
 
 J
 
 On Jun 18, 2014, at 7:28 AM, Py Fave via Pd-list pd-list@lists.iem.at wrote:
 
 [shell]  ?
 
 i found this :
 http://www.lilypond.org/doc/v2.19/Documentation/usage/command-line-options-for-convert_002dly
 
 ___
 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] exiting function in external

2014-06-17 Thread Jaime E Oliver via Pd-list
Hi all, 

I am writing a long and complex external. 

There are several conditions in which a particular function could fail and in 
any of those cases I'd like to report the error and stop the execution of the 
function.

I tried using the exit() function, but that quits pd, and what I really need is 
for the function to simply stop.

Does pd have a function for doing this?

best,

J


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


Re: [PD] (test message)

2014-06-01 Thread Jaime E Oliver via Pd-list
great thanks all!

Wasn't sure @gmail.com was working …

J


On Jun 1, 2014, at 11:09 AM, Jaime E Oliver via Pd-list pd-l...@mail.iem.at 
wrote:

 Is the list working?
 
 J
 
 ___
 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