Re: [PD] Textual pd primer

2012-08-30 Thread Miller Puckette
This seems reasonable to me... I'm trying it out :)

Miller

 
 I found the loadbang workaround doesn't always fix the no sound
 problem with -gui. This patch (which I posted to pd-dev in April)
 does:
 
 http://chrissie.fedorapeople.org/pd-nogui-startup.patch
 
 
 2. (this is the really weird one) The expr object doesn't work if we
 launch Pd on startup ( init.d ) with nogui, BUT if we run it with
 -nogui in a command line over SSH it does.
 
 - we're running a custom build of Ubuntu, we had to do this to get the
 built in audio and outputs on the Gumstix to work. not sure how this
 is on the Pi.
 I'll get Tim to publish it soon anyway.
 
 
 Chrissie
 
 ___
 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] Textual pd primer

2012-08-20 Thread Andrew Faraday

I'm not sure, either. I've never really gotten around to running it. But it 
does seem to have an advantage on pd text files in that you can 'name' pd 
objects as ruby objects. So you can make it usable. 

not sure what FUDI, is, but it may well be a better solution. 

 Date: Fri, 17 Aug 2012 15:15:52 +0100
 From: padawa...@obiwannabe.co.uk
 To: jbtur...@hotmail.com
 CC: sam.ra...@gmail.com; pd-list@iem.at
 Subject: Re: [PD] Textual pd primer
 
 
 It looks fun for Ruby peeps Andrew, though not sure what advantage
 that  gives over FUDI. 
 
 
 On Fri, Aug 17, 2012 at 09:41:01AM +0100, Andrew Faraday wrote:
  ___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Textual pd primer

2012-08-17 Thread Pierre Massat
Just a thought : wouldn't it be useful to create a
pd-Raspberrypi@iem.ataddress ? I get the feeling that there will be
more and more messages about
this new platform which may not necessarily be interesting to pure Pd users.

Cheers,

Pierre.

2012/8/16 Andy Farnell padawa...@obiwannabe.co.uk


 I guess this is a case of working out best practices for development.

 Nobody actually develops Pd in text mode, but gettin things running in
 an embedded way involves a good deal less graphics and can be intimidating
 or confusing at first.

 If you don't want the RPi set up with mouse, kbd and monitor like a full
 system, it's rather like working on other embedded development systems,
 you need to see the board as a target host, and your local machine as the
 development (client).

 One way is to work on a laptop or desktop, and the ftp/scp them accross to
 the
 target board.

 But probably most useful is to use X windows to ssh

 ssh -Y -l user address.of.my.rpi

 and then just start Pd, which will seem to run on your main machine.


 I sense some kind of Raspberry Pi and Pd workshop in the coming
 weeks. maybe best developmnt practices and tips will be an
 outcme of that meeting.

 best,
 Andy


 On Thu, Aug 16, 2012 at 10:42:47AM -0400, Sam Raker wrote:
  Hi guys,
  Longtime listener, first time caller.
  I was wondering if there's a good intro to text-only pd. I just got a
 raspberry pi, and I've heard a lot of chatter about how the -nogui flag
 solves a lot of weird dsp problems c, plus it'd be nice not to have to
 waste a USB port plugging in a mouse as well as a keyboard/midi
 keyboard/sound card/m-audio box/etc. Plus my main comp is a mac, and I'm
 worried making my patches on my Mac and then getting them onto my pi will
 be a pain in the b.
 
  I've seen people say stuff like, oh, just make a patch and look at it
 with a text editor and figure it out, but that's a bit over my head.
 
  Thoughts?
 
  -sam
  ___
  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] Textual pd primer

2012-08-17 Thread Andrew Faraday

Hey Andy

Pure data text files are not human readable, this is a simple fact of their 
existence, while you can tell what an object is and where it is on the canvas 
(although subpatches make even this difficult), the objects and inlets/outlets 
for wires are numeric, and you have to add anything new at the end of the file 
to avoid them pointing to the wrong place.

