Re: [PD] PD on Raspbian

2014-03-19 Thread Pierre Massat
Hi,

I have never managed to get pd-extended to work properly on Raspbian. The
vanilla version available from the repos works better. You can then install
external libs if you need them.

Cheers,

Pierre.


2014-03-19 13:29 GMT+01:00 Christian Fischer m...@c-m-fischer.de:

 Hi everyone,

 two (beginner) questions regarding Pd-extended 0.43.3 on Rpi Raspbian
 Wheezy:

 - There is an I/O error message in the Pd window as there is only an audio
 out (but no in) on the Rpi. Just deactivating the inlet in Pd audio
 settings doesn't help. ALSA is used by default. What can be done to avoid
 error message? However sound out works fine.

 - When opening a new Pd window (ctrl+n), it pops up so high in the bottom
 left corner of the screen, that you can not see the menu anymore. Therefore
 the window is not moveable or usable. Used Pd already on various PCs and OS
 but this I have never experienced. What can be done?

 Thanks!
 christian
 ___
 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] [OT] Raspberry Pi Wolfson Audio Card

2014-03-18 Thread Pierre Massat
Hi,

I've been tried to reduce the size of my setup for a while now, hoping that
the RPi would be the solution. I'm definitely interested in your work.

Cheers,

Pierre.


2014-03-18 12:02 GMT+01:00 Winfried Ritsch rit...@iem.at:

 Am Donnerstag, 13. März 2014, 16:01:20 schrieb Rafael Vega:
  Anyone wants to share their experience with the BeagleBoneBlack?
 
 Yes.

 Since autumn, i am trying to set up an kit hardware+software with BBB for
 computer-musicians as stomp box, works quite well, after successfully
 installed it in a long term sound installation (headless):

 some points short:

 system:
  + BBB moved to Debian since this year (good)
  + USB Audio works fine und better now with kernel = 3.12
  + Network performance works better with kernel = 3.12
  - IO support doenst use device-tree overlays anymore on kernel  3.8
  + an iio-backend for Jack2 to use the internal AD's
in jack for processing sensor data in PD ;-)))  but tricky

 sound:

  + down to 10ms with PD and cheap 8 channel out, 2 in
USB soundcard Logilink 7.1(EUR 19.90)
  +  5ms with Logilink stereo USB (EUR 3,90)
  + success with audio-cape (stereo, but too expensive for the quality)
  - sound quality is normally as bad as on most notebooks, tablets and so on
  + but with a trick: filtered 5V supply for the USB-card not the USB power
it seems to get reasonable quality
(They have all the same chips like expensive USB cards: C-Media)

 I just made a blog on this, but it is not public only for intern usage, if
 anyone is interested in the IEM-embedded-Sound-Kit (doing some audio over
 ethernet stuff) i can make it open (after some polishing, especially the
 english) and release the PD-lib (GPIO,AD,I2C,... interfacing) for these
 devices.

 This dev's should also work for Cubie-boards, Wand-boards, UDOO and other
 arm
 based boards.

 mfg
  winfried

 PS: Maybe we can start an own thread on this.



  On Thu, Mar 13, 2014 at 3:11 PM, Brian Fay ovaltinevor...@gmail.com
 wrote:
   While I'm sure that Dan is right that the UDOO is the better choice for
   USB audio, I do have to say that I've had decent success using my
   Raspberry
   Pi as a guitar effects processor, with the Behringer UCG102 interface.
  
   There's definitely a lot of quirkiness to getting it running... for
   example ALSA gets in an infinite restart loop when attempting low
 latency
   on pd-extended, but vanilla starts up fine under the same settings. And
   then there's the fact that an issue in the kernel screws up USB audio
 on
   major distros like Raspbian.
  
   I'm using the Satellite CCRMA distro right now with much better
 success.
   So far I've got various delays, a looper, and a waveshaper distortion
   running within the same patch, at 20ms latency with very few
 noticeable
   dropouts. Parameters are adjustable with a QuNeo MIDI controller and
 with
   a
   button attached to the GPIO pins.
  
   The Pi is a bit more affordable than the UDOO boards, but then again I
 had
   to buy a powered USB hub. Ultimately for one audio input the Raspberry
 Pi
   could probably serve most purposes, while the UDOO is more likely to
 scale
   to bigger installations.
  
   ___
   Pd-list@iem.at mailing list
   UNSUBSCRIBE and account-management -
   http://lists.puredata.info/listinfo/pd-list

 --
 ---
 Ritsch, Winfried, Ao.Univ.Prof. Dipl.-Ing.
Institut 17 Elektronische Musik und Akustik
8010 Graz, Inffeldgasse 10/III
 E-Mail  rit...@iem.at
 Homepagehttp://iem.at/ritsch
 Mobil   ++436642439369
 ---


 ___
 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] Tannhauser Pure Data compiler

2014-03-17 Thread Pierre Massat
Not much information on either page...

Pierre.


2014-03-17 14:06 GMT+01:00 Simon Wise simonzw...@gmail.com:

 On 17/03/14 23:26, Ingo wrote:

 I just found out about the Tannhäuser Pure Data compiler.
 Does anybody know who makes it or where to get this compiler?

 Thanks!
 Ingo


 google took me here ...

 https://www.hackerleague.org/hackathons/automatic-music-
 hackathon/hacks/tannhauser-a-c-compiler-for-pure-data

 perhaps Martin Roth is your man

 https://www.hackerleague.org/users/mhroth



 ___
 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] using pd live (sans computer/laptop/raspberry pi)

2014-03-15 Thread Pierre Massat
Hi,

Just one thing about the output. I personnaly use an impedance matching
transformer between my soundcard's balanced output and my guitar amp, as
explained on this page (
http://guitarextended.wordpress.com/2011/12/07/guitar-and-amplifier/).
I made a difference in terms of level and perceived signal to noise ratio.

Cheers,

Pierre.


2014-03-15 6:26 GMT+01:00 Simon Wise simonzw...@gmail.com:

 On 15/03/14 09:56, Charles Z Henry wrote:

 On Fri, Mar 14, 2014 at 4:29 PM, Jonathan Wilkesjancs...@yahoo.com
  wrote:

 On 03/14/2014 03:44 PM, Dan Wilcox wrote:


 Without a computer, no. Without a desktop or laptop computer, yes.



 Well, maybe we could design and manufacture an enormous ASIC that runs
 libpd.

 -Jonathan


 I appreciate the spirit of that... but man, that would be one
 intimidating project.

 oh to have an infinite number of monkeys programming FPGAs


 ... hence the attraction of building on and adding to open source
 projects, or falling back on hardware that is at least open, programmable
 and accessible down to some level. These things are to big to do alone on
 most scales.


 Simon


 ___
 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] [OT] Raspberry Pi Wolfson Audio Card

2014-03-13 Thread Pierre Massat
Hey Dan,

Looks like the UDOO is much better indeed from what you recently posted
here. Could you tell us what latency you're achieving ? And which version
you're using (with or w/o wifi) ?

Cheers,

Pierre.


2014-03-13 0:49 GMT+01:00 Dan Wilcox danomat...@gmail.com:

 Ok for small projects, but you're not going to interface a real stage mic
 or guitar easily. Would be much better if the next pi version comes with an
 onboard usb controller, which is the main problem for usb audio on the
 current pi. For now, the UDOO is where it's at for that.

 On Mar 12, 2014, at 7:10 PM, pd-list-requ...@iem.at wrote:

 *From: *me.grimm megr...@gmail.com
 *Subject: **[PD] [OT] Raspberry Pi Wolfson Audio Card*
 *Date: *March 12, 2014 at 6:38:43 PM EDT
 *To: *pd_list Listserve pd-list@iem.at


 You all see this?


 http://www.element14.com/community/community/raspberry-pi/raspberry-pi-accessories/wolfson_pi

 what do you think?


 
 Dan Wilcox
 @danomatika
 danomatika.com
 robotcowboy.com






 ___
 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] arrays in GOP abstraction, show up in parent patch

2014-03-06 Thread Pierre Massat
Hi,

Just tested it and I get the same behaviour in the latest Pd-Vanilla, in
Windows 7.

Cheers,

Pierre.


2014-03-06 16:32 GMT+01:00 Jaime E Oliver jaime.oliv...@gmail.com:

 Hi all,

 The title says it all,

 I have some arrays in abstractions and any new value input into the array
 is also graphed in the parent patch. This happens in OS X 10.8.5 w/latest
 pd. It does not happen with 0.42-5.

 testing patch attached.

 best,

 J


 ___
 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] Data structures and click event

2014-03-05 Thread Pierre Massat
Dear list,

First of all i'd like to say that i'm very impressed by the potential of
data structures in Pd. I've always kind of ignored this feature and it's a
pity because it's really worth diving into it.
That being said I think that help and example patches are far from
sufficient for beginners, and if it wasn't for Chris McCormick's
s-abstractions I would have been able to really figure out how to use them
(stuff like how to make an entire polygon draggable, how to use GOP with
proper scaling, etc.).

I m now stuck with a question. How can I identify the element which was
just clicked ? I know that [struc] outputs the events, like click,
selection and change, but I thought I could identify individual elements by
their pointer id. It turns out that I get the same pointer for every
element, although I created them sequentially (using [append]).

(I guess something must be escaping me about pointers... I've noticed that
within the same template, I get different pointers for elements on
different y-levels, but the same pointer for all the element on the same
y-level regardless of their x.)

Cheers,

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


Re: [PD] Data structures and click event

2014-03-05 Thread Pierre Massat
Nevermind, it's working the way I expected, the y value was being output
and I thought that was the pointer's id.

Cheers,

Pierre.


2014-03-05 11:24 GMT+01:00 Pierre Massat pimas...@gmail.com:

 Dear list,

 First of all i'd like to say that i'm very impressed by the potential of
 data structures in Pd. I've always kind of ignored this feature and it's a
 pity because it's really worth diving into it.
 That being said I think that help and example patches are far from
 sufficient for beginners, and if it wasn't for Chris McCormick's
 s-abstractions I would have been able to really figure out how to use them
 (stuff like how to make an entire polygon draggable, how to use GOP with
 proper scaling, etc.).

 I m now stuck with a question. How can I identify the element which was
 just clicked ? I know that [struc] outputs the events, like click,
 selection and change, but I thought I could identify individual elements by
 their pointer id. It turns out that I get the same pointer for every
 element, although I created them sequentially (using [append]).

 (I guess something must be escaping me about pointers... I've noticed that
 within the same template, I get different pointers for elements on
 different y-levels, but the same pointer for all the element on the same
 y-level regardless of their x.)

 Cheers,

 Pierre

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


Re: [PD] Bugs in Pd-Extended in Ubuntu LTS

2014-03-05 Thread Pierre Massat
Hi,

Just a quick follow up on this topic. I have just compiled Miller's latest
version (0.45-4), and the bug that's crashing X is still there. This time I
managed to reproduce it somehow by creating an empty object to make a
subpatch and typing pd m (and bang it crashed). Same behaviour with the
same patch in pd-extended 0.43.4.
It's super annoying...

Cheers,

Pierre.


2014-02-25 23:16 GMT+01:00 Ivica Bukvic i...@vt.edu:

 Once pd-extended removes unnecessary dependency on pd-utils you will.
 Until then you will need to uninstall one and install the other.
 On Feb 25, 2014 4:54 PM, Pierre Massat pimas...@gmail.com wrote:

 Hi,
 Katja, I will try to check if this is a problem with pulse audio. I also
 have a jackdbus running even when applications supposed to use it are
 closed (Ardour and Pd in my case).

 Can I install pd-l2ork alongside pd-extended, or do I have to uninstall
 it first ?

 Pierre.


 2014-02-25 22:22 GMT+01:00 Ivica Bukvic i...@vt.edu:

 Guys, Can you check if pd-l2ork works OK and please report? We provide
 native Ubuntu builds (built for 12.04).
  On Feb 25, 2014 4:20 PM, katja katjavet...@gmail.com wrote:

 Hi Pierre,

 I'm on Xubuntu 12.04 with Pd-extended 0.44 and have experienced big
 troubles with Jack too. I only use Jack for complex routings like
 Skype to Pd or Kdenlive to Pd via PulseAudio+Jack. I got a lot of
 jackdbus-errors initially, and jack wouldn't restart. Don't know if
 it's the same issue which you're experiencing. Anyway, it seems that
 this was about jackd2 writing config files to different places, which
 can be out of sync under certain conditions. Not sure if this is a
 correct description but it is my interpretation. Looking at running
 processes in command htop, I always noticed a jackdbus processing
 still running when the dbus error was given. Killing the jackdbus
 process sometimes helped. But in the course of time I've somehow
 learned how to avoid it at all, by carefully considering the right
 order of operations when starting processes. I have PulseAudio
 disabled by default, so I can start Jack first, then the Jack clients,
 of which PulseAudio may be one. Then eventually the PulseAudio
 clients. When killing processes, everything in reverse order. I don't
 like this hocus pocus, but well, I'm happy if it works at all. On
 Kubuntu I couldn't get PulseAudio to cooperate with Jack.

 Katja

 On Tue, Feb 25, 2014 at 9:33 PM, Pierre Massat pimas...@gmail.com
 wrote:
  I just checked again and to to sum up I have three problems :
  - errors with JACK (and instability),
  - X crashes sometimes when typing stuff in an object box,
  - and Alsa throwing this error in the console : ALSA output error
 (restart
  failed): Broken pipe (though the sound does work).
 
  Pierre.
 
 
  2014-02-25 21:23 GMT+01:00 Cyrille Henry c...@chnry.net:
 
 
 
  Le 25/02/2014 21:03, Roman Haefeli a écrit :
 
  On Die, 2014-02-25 at 19:50 +0100, Pierre Massat wrote:
 
 
  I have installed Pd-extended from the Ubuntu repos. It seems to be
 the
  same version as the one available on puredata.info (0.43.4).
 
 
  I am pretty sure there is no package called 'pd-extended' in the
 Ubuntu
  repositories. Probably you got it from Hans' ppa or from
  apt.puredata.info?
 
  Also, is your Ubuntu 12.04 up-to-date? Your bug description sounds
 like
  an intel driver bug in 13.04 or 13.10 that has been discussed a lot
 on
  this list. I thought this bug has been fixed for quite a while.
 
  i still have some problem. (i'm on 13.10). X can crash specially if
 i have
  object that are not created on the patch.
  c
 
 
 
 
 
  Roman
 
 
 
  ___
  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-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] Pd as sound editor (issue with scrolling a table) ??

2014-03-04 Thread Pierre Massat
Wow, your patch is impressive, i'd missed that. I've looked at maelstrom's
editor as well. Both will be nice things to study.
i think i'll stick to data structures though because what i need is
something to record and edit discrete events, not an audio signal. I don't
think i have to use tables at all finally.


2014-03-04 12:12 GMT+01:00 i go bananas hard@gmail.com:

 just for interest perhaps, here's the sound editor i made years ago:

 http://puredata.hurleur.com/sujet-1295-sound-editor

 and probably even more interesting, here is maelstorm's wave display
 abstraction:

 http://puredata.hurleur.com/sujet-5890-waveform-display



 basically, what maelstorm discovered was that using [until] with a counter
 was not nearly fast enough to do the calculations needed for a decent
 zoom/scroll function, and we looked into it, and there just didn't seem to
 be a vanilla workaround.  So he uses iem_tab objects to do the table
 calculations.


 On Tue, Mar 4, 2014 at 7:26 AM, Jonathan Wilkes jancs...@yahoo.comwrote:

  On 03/03/2014 01:32 PM, Pierre Massat wrote:

  I've looked seriously at data structures for the first time, and saw
 what Chris McCormick did with them, and I believe this is the way to go !


 But you can't get notifications for mouseover or right-click events.  You
 also cannot get transparency or control the z-order among multiple
 scalars.  Nor scale or zoom without creating another complex and slow
 wrapper on top of data structures.

 Don't get me wrong-- you can do interesting things with scalars, and you
 can build a wave-editor that looks quite advanced compared to what a GUI in
 Pd typically looks like.  But you cannot get anything that looks remotely
 like a modern or even decade-old commercial wave-editor.

 So I'd rather the documentation didn't send people searching around the
 corners of the software for features that don't exist.

 -Jonathan



  Cheers,

 Pierre.


 2014-03-03 8:44 GMT+01:00 Billy Stiltner billy.stilt...@gmail.com:

  seems like there was something about the way i made the wave editor
 that worked,i  never tried overflowing the the things and my method is a
 hack of the pd file @xensynth and the lfo editor, otherwise holler at Mike
 Booth ala mmb.


 https://archive.org/search.php?query=uploader%3A%22billy.stiltner%40gmail.com%22sort=-publicdate


 On Mon, Mar 3, 2014 at 2:34 AM, Pierre Massat pimas...@gmail.comwrote:

   Hi Jonathan,

  I found it following this path : help for [tabwrite] -- More_Info --
 all_about_arrays -- Common uses for arrays in Pd
  Bummer, I thought somebody would come up with a secret table
 manipulation technique that would make this statement true...

  Cheers,

 Pierre.


 2014-03-02 19:33 GMT+01:00 Jonathan Wilkes jancs...@yahoo.com:

From that help patch:
 #X text 12 115 HELP_PATCH_AUTHORS Updated for Pd 0.38-2. Jonathan
 Wilkes
 revised the patch to conform to the PDDP template for Pd version 0.42.

 I did the refactoring of that patch, but I'm not sure who wrote what
 you're quoting.

 I'd say that statement is false and should be removed.

 -Jonathan


On Sunday, March 2, 2014 10:47 AM, Pierre Massat 
 pimas...@gmail.com wrote:
 Dear list,

 I am working on a small patch which stores simple events in a table to
 trigger sounds later on.
  I would like to be able to edit the content of my table easily, which
 requires scrolling it, zooming in, and eventually editing the content.

  I have found away of scrolling the content, but it is very slow with
 relatively big tables (hem, even with a table with 20 000 samples...).
 Please see the example attached.

  I have 2 questions :
  1) Is there a more efficient way of doing this ? Copying only part of
 the content is worse (i've tried).
  2) Can I prevent the content of the table from spilling over the
 table to right of the left ? I get the same behaviour in a GOP, and 
 putting
 a canvas next to the table to cover it doesn't work because the table
 content gets redrawn on top of it.

  This leads me to a more general question about something i've found
 in the help :
 5 Wave editing: with proper manipulation of array data, Pd can be
 fully functional wave editor, complete with mouse-clickable cut-n-paste,
 pitch-shift, time expansion, down/upsampling, and other tools typically
 found in commercial wave editors.
  This has always sounded very appealing to me, but i wonder how
 realistic this statement is... unless i'm ignoring 80 % of what can be 
 done
 with tables in Pd.

  Cheers,

 Pierre.

  ___
 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

Re: [PD] Pd as sound editor (issue with scrolling a table) ??

2014-03-03 Thread Pierre Massat
I've looked seriously at data structures for the first time, and saw what
Chris McCormick did with them, and I believe this is the way to go !

Cheers,

Pierre.


2014-03-03 8:44 GMT+01:00 Billy Stiltner billy.stilt...@gmail.com:

 seems like there was something about the way i made the wave editor that
 worked,i  never tried overflowing the the things and my method is a hack of
 the pd file @xensynth and the lfo editor, otherwise holler at Mike Booth
 ala mmb.


 https://archive.org/search.php?query=uploader%3A%22billy.stiltner%40gmail.com%22sort=-publicdate


 On Mon, Mar 3, 2014 at 2:34 AM, Pierre Massat pimas...@gmail.com wrote:

 Hi Jonathan,

 I found it following this path : help for [tabwrite] -- More_Info --
 all_about_arrays -- Common uses for arrays in Pd
 Bummer, I thought somebody would come up with a secret table manipulation
 technique that would make this statement true...

 Cheers,

 Pierre.


 2014-03-02 19:33 GMT+01:00 Jonathan Wilkes jancs...@yahoo.com:

  From that help patch:
 #X text 12 115 HELP_PATCH_AUTHORS Updated for Pd 0.38-2. Jonathan Wilkes
 revised the patch to conform to the PDDP template for Pd version 0.42.

 I did the refactoring of that patch, but I'm not sure who wrote what
 you're quoting.

 I'd say that statement is false and should be removed.

 -Jonathan


