Re: [PD] rpi mrpeach lib

2012-09-07 Thread IOhannes m zmölnig

On 09/07/2012 12:35 AM, Julian Brooks wrote:

Hey all,

Does anyone have a working mrpeach library (the OSC stuff particularly)
compiled for a raspian rpi pd 0.43.2?

if you are using rpi-wheezy (or however this is called), simply do:
$ apt-get install pd-osc

there is a large number of pd-libraries packaged for debian.
all of them are prefixed with pd- or (puredata-, if it is a library 
that is supposed to to be only useable with pd-vanilla), so searching 
should be easy.

the noteable exception to this is gem (which is called gem).

simply try:
$ apt-cache search ^pd-
to see what is there.

fgmadsr
IOhannes

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


Re: [PD] rpi mrpeach lib

2012-09-07 Thread Julian Brooks
Hey IOhannes,

Wonderful, many thanks.

I had presumed (and we all know what happens to that) that pd-osc was the
old objects not mrpeach so that's good news indeed as every time I've
attempted to compile mrpeach for vanilla it's gone pear-shaped (yes I know
- user-error!).

BTW - big props for whomsoever has sorted the debian repo's, they're an
excellent resource these days.

All the best,

Julian

On 7 September 2012 07:48, IOhannes m zmölnig zmoel...@iem.at wrote:

 On 09/07/2012 12:35 AM, Julian Brooks wrote:

 Hey all,

 Does anyone have a working mrpeach library (the OSC stuff particularly)
 compiled for a raspian rpi pd 0.43.2?

 if you are using rpi-wheezy (or however this is called), simply do:
 $ apt-get install pd-osc

 there is a large number of pd-libraries packaged for debian.
 all of them are prefixed with pd- or (puredata-, if it is a library
 that is supposed to to be only useable with pd-vanilla), so searching
 should be easy.
 the noteable exception to this is gem (which is called gem).

 simply try:
 $ apt-cache search ^pd-
 to see what is there.

 fgmadsr
 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

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


Re: [PD] finding objects ?

2012-09-07 Thread Raphael Raccuia
There is a difference between how to use an object/external (which is 
generally well documented in help files), and looking for useful 
objects/externals someone doesn't even know the existence...
Why is pdpedia offline? if well filled and updated, it's exactly what 
does that job...


rr

Le 03. 09. 12 12:55, Simon Wise a écrit :

On 03/09/12 18:11, Фывапр Олджэвич wrote:

yes, I know about help patches, but as Processing and arduino has a 
list of
all available commands and operators on a web-site (and it is 
douwnloadable)
- it is easear to find objects and commands, which you don't know, 
but need.


everything built-in is listed with the right-click on the background, 
that is all that is available without installing extra stuff


everything you have installed should have help files, if the person 
who made them made help files and the package you used installed them


if for example you use debian packages then help files are installed 
and the help browser will show you what you have, and you can look up 
what packages are available easily in the usual debian manner ... but 
that is just the ones somebody has done the work to package, it is a 
useful subset of what is available


there cannot be a full list of everything anyone has ever made ... 
there cannot be a complete list of libraries available in any language


there are some efforts to try and make long lists of what is out 
there, these have been mentioned ... they can never be complete though 
they can be very useful


the number objects available 'out there' grows every day, some are 
useful, some may not be, this mailing list is a fairly good guide to 
some of that stuff



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] modulating spectra of fm synth with another fm synth?

2012-09-07 Thread Andy Friend
Hi,