I have come across this library for ruby 
https://github.com/nagachika/ruby-puredata/, which will remember objects by 
name and hopefully would be usable to make some pure data work in text. 
Although I've never gotten into it, so I don't know if it will be of any use. 

https://github.com/nagachika/ruby-puredata/

Andrew

 Date: Thu, 16 Aug 2012 20:58:07 +0100
 From: padawa...@obiwannabe.co.uk
 To: sam.ra...@gmail.com
 CC: pd-list@iem.at
 Subject: Re: [PD] Textual pd primer
 
 
 I guess this is a case of working out best practices for development.
 
 Nobody actually develops Pd in text mode, but gettin things running in
 an embedded way involves a good deal less graphics and can be intimidating
 or confusing at first.
 
 If you don't want the RPi set up with mouse, kbd and monitor like a full
 system, it's rather like working on other embedded development systems,
 you need to see the board as a target host, and your local machine as the
 development (client).
 
 One way is to work on a laptop or desktop, and the ftp/scp them accross to the
 target board.
 
 But probably most useful is to use X windows to ssh 
 
 ssh -Y -l user address.of.my.rpi
 
 and then just start Pd, which will seem to run on your main machine.
 
 
 I sense some kind of Raspberry Pi and Pd workshop in the coming
 weeks. maybe best developmnt practices and tips will be an
 outcme of that meeting.
 
 best,
 Andy
 
 
 On Thu, Aug 16, 2012 at 10:42:47AM -0400, Sam Raker wrote:
  Hi guys,
  Longtime listener, first time caller. 
  I was wondering if there's a good intro to text-only pd. I just got a 
  raspberry pi, and I've heard a lot of chatter about how the -nogui flag 
  solves a lot of weird dsp problems c, plus it'd be nice not to have to 
  waste a USB port plugging in a mouse as well as a keyboard/midi 
  keyboard/sound card/m-audio box/etc. Plus my main comp is a mac, and I'm 
  worried making my patches on my Mac and then getting them onto my pi will 
  be a pain in the b. 
  
  I've seen people say stuff like, oh, just make a patch and look at it with 
  a text editor and figure it out, but that's a bit over my head.
  
  Thoughts?
  
  -sam
  ___
  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] Textual pd primer

2012-08-17 Thread Duncan Speakman
Sam,
we've been building and developing Pd on the gumstix embedded platform
recently. I'm also running on a Mac so I can give you some of the
knowledge I've learnt (it's been an uphill struggle for us too!) which
may also apply to working on the Pi.

- As Andy said you can use ssh to run pd remotely. You need to have
installed Xcode on your mac, then use X11 and then log in as Andy
describes.  You can then run it just by typing pd, but don't forget
your flags! we're currently using
pd -alsa -nomidi -audiobuf 25 -r 22050 -blocksize 128
Tweaking all these will help!

- The gui can be pretty slow this way so I generally build the patches
on my mac locally, then copy them over to see how the processor on the
Gumstix handles them.

- couple of bugs we found when trying to run pd with -nogui
1. tables and delread objects behave badly unless you delay turning on
the dsp. So in the patch that opens with no gui put a 1 or sec delay
after a loadbang to turn on the dsp.
2. (this is the really weird one) The expr object doesn't work if we
launch Pd on startup ( init.d ) with nogui, BUT if we run it with
-nogui in a command line over SSH it does.

- we're running a custom build of Ubuntu, we had to do this to get the
built in audio and outputs on the Gumstix to work. not sure how this
is on the Pi.
I'll get Tim to publish it soon anyway.