On Sunday, March 2, 2014 10:47 AM, Pierre Massat pimas...@gmail.com
 wrote:
   Dear list,

 I am working on a small patch which stores simple events in a table to
 trigger sounds later on.
 I would like to be able to edit the content of my table easily, which
 requires scrolling it, zooming in, and eventually editing the content.

 I have found away of scrolling the content, but it is very slow with
 relatively big tables (hem, even with a table with 20 000 samples...).
 Please see the example attached.

 I have 2 questions :
 1) Is there a more efficient way of doing this ? Copying only part of
 the content is worse (i've tried).
 2) Can I prevent the content of the table from spilling over the table
 to right of the left ? I get the same behaviour in a GOP, and putting a
 canvas next to the table to cover it doesn't work because the table content
 gets redrawn on top of it.

 This leads me to a more general question about something i've found in
 the help :
 5 Wave editing: with proper manipulation of array data, Pd can be fully
 functional wave editor, complete with mouse-clickable cut-n-paste,
 pitch-shift, time expansion, down/upsampling, and other tools typically
 found in commercial wave editors.
 This has always sounded very appealing to me, but i wonder how realistic
 this statement is... unless i'm ignoring 80 % of what can be done with
 tables in Pd.

 Cheers,

 Pierre.

 ___
 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


Re: [PD] Pd as sound editor (issue with scrolling a table) ??

2014-03-02 Thread Pierre Massat
Hi Jonathan,

I found it following this path : help for [tabwrite] -- More_Info --
all_about_arrays -- Common uses for arrays in Pd
Bummer, I thought somebody would come up with a secret table manipulation
technique that would make this statement true...

Cheers,

Pierre.


2014-03-02 19:33 GMT+01:00 Jonathan Wilkes jancs...@yahoo.com:

 From that help patch:
 #X text 12 115 HELP_PATCH_AUTHORS Updated for Pd 0.38-2. Jonathan Wilkes
 revised the patch to conform to the PDDP template for Pd version 0.42.

 I did the refactoring of that patch, but I'm not sure who wrote what
 you're quoting.

 I'd say that statement is false and should be removed.

 -Jonathan


   On Sunday, March 2, 2014 10:47 AM, Pierre Massat pimas...@gmail.com
 wrote:
  Dear list,

 I am working on a small patch which stores simple events in a table to
 trigger sounds later on.
 I would like to be able to edit the content of my table easily, which
 requires scrolling it, zooming in, and eventually editing the content.

 I have found away of scrolling the content, but it is very slow with
 relatively big tables (hem, even with a table with 20 000 samples...).
 Please see the example attached.

 I have 2 questions :
 1) Is there a more efficient way of doing this ? Copying only part of the
 content is worse (i've tried).
 2) Can I prevent the content of the table from spilling over the table to
 right of the left ? I get the same behaviour in a GOP, and putting a canvas
 next to the table to cover it doesn't work because the table content gets
 redrawn on top of it.

 This leads me to a more general question about something i've found in the
 help :
 5 Wave editing: with proper manipulation of array data, Pd can be fully
 functional wave editor, complete with mouse-clickable cut-n-paste,
 pitch-shift, time expansion, down/upsampling, and other tools typically
 found in commercial wave editors.
 This has always sounded very appealing to me, but i wonder how realistic
 this statement is... unless i'm ignoring 80 % of what can be done with
 tables in Pd.

 Cheers,

 Pierre.

 ___
 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] Bugs in Pd-Extended in Ubuntu LTS

2014-02-26 Thread Pierre Massat
Hi Roman,

Good point about the permissions, i'll check that.

I don't need to know where I installed pd-extended from (I'm too young to
suffer from dementia). I said it's there in the Ubuntu repos because this
is where I got it (not from puredata.info or anywhere else, and certainly
not from a manually downloaded archive).

Cheers,

Pierre.


2014-02-26 9:15 GMT+01:00 Roman Haefeli reduz...@gmail.com:

 On Tue, 2014-02-25 at 21:11 +0100, Pierre Massat wrote:
  Hi all,
 
  Thanks for your replies. I get the same error message in the console
  about JACK, regardless of whether I start it before Pd or not. The
  sound works though most of the time.

 This error indicates, that you didn't set the necessary permissions for
 real-time setup:

 JACKerror: Cannot use real-time scheduling (RR/55)(1: Operation not
 permitted

 Don't know, if this guide is still up-to-date, but I usually could make
 it work with it:
 https://help.ubuntu.com/community/UbuntuStudioPreparation#Real-Time_Support


  There is a package in the Ubuntu repos for pd-extended. It's called
  Pure Data with patches and a large collection of externals in the
  Ubuntu software Center.

 Software Center shows you everything that is currently installed. To
 know where you got your package from, do this in a terminal:

 $ apt-cache policy pd-extended

 If you only see a line like:

   100 /var/lib/dpkg/status

 and no actual source line, this means you installed the package from a
 downloaded deb-archive.


  My Ubuntu is up to date (last update last week-end I believe). Could
  it be that it was fixed in 13.04 but not in the older LTS version ?

 Sorry, I was wrong about that, according to Cyrille.


 Roman



 ___
 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] Bugs in Pd-Extended in Ubuntu LTS

2014-02-26 Thread Pierre Massat
I might have indeed added other sources, so Roman and IOhannes are probably
right.
Still, knowing that doesn't really solve my problems, does it ?
I will try what Katja suggests regarding rt priorities. Hopefully that will
fix the errors I get with JACK (problem one of 3).

Cheers,

Pierre.


2014-02-26 10:00 GMT+01:00 IOhannes m zmoelnig zmoel...@iem.at:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256

 On 2014-02-26 09:40, Pierre Massat wrote:
  I don't need to know where I installed pd-extended from (I'm too
  young to suffer from dementia). I said it's there in the Ubuntu
  repos because this is where I got it (not from puredata.info
  http://puredata.info or anywhere else, and certainly not from a
  manually downloaded archive).

 afaik, there is *no* pd-extended package in ubuntu (proper), check [1].

 most likely you added apt.puredata.info to your sources (e.g. as
 described in [2]), and then simply installed pd-extended via the
 software-center, like any other package (without manually downloading it).

 fg,adsr
 IOhannes




 [1] http://packages.ubuntu.com/pd-extended
 [2] http://puredata.info/docs/faq/debian/
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1
 Comment: Using GnuPG with Icedove - http://www.enigmail.net/

 iQIcBAEBCAAGBQJTDa1JAAoJELZQGcR/ejb4sMUP/RfLa3OjspXtgR3Tl74gJNyz
 Zn9WqIbqfrRMijfJIzVcSbzicAA7rCVvZ6DciIsnpi5gNEKxl+9PJPuKar1rPN5e
 lAuYpQicCtyG8s134sSWhJpNoOHkbrNnyPAlYTZc3qPAdIG7uF9BAmB98Cb4ByFR
 G8h0s1k1J7fxXVzx0UBBrce/B0b2EfVUCj4Z5o7MDDcJx756gkcx0Ptu5CsECmUH
 xCE9bx0sQfyx0UP9eT6+MC6+nx5BgwNMrl458ZX9i5XdQzRem4lrrpyB3CYtlvD5
 SjYR7oDnQwmSq12TRnlj19wtTJTmlFM/g5JAotlmsby5UXHDVxsQ2c+r3ec5GACj
 C482rBxEDxA1vDOE/eR9mTPYyJeenw4lhKxppB9kdY/Xcgc5Ou7iqyXJBfY64qnx
 prt7e+JZWsOyTBA28LRluQ+uTekxfj5pZS9SEguDHO+XH/5HFLfq5R2Svo8Dy9hU
 3r6NrAiF5uzs3p6G26ScXkke1OnNEwIhSmweZi0e6TMv0+eHBeTGfSoXV2UnVpXP
 taWouUJD1li6fEqu7GhsZ+UxW0CSV45OG1KYUOJzlEFApjHLjWFdZ+H0MQKhTUVF
 sLHjN4VtXR+cOOq7nadpyWEmE531LlWmPQijIFndUZa4SKwjl9WiIv9wz9gA5oa+
 1/6CBuMqulniISL5aiga
 =R7QF
 -END PGP SIGNATURE-

 ___
 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] Bugs in Pd-Extended in Ubuntu LTS

2014-02-25 Thread Pierre Massat
Dear list,

I've been using Pd-extended in Ubuntu LTS (12.04) a lot lately, and a
couple of bugs are beginning to get on my nerves...
first it randomly crashes and also crashes X (i get a black screen, and
after a few seconds i'm prompted for my password to log into my session
again), whenever I'm typing something in an object box (i haven't been able
to figure out exaclty what character was causing this, it really looks
random to me).
I also get constant error messages in the console when using JACK
(JACKerror: Cannot use real-time scheduling (RR/55)(1: Operation not
permitted)
JACKerror: JackClient::AcquireSelfRealTime error). The sound works
sometimes though, but Pd also freezes every once in a while. I also get
error messages with Alsa.

I have installed Pd-extended from the Ubuntu repos. It seems to be the same
version as the one available on puredata.info (0.43.4).

I don't know what to do.

Cheers,

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


Re: [PD] Bugs in Pd-Extended in Ubuntu LTS

2014-02-25 Thread Pierre Massat
Hi all,

Thanks for your replies. I get the same error message in the console about
JACK, regardless of whether I start it before Pd or not. The sound works
though most of the time.

There is a package in the Ubuntu repos for pd-extended. It's called Pure
Data with patches and a large collection of externals in the Ubuntu
software Center. My Ubuntu is up to date (last update last week-end I
believe). Could it be that it was fixed in 13.04 but not in the older LTS
version ?

Pierre.


2014-02-25 21:03 GMT+01:00 Roman Haefeli reduz...@gmail.com:

 On Die, 2014-02-25 at 19:50 +0100, Pierre Massat wrote:


  I have installed Pd-extended from the Ubuntu repos. It seems to be the
  same version as the one available on puredata.info (0.43.4).

 I am pretty sure there is no package called 'pd-extended' in the Ubuntu
 repositories. Probably you got it from Hans' ppa or from
 apt.puredata.info?

 Also, is your Ubuntu 12.04 up-to-date? Your bug description sounds like
 an intel driver bug in 13.04 or 13.10 that has been discussed a lot on
 this list. I thought this bug has been fixed for quite a while.


 Roman



 ___
 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] Bugs in Pd-Extended in Ubuntu LTS

2014-02-25 Thread Pierre Massat
I just checked again and to to sum up I have three problems :
- errors with JACK (and instability),
- X crashes sometimes when typing stuff in an object box,
- and Alsa throwing this error in the console : ALSA output error (restart
failed): Broken pipe (though the sound does work).

Pierre.


2014-02-25 21:23 GMT+01:00 Cyrille Henry c...@chnry.net:



 Le 25/02/2014 21:03, Roman Haefeli a écrit :

  On Die, 2014-02-25 at 19:50 +0100, Pierre Massat wrote:


  I have installed Pd-extended from the Ubuntu repos. It seems to be the
 same version as the one available on puredata.info (0.43.4).


 I am pretty sure there is no package called 'pd-extended' in the Ubuntu
 repositories. Probably you got it from Hans' ppa or from
 apt.puredata.info?

 Also, is your Ubuntu 12.04 up-to-date? Your bug description sounds like
 an intel driver bug in 13.04 or 13.10 that has been discussed a lot on
 this list. I thought this bug has been fixed for quite a while.

 i still have some problem. (i'm on 13.10). X can crash specially if i have
 object that are not created on the patch.
 c





 Roman



 ___
 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


Re: [PD] [OT] invitation to take part in research study

2014-01-21 Thread Pierre Massat
Hey,

How long does it take to respond to it ?

Cheers,

Pierre.


2014/1/21 Pedro Ângelo pang...@void.io

 Dear friends,

 I apologise in advance for any duplicate copies of this email you might
 receive.

 As part of my PHD research on heterogeneous systems and creativity I'm
 running an online questionnaire about the needs and work practices of
 artists and creatives who develop technology-based projects with a special
 focus on interactive systems as those used in art installations and live
 performance:

 http://goo.gl/PLTMRd

 I would like to kindly ask for your help with this work, both by
 responding to the questionnaire and by spreading the word about it to
 people and collectives you feel might have an interesting contribution to
 this effort.

 If you'd like to have a bit more info about it, I've also written a small
 blog post outlining the context and motivation for this study:

 http://dataflower.org/blog/collaborative-practices-in-creative-computing/

 Thank you very much for your help.

 Best regards,

 Pedro Ângelo.

 ___
 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] [plugin~] on the pi ?

2014-01-05 Thread Pierre Massat
Dear all,

I'm trying to get [plugin~] to work on Raspbian, to no avail. I have
downloaded and extracted the archive for the Pd community site, install
some plugins (TAP) and ladspa-dsk, and set up the LADSPA_PATH environment
variable manually in ~/.bashrc (it wasn't set automatically).

Pd can't seem to create the [plugin~] object, even though i have added a
reference to the folder i extracted in the Pd path.

Any idea what's going on ? Do I need to recompile it on Raspbian ?

Cheers,

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


Re: [PD] Auto-detect Arduino Board

2013-12-18 Thread Pierre Massat
Hi,
I made something similar a while ago, that loops through a range of port
numbers until the device is recognized as having firmata on it.
I believe it was pretty fast, and maybe a little simpler than your example.
I don't know of any other way to do this.

Cheers,

Pierre.


2013/12/17 Jérôme Abel abel.jer...@free.fr

 Previously subject : get console messages for Arduino

 In attachment, my solution to detect automatically an Arduino Board with
 Firmata.
 I wonder if we could get the device name of the console output, it would
 be easier to detect...
 Any suggestions ?

 Thanks,

 Jerome

 ___
 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] audio output AND input with the Rpi?

2013-10-31 Thread Pierre Massat
Dear all,

I just took a quick look at the page on puredata.info and noticed that my
soundcard (E-mu 0404 USB) is mentioned as apparently [working]. For
clarity's sake i think it would be good to modify the page a bit so that
it's mentioned in the working soundcards. It's fully functional as far as i
can tell (it works in duplex at 44100 Hz with one input) and has been since
the beginning on the RPi without any slowing down of the USB speed. I can
even prove it with a video (http://www.youtube.com/watch?v=NwJNeouLqgQ) !
Problem is, i don't know how to edit the page...

Cheers,

Pierre.


2013/10/31 Julian Brooks jbee...@gmail.com

 Hi Chris,

 I think Theron's covered most of it.

 The Behringer 222 is on the list of working devices compiled here:
 http://puredata.info/docs/raspberry-pi
 so hopefully that one should be doable, and my memory is that Andy Farnell
 has been running Turtle Beach cards during some of his workshops - stuck in
 my mind 'cos I had a Turtle Beach, old school chuckle to myself.

 If you do get them running (or not for that matter) it'd be great if you
 added your experience to the wiki page.

 For some more audio rpi tips and tweaks I heartily recommend this page:
 http://wiki.linuxaudio.org/wiki/raspberrypi
 and there's some more (related) good stuff here
 http://www.raspberrypi.org/phpBB3/viewtopic.php?p=286064#p286064

 Plus of course there's a whole heap of stuff in the pd-list archives
 (search raspberry or rpi).

 Regards,

 Julian


 On 30 October 2013 00:58, Theron Trowbridge 
 theron.trowbri...@gmail.comwrote:

 There's good info on http://puredata.info/docs/raspberry-pi covering
 this, if you haven't seen it.

 There seem to be a limited number of interfaces that work.  And some
 people have to slow down the USB port to get clean audio (myself included,
 using the iMic (
 http://www.amazon.com/Griffin-Technology-iMic-Audio-Device/dp/B000BVV2IC).
  And I have to use a wireless keyboard/mouse if I'm not connecting via ssh (
 http://www.amazon.com/gp/product/B004KSQANO/).  It's not ideal, and a
 little annoying that the accessories are more than the cost of the
 Raspberry Pi.  But it works.

 The USB port is slowed down by adding dwc_otg.speed=1 to
 /boot/cmdline.txt


 -Theron
 ^



 On Tue, Oct 29, 2013 at 12:03 AM, s p seb...@gmail.com wrote:

 Same here ... I tried with 2 different usb interfaces, and I got no
 luck. In both cases I got some sound input, but there is a lot of popping
 sounds.


 2013/10/28 Chris Jack christopherdanielj...@gmail.com

  Hey folks,

 Apologies as this post is not strictly about Pd, though Pd will be a
 crucial part of my final setup so whatever solution I find ought to work
 with Pd. Also, there is a chance the issue might lie with Pd. I just don't
 know.

 I'm looking for a usb bus-powered audio interface for the Rpi that can
 take a stereo input and provide stereo output *at the same time.*
 * *
 I have tried a couple different images and a couple different audio
 interfaces, to no avail. Perhaps there's something can be done with one of
 these setups to get it working?

 First, the Pd-LA custom Raspian (v1) image and Pd 43.2:

 ..with Behringer UCA202 (at 44100khz):

 Alsamixer picks the device up but the input section shows nothing.

 Pd (gui) audio preferences allows selection of the interface for both
 input and output. Output only is lovely and clean but as soon as the device
 is selected for audio input the audio quality drops horrendously (vaguely
 recognisable from the original signal)..
 ..although what gives me hope is I CAN software monitor the input
 (poorly) in 'Test Audio and MIDI' with this arrangement.

 ..with Behringer UCA202 (at 48000khz):

 Output only in Pd is poor (beating and popping sound - possibly sounds
 like a samp rate conversion issue).
 When device is selected as Pd input software monitoring is possible and
 oddly, though the result is still poor, there is effectively no drop in
 quality from having the device selected only for output and the monitored
 signal sounds drastically better than at 44100khz.


 ..with Turtle Beach Amigo II* (at 44100):

 Alsamixer shows both input and output and allows to change gain of
 both.
 If plugged in from boot and only the output is selected in Pd it works
 but with a lot of jitter. Selecting the device for input too causes a
 further drop in audio quality although again I can software monitor the
 input in 'Test Audio and MIDI'
 If plugged in after boot the OS crashes.


 The Satellite CCRMA (operating via ssh) and Pd-extended:

 ..with Behringer UCA202 (at 44100 and 48000):

 Alsamixer picks the device up but again the input section shows nothing.

 If I have the device plugged in from boot then I get the same behaviour
 with it as I do in Pd vanilla on the Pd-LA Raspian image, ie. software
 input monitoring but at an extremely poor quality.

 If I don't plug the device in from boot I see it in Pd audio prefs but
 get this:

 ALSA input error (snd_pcm_open): No such 

Re: [PD] Weird bug in pd-extended and Ubuntu

2013-10-02 Thread Pierre Massat
Hi,
Thanks for the clue. Turns out that the fix you propose doesn't work for
the current LTS version of Ubuntu (which is 12.04), but i've found a fix
that seems to work (from this page in French).
For the record, in a real terminal (no X), type :

sudo service lightdm stop
sudo X -configure
sudo cp ~/xorg.conf.new /etc/X11/xorg.conf
sudo service lightdm start

Then edit /etc/X11/xorg.conf (sudo nano /etc/X11/xorg.conf for instance)
by writing intel as the Driver in the Device section.

Reboot, and it works (I haven't tested it thoroughly but at least I can now add

new objects to my patch).

Cheers,

Pierre.




2013/10/2 jwind w...@mikrokiko.de

 **
 had the same thing.
 try updating your repositories...

 see here:
 http://puredata.hurleur.com/sujet-9448-solved-crashes-server

 j ,.


 On 01.10.2013 22:01, Pierre Massat wrote:

Dear list,

  I m working on a patch in pd-extended 0.43.4, on a freshly installed
 Ubuntu 12 LTS. An Arduino Uno board is plugged into my machine.

  In the attached patch i've been getting very strange bugs :
  - one instance of [f ] wasn't working the way it should (a bang to its
 left inlet wouldn't output what had been fed to its right inlet), while the
 other was behaving fine.
  - And now I cannot create any new object. Ubuntu crashes (it logs out of
 my session) when i type the 4th letter in the object box.

  I also get the following message very often in the console :
 ALSA output error (restart failed): Broken pipe

  I'm very confused here.

  Pierre


 ___pd-l...@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


Re: [PD] Weird bug in pd-extended and Ubuntu

2013-10-02 Thread Pierre Massat
I installed JACK and the ALSA error disappeared (of course). Now I have
another error message from JACK, but the sound is working fine.

Cheers,
Pierre.


2013/10/2 Julian Brooks jbee...@gmail.com

 What about this one though:

 ALSA output error (restart failed): Broken pipe

 Never got to the bottom of it with my intel inbuilt soundcard on PdE
 (Debian). Noticeably doesn't happen with an external soundcard (in my
 experience anyway)


 On 2 October 2013 19:08, Pierre Massat pimas...@gmail.com wrote:

 Hi,
 Thanks for the clue. Turns out that the fix you propose doesn't work for
 the current LTS version of Ubuntu (which is 12.04), but i've found a fix
 that seems to work (from this page in French).
 For the record, in a real terminal (no X), type :

 sudo service lightdm stop
 sudo X -configure
 sudo cp ~/xorg.conf.new /etc/X11/xorg.conf
 sudo service lightdm start

 Then edit /etc/X11/xorg.conf (sudo nano /etc/X11/xorg.conf for instance)
 by writing intel as the Driver in the Device section.

 Reboot, and it works (I haven't tested it thoroughly but at least I can now 
 add

 new objects to my patch).

 Cheers,

 Pierre.




 2013/10/2 jwind w...@mikrokiko.de

 **
 had the same thing.
 try updating your repositories...

 see here:
 http://puredata.hurleur.com/sujet-9448-solved-crashes-server

 j ,.


 On 01.10.2013 22:01, Pierre Massat wrote:

Dear list,

  I m working on a patch in pd-extended 0.43.4, on a freshly installed
 Ubuntu 12 LTS. An Arduino Uno board is plugged into my machine.

  In the attached patch i've been getting very strange bugs :
  - one instance of [f ] wasn't working the way it should (a bang to its
 left inlet wouldn't output what had been fed to its right inlet), while the
 other was behaving fine.
  - And now I cannot create any new object. Ubuntu crashes (it logs out
 of my session) when i type the 4th letter in the object box.

  I also get the following message very often in the console :
 ALSA output error (restart failed): Broken pipe

  I'm very confused here.

  Pierre


 ___pd-l...@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-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] How to install Pd 0.45 on Linux ?

2013-09-16 Thread Pierre Massat
Hi,
Thank you both for your replies. I'll go Miller's way!

Cheers,

Pierre.


2013/9/15 Miller Puckette m...@ucsd.edu

 What I do:

 un-archive (makes a directory like /home/pi/pd-0.45-2)

 Invoke it as /home/pi/pd-0.45-2/bin/pd

 cheers
 Miller

 On Sun, Sep 15, 2013 at 11:53:29AM -0400, Jonathan Wilkes wrote:
  On 09/15/2013 11:10 AM, Pierre Massat wrote:
  Dear List,
  
  This is a very silly question. What do I have to do to install Pd
  vanilla in Linux (Raspbian) from the compiled archive available on
  Miller's site ? I don't know whether i need to run a command or
  just to copy the uncompressed folder somewhere.
 
  Just guessing:
  Something like sudo make install, either from the main directory
  or the /src directory
  (depending on how Miller actually compiled it).
 
  Best,
  Jonathan
 
  
  Thanks in advance!
  
  Pierre.
  
  
  ___
  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-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] How to install Pd 0.45 on Linux ?