You should be able to do this sort of thing by looking up LFOs in the
various tutorials / manuals (eg: http://en.flossmanuals.net/pure-data/)

In fact, attached is a patch with a very simple LFO assigned to the pitch
of an oscillator. It should be quite straight forward to adapt this to an
FM model. Just think about which part (LFO) of the FM model you want to use
for the modulation.

All the best


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


[PD] packOSC integer marshalling

2012-09-07 Thread Jamie Bullock

Hi list,

It looks like the mrpeach [packOSC] external converts Pd floats to OSC integers 
if the float value is equal to the float value cast to an int. From the source 
code:

   /* It might be an int, a float, or a string */
   switch (a-a_type)
   {
   case A_FLOAT:
   f = atom_getfloat(a);
   i = atom_getint(a);
   if (f == (t_float)i)
   { /* assume that if the int and float are the same, it's an int */
   returnVal.type = INT_osc;


Implicitly converting floats to integers based on an arbitrary rule seems a bad 
idea to me. Why bother making the conversion? Why not send floats as floats?

It's certainly going to cause problems for some clients. For example, if the 
client is expecting floats on a given OSC address, it may get:

0.5 - float
1.0 - int ???
1.5 - float

Which may result in dropped values or other anomalies.

I am happy to send a code patch if people agree that this is a bug or at least 
bad design...

best,

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


Re: [PD] GEM question: reading from big videos

2012-09-07 Thread Max
Hi João,

actually those patches won't help you so much, as it aims at very short 
samples/videos up to about 8 seconds, depending how much memory your graphics 
card has. But they may give you an idea how to proceed. It's definitely not a 
good Idea trying to load a long HD movie in a [gemframebuffer] it might even 
crash gem if the memory on the card is not sufficient.
but try if h.264 (compression) in pix_film runs smoothly enough (that may also 
depend on the OS you are on).
If anyone disagrees with above please chime in.

Max

Am 07.09.2012 um 05:33 schrieb Luiz Naveda:

 Hi João,
 
 Have a look at the pristine tutorials of Max Neupert:
 
 http://www.uni-weimar.de/medien/wiki/Audiovideo
 
 and have fun!
 
 Luiz Naveda
 
 http://naveda.info
 
 On Thu, Sep 6, 2012 at 5:15 AM, João Pais jmmmp...@googlemail.com wrote:
 Hi list,
 
 I have almost no experience with GEM, so I wanted to ask around about this.
 I have a patch that should play 3 HD films, in the following way:
 
 - the main patch plays the sound, and sends the frame-infos around through
 OSC
 - the frame-infos are received by 3 video player patches (each in one
 separate Pd instance), each one playing one film
 - the films are a bit heavy: 1/3 full HD = 640x1080pix each, around 6m long
 (maybe more). The playing speed is around 25fps, sometimes less, sometimes
 more
 - the hardware has a SSD disk, and i5 quad processor  2,7Ghz (I can't say
 yet much about the graphic card)
 
 Which object is more adequate to play these videos in GEM?
 Probably isn't a good idea to load the videos into RAM. The playback is also
 very variable: forward, backward, something else... That means, is there a
 buffer-setting that would help in this case?
 And, under this context, how fast could the video be played?
 
 Thanks,
 
 João
 
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list
 
 
 
 -- 
 Luiz Naveda
 
 http://naveda.info
 
  ^v^
  ^v^
 ^v^
 
 ^~^~^~^~^~^~^~^~~^~~^~~^~^~^~~~^^~^
 ^~^~^~^~^~^~^~^~^~^~~^~~^~~^~^~^~~~^~~~
 
 ___
 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] modulating spectra of fm synth with another fm synth?

2012-09-07 Thread Andrew Faraday

I'm not entirely sure what you want here. If you can build an FM algorithm you 
can replace the modulating oscillator with another FM algorithm easily enough. 
Or if you're talking about limiting the output spectra, you could use an FM 
synth as your control signal for [moog~] or a number of other filters. If you 
do a bit of research into the objects available you can pretty much control or 
process anything with anything else. 

What exactly did you have in mind?

Andrew

Date: Thu, 6 Sep 2012 20:40:59 +0200
From: umberto.tor...@gmail.com
To: pd-list@iem.at
Subject: [PD] modulating spectra of fm synth with another fm synth?

Hi , I was wondering how can i modulate the spectra of  fm abstraction with the 
output of another fm abstraccion?

I was wondering is there is specficic strategies for this?  do anybody have 
tried?


thanks



U.

 


___
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] packOSC integer marshalling

2012-09-07 Thread Martin Peach
I guess it's because all numbers in Pd are floats, but usually integer 
floats are meant to be integers. But obviously it's impossible for the 
code to know what the user wants, so you can also force the type by 
using the [sendtyped ...( message. Probably sending all numbers as 
floats will annoy an approximately equal number of people.


Martin


On 2012-09-07 07:11, Jamie Bullock wrote:


Hi list,

It looks like the mrpeach [packOSC] external converts Pd floats to OSC integers 
if the float value is equal to the float value cast to an int. From the source 
code:

/* It might be an int, a float, or a string */
switch (a-a_type)
{
case A_FLOAT:
f = atom_getfloat(a);
i = atom_getint(a);
if (f == (t_float)i)
{ /* assume that if the int and float are the same, it's an int */
returnVal.type = INT_osc;


Implicitly converting floats to integers based on an arbitrary rule seems a bad 
idea to me. Why bother making the conversion? Why not send floats as floats?

It's certainly going to cause problems for some clients. For example, if the 
client is expecting floats on a given OSC address, it may get:

0.5 - float
1.0 - int ???
1.5 - float

Which may result in dropped values or other anomalies.

I am happy to send a code patch if people agree that this is a bug or at least 
bad design...

best,

Jamie
___
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 mrpeach lib

2012-09-07 Thread IOhannes m zmölnig

On 09/07/2012 10:55 AM, Julian Brooks wrote:


BTW - big props for whomsoever has sorted the debian repo's, they're an
excellent resource these days.



that was mainly hans with roman and me.
help is always welcome :-)

fgmasdr
IOhannes

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


Re: [PD] finding objects ?

2012-09-07 Thread Jonathan Wilkes
- Original Message -
 From: Raphael Raccuia rafael.racc...@blindekinder.com
 To: 
 Cc: pd-list@iem.at
 Sent: Friday, September 7, 2012 6:04 AM
 Subject: Re: [PD] finding objects ?
 
T here is a difference between how to use an object/external (which is 
generally 
 well documented in help files), and looking for useful objects/externals 
 someone 
 doesn't even know the existence...
 Why is pdpedia offline? if well filled and updated, it's exactly what does 
 that job...

It wasn't updated, and it wasn't well filled.

But even my search plugin and the pd META stuff only solves half the problem. If
you want to find resonant lowpass and the help patch only says imaginary 
part
it's not going to come up in the results.

-Jonathan

 
 rr
 
 Le 03. 09. 12 12:55, Simon Wise a écrit :
  On 03/09/12 18:11, Фывапр Олджэвич wrote:
 
  yes, I know about help patches, but as Processing and arduino has a 
 list of
  all available commands and operators on a web-site (and it is 
 douwnloadable)
  - it is easear to find objects and commands, which you don't know, 
 but need.
 
  everything built-in is listed with the right-click on the background, that 
 is all that is available without installing extra stuff
 
  everything you have installed should have help files, if the person who 
 made them made help files and the package you used installed them
 
  if for example you use debian packages then help files are installed and 
 the help browser will show you what you have, and you can look up what 
 packages 
 are available easily in the usual debian manner ... but that is just the ones 
 somebody has done the work to package, it is a useful subset of what is 
 available
 
  there cannot be a full list of everything anyone has ever made ... there 
 cannot be a complete list of libraries available in any language
 
  there are some efforts to try and make long lists of what is out there, 
 these have been mentioned ... they can never be complete though they can be 
 very 
 useful
 
  the number objects available 'out there' grows every day, some are 
 useful, some may not be, this mailing list is a fairly good guide to some of 
 that stuff
 
 
  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
   

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


Re: [PD] finding objects ?

2012-09-07 Thread Ivica Bukvic
On Sep 7, 2012 1:42 PM, Jonathan Wilkes jancs...@yahoo.com wrote:

 - Original Message -
  From: Raphael Raccuia rafael.racc...@blindekinder.com
  To:
  Cc: pd-list@iem.at
  Sent: Friday, September 7, 2012 6:04 AM
  Subject: Re: [PD] finding objects ?
 
 T here is a difference between how to use an object/external (which is
generally
  well documented in help files), and looking for useful
objects/externals someone
  doesn't even know the existence...
  Why is pdpedia offline? if well filled and updated, it's exactly what
does
  that job...

 It wasn't updated, and it wasn't well filled.

 But even my search plugin and the pd META stuff only solves half the
problem. If
 you want to find resonant lowpass and the help patch only says
imaginary part
 it's not going to come up in the results.

And that is exactly why I think we should attack what appears to be two
very related issues at the same time.

Best wishes,

Ico


 -Jonathan

 
  rr
 
  Le 03. 09. 12 12:55, Simon Wise a écrit :
   On 03/09/12 18:11, Фывапр Олджэвич wrote:
 
   yes, I know about help patches, but as Processing and arduino has a
  list of
   all available commands and operators on a web-site (and it is
  douwnloadable)
   - it is easear to find objects and commands, which you don't know,
  but need.
 
   everything built-in is listed with the right-click on the background,
that
  is all that is available without installing extra stuff
 
   everything you have installed should have help files, if the person
who
  made them made help files and the package you used installed them
 
   if for example you use debian packages then help files are installed
and
  the help browser will show you what you have, and you can look up what
packages
  are available easily in the usual debian manner ... but that is just
the ones
  somebody has done the work to package, it is a useful subset of what is
  available
 
   there cannot be a full list of everything anyone has ever made ...
there
  cannot be a complete list of libraries available in any language
 
   there are some efforts to try and make long lists of what is out
there,
  these have been mentioned ... they can never be complete though they
can be very
  useful
 
   the number objects available 'out there' grows every day, some are
  useful, some may not be, this mailing list is a fairly good guide to
some of
  that stuff
 
 
   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
 

 ___
 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] packOSC integer marshalling

2012-09-07 Thread Jamie Bullock

Hi Martin,

On 7 Sep 2012, at 14:13, Martin Peach martin.pe...@sympatico.ca wrote:

 I guess it's because all numbers in Pd are floats, but usually integer floats 
 are meant to be integers. But obviously it's impossible for the code to know 
 what the user wants, so you can also force the type by using the [sendtyped 
 ...( message. Probably sending all numbers as floats will annoy an 
 approximately equal number of people.
 

Hmm... surely if it's impossible to know what the user wants, the best thing to 
do is just pass the values along without converting them. The client then has 
the option to coerce whole-number floats to ints if it wants to.

Anyhow, if I can force all numbers to be floats with [sendtyped ...( that 
solves my my problem in practical terms.

best,

Jamie



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


Re: [PD] finding objects ?

2012-09-07 Thread Jonathan Wilkes

 From: Ivica Bukvic i...@vt.edu
To: Jonathan Wilkes jancs...@yahoo.com 
Cc: pd-list@iem.at; Raphael Raccuia rafael.racc...@blindekinder.com 
Sent: Friday, September 7, 2012 3:05 PM
Subject: Re: [PD] finding objects ?
 


On Sep 7, 2012 1:42 PM, Jonathan Wilkes jancs...@yahoo.com wrote:

 - Original Message -
  From: Raphael Raccuia rafael.racc...@blindekinder.com
  To:
  Cc: pd-list@iem.at
  Sent: Friday, September 7, 2012 6:04 AM
  Subject: Re: [PD] finding objects ?
 
 T here is a difference between how to use an object/external (which is 
 generally
  well documented in help files), and looking for useful objects/externals 
  someone
  doesn't even know the existence...
  Why is pdpedia offline? if well filled and updated, it's exactly what does
  that job...

 It wasn't updated, and it wasn't well filled.

 But even my search plugin and the pd META stuff only solves half the 
 problem. If
 you want to find resonant lowpass and the help patch only says imaginary 
 part
 it's not going to come up in the results.
And that is exactly why I think we should attack what appears to be two very 
related issues at the same time.

I can update vcf~ in the PDDP docs at some point, but aside from that what do 
you have in mind?


-Jonathan


Best wishes,
Ico

 -Jonathan

 
  rr
 
  Le 03. 09. 12 12:55, Simon Wise a écrit :
   On 03/09/12 18:11, Фывапр Олджэвич wrote:
 
   yes, I know about help patches, but as Processing and arduino has a
  list of
   all available commands and operators on a web-site (and it is
  douwnloadable)
   - it is easear to find objects and commands, which you don't know,
  but need.
 
   everything built-in is listed with the right-click on the background, 
  that
  is all that is available without installing extra stuff
 
   everything you have installed should have help files, if the person who
  made them made help files and the package you used installed them
 
   if for example you use debian packages then help files are installed and
  the help browser will show you what you have, and you can look up what 
  packages
  are available easily in the usual debian manner ... but that is just the 
  ones
  somebody has done the work to package, it is a useful subset of what is
  available
 
   there cannot be a full list of everything anyone has ever made ... there
  cannot be a complete list of libraries available in any language
 
   there are some efforts to try and make long lists of what is out there,
  these have been mentioned ... they can never be complete though they can 
  be very
  useful
 
   the number objects available 'out there' grows every day, some are
  useful, some may not be, this mailing list is a fairly good guide to some 
  of
  that stuff
 
 
   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
  

 ___
 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] finding objects ?

2012-09-07 Thread Ivica Ico Bukvic
 I can update vcf~ in the PDDP docs at some point, but aside from that what
 do you have in mind?

Multi-dimensional indexing whose data can be easily referenced by multiple 
features (object search, auto-completion, maybe other)


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


Re: [PD] finding objects ?

2012-09-07 Thread Jonathan Wilkes




- Original Message -
 From: Ivica Ico Bukvic i...@vt.edu
 To: 'Jonathan Wilkes' jancs...@yahoo.com
 Cc: pd-list@iem.at; 'Raphael Raccuia' rafael.racc...@blindekinder.com
 Sent: Friday, September 7, 2012 8:25 PM
 Subject: RE: [PD] finding objects ?
 
  I can update vcf~ in the PDDP docs at some point, but aside from that what
  do you have in mind?
 
 Multi-dimensional indexing whose data can be easily referenced by multiple 
 features (object search, auto-completion, maybe other)


How will multiple dimensions help users find something that isn't there?

-Jonathan


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


[PD] getting Pd to run on Raspberry Pi

2012-09-07 Thread Miller Puckette
To Pd list,

I got my Pi in the mail today (only 2 or 3 weeks after ordering it I think -
they're starting to catch up with the enormous demand!)  and can report what
I found works and what not.

I loaded the Raspian distro (the one everyone suggests) and following the
blog on :
http://log.liminastudio.com/programming/running-puredata-on-the-raspberry-pi

just typed

pi@raspberrypi ~ $ sudo bash
root@raspberrypi:/home/pi# apt-get update
root@raspberrypi:/home/pi# apt-get install puredata

and then pd ... sort of... runs right away.  I had to fool with some
glitches though:

1.  Pd is version 0.43-2 which doesn't yet know to try to promote itself
to real-time if it's not root.  (This is only fixed in 0.44 which might not
make it to Raspian for quite some time.)  A rather bad workaround exists:
still as root (i.e., after the sudo step) type

root@raspberrypi:/home/pi# chmod 4775 /usr/bin/puredata

This might be a security risk (if anyone breaks into your Pi they might be
able to design an exploit to get Pd to promote them to root) but I can't
say I'm worried about that.  (Speaking of security though, since mine is
networked and ssh-enabled, I did change the password :)

I'm having no trouble running Pd via ssh from another computer.  The pi
user is already in group audio in the Raspian distro.  X windows
forwarding is also turned on by default - so the only detail you have
to check is whether your ssh is rinngin with -X set on the originating
machine.  I did notice that one can't run pd inside sudo and still get 
X forwarding; you have to stay as the pi user.

Then about audio.  I can indeed verify that the built-in analogue audio is
wretched -- in two ways.  First, it's not even functional (and LOUDLY non-
functional :) until you se the latency to at least 40 msec (it's 25 by
default in Pd on linux.)  Second, it's bad anyway.  To my ears the alsa
play program and Pd's test-tone sound equally bad.  There's a modulation that
is sort of as if a sample out of every 1024 is getting dropped or doubled.
You can hear the modulation change as the pitch of the test tone goes up and
down.

So I pulled out my cheapo USB headset from Gigaware and, with input turned
off, was able to play the test tone with latency down to 10 msec, and got a
clean-sounding tone out.  Then, getting overconfident, I turned on audio
input and although the sound came through it has hiccups and my interface
froze (had to unplug the headphones to get Pd to bail :)

So things are sort of working but there's still some tuning to do... I'll
probably have more to report over the weekend.

cheers
Miller

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