On 17 August 2012 08:46, Pierre Massat pimas...@gmail.com wrote:
 Just a thought : wouldn't it be useful to create a pd-raspberr...@iem.at
 address ? I get the feeling that there will be more and more messages about
 this new platform which may not necessarily be interesting to pure Pd users.

 Cheers,

 Pierre.


 2012/8/16 Andy Farnell padawa...@obiwannabe.co.uk


 I guess this is a case of working out best practices for development.

 Nobody actually develops Pd in text mode, but gettin things running in
 an embedded way involves a good deal less graphics and can be intimidating
 or confusing at first.

 If you don't want the RPi set up with mouse, kbd and monitor like a full
 system, it's rather like working on other embedded development systems,
 you need to see the board as a target host, and your local machine as the
 development (client).

 One way is to work on a laptop or desktop, and the ftp/scp them accross to
 the
 target board.

 But probably most useful is to use X windows to ssh

 ssh -Y -l user address.of.my.rpi

 and then just start Pd, which will seem to run on your main machine.


 I sense some kind of Raspberry Pi and Pd workshop in the coming
 weeks. maybe best developmnt practices and tips will be an
 outcme of that meeting.

 best,
 Andy


 On Thu, Aug 16, 2012 at 10:42:47AM -0400, Sam Raker wrote:
  Hi guys,
  Longtime listener, first time caller.
  I was wondering if there's a good intro to text-only pd. I just got a
  raspberry pi, and I've heard a lot of chatter about how the -nogui flag
  solves a lot of weird dsp problems c, plus it'd be nice not to have to
  waste a USB port plugging in a mouse as well as a keyboard/midi
  keyboard/sound card/m-audio box/etc. Plus my main comp is a mac, and I'm
  worried making my patches on my Mac and then getting them onto my pi will 
  be
  a pain in the b.
 
  I've seen people say stuff like, oh, just make a patch and look at it
  with a text editor and figure it out, but that's a bit over my head.
 
  Thoughts?
 
  -sam
  ___
  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




-- 
follow me : @_dspk

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


Re: [PD] Textual pd primer

2012-08-17 Thread James Dunn

Quoth Duncan Speakman, on 17/08/2012 10:03:

2. (this is the really weird one) The expr object doesn't work if we
launch Pd on startup ( init.d ) with nogui, BUT if we run it with
-nogui in a command line over SSH it does.
could that be to do with permissions? If pd is started at boot via 
init.d I guess it is running as root? And when you run it over ssh, 
maybe you are running it as a normal user?


James

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


Re: [PD] Textual pd primer

2012-08-17 Thread Chrissie Caulfield



On 17/08/12 10:03, Duncan Speakman wrote:

Sam,
we've been building and developing Pd on the gumstix embedded platform
recently. I'm also running on a Mac so I can give you some of the
knowledge I've learnt (it's been an uphill struggle for us too!) which
may also apply to working on the Pi.

- As Andy said you can use ssh to run pd remotely. You need to have
installed Xcode on your mac, then use X11 and then log in as Andy
describes.  You can then run it just by typing pd, but don't forget
your flags! we're currently using
pd -alsa -nomidi -audiobuf 25 -r 22050 -blocksize 128
Tweaking all these will help!

- The gui can be pretty slow this way so I generally build the patches
on my mac locally, then copy them over to see how the processor on the
Gumstix handles them.

- couple of bugs we found when trying to run pd with -nogui
1. tables and delread objects behave badly unless you delay turning on
the dsp. So in the patch that opens with no gui put a 1 or sec delay
after a loadbang to turn on the dsp.


I found the loadbang workaround doesn't always fix the no sound problem 
with -gui. This patch (which I posted to pd-dev in April) does:


http://chrissie.fedorapeople.org/pd-nogui-startup.patch



2. (this is the really weird one) The expr object doesn't work if we
launch Pd on startup ( init.d ) with nogui, BUT if we run it with
-nogui in a command line over SSH it does.

- we're running a custom build of Ubuntu, we had to do this to get the
built in audio and outputs on the Gumstix to work. not sure how this
is on the Pi.
I'll get Tim to publish it soon anyway.



Chrissie

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


Re: [PD] Textual pd primer

2012-08-17 Thread Andy Farnell

It looks fun for Ruby peeps Andrew, though not sure what advantage
that  gives over FUDI. 


On Fri, Aug 17, 2012 at 09:41:01AM +0100, Andrew Faraday wrote:

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


Re: [PD] Textual pd primer

2012-08-17 Thread Duncan Speakman
we're logging in as root over ssh.
there's a lot of weird -nogui issue that different people have
encountered, i think there's something broken down deep :)