2013-09-15 Thread Pierre Massat
Dear List,

This is a very silly question. What do I have to do to install Pd vanilla
in Linux (Raspbian) from the compiled archive available on Miller's site ?
I don't know whether i need to run a command or just to copy the
uncompressed folder somewhere.

Thanks in advance!

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


[PD] Read from and write to an array at once (?!?)

2013-08-03 Thread Pierre Massat
Dear list,

I feel very happy and pretty stupid at the same time. I've been trying to
make a simple sound-on-sound looper for a while now. I've search on the
web but i haven't any really convincing. Most what i've found was
complaints about the fact that it was difficult to achieve with tables, and
that delay lines couldn't be flushed.

Well, I just discovered that it was actually possible to read from and
write to the same array at the same time. I thought it was impossible (i'd
never even tried, to be honest). So here's my (probably stupid) question :
is this a feature ?
If it is that could probably explain why I didn't find much about loopers
in Pd, since it is very straightforward.

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


Re: [PD] Read from and write to an array at once (?!?)

2013-08-03 Thread Pierre Massat
Hi Claude,

This is exactly what i did, having made sure beforehand that my table size
is a multiple of 64. I didn't now it was that easy !

cheers,

Pierre.


2013/8/3 Claude Heiland-Allen cla...@mathr.co.uk

 On 03/08/13 17:11, Pierre Massat wrote:
  Well, I just discovered that it was actually possible to read from and
  write to the same array at the same time. I thought it was impossible
 (i'd
  never even tried, to be honest). So here's my (probably stupid) question
 :
  is this a feature ?

 Yes, it works fine due to the topological sort of the DSP graph into a
 DSP chain - but DSP is block-based, so be aware that each block is read
 as a whole before it is written - this probably only matters if you
 wanted to write to a different location for non-block-sized feedback
 effects.  Also you might have little glitchy issues when table length
 isn't an exact multiple of the block size.

 There are some examples of [tabreceive~]--stuff--[tabsend~] in the docs,
 probably in the FFT section of the manual.

 A simple looper might be a [tabplay~]--stuff--[tabwrite~] thing with the
 tabplay~ and tabwrite~ both triggered from the same source, and
 retriggerd by the tabplay~ done bang...

  If it is that could probably explain why I didn't find much about loopers
  in Pd, since it is very straightforward.


 Claude
 --
 http://mathr.co.uk


 ___
 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] Preferences weirdness in Pd 43.1 ( 2?) in RPi

2013-07-10 Thread Pierre Massat
Hi Julian,

[import] is installed, but doesn't work with some libraries. Adding the
name of the library explicitely in front of the object name doesn't solve
the issue either.
Thanks for the tip about the root user's preferences. I solved my problem
by launching pd as a regular user from rc.local (using su user-c 'pd...').
Cheers,

Pierre.


2013/7/9 Julian Brooks jbee...@gmail.com

 Hey Pierre,

 [import] isn't a vanilla object so may not be installed on the pi?  I
 think it's in the repo's though.

 When you start as root it has it's own version of.pdsettings so the
 preferences will be different.  To have matching settings between root and
 regular user just copy one of the .pdsettings to the other's home folder.

 Obviously not an ideal solution (ie dirty hack) but as long as your libs
 are in the search path [zexy/limiter~], for example, should always work.

 Regards,

 Julian


 On 7 July 2013 19:24, Pierre Massat pimas...@gmail.com wrote:

 Dear List,

 My Pi is finally working again with Pd, but i've noticed two strange
 things (strange to me) :
 - the libraries in the startup list simply won't load most of the time
 (zexy, cyclone, iemlib at least), although they were installed regularly in
 the extra folder. I have to add their folders to the Path list. Note that
 the [import] object doesn't work either for these libraries.
 - when launching Pd as root, the preferences I set as a normal use don't
 load. This is a bit strange to me, and I have no idea how to tell Pd to use
 the same .pdsettings file in both situations.

 Nothing that I couldn't get around, but the this is a bit frustating
 (especially the libraries thing).

 Cheers,

 Pierre.


 ___
 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] Fwd: Preferences weirdness in Pd 43.1 ( 2?) in RPi

2013-07-08 Thread Pierre Massat
Hi,

I again encountered some strange stuff with libraries and paths, this time
in Pd-extended 0.43.4 on windows.
Some libraries included in the extra folder just won't load (like pduino
for instance). Using [import pduino] does work though.
Also I can't add some paths, like  ...pd/docs/3.audio.examples (because i
need the reverb abstraction). Pd just won't save the path no matter what.

Cheers,

Pierre.

-- Forwarded message --
From: Pierre Massat pimas...@gmail.com
Date: 2013/7/7
Subject: Preferences weirdness in Pd 43.1 ( 2?) in RPi
To: pd-list pd-list@iem.at


Dear List,

My Pi is finally working again with Pd, but i've noticed two strange things
(strange to me) :
- the libraries in the startup list simply won't load most of the time
(zexy, cyclone, iemlib at least), although they were installed regularly in
the extra folder. I have to add their folders to the Path list. Note that
the [import] object doesn't work either for these libraries.
- when launching Pd as root, the preferences I set as a normal use don't
load. This is a bit strange to me, and I have no idea how to tell Pd to use
the same .pdsettings file in both situations.

Nothing that I couldn't get around, but the this is a bit frustating
(especially the libraries thing).

Cheers,

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


[PD] Preferences weirdness in Pd 43.1 ( 2?) in RPi

2013-07-07 Thread Pierre Massat
Dear List,

My Pi is finally working again with Pd, but i've noticed two strange things
(strange to me) :
- the libraries in the startup list simply won't load most of the time
(zexy, cyclone, iemlib at least), although they were installed regularly in
the extra folder. I have to add their folders to the Path list. Note that
the [import] object doesn't work either for these libraries.
- when launching Pd as root, the preferences I set as a normal use don't
load. This is a bit strange to me, and I have no idea how to tell Pd to use
the same .pdsettings file in both situations.

Nothing that I couldn't get around, but the this is a bit frustating
(especially the libraries thing).

Cheers,

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


Re: [PD] Sampler buffer?

2013-07-06 Thread Pierre Massat
Hi,
You can load all your samples when loading the patch in different tables,
and then dynamically set the table (sample) you want to read by sending
[set nameofthetable( to your tabread object. If you don't do that then
everytime you load a sample it takes a while to copy it to RAM before Pd
can read it, especially if the sample is long.

Pierre.



2013/7/6 FernandoG dataf...@gmail.com

 Hello

 I need to build a sampler patch for live performance where you can load
 lots of samplers. I actually use soundfiler and tabread but anytime i open
 a new file the sound is stoped, cut, by a moment. Is there any kind of
 buffer that let me choose and open samplers during the performance without
 this problem?

 Thanks a lot!
 f

 ___
 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] Raspberry Pi USB2 audio fixed (apparently)

2013-07-04 Thread Pierre Massat
OK.
For your information, pulseaudio doesn't come with the new version of
Raspbian apparently (I couldn't remove it cause it wasn't there !). No idea
why.
Pd seems to work a little bit with my soundcard, but after a couple of
seconds everything freezes. I'll try with no gui in the coming days.
Cheers,

Pierre.


2013/7/3 Julian Brooks jbee...@gmail.com


 'off Millers site' not 'of'

 And also another thing with the power supply.  Although 1a is supposed to
 be fine 2a actually works really well if you're driving any peripherals,
 giving plenty of overhead.

 J


 On 3 July 2013 14:31, Julian Brooks jbee...@gmail.com wrote:

 Hey Pierre,

 I've installed Pd from the pre-compiled version of Millers site, and most
 recently built it from source which took a bit more doing but Miller very
 kindly walked me through the tricky bits (thread in archives installing Pd
 from source on rpi should bring it right up).  The version from the repo's
 works just fine but I wanted to test out (though didn't end up making use
 of) [gpio] which requires 0.44 or later.

 I got the power supply from here:

 https://www.modmypi.com/5v-2A-modmypi-raspberry-pi-power-supply?filter_name=power%20supply

 The soundcard I've been using the most (ESI UDJ - thanks Antoine:) has no
 audio input so no good info on full duplex.  I've been messing around with
 the imic running duplex (with usb-slowdown) and had been getting reasonable
 results (10-12ms) but running pretty light patches.  Sorry can't be more
 precise as I haven't given this card as much attention.

 Regards,

 Julian



 On 3 July 2013 11:06, Pierre Massat pimas...@gmail.com wrote:

 Hi Julian,
 This Moebius distro looks very interesting. Can you please tell us how
 you installed Pd ? From the Raspbian repos ?
 Have you tried it with full duplex with your soundcard yet ? What
 latency are you getting (I can't get below 15 ms in Raspbian with some fft
 in my patch) ?

 Also is this think about the power supply true ? They mention it too on
 the Satellite CCRMA webpage. Where can I buy a power cable that outputs 5.2
 V ? I'm currently using a samsung smartphone charger.

 That's a lot of questions but you made me curious (and hopeful again) !

 Cheers,

 Pierre.


 2013/7/3 Julian Brooks jbee...@gmail.com

 I'm having good results from using a much leaner install - it's called
 Mobius:
 http://moebiuslinux.sourceforge.net/

 Obviously depends on your usage but I'm ssh'ing into the pi and works
 great.  The minimal install seems to help with overclocking too so I reckon
 I'm getting about another 35-40% out of the pi.

 The main project I've been working on has a pmpd patch that the regular
 raspbian wouldn't even run, on top of that I'm driving a couple of sensors
 (thanks Martin:), audio synthesis, got a reasonably complex quad
 spacialisation patch (thanks Lorenzo:) and is driving a 6 channel
 soundcard.  This is without the usb-slowdown option.

 Obviously it's pushing the Pi right up to the limit but it runs* 
 just*about stably.

 What I do think made a significant difference was switching the power
 cable to one that outputs 5.2v so by the time it gets to the pi it's a
 solid 5v.

 Julian


 On 3 July 2013 09:42, Dan Wilcox danomat...@gmail.com wrote:

 Yeah I tried that out a few months ago when we started the thread.
 Jack adds some unnecessary overhead in my opinion and I'm surprised that a
 device that should be more than capable to handle this is just not setup
 correctly. I'm running a minimal commandline install and pd + realtime 
 straight alsa should work great ... it has for me in the past.

 His jack setup basically uses *all* the cpu of the pi, so that cuts
 out the other parts of my setup altogether .. visual, device input, etc.
 Again, I was able to get good latency with a much lower resource machine
 (until it just wore out), so it *should* be possible.
 On Jul 3, 2013, at 4:35 AM, Julian Brooks jbee...@gmail.com wrote:

 Hey Dan,

 Jeremy (autostatic), who setup the 'rpi and low latency, real time
 audio' thread has a UA-25 and seems to have full duplex working with jack
 (this was before the recent tweaks as well):

 http://www.raspberrypi.org/phpBB3/viewtopic.php?p=286222sid=85c8b0a7cca69e35dcafaf58ff916eec#p286222

 Could be worth asking him?

 Julian


 On 3 July 2013 02:58, Dan Wilcox danomat...@gmail.com wrote:

 Yeah I tried the latest firmware with my Raspbian install and still
 have issues with my UA-25. Full stereo duplex = dropouts. :(

 On Jul 2, 2013, at 5:52 PM, pd-list-requ...@iem.at wrote:

 *From: *Pierre Massat pimas...@gmail.com
  *Subject: **Re: [PD] Raspberry Pi USB2 audio fixed (apparently)*
  *Date: *July 2, 2013 3:52:31 PM EDT
 *To: *Julian Brooks jbee...@gmail.com
  *Cc: *PD List pd-list@iem.at


  Hi all,

 I did a fresh install of Raspbian using the NOOBS installer. The
 pd-extended package from puredata.info doesn't work with my
 soundcard (it wasn't working before). And Pd vanilla installed from the
 Raspbian repositories

Re: [PD] Raspberry Pi USB2 audio fixed (apparently)

2013-07-03 Thread Pierre Massat
hi all,

@ Julian : no, I forgot to remove pulseaudio actually. I'll try what you
suggest today or tomorrow.

Cheers,
Pierre.


2013/7/3 Dan Wilcox danomat...@gmail.com

 Yeah I tried the latest firmware with my Raspbian install and still have
 issues with my UA-25. Full stereo duplex = dropouts. :(

 On Jul 2, 2013, at 5:52 PM, pd-list-requ...@iem.at wrote:

 *From: *Pierre Massat pimas...@gmail.com
 *Subject: **Re: [PD] Raspberry Pi USB2 audio fixed (apparently)*
 *Date: *July 2, 2013 3:52:31 PM EDT
 *To: *Julian Brooks jbee...@gmail.com
 *Cc: *PD List pd-list@iem.at


 Hi all,

 I did a fresh install of Raspbian using the NOOBS installer. The
 pd-extended package from puredata.info doesn't work with my soundcard (it
 wasn't working before). And Pd vanilla installed from the Raspbian
 repositories doesn't work with it either (although it was working fine
 before). My soundcard is an old EMU 0404 USB. By doesn't work I mean that
 it either throws an Audio stuck/closing audio error, or simply freezes
 everything (Pd, LXDE, mouse, everything) and all I can do is unplug the
 power chord.

 So for me not only did it not fix anything, but i'm actually worse off and
 left with the inability to use Pd at all on my Pi.

 I haven't tried Miller's compiled version of Vanilla yet (I still don't
 know how it is different from the one available in the Raspbian repos). The
 recent Planet CCRMA Satelite for the RPi is also an option.

 Pierre.


 
 Dan Wilcox
 @danomatika
 danomatika.com
 robotcowboy.com






 ___
 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] Raspberry Pi USB2 audio fixed (apparently)

2013-07-03 Thread Pierre Massat
Hi Julian,
This Moebius distro looks very interesting. Can you please tell us how you
installed Pd ? From the Raspbian repos ?
Have you tried it with full duplex with your soundcard yet ? What latency
are you getting (I can't get below 15 ms in Raspbian with some fft in my
patch) ?

Also is this think about the power supply true ? They mention it too on the
Satellite CCRMA webpage. Where can I buy a power cable that outputs 5.2 V ?
I'm currently using a samsung smartphone charger.

That's a lot of questions but you made me curious (and hopeful again) !

Cheers,

Pierre.


2013/7/3 Julian Brooks jbee...@gmail.com

 I'm having good results from using a much leaner install - it's called
 Mobius:
 http://moebiuslinux.sourceforge.net/

 Obviously depends on your usage but I'm ssh'ing into the pi and works
 great.  The minimal install seems to help with overclocking too so I reckon
 I'm getting about another 35-40% out of the pi.

 The main project I've been working on has a pmpd patch that the regular
 raspbian wouldn't even run, on top of that I'm driving a couple of sensors
 (thanks Martin:), audio synthesis, got a reasonably complex quad
 spacialisation patch (thanks Lorenzo:) and is driving a 6 channel
 soundcard.  This is without the usb-slowdown option.

 Obviously it's pushing the Pi right up to the limit but it runs* just*about 
 stably.

 What I do think made a significant difference was switching the power
 cable to one that outputs 5.2v so by the time it gets to the pi it's a
 solid 5v.

 Julian


 On 3 July 2013 09:42, Dan Wilcox danomat...@gmail.com wrote:

 Yeah I tried that out a few months ago when we started the thread. Jack
 adds some unnecessary overhead in my opinion and I'm surprised that a
 device that should be more than capable to handle this is just not setup
 correctly. I'm running a minimal commandline install and pd + realtime 
 straight alsa should work great ... it has for me in the past.

 His jack setup basically uses *all* the cpu of the pi, so that cuts out
 the other parts of my setup altogether .. visual, device input, etc. Again,
 I was able to get good latency with a much lower resource machine (until it
 just wore out), so it *should* be possible.
 On Jul 3, 2013, at 4:35 AM, Julian Brooks jbee...@gmail.com wrote:

 Hey Dan,

 Jeremy (autostatic), who setup the 'rpi and low latency, real time audio'
 thread has a UA-25 and seems to have full duplex working with jack (this
 was before the recent tweaks as well):

 http://www.raspberrypi.org/phpBB3/viewtopic.php?p=286222sid=85c8b0a7cca69e35dcafaf58ff916eec#p286222

 Could be worth asking him?

 Julian


 On 3 July 2013 02:58, Dan Wilcox danomat...@gmail.com wrote:

 Yeah I tried the latest firmware with my Raspbian install and still have
 issues with my UA-25. Full stereo duplex = dropouts. :(

 On Jul 2, 2013, at 5:52 PM, pd-list-requ...@iem.at wrote:

 *From: *Pierre Massat pimas...@gmail.com
  *Subject: **Re: [PD] Raspberry Pi USB2 audio fixed (apparently)*
  *Date: *July 2, 2013 3:52:31 PM EDT
 *To: *Julian Brooks jbee...@gmail.com
  *Cc: *PD List pd-list@iem.at


  Hi all,

 I did a fresh install of Raspbian using the NOOBS installer. The
 pd-extended package from puredata.info doesn't work with my soundcard
 (it wasn't working before). And Pd vanilla installed from the Raspbian
 repositories doesn't work with it either (although it was working fine
 before). My soundcard is an old EMU 0404 USB. By doesn't work I mean that
 it either throws an Audio stuck/closing audio error, or simply freezes
 everything (Pd, LXDE, mouse, everything) and all I can do is unplug the
 power chord.

 So for me not only did it not fix anything, but i'm actually worse off
 and left with the inability to use Pd at all on my Pi.

 I haven't tried Miller's compiled version of Vanilla yet (I still don't
 know how it is different from the one available in the Raspbian repos). The
 recent Planet CCRMA Satelite for the RPi is also an option.

 Pierre.


  
 Dan Wilcox
 @danomatika
 danomatika.com
 robotcowboy.com






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



  
 Dan Wilcox
 @danomatika
 danomatika.com
 robotcowboy.com







 ___
 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] Raspberry Pi USB2 audio fixed (apparently)

2013-07-02 Thread Pierre Massat
Hi all,

I did a fresh install of Raspbian using the NOOBS installer. The
pd-extended package from puredata.info doesn't work with my soundcard (it
wasn't working before). And Pd vanilla installed from the Raspbian
repositories doesn't work with it either (although it was working fine
before). My soundcard is an old EMU 0404 USB. By doesn't work I mean that
it either throws an Audio stuck/closing audio error, or simply freezes
everything (Pd, LXDE, mouse, everything) and all I can do is unplug the
power chord.

So for me not only did it not fix anything, but i'm actually worse off and
left with the inability to use Pd at all on my Pi.

I haven't tried Miller's compiled version of Vanilla yet (I still don't
know how it is different from the one available in the Raspbian repos). The
recent Planet CCRMA Satelite for the RPi is also an option.

Pierre.


2013/6/5 Julian Brooks jbee...@gmail.com

 Hey all,

 So, umm, yeah.  Is everyone on this already?

 Just got a message saying that an 'rpi-update' should fix the usb2
 problems for soundcards.

 Not checked 'cos I spent bloody ages tracking down soundcards that did
 work.

 Good to know though.


 http://www.raspberrypi.org/phpBB3/viewtopic.php?p=364163sid=04807df00bff9fa076fd62c358dfd9fc#p364163

 http://www.raspberrypi.org/phpBB3/viewtopic.php?p=362690#p362690

 http://www.raspyfi.com/raspberry-pi-usb-audio-fix/
 (anyone checked out this distro btw?)

 Good to hear there seems to be lots of audio tweaks and exploration going
 on on the Pi (still:)

 Best wishes,

 Julian

 ___
 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] How to make a looper ?

2013-06-27 Thread Pierre Massat
Dear list,

i've been working on a simple looper (the sound on sound thing, Eno 
Fripp, Eno all by himself, you know what I mean). I decided to use two
tables, write to T1 while reading T2, and write to T2 while reading T1,
adding the input and the currently playing table together before writing.

I'm faced with two issues. One is a click I hear everytime I record a new
piece of sound (I m almost certain it happens while switching from one
table to the other), and another is final volume.

What is the proper way of reading two tables continuously and alternatively
? And conversely, what is the proper way of writing continuously to two
tables alternatively ? I'm currently using threshold~.

About the final volume, the problem is that the first sound i record gets
burried in the later recordings, and it all ends up distorting because it
too loud in the end. I suppose I should use a limiter on the input, and
maybe compress the output. Is that correct ? Can someone point me to a good
compressor/limiter in Pd ?

Or maybe there's a much better way to make a looper in Pd...

Cheers,

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


[PD] New Raspbian release

2013-06-03 Thread Pierre Massat
Hello,

They've released a new update of Raspbian.
http://www.raspberrypi.org/archives/4128

Does anybody knows whether this will have an impact on Pd's performances ?
Just to know whether it's worth upgrading or not.

Cheers,

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


Re: [PD] crude pd interface for omxplayer/Rpi

2013-03-18 Thread Pierre Massat
Thank you for the idea !
This has nothing to do with this thread, but i was actually looking for a
way of controlling VLC, and this is really all the inspiration I needed.

Cheers,

Pierre.

2013/3/16 Antoine Villeret antoine.ville...@gmail.com

 Hi,

 thanks for sharing,
 it works but still with the audio crack when launching
 and quitting omxplayer
 but this is an omxplayer's issue...

 cheers
 a

 --
 do it yourself
 http://antoine.villeret.free.fr


 2013/3/7 batinste dwanaf...@yahoo.fr

  Hi list

 Looking for a way to control video playback on the Raspberry Pi outside
 Gem's realm, i stumbled across omxplayer and this 
 topichttp://www.raspberrypi.org/phpBB3/viewtopic.php?f=38t=7987
 .

 So based on it i've made a very crude [shell]-based omxplayer controller
 in Pd, see attached. As omxplayer can be controlled via keystrokes, you can
 expand this patch's possibilities very easily. For now, you can choose a
 file, play it, pause and resume, restart the video, quit omxplayer,
 increase and decrease volume.

 I encounter an annoying bug when restarting a video : one can briefly see
 what's behind the window, be it a console or lxde's desktop. Happily,
 omxplayer has also a counter-bug thats prevents the desktop to refresh
 itself (it stays black : you have to move the mouse all over the screen to
 refresh). So to keep the restart prettier, you have to launch the desktop
 manager.

 ___
 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


Re: [PD] Feedback : pd-extended on the Pi

2013-02-18 Thread Pierre Massat
Hi HC,

I didn't think about this. I'll give it a try as soon as I can.

Cheers,

Pierre.

2013/2/18 Hans-Christoph Steiner h...@at.or.at


 Thanks for the feedback!  How did you start it?  It currently starts Gem
 and
 pdp by default, which it shouldn't since they don't work on RPi.  Try this:

 pd-extended -noprefs

 .hc


 On 02/17/2013 09:08 AM, Pierre Massat wrote:
  Hi,
 
  I've been using Vanilla from the Debian repos, but i needed IEMLIB, and i
  decided i should give pd-extended a try.
  I followed these instruction
 
 http://puredata.info/downloads/pd-extended-0-43-3-on-raspberry-pi-raspbian-wheezy-armhf(I
  think HC wrote them).
 
  Pd-extended installed fine, but it doesn't work well, at least with my
  soundcard (which work very well with Vanilla). CPU usage climbs to 100 %,
  and i have to kill Pd.
 
  I must say that I m using a very fresh version of Raspbian, though not
  totally clean in the sense that I removed Pd-vanilla manually before
  installing pd-extended (so I might have left a few files here and there.
  Also, i'm using the first version of the Pi, with 256 MB RAM.
  Cheers,
 
  Pierre.
 
 
 
  ___
  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


Re: [PD] IEM lib in Debian ?

2013-02-18 Thread Pierre Massat
Hi,

What raspbian package ? In the non-free repo ?
I tried pd-iemlib before adding the non-free source to the list and
apt-get didn't find it.

Cheers,

Pierre.

2013/2/17 Hans-Christoph Steiner h...@at.or.at


 Its included Pd-extended 0.43.4, and there is a raspbian package.

 .hc

 On 02/17/2013 09:33 AM, Pierre Massat wrote:
  Dear List,
 
  I need a filter in the iemlib included in pd-extended. I'm using vanilla
 on
  Rasbian, and pd-iemlib doesn't seem to exist in the repos. Iemnet,
  iemmatrix and iemambi seem to exist, but not iemlib.
 
  Anybody knows how i could install this library ? On the IEM website
 there a
  list of downloads but the most recent one requires the sources of Pd 0.39
  ...
 
  Cheers,
 
  Pierre.
 
 
 
  ___
  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


Re: [PD] IEM lib in Debian ?

2013-02-18 Thread Pierre Massat
Sorry, i don't think i got you.
Like I said I tried pd-extended yesterday and it didn't really work. You
said it could be because of GEM and pdp, so i'll try without these libs
later on.
But right now I have vanilla (0.43.2), and it's working fine, and i need
the pd-iemlib library. It is not available from the standard raspbian
repo.

Can I get only this library ? Or is pd-extended the only option ?

thanks ,

Pierre.

2013/2/18 Hans-Christoph Steiner h...@at.or.at


 The Pd-extended 0.43.4 raspbian package.  You either have to add
 apt.puredata.info to your apt sources.list or download it directly from
 puredata.info/downloads

 .hc

 On 02/18/2013 03:38 AM, Pierre Massat wrote:
  Hi,
 
  What raspbian package ? In the non-free repo ?
  I tried pd-iemlib before adding the non-free source to the list and
  apt-get didn't find it.
 
  Cheers,
 
  Pierre.
 
  2013/2/17 Hans-Christoph Steiner h...@at.or.at
 
 
  Its included Pd-extended 0.43.4, and there is a raspbian package.
 
  .hc
 
  On 02/17/2013 09:33 AM, Pierre Massat wrote:
  Dear List,
 
  I need a filter in the iemlib included in pd-extended. I'm using
 vanilla
  on
  Rasbian, and pd-iemlib doesn't seem to exist in the repos. Iemnet,
  iemmatrix and iemambi seem to exist, but not iemlib.
 
  Anybody knows how i could install this library ? On the IEM website
  there a
  list of downloads but the most recent one requires the sources of Pd
 0.39
  ...
 
  Cheers,
 
  Pierre.
 
 
 
  ___
  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


Re: [PD] Feedback : pd-extended on the Pi

2013-02-18 Thread Pierre Massat
Hi Hans,

I've installed pd-extended 0.43.4 from the apt.puredata.info repo. I tried
running it with the -noprefs flag as you suggested.
I works with alsa (i have just made a simple patch with an oscillator), but
crashes with my soundcard (E-MU 0404 USB), which works fine with Vanilla
0.43.2.

Cheers,

Pierre.

2013/2/18 Pierre Massat pimas...@gmail.com

 Hi HC,

 I didn't think about this. I'll give it a try as soon as I can.

 Cheers,

 Pierre.


 2013/2/18 Hans-Christoph Steiner h...@at.or.at


 Thanks for the feedback!  How did you start it?  It currently starts Gem
 and
 pdp by default, which it shouldn't since they don't work on RPi.  Try
 this:

 pd-extended -noprefs

 .hc


 On 02/17/2013 09:08 AM, Pierre Massat wrote:
  Hi,
 
  I've been using Vanilla from the Debian repos, but i needed IEMLIB, and
 i
  decided i should give pd-extended a try.
  I followed these instruction
 
 http://puredata.info/downloads/pd-extended-0-43-3-on-raspberry-pi-raspbian-wheezy-armhf(I
  think HC wrote them).
 
  Pd-extended installed fine, but it doesn't work well, at least with my
  soundcard (which work very well with Vanilla). CPU usage climbs to 100
 %,
  and i have to kill Pd.
 
  I must say that I m using a very fresh version of Raspbian, though not
  totally clean in the sense that I removed Pd-vanilla manually before
  installing pd-extended (so I might have left a few files here and there.
  Also, i'm using the first version of the Pi, with 256 MB RAM.
  Cheers,
 
  Pierre.
 
 
 
  ___
  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


Re: [PD] IEM lib in Debian ?

2013-02-18 Thread Pierre Massat
Great, it works !
Thanks !

One last question now : the pd alias is now for pd-extended. Is there a
way I can give it back to puredata ?

Cheers,

Pierre.

2013/2/18 Hans-Christoph Steiner h...@at.or.at


 You can use that library from pd-extended with vanilla.  This should do it:

 sudo apt-get install puredata-import pd-libdir
 cd /usr/lib/pd/extra
 sudo ln -s ../../pd-extended/extra/iemlib

 Then in your patch:

 [import iemlib]

 .hc

 On 02/18/2013 10:37 AM, Pierre Massat wrote:
  Sorry, i don't think i got you.
  Like I said I tried pd-extended yesterday and it didn't really work. You
  said it could be because of GEM and pdp, so i'll try without these libs
  later on.
  But right now I have vanilla (0.43.2), and it's working fine, and i need
  the pd-iemlib library. It is not available from the standard raspbian
  repo.
 
  Can I get only this library ? Or is pd-extended the only option ?
 
  thanks ,
 
  Pierre.
 
  2013/2/18 Hans-Christoph Steiner h...@at.or.at
 
 
  The Pd-extended 0.43.4 raspbian package.  You either have to add
  apt.puredata.info to your apt sources.list or download it directly from
  puredata.info/downloads
 
  .hc
 
  On 02/18/2013 03:38 AM, Pierre Massat wrote:
  Hi,
 
  What raspbian package ? In the non-free repo ?
  I tried pd-iemlib before adding the non-free source to the list and
  apt-get didn't find it.
 
  Cheers,
 
  Pierre.
 
  2013/2/17 Hans-Christoph Steiner h...@at.or.at
 
 
  Its included Pd-extended 0.43.4, and there is a raspbian package.
 
  .hc
 
  On 02/17/2013 09:33 AM, Pierre Massat wrote:
  Dear List,
 
  I need a filter in the iemlib included in pd-extended. I'm using
  vanilla
  on
  Rasbian, and pd-iemlib doesn't seem to exist in the repos. Iemnet,
  iemmatrix and iemambi seem to exist, but not iemlib.
 
  Anybody knows how i could install this library ? On the IEM website
  there a
  list of downloads but the most recent one requires the sources of Pd
  0.39
  ...
 
  Cheers,
 
  Pierre.
 
 
 
  ___
  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] Raspberry Pi : I²S audio codec ?

2013-02-18 Thread Pierre Massat
Hi,

I just found this : http://www.openmusiclabs.com/projects/codec-shield/
Apparently the latest revision of the Pi has GPIO pins specifically for I²S
(http://www.raspberrypi.org/archives/1929 , see Additional I/O expansion).
Though i can't find anything on the web right now, it should be possible to
connect this codec to the Pi, what do you think ?

I m very excited but i reckon I have a lot to learn...

Cheers,

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


[PD] IR reverb and partconv~

2013-02-17 Thread Pierre Massat
Hello,

While readin Katja's website i discovered the [partconv~] object from Ben
Saylor's library. I had actually used it long time ago with some IR
reverbs, but I then judged the latency to big to be usable live.
I gave it another shot this morning, and realized that the partition size
could be set in [partconv~]. A lower partition size reduced the latency to
something usable, which is cool, but it also cuts the tail of the reverb
(it sounds very unnatural will low partition sizes).

Could somebody please explain to me whether it is possible to fix this
behaviour ?

Cheers,

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


[PD] Feedback : pd-extended on the Pi

2013-02-17 Thread Pierre Massat
Hi,

I've been using Vanilla from the Debian repos, but i needed IEMLIB, and i
decided i should give pd-extended a try.
I followed these instruction
http://puredata.info/downloads/pd-extended-0-43-3-on-raspberry-pi-raspbian-wheezy-armhf(I
think HC wrote them).

Pd-extended installed fine, but it doesn't work well, at least with my
soundcard (which work very well with Vanilla). CPU usage climbs to 100 %,
and i have to kill Pd.

I must say that I m using a very fresh version of Raspbian, though not
totally clean in the sense that I removed Pd-vanilla manually before
installing pd-extended (so I might have left a few files here and there.
Also, i'm using the first version of the Pi, with 256 MB RAM.
Cheers,

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


Re: [PD] IR reverb and partconv~

2013-02-17 Thread Pierre Massat
Hi Charles,

Thank you for your reply. Indeed, the maximum number of partitions is set
to 256. I'll try to inscrease it when i have time (and when i've learned
how to compile externals!).

Cheers,

Pierre.

2013/2/17 Charles Z Henry czhe...@gmail.com

 On Sun, Feb 17, 2013 at 4:54 AM, Pierre Massat pimas...@gmail.com wrote:

 Hello,

 While readin Katja's website i discovered the [partconv~] object from Ben
 Saylor's library. I had actually used it long time ago with some IR
 reverbs, but I then judged the latency to big to be usable live.
 I gave it another shot this morning, and realized that the partition size
 could be set in [partconv~]. A lower partition size reduced the latency to
 something usable, which is cool, but it also cuts the tail of the reverb
 (it sounds very unnatural will low partition sizes).

 Could somebody please explain to me whether it is possible to fix this
 behaviour ?


 I believe there's a maximum number of partitions set in the code.  You
 could just increase the number and re-compile.

 Chuck

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


Re: [PD] Join my network on LinkedIn

2013-02-14 Thread Pierre Massat
It happened to my girl friend a few weeks ago.
I hate this kind of feature, it makes me furious.

Pierre.

2013/2/14 me.grimm megr...@gmail.com

 first time i touched this shit in years and somehow it sends spam to every
 address in my contact list

 apologies


 On Wed, Feb 13, 2013 at 7:34 PM, m.e. grimm via LinkedIn 
 mem...@linkedin.com wrote:

 [image: LinkedIn Logo]


  Barry,

  **











   m.e. grimm wants to connect with you on LinkedIn.


 m.e. grimm
adjunct professor at Tompkins Cortland Community College  View
 Profile »





   Accept

**


  You are receiving Invitation emails. Unsubscribe.

 This email was intended for Barry Dillon (n/a at n/a). Learn why we
 included this. © 2013, LinkedIn Corporation. 2029 Stierlin Ct. Mountain
 View, CA 94043, USA


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




 --
 
 m.e.grimm | m.f.a | ed.m.
 megr...@gmail.com
 _
 ___
 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] Message from the boss of Raspberry Pi Foundation !

2013-02-09 Thread Pierre Massat
Hi,

Ok, so Charles Henry has been working on this, good.
Anybody else would have something to propose ? I'd love to help but my
technical background is far from sufficient. Bringing this to the attention
of the RPi foundation is about all I could do I think.

@Hardoff : the patch i'm using in the video requires 16 ms of latency,
because it uses phase vocoding. You can drop to 10 ms without it, and I
guess even lower would be possible. I use the very first version of the Pi,
with half the RAM the new model has. If we can get the GPU to compute the
audio i hope that we'll be able to get to really reasonable latencies (to
me 6 to 8 ms is really enough to play live). Also, i use the regular Pd fro
the debian repos. I can't tell you whether Miller's or Katja's version work
better.

Cheers,

Piere.

2013/2/8 Simon Iten itensi...@gmail.com

 pierre wrote in his blog that he can go as low as 10ms, later in the
 settings he writes about 16ms.

 On Feb 8, 2013, at 1:57 PM, i go bananas hard@gmail.com wrote:

  sorry, i don't think this is the thread i should be asking this in,
 
  but how low latency can you get with pd on a pi ?
 
 
  ___
  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


Re: [PD] Message from the boss of Raspberry Pi Foundation !

2013-02-09 Thread Pierre Massat
Hi Katja,

I wasn't aware of this at all. Thanks for the link !
I'll read it this afternoon.

Thank you!


Pierre.