d


On 17 August 2012 11:39, James Dunn ja...@4thharmonic.com wrote:
 Quoth Duncan Speakman, on 17/08/2012 10:03:

 2. (this is the really weird one) The expr object doesn't work if we
 launch Pd on startup ( init.d ) with nogui, BUT if we run it with
 -nogui in a command line over SSH it does.

 could that be to do with permissions? If pd is started at boot via init.d I
 guess it is running as root? And when you run it over ssh, maybe you are
 running it as a normal user?

 James



-- 
follow me : @_dspk

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


[PD] Textual pd primer

2012-08-16 Thread Sam Raker
Hi guys,
Longtime listener, first time caller. 
I was wondering if there's a good intro to text-only pd. I just got a raspberry 
pi, and I've heard a lot of chatter about how the -nogui flag solves a lot of 
weird dsp problems c, plus it'd be nice not to have to waste a USB port 
plugging in a mouse as well as a keyboard/midi keyboard/sound card/m-audio 
box/etc. Plus my main comp is a mac, and I'm worried making my patches on my 
Mac and then getting them onto my pi will be a pain in the b. 

I've seen people say stuff like, oh, just make a patch and look at it with a 
text editor and figure it out, but that's a bit over my head.

Thoughts?

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


Re: [PD] Textual pd primer

2012-08-16 Thread Jonathan Wilkes
- Original Message -
 From: Sam Raker sam.ra...@gmail.com
 To: pd-list@iem.at pd-list@iem.at
 Cc: 
 Sent: Thursday, August 16, 2012 10:42 AM
 Subject: [PD] Textual pd primer
 
 Hi guys,
 Longtime listener, first time caller. 
 I was wondering if there's a good intro to text-only pd. I just got a 
 raspberry pi, and I've heard a lot of chatter about how the -nogui flag 
 solves a lot of weird dsp problems c, plus it'd be nice not to have to 
 waste a USB port plugging in a mouse as well as a keyboard/midi 
 keyboard/sound 
 card/m-audio box/etc. Plus my main comp is a mac, and I'm worried making my 
 patches on my Mac and then getting them onto my pi will be a pain in the b. 

How exactly do you want to get the patches onto the pi?

 
 I've seen people say stuff like, oh, just make a patch and look at it 
 with a text editor and figure it out, but that's a bit over my head.
 
 Thoughts?
 
 -sam
 ___
 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] Textual pd primer

2012-08-16 Thread Andy Farnell

I guess this is a case of working out best practices for development.

Nobody actually develops Pd in text mode, but gettin things running in
an embedded way involves a good deal less graphics and can be intimidating
or confusing at first.

If you don't want the RPi set up with mouse, kbd and monitor like a full
system, it's rather like working on other embedded development systems,
you need to see the board as a target host, and your local machine as the
development (client).

One way is to work on a laptop or desktop, and the ftp/scp them accross to the
target board.

But probably most useful is to use X windows to ssh 

ssh -Y -l user address.of.my.rpi

and then just start Pd, which will seem to run on your main machine.


I sense some kind of Raspberry Pi and Pd workshop in the coming
weeks. maybe best developmnt practices and tips will be an
outcme of that meeting.

best,
Andy


On Thu, Aug 16, 2012 at 10:42:47AM -0400, Sam Raker wrote:
 Hi guys,
 Longtime listener, first time caller. 
 I was wondering if there's a good intro to text-only pd. I just got a 
 raspberry pi, and I've heard a lot of chatter about how the -nogui flag 
 solves a lot of weird dsp problems c, plus it'd be nice not to have to waste 
 a USB port plugging in a mouse as well as a keyboard/midi keyboard/sound 
 card/m-audio box/etc. Plus my main comp is a mac, and I'm worried making my 
 patches on my Mac and then getting them onto my pi will be a pain in the b. 
 
 I've seen people say stuff like, oh, just make a patch and look at it with a 
 text editor and figure it out, but that's a bit over my head.
 
 Thoughts?
 
 -sam
 ___
 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