2013/2/9 katja katjavet...@gmail.com

 Hi Pierre,

 There has been intensive discussion about GPU processing on RPI:

 http://www.raspberrypi.org/phpBB3/viewtopic.php?f=33t=6188

 Did you read it? In the light of this discussion, I wonder what Eben means
 when writing We have a bunch of GPU compute available on the device just
 waiting for an application like this.

 Anyway it's great they have put your project on RPi blog. You will be
 famous, Pi Massat! Congrats again.

 Katja



 On Fri, Feb 8, 2013 at 10:51 AM, Pierre Massat pimas...@gmail.com wrote:

 Dear all,

 Please read below the message I received from Eben Upton, the boss of
 Raspberry Pi foundation.
 It looks like he was impressed by the video I made, and he says that
 there's a possibility of letting the GPU do some DSP computation.
 I guess you'll all agree that this is awesome news.

 I have no idea how we can proceed now. I think i'm absolutely incapable
 of doing anything useful in this field, so i told him that i would transfer
 this message to you, hoping that Miller, HC, Katja (and others) would know
 what needs to be done. We should probably ask him if you guys could work
 directly with their developers.

 Let me know what you think.

 Cheers!

 Pierre.

 -- Forwarded message --
 From: Eben Upton e...@raspberrypi.org
 Date: 2013/2/8
 Subject: Re: RPi as multi-effects for guitar
 To: Pierre Massat pimas...@gmail.com


 Hi Pierre
 Awesome stuff - I think Liz is preparing a blog post about this as we
 speak. I'd be very interested in knowing a bit more about the DSP code
 that runs this stuff. We have a bunch of GPU compute available on the
 device just waiting for an application like this.

 Cheers
 Eben

 On Thu, Feb 7, 2013 at 2:29 AM, Pierre Massat pimas...@gmail.com wrote:
  Hi,
 
  I write a blog about how to make guitar effects with computers running
 Pure
  Data in real-time.
  When I first heard about the Raspberry Pi I thought it would be great
 if I
  could use it for the same purpose. It would only be much cheaper, and
 much
  smaller than my current laptop, and could fit in my hand-made stompbox.
  Recent improvements in Raspbian have finally made this possible, and
 this
  makes me very happy !
  The Raspberry Pi is now actually capable of running rather demanding
 Pure
  Data patches in (quasi-) real-time (at least with a latency that's low
  enough to play live with it).
  I quickly assembled a small patch to test it and make a video to
 demonstrate
  that it actually works very well.
 
  It is obviously not the use the RPi was originally intended for, but to
 me
  (and I'm sure to other musicians as well), this sounds like a
 revolution.
 
  I'm currently documenting my setup on my blog :
  - video :
 
 http://guitarextended.wordpress.com/2013/01/27/real-time-guitar-effects-with-raspberry-pi-pd-and-arduino/
  - blog post about hardware :
 
 http://guitarextended.wordpress.com/2013/01/31/raspberry-pi-multi-effects-overview-of-the-setup/
 
  There's no trick, the Pi really IS doing all the DSP work. A reader
 posted a
  comment to ask where the computer was :)
 
  I take this opportunity to thank the RPi foundation for all the good
 work
  you put in this amazing tiny thing. I see that the cam should be out in
 a
  few months, this is all very exciting. I'm sure the Pi has already
 changed
  the life of a lot of people !
 
  Cheers,
 
  Pierre.
 
 
 


 ___
 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] Raspberry Pi : DSP on the GPU ? (WAS : Message from the boss of Raspberry Pi Foundation !)

2013-02-09 Thread Pierre Massat
Hi again Katja,

I just read through it. Couldn't find anything about having the GPU process
some audio. It's really mostly about why it's a bad (or good) thing to keep
the GPU closed-source (at least that's what I understand [?]).

So I guess there isn't must we can do on our own to access the GPU. But
then, what can Eben and his team do about it ? I'd like to know what answer
we can give him. If he says just waiting for an application like this I
am assuming that it must have aroused his interest somehow. And I believe
that it would be great if people in the Pd community got involved. All I
can provide is some testing, but others could contribute more (if i'm not
mistaken, Miller Puckette did a great job fixing the analog out for
instance). I think we should try and play a part in the development of the
Pi. And if we're lucky we'll finally have that Pd box people have been
dreaming about for years.

Cheers,

Pierre.

2013/2/9 katja katjavet...@gmail.com

 Hi Pierre,

 There has been intensive discussion about GPU processing on RPI:

 http://www.raspberrypi.org/phpBB3/viewtopic.php?f=33t=6188

 Did you read it? In the light of this discussion, I wonder what Eben means
 when writing We have a bunch of GPU compute available on the device just
 waiting for an application like this.

 Anyway it's great they have put your project on RPi blog. You will be
 famous, Pi Massat! Congrats again.

 Katja



 On Fri, Feb 8, 2013 at 10:51 AM, Pierre Massat pimas...@gmail.com wrote:

 Dear all,

 Please read below the message I received from Eben Upton, the boss of
 Raspberry Pi foundation.
 It looks like he was impressed by the video I made, and he says that
 there's a possibility of letting the GPU do some DSP computation.
 I guess you'll all agree that this is awesome news.

 I have no idea how we can proceed now. I think i'm absolutely incapable
 of doing anything useful in this field, so i told him that i would transfer
 this message to you, hoping that Miller, HC, Katja (and others) would know
 what needs to be done. We should probably ask him if you guys could work
 directly with their developers.

 Let me know what you think.

 Cheers!

 Pierre.

 -- Forwarded message --
 From: Eben Upton e...@raspberrypi.org
 Date: 2013/2/8
 Subject: Re: RPi as multi-effects for guitar
 To: Pierre Massat pimas...@gmail.com


 Hi Pierre
 Awesome stuff - I think Liz is preparing a blog post about this as we
 speak. I'd be very interested in knowing a bit more about the DSP code
 that runs this stuff. We have a bunch of GPU compute available on the
 device just waiting for an application like this.

 Cheers
 Eben

 On Thu, Feb 7, 2013 at 2:29 AM, Pierre Massat pimas...@gmail.com wrote:
  Hi,
 
  I write a blog about how to make guitar effects with computers running
 Pure
  Data in real-time.
  When I first heard about the Raspberry Pi I thought it would be great
 if I
  could use it for the same purpose. It would only be much cheaper, and
 much
  smaller than my current laptop, and could fit in my hand-made stompbox.
  Recent improvements in Raspbian have finally made this possible, and
 this
  makes me very happy !
  The Raspberry Pi is now actually capable of running rather demanding
 Pure
  Data patches in (quasi-) real-time (at least with a latency that's low
  enough to play live with it).
  I quickly assembled a small patch to test it and make a video to
 demonstrate
  that it actually works very well.
 
  It is obviously not the use the RPi was originally intended for, but to
 me
  (and I'm sure to other musicians as well), this sounds like a
 revolution.
 
  I'm currently documenting my setup on my blog :
  - video :
 
 http://guitarextended.wordpress.com/2013/01/27/real-time-guitar-effects-with-raspberry-pi-pd-and-arduino/
  - blog post about hardware :
 
 http://guitarextended.wordpress.com/2013/01/31/raspberry-pi-multi-effects-overview-of-the-setup/
 
  There's no trick, the Pi really IS doing all the DSP work. A reader
 posted a
  comment to ask where the computer was :)
 
  I take this opportunity to thank the RPi foundation for all the good
 work
  you put in this amazing tiny thing. I see that the cam should be out in
 a
  few months, this is all very exciting. I'm sure the Pi has already
 changed
  the life of a lot of people !
 
  Cheers,
 
  Pierre.
 
 
 


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



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


[PD] Message from the boss of Raspberry Pi Foundation !

2013-02-08 Thread Pierre Massat
Dear all,

Please read below the message I received from Eben Upton, the boss of
Raspberry Pi foundation.
It looks like he was impressed by the video I made, and he says that
there's a possibility of letting the GPU do some DSP computation.
I guess you'll all agree that this is awesome news.

I have no idea how we can proceed now. I think i'm absolutely incapable of
doing anything useful in this field, so i told him that i would transfer
this message to you, hoping that Miller, HC, Katja (and others) would know
what needs to be done. We should probably ask him if you guys could work
directly with their developers.

Let me know what you think.

Cheers!

Pierre.

-- Forwarded message --
From: Eben Upton e...@raspberrypi.org
Date: 2013/2/8
Subject: Re: RPi as multi-effects for guitar
To: Pierre Massat pimas...@gmail.com


Hi Pierre
Awesome stuff - I think Liz is preparing a blog post about this as we
speak. I'd be very interested in knowing a bit more about the DSP code
that runs this stuff. We have a bunch of GPU compute available on the
device just waiting for an application like this.

Cheers
Eben

On Thu, Feb 7, 2013 at 2:29 AM, Pierre Massat pimas...@gmail.com wrote:
 Hi,

 I write a blog about how to make guitar effects with computers running
Pure
 Data in real-time.
 When I first heard about the Raspberry Pi I thought it would be great if I
 could use it for the same purpose. It would only be much cheaper, and much
 smaller than my current laptop, and could fit in my hand-made stompbox.
 Recent improvements in Raspbian have finally made this possible, and this
 makes me very happy !
 The Raspberry Pi is now actually capable of running rather demanding Pure
 Data patches in (quasi-) real-time (at least with a latency that's low
 enough to play live with it).
 I quickly assembled a small patch to test it and make a video to
demonstrate
 that it actually works very well.

 It is obviously not the use the RPi was originally intended for, but to me
 (and I'm sure to other musicians as well), this sounds like a revolution.

 I'm currently documenting my setup on my blog :
 - video :

http://guitarextended.wordpress.com/2013/01/27/real-time-guitar-effects-with-raspberry-pi-pd-and-arduino/
 - blog post about hardware :

http://guitarextended.wordpress.com/2013/01/31/raspberry-pi-multi-effects-overview-of-the-setup/

 There's no trick, the Pi really IS doing all the DSP work. A reader
posted a
 comment to ask where the computer was :)

 I take this opportunity to thank the RPi foundation for all the good work
 you put in this amazing tiny thing. I see that the cam should be out in a
 few months, this is all very exciting. I'm sure the Pi has already changed
 the life of a lot of people !

 Cheers,

 Pierre.



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


Re: [PD] Manually add a library to load at startup (bug ??)

2013-02-02 Thread Pierre Massat
Ok, thank you both for your replies. I think i'll go the way suggested by
HC.

Cheers,

Pierre.

2013/2/2 Hans-Christoph Steiner h...@at.or.at

 On 02/01/2013 06:00 PM, IOhannes zmölnig wrote:
  On 02/01/2013 06:56 PM, Pierre Massat wrote:
  Hi,
 
  I'm on my Pi again, running Pd-vanilla 0.43.2 (from the debian repos).
  When I add the zexy library to the startup list in the GUI, it loads
 fine.
  However, when i simply add it in the .pdsettings file (loadlib :
 zexy),
  it won't load (although it appears in the startup list of the GUI) !
 
  Is there something i don't get about how to use .pdsettings ? Or is
 this a
  bug (and if yes, is it fixed in 0.44) ?
 
 
  you have to adjust the noloadlib (number of libs to load) setting as
 well.
  better use the GUI to add a new library and save the settings.

 Even better would be to use [declare -lib zexy] in any patch that needs
 zexy.
  Then it'll work everywhere without editing tricks, you'll know what libs
 your
 patches need, and all sorts of other benefits.

 You can also 'apt-get install puredata-import' to use [import zexy].

 .hc

 ___
 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] Manually add a library to load at startup (bug ??)

2013-02-01 Thread Pierre Massat
Hi,

I'm on my Pi again, running Pd-vanilla 0.43.2 (from the debian repos).
When I add the zexy library to the startup list in the GUI, it loads fine.
However, when i simply add it in the .pdsettings file (loadlib : zexy),
it won't load (although it appears in the startup list of the GUI) !

Is there something i don't get about how to use .pdsettings ? Or is this a
bug (and if yes, is it fixed in 0.44) ?

Cheers,

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


Re: [PD] Pd and pulseaudio (was: ALSA output error (restart failed): Broken pipe)

2013-02-01 Thread Pierre Massat
I think I read somewhere that Romero intends to make a film about this ;)

Cheers,
Pierre.

2013/2/1 Miller Puckette m...@ucsd.edu

 
  Pulseaudio respawns itself, unless you've configured it not to. You
  can disable it temporarily with the tool pasuspender.
  The syntax would be:
  pasuspender -- pd
 
 Good to know - but even though I now theoretically know how to deal with
 this,
 the whole thing gives me the creeps - what if some update changes the
 rules and
 pulse starts re-spawning itself again?  I'll feel safer with it
 uninstalled -
 then it will have a much harder time restarting itself on my machine.

 cheers
 Miller

  ___
  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


Re: [PD] Raspberry Pi as rt guitar effect processor : proof of concept

2013-01-31 Thread Pierre Massat
Hi,

Thank you all for your messages !
To answer a few questions :
- I use the first commercial version of the Pi, with only 256 MB of RAM.
- There's an Arduino Uno in the pedal, with simple push buttons and pots
connected to it.

I only use Pd-vanilla from the debian repos, but i think i'll give
pd-extended and Miller's version a shot soon.

Cheers,

Pierre.

2013/1/29 yvan volochine yvan...@gmail.com

 On 27/01/13 17:00, Pierre Massat wrote:

 http://www.youtube.com/watch?**v=NwJNeouLqgQfeature=youtu.behttp://www.youtube.com/watch?v=NwJNeouLqgQfeature=youtu.be

 Dear all,

 It's working !!! :)


 bravo =)

 y

 --
 http://yvanvolochine.com
 http://soundcloud.com/**yvanvolochinehttp://soundcloud.com/yvanvolochine
 http://vimeo.com/yv

 __**_
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - http://lists.puredata.info/**
 listinfo/pd-list 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] Raspberry Pi as rt guitar effect processor : proof of concept

2013-01-31 Thread Pierre Massat
Yeah, that'll be version 1.0.
Version 2.0 will have laser beams and warp drive, and will be the first
digital audio unit with a negative latency. You'll hear the notes before I
even played them.

Pierre.

2013/1/31 dreamer drea...@puikheid.nl



 On Thu, Jan 31, 2013 at 11:17 AM, Pierre Massat pimas...@gmail.comwrote:

 - I use the first commercial version of the Pi, with only 256 MB of RAM.

 - There's an Arduino Uno in the pedal, with simple push buttons and pots
 connected to it.

 So, next version more ram, overclocked, optimized version of pd, and GPIO
 of the raspi itself ;)




 I only use Pd-vanilla from the debian repos, but i think i'll give
 pd-extended and Miller's version a shot soon.

 Cheers,

 Pierre.


 2013/1/29 yvan volochine yvan...@gmail.com

 On 27/01/13 17:00, Pierre Massat wrote:

 http://www.youtube.com/watch?**v=NwJNeouLqgQfeature=youtu.behttp://www.youtube.com/watch?v=NwJNeouLqgQfeature=youtu.be

 Dear all,

 It's working !!! :)


 bravo =)

 y

 --
 http://yvanvolochine.com
 http://soundcloud.com/**yvanvolochinehttp://soundcloud.com/yvanvolochine
 http://vimeo.com/yv

 __**_
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - http://lists.puredata.info/**
 listinfo/pd-list 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


Re: [PD] comport on raspberry

2013-01-28 Thread Pierre Massat
Comport works fine for me on the Pi with an Arduino and Firmata.

Cheers,

Pierre.

2013/1/28 Hans-Christoph Steiner h...@at.or.at


 [comport] is quite thoroughly tested so I would be surprised if it is the
 problem. Wini Ritsch, IOhannes, Martin Peach, and I (maybe others) have all
 worked on it quite a bit.  It might be the question of what format the
 data is
 in.  what is /dev/ttyANA0?  Usually [comport] is used with /dev/ttyS and
 /dev/ttyUSB.

 .hc

 On 01/27/2013 01:16 PM, Cyrille Henry wrote:
  hello,
 
  i try the comport object on raspberry pi.
  it can send perfectly, but receiving data hang pd.
  data can be seen using :
  cat /dev/ttyANA0
  so it's not a problem with the pi.
 
  is there any other object to receive serial data?
 
  thanks
  Cyrille
 
  ___
  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


Re: [PD] comport on raspberry

2013-01-28 Thread Pierre Massat
Hi, I didn't do anything special, i just installed comport and other
dependencies for pduino, and plugged my Arduino Uno. It appeared as device
0 (can't tell you about /dev/ttyAMA0).


Cheers,

Pierre.

2013/1/28 Cyrille Henry c...@chnry.net

 hello,

 cool.
 did you do anything special?
 did you also use /dev/ttyAMA0 or something else?

 cheers
 c


 Le 28/01/2013 09:24, Pierre Massat a écrit :

 Comport works fine for me on the Pi with an Arduino and Firmata.

 Cheers,

 Pierre.

 2013/1/28 Hans-Christoph Steiner h...@at.or.at mailto:h...@at.or.at



 [comport] is quite thoroughly tested so I would be surprised if it is
 the
 problem. Wini Ritsch, IOhannes, Martin Peach, and I (maybe others)
 have all
 worked on it quite a bit.  It might be the question of what format
 the data is
 in.  what is /dev/ttyANA0?  Usually [comport] is used with /dev/ttyS
 and
 /dev/ttyUSB.

 .hc

 On 01/27/2013 01:16 PM, Cyrille Henry wrote:
   hello,
  
   i try the comport object on raspberry pi.
   it can send perfectly, but receiving data hang pd.
   data can be seen using :
   cat /dev/ttyANA0
   so it's not a problem with the pi.
  
   is there any other object to receive serial data?
  
   thanks
   Cyrille
  
   __**_
   Pd-list@iem.at mailto:Pd-list@iem.at mailing list

   UNSUBSCRIBE and account-management - http://lists.puredata.info/*
 *listinfo/pd-list http://lists.puredata.info/listinfo/pd-list

 __**_
 Pd-list@iem.at mailto:Pd-list@iem.at mailing list

 UNSUBSCRIBE and account-management - http://lists.puredata.info/**
 listinfo/pd-list http://lists.puredata.info/listinfo/pd-list




 __**_
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - http://lists.puredata.info/**
 listinfo/pd-list 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] Raspberry Pi as rt guitar effect processor : proof of concept

2013-01-28 Thread Pierre Massat
Hi,

My blog is here : http://guitarextended.wordpress.com/
I'll be writing a few posts to explain how it works, starting tonight.

Cheers,

Pierre.

2013/1/28 Oli Larkin olilar...@googlemail.com

 very cool, awaiting the blog post! where's your blog?

 On 27 Jan 2013, at 16:00, Pierre Massat wrote:

 http://www.youtube.com/watch?v=NwJNeouLqgQfeature=youtu.be

 Dear all,

 It's working !!! :)
 It looks like a revolution to me. The effect in the second half is a
 sampler based on the phase-vocoder patch by Miller Puckette.
 I've set Pd to use a 16 ms buffer to get it to work without dropouts. It's
 a bit high but this is a demanding patch.
 I'll be documenting this on my blog, and i'd be glad to have feedback from
 you, about working/non-working audio interfaces for instance.

 Cheers!

 Pierre.
 ___
 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] RPi audio tips tweaks

2013-01-27 Thread Pierre Massat
Hi Julian,

Yes, please, i'd be glad to help.

Cheers,

Pierre.

2013/1/26 Julian Brooks jbee...@gmail.com

 Hi Pierre,

 Thank you for your kind offer.  I think I'm going to refocus my Pi
 experiments and accept that the patch I'm hoping to run is just a bit too
 meaty for the Pi atm.  So next will be to get one of my other regular Pd
 patches translated to the Pi (for an envisioned installation) and also wait
 for the next stream of Pi-like boards with just a bit more oomph.

 If you don't mind perhaps I could send you the patch for a comparison in a
 few weeks or so, if that's ok?

 Best wishes,

 Julian



 On 25 January 2013 16:52, Pierre Massat pimas...@gmail.com wrote:

 Hi, I can't tell you much because i'm only using really simple patches
 for now.
 I could try one of yours if you want, to see if the soundcard makes a
 difference ?
 I didn't slow down the USB, but I did remove pulseaudio.

 Pierre.

 2013/1/25 Julian Brooks jbee...@gmail.com

  Hi all,

 Back to messing with my RPi after the slew of positive news recently.

 Unfortunately I'm not really hearing/seeing such good results myself.
 Certainly not getting anything like Miller and Pierre's 10ms full duplex
 from within Pd.  In fact it's still really glitchy/unstable verging on the
 unusable.

 I'm presuming that people are getting such decent results by running Pd
 headless (no gui).  Because of the patches I'm wanting to run I do need to
 have the gui so am wondering if anyone has some tips to squeeze a little
 more out the pi?

 Have updated Raspbian to most recent, done the usb tweak to 1.1, removed
 pulseaudio.

 I'm running the pi via ssh through my laptop.  I'm also running
 vncserver on the pi and xvncviewer on my debian lappy.

 Also have an imic, so don't need anything other than usb-audio.

 So things like: is it worth disabling some of the audio and midi
 modules, that kind of stuff, well you know, anything really?

 Many thanks in advance,

 Julian

 ___
 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] raspberry pi user experience

2013-01-27 Thread Pierre Massat
My USB 2.0 soundcard (E-MU 040) works fine in the lastest Raspbian without
any tweaks.
I'm thus not sure it has to be with USB itself.

Cheers,

Pierre.

2013/1/27 katja katjavet...@gmail.com

 Hello,

 Some people seem to have result with setting lower USB speed on the
 Pi, but when I try this, the Pi doesn't even respond to keyboard
 anymore. Checking /boot/cmdline.txt with another computer, I'm sure it
 is not due to a typo. But the order of settings may be important?
 Could anyone copy the full text of /boot/cmdline.txt for me, if you
 have keyboard working with lowered USB speed? (I'm not talking about
 good audio yet).

 Thanks,
 Katja


 On Sat, Jan 26, 2013 at 8:54 PM, Thomas Grill g...@g.org wrote:
  Message to self: it seems that one has to wait for updated RPi USB
  firmware/drivers to get USB 2.0 audio going.
  Obviously the isochronous transfer mode as used by audio interfaces is
  currently broken.
  gr~~~
 
 
  2013/1/26 Thomas Grill g...@g.org
 
  Hi all,
  for my USB audio class 2.0 device Native Instruments Komplete Audio 6
 i
  can't report such good news.
  There is constant irregular crackling, not only with Pd but also with
  aplay etc. It seems related to USB bandwidth, since turning on and off
 the
  inputs in Pd changes crackling frequency. The dwc_otg.speed setting is
 not
  usable for me, since the device is dependent on USB 2.0 operation.
  Any experiences with USB 2.0 audio devices under ALSA/rpi?
  thanks,
  gr~~~
 
 
  2013/1/26 Cyrille Henry c...@chnry.net
 
  hello,
 
  I just install raspbian release and update it. then install pd 0.44.1
  (without any specific optimisation flag)
 
  I made the standard optimisation :
  * - rtprio 99
  * - memlock 10
  in /etc/security/limits.conf
 
  and
  dwc_otg.speed=1
  in /boot/cmdline.txt
  as suggested by miller
 
  I use a uca222 beringher (that cost about 20 or 25€) sound card.
  trying the test audio and midi, there is no click with 10ms audio
 buffer
  (with adc~ enable).
 
  this is with usb keyboard / mouse combo plugged and graphical interface
  (for the system and for pd).
 
  without X, audiobuf can be as low as 5ms
 
  having a usb keyboard did not change anything for me.
 
  i'm very happy
 
  cheers
  c
 
  ___
  Pd-list@iem.at mailing list
  UNSUBSCRIBE and account-management -
  http://lists.puredata.info/listinfo/pd-list
 
 
 
 
  --
  Thomas Grill
  http://g.org
 
 
 
 
  --
  Thomas Grill
  http://g.org
 
  ___
  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


Re: [PD] RPi audio tips tweaks

2013-01-25 Thread Pierre Massat
Hi, I can't tell you much because i'm only using really simple patches for
now.
I could try one of yours if you want, to see if the soundcard makes a
difference ?
I didn't slow down the USB, but I did remove pulseaudio.

Pierre.

2013/1/25 Julian Brooks jbee...@gmail.com

 Hi all,

 Back to messing with my RPi after the slew of positive news recently.

 Unfortunately I'm not really hearing/seeing such good results myself.
 Certainly not getting anything like Miller and Pierre's 10ms full duplex
 from within Pd.  In fact it's still really glitchy/unstable verging on the
 unusable.

 I'm presuming that people are getting such decent results by running Pd
 headless (no gui).  Because of the patches I'm wanting to run I do need to
 have the gui so am wondering if anyone has some tips to squeeze a little
 more out the pi?

 Have updated Raspbian to most recent, done the usb tweak to 1.1, removed
 pulseaudio.

 I'm running the pi via ssh through my laptop.  I'm also running vncserver
 on the pi and xvncviewer on my debian lappy.

 Also have an imic, so don't need anything other than usb-audio.

 So things like: is it worth disabling some of the audio and midi modules,
 that kind of stuff, well you know, anything really?

 Many thanks in advance,

 Julian

 ___
 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] Pd launched via rc.local can't search path

2013-01-24 Thread Pierre Massat
Hi,

I'm trying to get Pd to run at startup. I've put the command in
/etc/rc.local.
Everything works fine, except that Pd seems to be unable to search the
paths I specified (either in .pdsettings or directly in the command line).
I'm trying to use a patch with the reverb described in the audio examples
(G.08 I think), and there's an abstraction in it which lives in
3.audio.examples.
Every time I boot Pd starts all right, but I get errors because it can't
create the abstraction.

It's a bit weird because the very same command works like a charm once i've
logged in.

Any clue ?

Cheers,

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


Re: [PD] Pd launched via rc.local can't search path

2013-01-24 Thread Pierre Massat
Hi, all of my paths are absolute. There are in /usr/bin/puredata.
Do you think it could be that /usr/ isn't mounted yet when Pd is launched
by rc.local?

2013/1/24 padawa...@obiwannabe.co.uk padawa...@obiwannabe.co.uk

 **
  On 24 January 2013 at 18:35 Pierre Massat pimas...@gmail.com wrote:

 Hi,

 I'm trying to get Pd to run at startup. I've put the command in
 /etc/rc.local.
 Everything works fine, except that Pd seems to be unable to search the
 paths I specified (either in .pdsettings or directly in the command line).
 I'm trying to use a patch with the reverb described in the audio examples
 (G.08 I think), and there's an abstraction in it which lives in
 3.audio.examples.
 Every time I boot Pd starts all right, but I get errors because it can't
 create the abstraction.

 It's a bit weird because the very same command works like a charm once
 i've logged in.

  Make sure all paths are absolute, and not relative to a tilde (user home)
 and point
  to world readable directories.
 Starting via rc.local will mean the application is launched as root, and
 since there
  is no login shell and cwd associated at the time it is launched the paths
 you
  specify when logged in probably make no sense.

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


Re: [PD] Pd launched via rc.local can't search path

2013-01-24 Thread Pierre Massat
Hi Charles, i tried it and I don't get any of the errors related to paths.
No i have audio stuck, closing audio, but that's another story :)

Thank!
I'm not sure I understand how this is different from what i did previously,
but i'll figure it out later.

Pierre.

2013/1/24 Charles Z Henry czhe...@gmail.com




 On Thu, Jan 24, 2013 at 12:35 PM, Pierre Massat pimas...@gmail.comwrote:


 It's a bit weird because the very same command works like a charm once
 i've logged in.

 Any clue ?


 How about using sudo?

 sudo -u username -i command

 -i runs the command provided in a login shell, so it runs any
 /etc/profile, ~/.bashrc, ~/.bash_profile scripts as well

 Chuck

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


Re: [PD] Raspberry Pi - Audio in and out, low latency

2013-01-23 Thread Pierre Massat
I don't know why it's working. I just hope the next update won't break that!

So -sounddev 2 should work for my card showing up as card 1 ?
Incidentally, there are only two pages that I know of on the web explaining
how to use start-up flags in the command line (
http://en.flossmanuals.net/pure-data/getting-started/starting/ and
http://puredata.info/docs/faq/commandline).  None of them mention
-soundev. Is this a new flag ?
Unless there's a better place on the web to learn about start-up flags, i
think it would be a good idea to provide more details on the community
website. I always find it frustrating when i have to spend a lot of time
figuring out how to use a command line program just because i don't know
the syntax of the arguments.

Cheers,

Pierre.

2013/1/22 Miller Puckette m...@ucsd.edu

 That's great (and surprising) news... I wonder why you're getting a better
 ride from teh E-MU box than I am from the iMic but it sounds as if I should
 be digging up one like yours to try.

 I think you can just invoke 'pd -sounddev 2' to select the USB device.

 cheers
 Miller

 On Tue, Jan 22, 2013 at 09:23:51PM +0100, Pierre Massat wrote:
  Dear list, dear Miller,
 
  I tried Pd on a fresh Raspbian install today. I removed pulseaudio as you
  suggested. I installed Pd from the Raspbian repos (not your version).
  I tried it with my USB E-MU 0404 soundcard. It worked right away. No need
  to slow down the USB.
  I tried with a latency in Pd of 10 ms, in X, connected to the internet,
 and
  there was very little dropouts.
  This is so promising it's scary.
 
  Now i have one very frustrating problem : i don't know how to choose my
  soundcard from the command line when starting Pd...
  It shows up as Card 1, device 0 when i do aplay -l, but i don't know
 how
  to use this information.
 
  Cheers!
 
  Pierre.

  ___
  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] Raspberry Pi - Audio in and out, low latency

2013-01-23 Thread Pierre Massat
Hi,

thank you for your replies. Of course I know man, but honestly i didn't
bother to read it...

I did try '-audiodev 1' (my card shows up as card 1), but it didn't work.
I'll try again tonight.

Cheers,

Pierre.



2013/1/23 IOhannes m zmoelnig zmoel...@iem.at

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On 2013-01-23 09:49, Pierre Massat wrote:
  Unless there's a better place on the web to learn about start-up
  flags, i think it would be a good idea to provide more details on
  the community website. I always find it frustrating when i have to
  spend a lot of time figuring out how to use a command line program
  just because i don't know the syntax of the arguments.

 on unix systems, about each and every cmdline tool has a manpage.

 $ man pd

 most programs i know, also accept a -h or --help argument, that
 gives you another help.
 Pd is a bit exclusive here, as it uses the -help syntax (but then Pd
 is clever enough to give you the full help whenever it encounters an
 argument it doesn't know about; so pd -h and pd --help work fine
 as well).

 $ pd -help


 in the case of Pd, the manpage is a little neglected, but at least it
 directs you to pd -help.

 fgamsd
 IOhannes
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.12 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iEYEARECAAYFAlD/rkQACgkQkX2Xpv6ydvTONgCgnt2RHZ3UVlLIY8tndFgQoqIq
 oxcAoJ5wTDLC9GoRiJhUl2FJTfA0iIKg
 =ries
 -END PGP SIGNATURE-

 ___
 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] Raspberry Pi - Audio in and out, low latency

2013-01-23 Thread Pierre Massat
Thank you for your reply, i just discovered this -listdev by looking at the
help page.

Cheers,

Pierre.

2013/1/23 Miller Puckette m...@ucsd.edu

 audiodev and other device selecting options (MIDI for example) count the
 devicesstarting at 1 (probably because the first OS I ran Pd on did it
 that way but I don't even remember now).  invoke pd -listdev' to see what
 devices Pd actually thinks it can access and how it numbers them.

 cheers
 Miller

 On Wed, Jan 23, 2013 at 10:56:55AM +0100, Pierre Massat wrote:
  Hi,
 
  thank you for your replies. Of course I know man, but honestly i didn't
  bother to read it...
 
  I did try '-audiodev 1' (my card shows up as card 1), but it didn't
 work.
  I'll try again tonight.
 
  Cheers,
 
  Pierre.
 
 
 
  2013/1/23 IOhannes m zmoelnig zmoel...@iem.at
 
   -BEGIN PGP SIGNED MESSAGE-
   Hash: SHA1
  
   On 2013-01-23 09:49, Pierre Massat wrote:
Unless there's a better place on the web to learn about start-up
flags, i think it would be a good idea to provide more details on
the community website. I always find it frustrating when i have to
spend a lot of time figuring out how to use a command line program
just because i don't know the syntax of the arguments.
  
   on unix systems, about each and every cmdline tool has a manpage.
  
   $ man pd
  
   most programs i know, also accept a -h or --help argument, that
   gives you another help.
   Pd is a bit exclusive here, as it uses the -help syntax (but then Pd
   is clever enough to give you the full help whenever it encounters an
   argument it doesn't know about; so pd -h and pd --help work fine
   as well).
  
   $ pd -help
  
  
   in the case of Pd, the manpage is a little neglected, but at least it
   directs you to pd -help.
  
   fgamsd
   IOhannes
   -BEGIN PGP SIGNATURE-
   Version: GnuPG v1.4.12 (GNU/Linux)
   Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
  
   iEYEARECAAYFAlD/rkQACgkQkX2Xpv6ydvTONgCgnt2RHZ3UVlLIY8tndFgQoqIq
   oxcAoJ5wTDLC9GoRiJhUl2FJTfA0iIKg
   =ries
   -END PGP SIGNATURE-
  
   ___
   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] RPi - latency - Audio I/O

2013-01-23 Thread Pierre Massat
Hi,

I tried Pd with the latest version of Raspbian on my RPi again tonight, and
I managed to get no (actually very few) drop outs with a buffer of 6 ms,
using my USB E-MU 0404 soundcard for input and output at 44,1KHz.
The patch I used was a very simple feedback delay and I tried it with my
guitar.
I think this is insane. This makes me very happy.

Cheers,

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


Re: [PD] Raspberry Pi does denormals

2013-01-22 Thread Pierre Massat
Hi Katja,

I tried on my laptop (Intel dual-core 2 duo, 1,66GHz), and it works fine I
guess. It takes a little to go from 0 to 1 and back, but there doesn't seem
to be any particular issues with NAN and INF numbers.

Now on the Pi : sending a NAN to the lop~ makes it hang. Sending 1 works
fine, but sending 0 after that results in a different behaviour compared to
that of my laptop : the number of non-zero digits seems to grow much
faster, and it never really actually goes to 0. It (apparently) hangs with
still about 30 non-zero digits to the right of the very long number.

I guess you're not the only one, are you ?

Cheers,

Pierre.

2013/1/22 katja katjavet...@gmail.com

 Hey Pierre,

 I've commented patch denorm-test.pd in such a way that it explains the
 topic a bit more (see attached). Now I'd like to ask you, if you can
 run the patch on a 'normal' computer and on your Raspberry Pi for
 comparison. If you have Pd gui on the Pi, you should be able to check
 if your Pd install has a denormals issue. It's hard to believe that I
 would be the only one experiencing this issue, but I need to be sure.

 In my previous mail I stated that it is easy to avoid subnormals by
 just feeding a very small number in objects that may decay into
 subnormal range (feedback delay lines and most filters). But in
 practice, this is not always so easy, as I am now experiencing while
 trying to make a big patch work well on the Pi. There are many more
 filters than I was aware of. For example, following a bit-mangling
 operation a [hip~] was added to remove DC. Now if the bit-mangler
 stops receiving signal input, [hip~] starts to chew subnormals until
 it will receive signal again. I found that each filter struggling with
 subnormals eats at least 6% CPU time (while they do some 0.25% in
 normal state). Pd objects should really take care of this in one way
 or another, it's too confusing for the user to sort it out. I'm going
 to try recompile Pd with PD_BIGORSMALL checks enabled, and see what it
 means for the normal performance of the filter objects.

 Katja


 On Mon, Jan 21, 2013 at 4:24 PM, Pierre Massat pimas...@gmail.com wrote:
  Hi Katja, thank you for your reply! It is now (slightly) clearer. Every
 time
  you post something here I feel like some messages from a technical NASA
  mailing list are being accidentally sent to pd-list!
 
  Cheers,
 
  Pierre.
 
 
  2013/1/21 katja katjavet...@gmail.com
 
  Pierre, the way how denormals can impact performance on the Pi, is
  whenever a an object with feedback delay (IIR filter, reverb etc.)
  stops receiving input signal, it's values decay into the subnormal
  range, which causes substantial increase of CPU load. Such situations
  can be avoided by adding a tiny DC value to the object input, like [+~
  1e-21] (note the minus sign in the number notation). When a normal
  audio signal is present, that number is too small to be added (because
  of limited precision), but when audio stops, it prevents subnormals.
 
  Another thing is, one should be careful not to accidentally send 'inf'
  or 'nan' into such objects, as they can not recover from it. This
  would be particularly annoying in a public performance, since you'd
  need to reload the containing patch to recover.
 
  It is possible to prevent denormals via C code, as it is currently
  done for Pd on Intel processors, but this implements a lot of
  conditional checks and it means performance loss for many objects. For
  current Intel computers the extra load is not so much of a problem,
  but for poor Raspberry Pi one would rather like to save a few
  instructions, instead of adding more.
 
  Katja
 
 
  On Sun, Jan 20, 2013 at 5:27 PM, Pierre Massat pimas...@gmail.com
 wrote:
   Hi,
  
   Could someone please explain how this impacts Pd's performance on the
   Raspberry Pi ?
   It doesn't make any sense to me right now, but i'm very curious...
  
   Cheers,
  
   Pierre.
  
  
   2013/1/20 Hans-Christoph Steiner h...@at.or.at
  
  
   I think this is what you want, from 'man gcc'.  Its interesting to
 note
   that
   the NEON mode, which provides SIMD, also does not do denormals:
  
   -mfpu=name
   -mfpe=number
   -mfp=number
   This specifies what floating point hardware (or hardware
 emulation)
   is
   available on the target.  Permissible names are: fpa, fpe2, fpe3,
   maverick,
   vfp, vfpv3, vfpv3-fp16, vfpv3-d16, vfpv3-d16-fp16, vfpv3xd,
   vfpv3xd-fp16,
   neon, neon-fp16, vfpv4, vfpv4-d16, fpv4-sp-d16 and neon-vfpv4.
   -mfp
   and
   -mfpe are synonyms for -mfpu=fpenumber, for compatibility with
   older
   versions of GCC.
  
   If -msoft-float is specified this specifies the format of
 floating
   point
   values.
  
   If the selected floating-point hardware includes the NEON
 extension
   (e.g.
   -mfpu=neon), note that floating-point operations will not be used
   by
   GCC's
   auto-vectorization pass unless -funsafe-math-optimizations is
 also

[PD] Raspberry Pi - Audio in and out, low latency

2013-01-22 Thread Pierre Massat
Dear list, dear Miller,

I tried Pd on a fresh Raspbian install today. I removed pulseaudio as you
suggested. I installed Pd from the Raspbian repos (not your version).
I tried it with my USB E-MU 0404 soundcard. It worked right away. No need
to slow down the USB.
I tried with a latency in Pd of 10 ms, in X, connected to the internet, and
there was very little dropouts.
This is so promising it's scary.

Now i have one very frustrating problem : i don't know how to choose my
soundcard from the command line when starting Pd...
It shows up as Card 1, device 0 when i do aplay -l, but i don't know how
to use this information.

Cheers!

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


Re: [PD] Audio output on Raspberry Pi - Recommendations?

2013-01-21 Thread Pierre Massat
Hi Miller,

You made my day!

Cheers,

Pierre.

2013/1/21 Miller Puckette m...@ucsd.edu

 Hi all -

 I just now tried again (after some months of not fooling with it) and
 got audio in+out working with no trouble at all... from a clean and
 recently updated Raspian install (i.e. 'apt-get update; apt-get upgrade)
 I just deleted pulseaudio:
 apt-get remove pulseaudio
 and then slowed my USB down to 1.1 speed by adding the setting:
 dwc_otg.speed=1
 to the file /boot/cmdline.txt
 plugged in a Griggin iMic (bout $25 I think) and immediately got
 full-duplex
 audio.  I'm running only one channel in and tried it with an electric
 guitar
 with the iMic switched to 'mic in' and all worked.  I was able to get audio
 latency down to 10, didn't try any lower than that.

 This is all without any mouse, keyboard or video monitors connected to the
 pi - I'mm SSH-ing in.  Last time I got up to this point, things started to
 degrade when I put other USB devices on so I'll try that now...

 cheers
 Miller

 On Fri, Jan 18, 2013 at 01:27:46PM +0100, Cyrille Henry wrote:
  hello,
 
  could you tell a bit more about the alsa tweak?
 
  thanks
  Cyrille
 
 
  Le 18/01/2013 12:06, padawa...@obiwannabe.co.uk a écrit :
  Yes, I got it goiing for a recent workshop in Nantes
  ALSA tweaked a bit with the .asoundrc file
  Hardware: Turtle Beach dongle (Old Amigo 1 I think)
  Latency: 150ms (total suckage)
  
  On 18 January 2013 at 10:49 Julian Brooks jbee...@gmail.com wrote:
  Apologies for dragging this up again...
  
  Can anyone confirm that they have got duplex audio working - in any
 form with any combination of hdmi, usb or the regular audio out of the rpi,
 and with which OS, version, tweaks?
  
  Still not convinced it's properly doable from our (iMic USB based)
 experiments.
  
  Regards,
  
  Julian
  
  On 5 January 2013 17:54, Dirk Myers di...@wildvine.com mailto:
 di...@wildvine.com wrote:
  
  Thanks, all.  I'll check out the iMic  UCA222.  Cheers! -- Dirk
  
  On Jan 4, 2013, at 12:47 PM, Julian Brooks wrote:
  
  +1 on the imic.
  
  
  
  On 4 January 2013 18:18, Cyrille Henry c...@chnry.net mailto:
 c...@chnry.net wrote:
  
  in fact, both edirol UA1X and beringer uca222 works.
  they look so similar that I mix there name.
  sorry
  Cyrille
  
  
  Le 04/01/2013 18:55, Pedro Lopes a écrit :
  
  edirol? Isn't uca222 a behringer card?
  On Fri, Jan 4, 2013 at 6:48 PM, Cyrille Henry 
 c...@chnry.net mailto:c...@chnry.net mailto: c...@chnry.net mailto:
 c...@chnry.net wrote:
  
  edirol uca222 works great.
  cheers
  c
  
  
  Le 04/01/2013 17:49, Miller Puckette a écrit :
  
  The best ide I got was from the Griffin iMic
 (thanks to Joe Deken over at
  New Blankets for running out and buying a bunch
 of cheap USB 'adapters' -
  the Griffin is $40 list / $27 street).
  
  The thing looks like an apple product but (as I
 discovered today looking at
  it) isn't.  Good job of
 apple-style-imitation-without- __infringing-trademark.
  
  
  The other USB 'adapters' also worked but beware -
 some take more power than
  the Pi can supply and some are physically so
 bulky you can't get anything
  in the other USB slot - in either case you have
 to get a powered USB hub and
  live with a layer of additional uncertainty.
  
  cheers
  Miller
  
  
  On Fri, Jan 04, 2013 at 08:18:00AM -0800, Dirk
 Myers wrote:
  
  Folks:
  
  I've been digging through the list 
 searching, haven't found a clear answer: what are folks using for audio
 output from the Raspberry Pi to a mixing board? I'm leaning toward trying a
 few USB audio interfaces. Curious about what others have used that is
 working well.
  
  Thanks,
  
  Dirk
  __
 ___
  Pd-list@iem.at mailto:Pd-list@iem.at mailto:
 Pd-list@iem.at mailto:Pd-list@iem.at mailing list
  UNSUBSCRIBE and account-management -
 http://lists.puredata.info/__listinfo/pd-list 
 http://lists.puredata.info/__listinfo/pd-list 
 http://lists.puredata.info/listinfo/pd-list 
 http://lists.puredata.info/listinfo/pd-list
  
  
  __ ___
  Pd-list@iem.at mailto:Pd-list@iem.at mailto:
 Pd-list@iem.at mailto:Pd-list@iem.at mailing list
  UNSUBSCRIBE and account-management -
 http://lists.puredata.info/__listinfo/pd-list 
 http://lists.puredata.info/__listinfo/pd-list 
 http://lists.puredata.info/listinfo/pd-list 
 

[PD] Pd -- Python, IPC, FUDI, pdreceive, et cetera !

2013-01-21 Thread Pierre Massat
Dear List,

I've been working a lot with Python and Pd lately, and i would like to have
better means of communication between the two.
I know next to nothing about inter-process communication, I know nothing
about FUDI (except that it's the protocol used by pdsend and pdreceive),
and I have no idea what pdreceive was originally designed for. I've only
used the subprocess (formerly popen) module in python, but i don't know how
to use it with streams of messages coming from the standard output of a
running process.
I don't want to use libpd for now because i only need to send and receive
simple messages between Python and Pd.

Can someone please provide a few hints ?

Cheers!

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


Re: [PD] Raspberry Pi does denormals

2013-01-21 Thread Pierre Massat
Hi Katja, thank you for your reply! It is now (slightly) clearer. Every
time you post something here I feel like some messages from a technical
NASA mailing list are being accidentally sent to pd-list!

Cheers,

Pierre.

2013/1/21 katja katjavet...@gmail.com

 Pierre, the way how denormals can impact performance on the Pi, is
 whenever a an object with feedback delay (IIR filter, reverb etc.)
 stops receiving input signal, it's values decay into the subnormal
 range, which causes substantial increase of CPU load. Such situations
 can be avoided by adding a tiny DC value to the object input, like [+~
 1e-21] (note the minus sign in the number notation). When a normal
 audio signal is present, that number is too small to be added (because
 of limited precision), but when audio stops, it prevents subnormals.

 Another thing is, one should be careful not to accidentally send 'inf'
 or 'nan' into such objects, as they can not recover from it. This
 would be particularly annoying in a public performance, since you'd
 need to reload the containing patch to recover.

 It is possible to prevent denormals via C code, as it is currently
 done for Pd on Intel processors, but this implements a lot of
 conditional checks and it means performance loss for many objects. For
 current Intel computers the extra load is not so much of a problem,
 but for poor Raspberry Pi one would rather like to save a few
 instructions, instead of adding more.

 Katja


 On Sun, Jan 20, 2013 at 5:27 PM, Pierre Massat pimas...@gmail.com wrote:
  Hi,
 
  Could someone please explain how this impacts Pd's performance on the
  Raspberry Pi ?
  It doesn't make any sense to me right now, but i'm very curious...
 
  Cheers,
 
  Pierre.
 
 
  2013/1/20 Hans-Christoph Steiner h...@at.or.at
 
 
  I think this is what you want, from 'man gcc'.  Its interesting to note
  that
  the NEON mode, which provides SIMD, also does not do denormals:
 
  -mfpu=name
  -mfpe=number
  -mfp=number
  This specifies what floating point hardware (or hardware emulation)
 is
  available on the target.  Permissible names are: fpa, fpe2, fpe3,
  maverick,
  vfp, vfpv3, vfpv3-fp16, vfpv3-d16, vfpv3-d16-fp16, vfpv3xd,
  vfpv3xd-fp16,
  neon, neon-fp16, vfpv4, vfpv4-d16, fpv4-sp-d16 and neon-vfpv4.  -mfp
  and
  -mfpe are synonyms for -mfpu=fpenumber, for compatibility with older
  versions of GCC.
 
  If -msoft-float is specified this specifies the format of floating
  point
  values.
 
  If the selected floating-point hardware includes the NEON extension
  (e.g.
  -mfpu=neon), note that floating-point operations will not be used by
  GCC's
  auto-vectorization pass unless -funsafe-math-optimizations is also
  specified.  This is because NEON hardware does not fully implement
 the
  IEEE
  754 standard for floating-point arithmetic (in particular denormal
  values
  are treated as zero), so the use of NEON instructions may lead to a
  loss of
  precision.
 
 
  .hc
 
  On 01/20/2013 06:54 AM, katja wrote:
   I was assuming, or maybe just hoping? that Raspberry Pi (and ARM
   devices in general) would not suffer from Denormal's disease like
   Intel processors do. But guess what: Pi's float coprocessor is IEEE
   754 compliant and does all denormals by default (can check with
   attached denorm-test.pd). Bummer! As if one would use an ARM device to
   calculate the size of a Majorana particle, rather than doing simple
   dsp. Do we really need to enable PD-BIGORSMALL() checks for this poor
   little processor? There seems to be something called 'RunFast mode'
   for Pi's float processor vfpv2, but I see no way how to enable this
   via gcc. Option -ffast-math is allowed but doesn't do the trick. Can't
   find an option to set vfpv2 specifically, in gcc docs.
  
   Katja
  
  
  
   ___
   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-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Pd -- Python, IPC, FUDI, pdreceive, et cetera !

2013-01-21 Thread Pierre Massat
Yes, I only want to launch Pd from Python and the status of some objects in
return, so nothing too critical.

I'll try the OSC example.

Cheers,

Pierre.

2013/1/21 padawa...@obiwannabe.co.uk padawa...@obiwannabe.co.uk

 **

  With popen you'll quickly discover the joys of unix buffers, queueing
  and all the reasons libPd was invented :)

  Probably a frustrating journey if you want to do any kind of time
  critical musical control this way. If transferring bulk data, or
 launching
  Pd instances for control by other sources is your aim, then
  it will be okay.


 On 21 January 2013 at 14:42 Pierre Massat pimas...@gmail.com wrote:

 Dear List,

 I've been working a lot with Python and Pd lately, and i would like to
 have better means of communication between the two.
 I know next to nothing about inter-process communication, I know nothing
 about FUDI (except that it's the protocol used by pdsend and pdreceive),
 and I have no idea what pdreceive was originally designed for. I've only
 used the subprocess (formerly popen) module in python, but i don't know how
 to use it with streams of messages coming from the standard output of a
 running process.
 I don't want to use libpd for now because i only need to send and receive
 simple messages between Python and Pd.

 Can someone please provide a few hints ?

 Cheers!

 Pierre.
 ___
 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] Pd -- Python, IPC, FUDI, pdreceive, et cetera !

2013-01-21 Thread Pierre Massat
Assuming that i can find a description of this protocol, how would I use it
to communicate between Pd and Python ? I guess this more a question to ask
in a Python forum, but still, i'd love to have at least some hints...

Cheers,

Pierre.

2013/1/21 Jonathan Wilkes jancs...@yahoo.com

 - Original Message -
  From: Hans-Christoph Steiner h...@at.or.at
  To: pd-list@iem.at
  Cc:
  Sent: Monday, January 21, 2013 11:17 AM
  Subject: Re: [PD] Pd -- Python, IPC, FUDI, pdreceive, et cetera !
 
 
  FUDI is not just netsend/netreceive, its all Pd messages, including what
  pd-gui sends to pd.  Its basically space-separated data terminated with a
  semi-colon and a newline i.e. ;\n

 Someone should add the description of the FUDI protocol to
 the man pages for pdsend/pdreceive, since its not a standard
 protocol and is slightly different from the messages people
 are used to sending from within the gui (i.e., without a terminating
 semicolon).

 -Jonathan

 
  .hc
 
  On 01/21/2013 09:42 AM, Pierre Massat wrote:
  Dear List,
 
  I've been working a lot with Python and Pd lately, and i would like to
  have
  better means of communication between the two.
  I know next to nothing about inter-process communication, I know nothing
  about FUDI (except that it's the protocol used by pdsend and
  pdreceive),
  and I have no idea what pdreceive was originally designed for. I've
  only
  used the subprocess (formerly popen) module in python, but i don't know
  how
  to use it with streams of messages coming from the standard output of a
  running process.
  I don't want to use libpd for now because i only need to send and
  receive
  simple messages between Python and Pd.
 
  Can someone please provide a few hints ?
 
  Cheers!
 
  Pierre.
 
 
 
  ___
  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-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] puredata.info down ?

2013-01-21 Thread Pierre Massat
I can't access it at all!

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


Re: [PD] Automating startup

2013-01-13 Thread Pierre Massat
Hi,
Of course. Sorry I forgot...
http://en.flossmanuals.net/pure-data/getting-started/starting/

Please remember to use Reply to all when your first message was orginally
posted as a pd-list thread!

Cheers,

Pierre.

2013/1/12 Rick Bragg rbr...@gmnet.net

 Hi Pierre, do you have a link to it?

 Thanks!
 Rick


  Hi Rick,
 
  You can start by reading this page in the FLOSS manual, especially the
 last
  paragraphs.
  Once you get how it works, it's no big deal start Pd from a command line
  with all the settings you need.
 
  Cheers,
 
  Pierre.
 
  2013/1/12 Rick Bragg rbr...@gmnet.net
 
  Hi,
 
  I would like to set up my system to set up my patch automatically with
  jack and all
  the right connections when the system boots. I am using Ubuntu studio at
  the
  moment.
 
  I currently have it set so that qjackctl starts when I log in, and I set
  qjackctl
  to automatically start up jack server when it opens, and then to open my
  pd file
  after it starts.
 
  I have a few problems to overcome.
 
  First, every time pd starts, I need to go into the Media menu and
 change
  from
  Default MIDI to Alsa MIDI  Why do I have to change this every time?
   Shouldn't
  this setting be saved?
 
  Second problem:
  After pd opens, I always need to go back to qjackctl, open up the the
  connections
  and change the MIDI connections.  Can't I save this as a patchbay
 setting
  somehow?
  I tried that, but it doesn't work because the patchbay settings need to
  load AFTER
  pd starts  otherwise the pd connections are not available.
 
  Are there any good documentation somewhere that discusses automating all
  this kind
  of stuff?
 
  Thanks!
  Rick
 
 
 
 
  ___
  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] Automating startup

2013-01-12 Thread Pierre Massat
Hi Rick,

You can start by reading this page in the FLOSS manual, especially the last
paragraphs.
Once you get how it works, it's no big deal start Pd from a command line
with all the settings you need.

Cheers,

Pierre.

2013/1/12 Rick Bragg rbr...@gmnet.net

 Hi,

 I would like to set up my system to set up my patch automatically with
 jack and all
 the right connections when the system boots. I am using Ubuntu studio at
 the
 moment.

 I currently have it set so that qjackctl starts when I log in, and I set
 qjackctl
 to automatically start up jack server when it opens, and then to open my
 pd file
 after it starts.

 I have a few problems to overcome.

 First, every time pd starts, I need to go into the Media menu and change
 from
 Default MIDI to Alsa MIDI  Why do I have to change this every time?
  Shouldn't
 this setting be saved?

 Second problem:
 After pd opens, I always need to go back to qjackctl, open up the the
 connections
 and change the MIDI connections.  Can't I save this as a patchbay setting
 somehow?
 I tried that, but it doesn't work because the patchbay settings need to
 load AFTER
 pd starts  otherwise the pd connections are not available.

 Are there any good documentation somewhere that discusses automating all
 this kind
 of stuff?

 Thanks!
 Rick




 ___
 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] Raspberry Pi versus BeagleBoard ?

2012-12-20 Thread Pierre Massat
Hi Miller,

Thank you for your reply. I didn't know there could be such a difference in
performance between two ARM chips.
It seems very attractive indeed, and i think i'll contact the people at
CCRMA to ask about the latency they achieved. If it's low enough i'll
definitely give it a try.

Cheers,

Pierre.

2012/12/17 Miller Puckette m...@ucsd.edu

 I could be wrong, but I believe the Beagleboard is ARMv7 and the Pi is
 ARM v6 - so BB could easily have twice the floating-point erformance of
 Pi.  I'm not sure why and whether there would be any difference in Jack
 for the two.  I believe (but am not sure at all) that BB doesn't have the
 same USB problems the Pi has.  All in all it's still a very attractive
 possibliity, perticularly since the Stanford people have tested and
 exercised
 it thoroughly.

 cheers
 Miller

 On Mon, Dec 17, 2012 at 04:38:40PM +0100, Pierre Massat wrote:
  Dear List,
 
  I came accross this Stompbox design workshop (
  https://ccrma.stanford.edu/wiki/Stompbox_2011). They use Pd on a
  beagleboard to make stompboxes.
  They talk about the older version of the beagleboard with a CPU running
 at
  around 700 MHz. This is the same speed as the RPi's.
 
  I'm wondering what kind of latency they achieved on the beagleboard.
  Leaving aside the problem of the lack of audio in, don't you think we
  should be able to get the same performance on a raspberry pi ?
  Also, I wonder why JACK runs on the beagleboard and not on the RPi.
 
  Cheers,
 
  Pierre.

  ___
  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] Raspberry Pi versus BeagleBoard ?

2012-12-20 Thread Pierre Massat
Hi,

I wrote an e-mail to the guys who made the Satellite CCRMA image for the
BB, asking about latency and quality of the built-in audio interface.
I didn't get a reply to any of these questions, so I guess i'll have to buy
one and figure out myself.

One interesting news though is that they are preparing an image for the
Raspberry Pi. It should be the first image for this machine optimized for
audio, beside the Raspbian image recently tweaked by Miller Puckette.

And finally, just so you know : I haven't published about it, but I can
safely say that if you don't use the satellite CCRMA images, you will be
sorry later on down the road. As far as I know, no one else is bothering to
make good images. I'm not sure what to make of these statements ;)

Cheers,

Pierre.

2012/12/20 Bastiaan van den Berg b...@spacedout.nl

 On Mon, Dec 17, 2012 at 7:35 PM, Miller Puckette m...@ucsd.edu wrote:

 I could be wrong, but I believe the Beagleboard is ARMv7 and the Pi is
 ARM v6 - so BB could easily have twice the floating-point erformance of
 Pi.  I'm not sure why and whether there would be any difference in Jack
 for the two.  I believe (but am not sure at all) that BB doesn't have the
 same USB problems the Pi has.  All in all it's still a very attractive
 possibliity, perticularly since the Stanford people have tested and
 exercised
 it thoroughly.


 Yes, BB has a _LOT_ better performance than RasPi ..

 Btw, if you want a cheaper board with BB like performance but RasPi like
 price, look at Cubieboard .. ( http://cubieboard.org/ )

 --
 buZz

 ___
 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] Raspberry Pi versus BeagleBoard ?

2012-12-20 Thread Pierre Massat
Wow! Are you using their satellite distro ? What version of the beagleboard
are you using ? 72 ms is definitely unusable for realtime effects.
I can't seem to find any info about the latency they achieve and this is a
bit strange. A low latency is a sine qua non condition if one wants to
build a stompbox.

Cheers,

Pierre.

2012/12/20 Alexandros Drymonitis adr...@gmail.com

 I just tried out the latency.pd patch in 7.stuff/tools on my beagleboard
 and [timer] shifts between 72.5 and 75.4, if this answers your question.
 I've attended a workshop on the BB with Pd by the buys at CCRMA, it was a
 rather nice one.


 On Thu, Dec 20, 2012 at 4:54 PM, Pierre Massat pimas...@gmail.com wrote:

 Hi,

 I wrote an e-mail to the guys who made the Satellite CCRMA image for the
 BB, asking about latency and quality of the built-in audio interface.
 I didn't get a reply to any of these questions, so I guess i'll have to
 buy one and figure out myself.

 One interesting news though is that they are preparing an image for the
 Raspberry Pi. It should be the first image for this machine optimized for
 audio, beside the Raspbian image recently tweaked by Miller Puckette.

 And finally, just so you know : I haven't published about it, but I can
 safely say that if you don't use the satellite CCRMA images, you will be
 sorry later on down the road. As far as I know, no one else is bothering to
 make good images. I'm not sure what to make of these statements ;)

 Cheers,

 Pierre.

 2012/12/20 Bastiaan van den Berg b...@spacedout.nl

 On Mon, Dec 17, 2012 at 7:35 PM, Miller Puckette m...@ucsd.edu wrote:

 I could be wrong, but I believe the Beagleboard is ARMv7 and the Pi is
 ARM v6 - so BB could easily have twice the floating-point erformance of
 Pi.  I'm not sure why and whether there would be any difference in Jack
 for the two.  I believe (but am not sure at all) that BB doesn't have
 the
 same USB problems the Pi has.  All in all it's still a very attractive
 possibliity, perticularly since the Stanford people have tested and
 exercised
 it thoroughly.


 Yes, BB has a _LOT_ better performance than RasPi ..

 Btw, if you want a cheaper board with BB like performance but RasPi like
 price, look at Cubieboard .. ( http://cubieboard.org/ )

 --
 buZz

 ___
 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


Re: [PD] Raspberry Pi versus BeagleBoard ?

2012-12-20 Thread Pierre Massat
Hm, ok. So if it's the satellite distro then Pd should run in rt with JACK,
which means that the latency you mention is fairly close to the minimum one
can get. Am I wrong ?
Even 50 ms is unusable for a realtime effect processor.
Why call it a stompbox workshop then ? :(

Thank you Alexandros!

2012/12/20 Alexandros Drymonitis adr...@gmail.com

 15 ms, by default, meaning I never touched it, maybe Edgar did the whole
 setup.


 On Thu, Dec 20, 2012 at 5:16 PM, Max abonneme...@revolwear.com wrote:


 Am 20.12.2012 um 16:09 schrieb Alexandros Drymonitis adr...@gmail.com:

  I just tried out the latency.pd patch in 7.stuff/tools on my
 beagleboard and [timer] shifts between 72.5 and 75.4, if this answers your
 question. I've attended a workshop on the BB with Pd by the buys at CCRMA,
 it was a rather nice one.

 AFAIK you also need to say what the delay setting was in the audio
 properties of Pd. It makes a difference for the numbers you get.

 m.



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


[PD] Raspberry Pi versus BeagleBoard ?

2012-12-17 Thread Pierre Massat
Dear List,

I came accross this Stompbox design workshop (
https://ccrma.stanford.edu/wiki/Stompbox_2011). They use Pd on a
beagleboard to make stompboxes.
They talk about the older version of the beagleboard with a CPU running at
around 700 MHz. This is the same speed as the RPi's.

I'm wondering what kind of latency they achieved on the beagleboard.
Leaving aside the problem of the lack of audio in, don't you think we
should be able to get the same performance on a raspberry pi ?
Also, I wonder why JACK runs on the beagleboard and not on the RPi.

Cheers,

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


Re: [PD] Pd on the Pi : Miller's version

2012-12-07 Thread Pierre Massat
Hi Miller,

Thank for your reply. This is the thread that made me ask for an update
here.

Cheers,

Pierre.

2012/12/6 Miller Puckette m...@ucsd.edu

 Hi all -

 Here's the thread:


 http://www.raspberrypi.org/phpBB3/viewtopic.php?f=66t=19155p=218405#p218405

 ... and the upshot is you have to slow USB down to 1.1 (instead of the
 default
 2.0) to get correct audio input.

 The version of Pd I've uploaded (http://crca.ucsd.edu/~msp/software.html)
 is much newer than the stock one that apt-get installs; OTOH the apt-get
 one is Pd extended and mine is only vanilla.

 cheers
 Miller

 On Thu, Dec 06, 2012 at 10:28:33AM -0500, me.grimm wrote:
  I came upon a thread where he talks about his attempt to get audio in
  working,
 
  wheres the thread?
 
   I would also like to know if anybody has some feedback to give about
  audio in,
 
  it still sounds like shit on my end. what hardware are you using? i see
  there has been some improvements on the USB drivers recently. maybe that
  will be fixed soon and the issues with audio in will improve?
 
  i would also like to know if anyone has it working well... been a while
  since these pi threads were started on this list a few months back. maybe
  someone has made head way...
 
  m
 
 
 
  On Thu, Dec 6, 2012 at 6:06 AM, Pierre Massat pimas...@gmail.com
 wrote:
 
   Dear list,
  
   I know that Miller Puckette has been working on improving Pd on the RPi
   lately, and I came upon a thread where he talks about his attempt to
 get
   audio in working, and mentioned his version of Pd compiled for the RPi.
  
   I would like to know in which respects it is different from the vanilla
   version one can grab from the Raspbian repository. I would also like to
   know if anybody has some feedback to give about audio in, and specially
   about the latency that can be achieved (and whether there is room for
   improvement or not).
  
   In short : an update on Pd on the Pi ?
  
   Cheers,
  
   Pierre.
  
   ___
   Pd-list@iem.at mailing list
   UNSUBSCRIBE and account-management -
   http://lists.puredata.info/listinfo/pd-list
  
  
 
 
  --
  
  m.e.grimm | m.f.a | ed.m.
  megr...@gmail.com
  _

  ___
  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] Pd on the Pi : Miller's version

2012-12-06 Thread Pierre Massat
Dear list,

I know that Miller Puckette has been working on improving Pd on the RPi
lately, and I came upon a thread where he talks about his attempt to get
audio in working, and mentioned his version of Pd compiled for the RPi.

I would like to know in which respects it is different from the vanilla
version one can grab from the Raspbian repository. I would also like to
know if anybody has some feedback to give about audio in, and specially
about the latency that can be achieved (and whether there is room for
improvement or not).

In short : an update on Pd on the Pi ?

Cheers,

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


Re: [PD] pd-extended 0.43.3/ raspberry pi (wheezy) - start patch on boot?

2012-11-25 Thread Pierre Massat
Hi Epic,

I got Pd running at startup on the RPi without modifying
/etc/init.d/pd-extended.
All I did is add a line in /etc/rc.local, something like 'pd -nogui
-audiobuf 100 -noadc /home/pi/mypatch.pd'

This will start Pd, without GUI, with a buffer big enough for the RPi,
without audio in (there's no capture on the RPi), and open the patch called
'mypatch.pd' in the home folder.

This should work a fresh Raspbian install. Pd will start without the user
having to login, nor start X.

There's also an alternate solution involving the cration of a bash script.
I described it here on my blog :
http://guitarextended.wordpress.com/2012/08/28/running-pd-on-a-headless-raspberry-pi/

Cheers,

Pierre.

PS : this is for Pd-vanilla, i've never tried pd-extended on the Pi.

2012/11/25 Epic Jefferson jeffreyconcepc...@gmail.com

 Hans:

 to make sure i had everything correct i started from scratch,
 i did everything you indicated including the exact patch location, still
 nothing.
 i added the auto login as suggested by Cyrille, nada.

 Cyrille:
 could you be more specific as to what i would replace the startx with?
 should i indicate the exact path as well?

 like so: su pi -c /home/pi/Desktop/whatever.pd

 i tested it with startx and it did not work anyway.


 On Sun, Nov 25, 2012 at 4:14 AM, Cyrille Henry c...@chnry.net wrote:

 hello,

 to start a patch on a RPi, you can also follow this instruction :
 http://elinux.org/RPi_Debian_**Auto_Loginhttp://elinux.org/RPi_Debian_Auto_Login

 once autologin work, you can replace the startX by pd.

 works for me.
 cheers
 c


 Le 25/11/2012 06:10, Epic Jefferson a écrit :

 Charles:

 i found /etc/init.d/pd-extended and added

 su -c pd whetever.pd pi

 (am i supposed to specify the exact location of the patch?
   /home/pi/Desktop/pd/whatever.**pd)

 then
 $ chmod a+x /etc/init.d/pd-extended
 $ update-rc.d pd-extended defaults 99

 i rebooted but no pd patch on startup

 Hans:
 i also tried editing /etc/default/pd-extended by un-commenting
 RUNPDDAEMON=yes
 DAEMON=/usr/bin/pd-extended
 and i set the patch location
 and the user: USER=pi

 still nothing on start up. perhaps there is a conflict between Charles'
 and Hans' instructions?


 On Sat, Nov 24, 2012 at 9:37 PM, Hans-Christoph Steiner 
 h...@at.or.atmailto:
 h...@at.or.at wrote:


 On Nov 24, 2012, at 6:49 PM, Charles Goyard wrote:

   Epic Jefferson wrote:
   i'd like to start a patch automatically upon booting. is there a
 file i can
   edit to load a whatever.pd patch by the end of the start up
 sequence? GUI
   is not required.
  
   Create a script named /etc/init.d/pdauto containing :
  
   #!/bin/sh
   su -c pd mypatch.pd your_username
  
   Make it executable : chmod a+x /etc/init.d/pdauto
  
   Then run :
   update-rc.d pdauto defaults 99
   to make it run at startup
  
   See 11.6 in
   http://www.debian.org/doc/**manuals/debian-faq/ch-**
 customizing.en.htmlhttp://www.debian.org/doc/manuals/debian-faq/ch-customizing.en.html
   for more details.

 Pd-extended Debian packages should install /etc/init.d/pd, otherwise
 you can get it from pure-data SVN: trunk/scripts/debian.

 Edit /etc/default/pd to change the startup options.

 .hc



 __**_
 Pd-list@iem.at mailto:Pd-list@iem.at mailing list

 UNSUBSCRIBE and account-management - http://lists.puredata.info/**
 listinfo/pd-list http://lists.puredata.info/listinfo/pd-list




 --
 www.epicjefferson.com http://www.epicjefferson.com
 www.avmachinists.org http://www.avmachinists.org Puerto Rico based
 Art Collective/ Non-Profit Org



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




 --
 www.epicjefferson.com
 www.avmachinists.org Puerto Rico based Art Collective/ Non-Profit Org

 ___
 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] mp3 (layerII) or .wav/.aif stereo player!

2012-11-21 Thread Pierre Massat
Have you guys tried with [readanysf~] ?

Pierre.

2012/11/21 Björn Eriksson miu...@gmail.com

 Hello,
 chiming in on the mp3-file playing topic aswell...
 I encountered exactly the same problem trying to play a mp3 file a while
 ago with the object [mp3play~], receiving this error text:

 ==
 error: : no such object
 Layer II not supported!

 EOF: bang
 ==

 which is maybe not so surprising as we all have heard that mp3 should be
 the layer III to be played. But how is it possible to change an mp3 that
 has layer II format into a layer III format?  Seems most mp3´s are in the
 layer II standard. My try was with this mp3-file (found on UBU.com)

 http://ubumexico.centro.org.mx/sound/broodthaers_marcel/Broodthaers-Marcel_Interview-With-A-Cat.mp3

 I am attaching the help-patch for [mp3play~], which I found in IEMLIB
 folder.

 If there only where ogg vorbis files out there it would be easy to just
 use [oggread~] which seems to work fine.

 I am really curious about the layer II / III mystery. Also I have heard
 that layer III are the mp3 standard, and layer II not. Just
 don´t understand the error I am getting.(I am on a win xp machine, but
 the same happens also on a win 7 machine)


 All the best,
 Björn Eriksson





 On Wed, Nov 21, 2012 at 3:08 PM, Òscar Martínez Carmona xamp...@gmail.com
  wrote:

 then you probably should report a bug with f*cking logic.

 Should I? I mean, the external might work fine with layer III files (in
 reality mp3 stands for mpeg2 layer 3), the thing is that all the converters
 I've used are on layer II, so I can't use it!

 Anyways, I've solved it with [readsf~] playing an .aif file, but the
 problem I got now it's related with dinamically changing the file I need to
 open. I receive the filename throught OSC and it goes to a symbol and it
 shows me the communication went nice, but apparently it doesn't affect the
 open message with the dollar sign, why??

 [unpack f f s]
   llI
   [amnotlayertri.aif} //this is supposed to represent a symbol
l
   [ open ../samples/$ (
l
   [readsf~ 2]




 On Tue, Nov 20, 2012 at 8:00 PM, IOhannes m zmölnig zmoel...@iem.atwrote:

 On 11/20/2012 07:04 PM, Òscar Martínez Carmona wrote:

 [readsf~] seems to be what I was looking for!
 I'm not sure about mp3 layers and names , but when that layer II file is
 what I get with an mp3 bounce with Logic...


 then you probably should report a bug with f*cking logic.


 fgmasdr
 IOhannes


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




 --
 Òscar Martínez Carmona


 ___
 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


Re: [PD] Random number generation quest

2012-11-14 Thread Pierre Massat
Hi,

You could use the [shell] object to run a little bash script that would ask
the current time in milliseconds from your system, and send it as a seed to
Pd using pdsend. This way you wouldn't need any extra command line
arguments. I don't know whether this is worth the trouble, though.

Pierre.

2012/11/14 Roman Haefeli reduz...@gmail.com

 On Wed, 2012-11-14 at 14:53 +, Enrique Erne wrote:
  Hi List!
 
  Can a random number form 0 to 100 be generated with the following
 requirements:
 
- No externals / Vanilla Pd only
- DSP must be off
- The patch is loaded with Pd through command line interface i.e.
  `pd -noprefs -nogui givemerandom.pd`
- The output should not always be the same number
 

 If you happen to start Pd always from bash / command-line, you do
 something like this:

 pd -noprefs -nogui givemerandom.pd -send seed $RANDOM

 and in your patch:

 [r seed]
 |
 [seed $1(
 |
 [random]

 However, I also would be interested in a solution that works without
 command-line arguments.

 Roman



 ___
 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] IBM PureData

2012-11-08 Thread Pierre Massat
It could make your patch intelligent.

Example :

[retarded_patch]

Include :

[loadbang]
|
[IBM~]

Result :

[intelligent_patch]

Cheers,

Pierre.

2012/11/8 Julian Brooks jbee...@gmail.com

 the obvious next step is for someone to code up an [IBM~] external for pd

 I like this idea a lot but what should it consist of?



 ___
 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] Pd -nogui on Raspberry Pi : problem with samplerate

2012-11-07 Thread Pierre Massat
All right, thanks for your help.

Cheers,

Pierre.

2012/11/6 Miller Puckette m...@ucsd.edu

 I think this depends on how oggwrite~ works internally.  Objects ideally
 should react to changes in sample rate in real time, since the user can
 change
 the rate after the object has been created.

 Unfortunately this isn't even true of the delwrite~ object, whose memory
 should be resized dynamically when the sample rate changes and doesn't!

 cheers
 Miller

 On Tue, Nov 06, 2012 at 10:04:45PM +0100, Pierre Massat wrote:
  Hi Miller,
 
  Thanks for your reply. Would this work if I set the samplerate from
 within
  the patch some time after startup ? Or should I start Pd with the proper
  sample rate, and then open my patch ? I have no idea how I can do the
  later, except in a very inelegant way (make a small patch with a delayed
  loadbang that just sends a pd open patch.pd message).
 
  Cheers,
 
  Pierre.
 
  2012/11/6 Miller Puckette m...@ucsd.edu
 
   This popped up on the list earlier... the sample rate gets set _after_
   patches are loaded from the command line if -nogui is set.  It's on my
 long
   list of things to try to fix.  In the meantime, as a workaround, if
 you can
   namage to delay Pd's loading of the patch, even by a fraction of a
 second,
   it should get the proper sample rate.
  
   cheers
   Miller
  
   On Tue, Nov 06, 2012 at 08:33:22PM +0100, Pierre Massat wrote:
Dear List,
   
While trying to use oggwrite~ on my RPi I noticed that it complained
   about
being unable to change the samplerate from 0 to 44100.
I turns out that Pd launched from the command line with the -nogui
 flag
   has
a samplerate of 0 !
Adding the -r 44100 flag doesn't change anything, nor does adding
 the
-alsa flag.
I wonder what causes this, whether it is a bug or not, and how Pd
 manages
to work fine anyway (the only real problem i've had this far was with
oggwrite~)...
   
Any clue?
   
Cheers,
   
Pierre.
  
___
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] Pd -nogui on Raspberry Pi : problem with samplerate

2012-11-06 Thread Pierre Massat
Dear List,

While trying to use oggwrite~ on my RPi I noticed that it complained about
being unable to change the samplerate from 0 to 44100.
I turns out that Pd launched from the command line with the -nogui flag has
a samplerate of 0 !
Adding the -r 44100 flag doesn't change anything, nor does adding the
-alsa flag.
I wonder what causes this, whether it is a bug or not, and how Pd manages
to work fine anyway (the only real problem i've had this far was with
oggwrite~)...

Any clue?

Cheers,

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


Re: [PD] Pd -nogui on Raspberry Pi : problem with samplerate

2012-11-06 Thread Pierre Massat
Hi Miller,

Thanks for your reply. Would this work if I set the samplerate from within
the patch some time after startup ? Or should I start Pd with the proper
sample rate, and then open my patch ? I have no idea how I can do the
later, except in a very inelegant way (make a small patch with a delayed
loadbang that just sends a pd open patch.pd message).

Cheers,

Pierre.

2012/11/6 Miller Puckette m...@ucsd.edu

 This popped up on the list earlier... the sample rate gets set _after_
 patches are loaded from the command line if -nogui is set.  It's on my long
 list of things to try to fix.  In the meantime, as a workaround, if you can
 namage to delay Pd's loading of the patch, even by a fraction of a second,
 it should get the proper sample rate.

 cheers
 Miller

 On Tue, Nov 06, 2012 at 08:33:22PM +0100, Pierre Massat wrote:
  Dear List,
 
  While trying to use oggwrite~ on my RPi I noticed that it complained
 about
  being unable to change the samplerate from 0 to 44100.
  I turns out that Pd launched from the command line with the -nogui flag
 has
  a samplerate of 0 !
  Adding the -r 44100 flag doesn't change anything, nor does adding the
  -alsa flag.
  I wonder what causes this, whether it is a bug or not, and how Pd manages
  to work fine anyway (the only real problem i've had this far was with
  oggwrite~)...
 
  Any clue?
 
  Cheers,
 
  Pierre.

  ___
  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] Recording audio to mp3 using LAME or ffmpeg ?

2012-11-04 Thread Pierre Massat
Seems like I forgot to respond to this thread I started. Thank you all for
the tips, I think I'll go for oggwrite~.

Cheers,

Pierre.

2012/10/5 Hans-Christoph Steiner h...@at.or.at


 I think there is mp3write~ in 'unauthorized' lib but I've never used it.
  There is the pdogg lib, which has oggwrite~.

 .hc

 On 10/05/2012 06:55 AM, Pierre Massat wrote:
  Dear List,
 
  How would you go about recording the audio output of a Pd patch directly
 to
  mp3 (or any other compressed format actually), without using the object
  from the Unauthorized library ?
  Would it be feasible to use the [shell] object with a script using ffmpeg
  or LAME ? I don't really know whether there would be serious timing uses,
  who to use those for recording a stream instead of a file, how to send
 Pd's
  audio out...
 
  I could always record to wav and run a script afterwards to compress and
  delete the original file, but i'd rather have something more direct.
 
  Cheers,
 
  Pierre.
 
 
 
  ___
  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] Get metadata with readanysf~ ?

2012-10-22 Thread Pierre Massat
Dear list,

Any idea whether it's possible to get the metadata off a stream playing in
readanysf~? It seems like webradio streams only broadcast metadata at
regular intervals an not continuously, so i would expect the solution to be
non-trivial.

Cheers,

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


Re: [PD] Satchmo Awards (small-scale Pd+RPi SuitSup equipment awards)

2012-10-11 Thread Pierre Massat
Excuse me, what is Miller's RPi system image again ? I must have missed
something.

Cheers,

Pierre.

2012/10/11 Joe Deken newblank...@newblankets.org

 The first Satch-Suitsup Awards (4 X Raspberry Pi kits with Miller's
 RPi system image as a starting point) have been sent out on their
 merry way, and the first four teams are busily out there now doing
 their individual/connected things:


  01: Gi Vania and SIU team
  02: Theron Trowbridge and CrashSpace LA team
  03: Phil Stone (UC Davis)
  04: Rick Wagner and SDSC (San Diego Supercomputer Center) team

 (Of course the Satchmo Awards include an original honorary
  Satchmo 00 that went to Miller ... but msp has an extremely
  large team, and a pretty full schedule of other interests, so
  he gets his own list.)


 ==
 NOMINATIONS/APPLICATIONS STILL WELCOME

New Blankets is still keen to make a few additional Satchmo Awards
 to additional interested/qualified Pd folks.  NB would particularly
 like to include some RPi SuitSup hackers who are associated with
 patching circles -- and in that regard it would be great to have some
 SuitSup patching-circle activity in other countries outside the
 U.S. where Pd activity is flourishing.

There is now also a rudimentary mailing list for questions,
 (and for sharing SuitSup Pd patches, tips and SuitSup hardware tricks)
 available at:

 suit...@newblankets.org
 ===




 ___
 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] Recording audio to mp3 using LAME or ffmpeg ?

2012-10-05 Thread Pierre Massat
Dear List,

How would you go about recording the audio output of a Pd patch directly to
mp3 (or any other compressed format actually), without using the object
from the Unauthorized library ?
Would it be feasible to use the [shell] object with a script using ffmpeg
or LAME ? I don't really know whether there would be serious timing uses,
who to use those for recording a stream instead of a file, how to send Pd's
audio out...

I could always record to wav and run a script afterwards to compress and
delete the original file, but i'd rather have something more direct.

Cheers,

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


Re: [PD] Pdsend on Raspbian...

2012-10-03 Thread Pierre Massat
Thanks for your help, it worked. I hadn't actually installed Pd. I used
apt-get install pd (it only installed puredata-core), instead of apt-get
install puredata.

Cheers,

Pierre.

2012/10/1 IOhannes m zmölnig zmoel...@iem.at

 On 10/01/2012 08:51 PM, Pierre Massat wrote:
  Dear List,
 
  I had to format my SD card after rpi-update filled up the entire disk.
  So I installed the latest version of Raspbian(2012-09-18), and
  installed Pd. It seems to work ok, but pdsend is nowhere to be found. I
  thought it was part of Pd by default in Linux.
  I tried sudo apt-get install pdsend (or pd-pdsend), to no avail.
  This is making me very sorry.

 $ apt-get install puredata-utils

 you might want to check
 $ apt-cache search puredata
 to get an idea of core (Pd-vanilla) packages.

 and of course, have a look at
 $ apt-cache search ^pd-
 every now and then


 dgmard
 IOhannes


 ___
 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] Pdsend on Raspbian...

2012-10-01 Thread Pierre Massat
Dear List,

I had to format my SD card after rpi-update filled up the entire disk. So I
installed the latest version of Raspbian(2012-09-18), and installed Pd.
It seems to work ok, but pdsend is nowhere to be found. I thought it was
part of Pd by default in Linux.
I tried sudo apt-get install pdsend (or pd-pdsend), to no avail.
This is making me very sorry.
Help!

Cheers,

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


  1   2   3   4   5   >