[PD] purepd atan2~ without expr/externals?

2009-07-28 Thread Frank Barknecht
Hi,

I'd like to use a signal [atan2~] in a Pd without externals nor
[expr~] (i.e.  inn RjDj). Does anyone have a purepd implementation of
it or maybe a pointer to some math/trigonometric
identity/ln-substituion formula for atan2?

Ciao
-- 
 Frank BarknechtDo You RjDj.me?  _ __footils.org__

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


Re: [PD] PD t-shirts

2009-07-28 Thread harris_pilton
all in all about how many tshirts are we talking? my first guess would  
have been 150 tshirts... but i really cant tell. one should consider  
that there might be extra tshirts for the us. are there any figures  
from previous editions?


up to now i saw the orange tshirt with black printing on it. i like  
that. how about including some alternatives for the new shirts?


greetings, especially to the people in brazil, have a nice time,

max

Am 27.07.2009 um 04:34 schrieb Hans-Christoph Steiner:



Hey there from Brasil!   Yeah, t-shirts would be great, there are  
many people who want them.  They didn't make enough for the  
conference, so there are probably people here who would also be  
interested.


.hc

harris_pil...@gmx.de wrote:

hi there,

is anybody still into the tshirt thing? i think i could help with  
the printing. i'm not good at thinking of designs though. bang- 
until was quite common-sense - afaik there hasnt been lot response  
on that!?
i wanted to bring up the topic again  - basically because i want a  
pd-tshirt too :)

cheers
Am 06.04.2009 um 06:23 schrieb Hans-Christoph Steiner:



I like the DIY way.  It would be great if people organized their  
own fundraisers and bounties.  I think that fits in well with the  
anarchic nature of Pd.


There are things like cafepress.com for t-shirts and the like.  It  
is more expensive than doing it yourself, probably, but its  
easier.  It would be nice to see more than one Pd t-shirt  
available.  I'd like bang-until and that cake, for example.


.hc


On Apr 2, 2009, at 10:38 AM, Ben Baker-Smith wrote:


Thanks Kyle,

That's much more in line with what I'm looking to do.  I also  
cannot
afford to go to PdCon given that it's all the way in Brazil, and  
I'm
sure the majority of Pd users are in the same boat.  A  
documentation
bounty seems like a good way to encourage people to document, and  
give

them a way of justifying their time.  And, I agree, probably more
worthwhile than paying half of one person's ticket to Sao Paulo.

In regards to designs, and printing:

I'm thinking it might be cheapest (allowing more money to be  
raised)

for me to print the shirts myself.. I just need to come up with a
solid price estimate in the next couple days.  Also, this seems  
more
in line with the do-it-yourself attitude of Pd than, say, e- 
mailing a
.Gif file to an internet service and letting it all go through  
them.


I have  couple designs I've drawn up myself, and a few have been
submitted to me via this list.  So, hopefully by the end of the
weekend, I will upload them to my site and post a link on the  
list for

feedback.

-Ben

On Thu, Apr 2, 2009 at 1:24 AM, Kyle Klipowicz  
kylek...@gmail.com wrote:

Yes, I agree that the fund should be for a documentation bounty.
I think that Ben (or whoever makes the shirts) should hold the  
money in
trust. Perhaps set up an interest-bearing account to save the  
cash in. Then
create a well-documented (pun?) bounty description of what key  
features are

to be implemented and the financial payment for each.
You could do micropayments for key help patches or examples, say  
$20 US
each, or a big bounty for larger sections such as re-organizing  
existing
patches into a tidy intro library for new uses, with ready-mades  
to go.
I think this would be a longer lasting value than paying for Pd- 
con. I'd
love to go myself, but probably cannot afford it...but I'd  
rather see some
solid documentation be built...or have the financial incentive  
to do it!

(Not a capitalist, just a hungry belly).
~Kyle

On Wed, Apr 1, 2009 at 9:34 AM, Ben Baker-Smith bbakersm...@gmail.com 


wrote:


I'm open to the idea of donating proceeds to PdCon.  But,  
having never

been, I have some clarifying questions/concerns.

I would really prefer that any money from sales went toward
documentation, which in turn will increase useability and make  
PD more

accessible to new users.  Does the convention encourage/promote
documentation?  Is time spent at the convention trying to  
increase the

existing body of literature?

If so, then I'm all for it.  I just don't want to settle on  
PdCon if
it's only useful to attendees.  (of course, I understand that  
in a
good open-source community knowledge gained by any members  
contributes

in some way to the knowledge of the group... but I'm talking more
formal documention rather than more answers on the mailing list)

Glad to hear the interest.  I'm still looking into the best way  
to go

about printing, selling, and distributing.
If someone wants to partner up on this I'd be happy for the  
help and

added input.

-Ben



On Tue, Mar 31, 2009 at 9:46 PM, Alexandre Castonguay
acastong...@artengine.ca wrote:

Hi Ben, all,

We did the last batch of t's as a fundraiser for the  
Convention in
Montréal.  We managed to pay for another 1/2 plane ticket with  
the

proceeds :-).  Maybe the same could be done for São Paulo?

The super folks from Graz sent the file they used for the  

Re: [PD] purepd atan2~ without expr/externals?

2009-07-28 Thread padawan12
A way to attack it might be to find a continued fraction form
like I did for tanh, about 4 or 5 terms was an adequate approximation.



Hi,

I'd like to use a signal [atan2~] in a Pd without externals nor
[expr~] (i.e.  inn RjDj). Does anyone have a purepd implementation of
it or maybe a pointer to some math/trigonometric
identity/ln-substituion formula for atan2?

Ciao
-- 
 Frank BarknechtDo You RjDj.me?  _ __footils.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] purepd atan2~ without expr/externals?

2009-07-28 Thread Miller Puckette
Here's one I use (atached)

cheers
Miller

On Tue, Jul 28, 2009 at 10:45:09AM +0200, Frank Barknecht wrote:
 Hi,
 
 I'd like to use a signal [atan2~] in a Pd without externals nor
 [expr~] (i.e.  inn RjDj). Does anyone have a purepd implementation of
 it or maybe a pointer to some math/trigonometric
 identity/ln-substituion formula for atan2?
 
 Ciao
 -- 
  Frank BarknechtDo You RjDj.me?  _ __footils.org__
 
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list
#N canvas 35 0 513 730 10;
#X obj 34 36 inlet~;
#X obj 84 36 inlet~;
#X obj 327 338 *~ 1e+20;
#X obj 327 362 clip~ -1 1;
#X obj 127 395 *~;
#X obj 261 686 outlet~;
#X obj 133 85 *~;
#X obj 162 85 *~;
#X obj 133 108 +~;
#X obj 166 137 q8_rsqrt~;
#X obj 150 162 *~;
#X obj 180 161 *~;
#X obj 150 184 *~;
#X obj 149 209 *~ -0.5;
#X obj 177 187 *~ 1.5;
#X obj 149 230 +~;
#X text 181 229 inverse modulus to 16 bit precision;
#X text 236 136 inverse modulus to 8 bit precision;
#X obj 132 275 *~;
#X obj 33 275 *~;
#X text 160 275 modulus to 16 bit precision;
#X obj 83 277 *~;
#X obj 400 332 outlet~;
#X obj 456 332 outlet~;
#X text 404 285 unit complex;
#X text 404 299 number out;
#X text 37 15 real;
#X text 84 13 imaginary;
#X obj 238 336 *~ 1e+20;
#X obj 238 360 clip~ -1 1;
#X obj 80 393 *~;
#X obj 94 425 -~;
#X obj 60 455 *~;
#X obj 33 455 *~;
#X text 6 457 d^3;
#X obj 62 493 -~;
#X obj 79 547 +~;
#X text 19 494 d^3-d;
#X obj 224 594 *~;
#X obj 239 560 *~;
#X obj 290 594 *~ 2;
#X text 131 411 to 1st quadrant;
#X text 128 445 (-1 to 1);
#X text 120 430 d = imag-real;
#X text 327 594 unfold twice;
#X obj 262 642 *~ 0.125;
#X obj 133 343 outlet~;
#X text 334 653 normalize to (-1 \, 1);
#X obj 263 594 -~;
#X obj 262 619 -~;
#X obj 262 664 +~ 0.5;
#X obj 62 517 *~ 0.11;
#X text 126 502 fudge to;
#X text 126 515 approximate;
#X text 125 529 4/pi*arcsin(d/2);
#X text 135 359 r out;
#X text 318 679 theta/(2pi);
#X text 319 694 out;
#X connect 0 0 6 0;
#X connect 0 0 6 1;
#X connect 0 0 19 0;
#X connect 1 0 7 0;
#X connect 1 0 7 1;
#X connect 1 0 21 0;
#X connect 2 0 3 0;
#X connect 3 0 4 1;
#X connect 3 0 39 1;
#X connect 3 0 40 0;
#X connect 4 0 31 0;
#X connect 6 0 8 0;
#X connect 7 0 8 1;
#X connect 8 0 10 0;
#X connect 8 0 18 0;
#X connect 8 0 9 0;
#X connect 9 0 10 1;
#X connect 9 0 11 0;
#X connect 9 0 11 1;
#X connect 9 0 14 0;
#X connect 10 0 12 0;
#X connect 11 0 12 1;
#X connect 12 0 13 0;
#X connect 13 0 15 0;
#X connect 14 0 15 1;
#X connect 15 0 18 1;
#X connect 15 0 19 1;
#X connect 15 0 21 1;
#X connect 18 0 46 0;
#X connect 19 0 22 0;
#X connect 19 0 30 0;
#X connect 19 0 28 0;
#X connect 21 0 2 0;
#X connect 21 0 4 0;
#X connect 21 0 23 0;
#X connect 28 0 29 0;
#X connect 29 0 30 1;
#X connect 29 0 39 0;
#X connect 30 0 31 1;
#X connect 31 0 32 1;
#X connect 31 0 33 0;
#X connect 31 0 32 0;
#X connect 31 0 35 1;
#X connect 31 0 36 1;
#X connect 32 0 33 1;
#X connect 33 0 35 0;
#X connect 35 0 51 0;
#X connect 36 0 38 0;
#X connect 38 0 48 0;
#X connect 39 0 38 1;
#X connect 39 0 48 1;
#X connect 40 0 49 1;
#X connect 45 0 50 0;
#X connect 48 0 49 0;
#X connect 49 0 45 0;
#X connect 50 0 5 0;
#X connect 51 0 36 0;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Building PD-extended

2009-07-28 Thread Hans-Christoph Steiner


Yeah, I've seen this two on my jaunty netbook remix netbook.  Strange, 
since the nighlty builds on many machines worked fine.  I guess there is 
something different in the setup of those machines.  I'll look when I 
get a chance.


.hc

el jay wrote:

yes i have tried this..  buit then when i try to build  with
fakeroot dpkg-deb --build build/ Pd-0.40.3-extended.deb


i get given the same error.. and if i touch around some more then i am told 
that package name was expected but is missing or garabe found

  



2009/7/27 danomatika danomat...@gmail.com mailto:danomat...@gmail.com

On Mon, 2009-07-27 at 04:18 +0200, pd-list-requ...@iem.at
mailto:pd-list-requ...@iem.at wrote:

hello pd'people!


  i am trying to install Pd.extened-41.4 on a debian64 sid (unstable)
kernel 2.6.30-
 i have been looking around and the option of installing 32bit with
ia32lbs an ---force-architecture
 gave me libsasound2 problems..
so i found a tutorial that explain how two build from source for
64bits..   i have managed to compile the extended libraries.. and run
make install  make packages... here everything gives the ok..  and
then after compiling for a while  it gives me an error saying that i
have a problem with DEBIAN/control file on line 9.. in depends
field,
that i its missing a packages name or that garbage has been found..
  when checking this file.. in the place of dependes it says: xterm,
ttf-bitsream-vera

i dont really understand what the problem is.. can somebody helpme


It's probably missing a comma: xterm,
ttf-bitsream-vera--- add ',' here.

I had the same problem
(http://puredata.info/docs/developer/BuildingPdExtended64bitUbuntuIntrepid):

If, like me, you get an error similar to this:

dpkg-deb: parse error, in file

/home/dano/Desktop/pd-build/Pd-0.40.3-extended/packages/linux_make/build//DEBIAN/control
near line 8 \package pd-extended: Depends field, syntax error
after reference to package zlib1g make: *** deb Error 2

then there is a comma missing after a dependency. Open the
Debian control file, look through the dependency list on line
8, and add the missing comma(s) after the referenced package
in the error, in this case zlib1g:


---
Dan Wilcox
danomatika.com http://danomatika.com
robotcowboy.com http://www.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] Pduino 0.5/Firmata 2.1 beta release

2009-07-28 Thread olsen wolf
Hi Hans
merci mille for the ongoing work on pduino including all the features!
finally i could get my hands on for some testing. i did tests with
diecimila  duemilanueve - pwm looks pretty smooth to control an
h-bridge  solid state relays. also servos are under my control -
smooth operating using the servo firmata. atm no mega at hand for
testing but coming soon!
so long salutis
olsen



On Fri, Jul 17, 2009 at 10:17 PM, Hans-Christoph Steinerh...@at.or.at wrote:
 Hey Alex,

 Glad to hear it works, but expect problems like the one you mentioned.
 I just got it working, what it really needs is someone to test and fix
 things for the Mega in particular.

 .hc

 On Fri, 2009-07-17 at 14:48 -0400, Alexandre Castonguay wrote:
 Hi Hans,

 I'm pleased to report that it is starting to work on the Mega.  I can
 toggle up to pin 53.  Reporting all inputs causes buffer overruns and I
 guess that's to be expected. More testing underway.

 Thanks a lot for your work!

 a


 Hans-Christoph Steiner a écrit :
 
  I haven't had a chance to try it on the Mega yet.  Do you use the
  Mega?  If so, I need testers for it.
 
  .hc
 
  On Jul 10, 2009, at 7:59 AM, Jose Luis Santorcuato wrote:
 
  Hans, hi, Arduino mega have 12 inputs, firmata and pduino  have these
  Best regards
 
  José
 
 
 
 
  2009/7/10 Hans-Christoph Steiner h...@at.or.at mailto:h...@at.or.at
 
 
      http://at.or.at/hans/pd/objects.html#pduino
 
      There are some nice updates to Firmata and Pduino.  This release
      mostly adds extensions to the protocol to support more pin modes
      and their respective messages (Servo, I2C, Shift Registers, etc).
       Here are some specifics:
 
      - Servo support for StandardFirmata
      - support for using analog pins as digital I/Os for StandardFirmata
      - new message to set the poll rate of StandardFirmata
      - I2C Firmata example (needs Pd implementation)
      - switch back to 57600 for standard bitrate
      - made Firmata.begin(57600) explicit in all examples
 
      Please test and report and bugs or issues.  We are trying to get
      this included in the upcoming Arduino 0017 release.  Depending on
      the 0017 release schedule, we might be able to squeeze in Shift
      Register/Matrix support too.  Also, just to note, this update
      includes code from (in alphabetical order):
 
      Ayah Bdeir
      Erik Sjodin
      Hans-Christoph Steiner
      Jeff Hoefs
      Shigeru Kobayashi
      Zach Lieberman
 
      (I hope I didn't forget anyone, let me know if I did).
 
      .hc
 
 
      
  
 
      It is convenient to imagine a power beyond us because that means
      we don't have to examine our own lives., from The Idols of
      Environmentalism, by Curtis White
 
 
 
 
 
      ___
      Pd-list@iem.at mailto:Pd-list@iem.at mailing list
      UNSUBSCRIBE and account-management -
      http://lists.puredata.info/listinfo/pd-list
 
 
 
 
  --
  http://www.chilemigra.cl
  http://arselectronicachile.blogspot.com
  http://www.myspace.com/santorcuato
 
 
 
 
 
  
 
  I spent 33 years and four months in active military service and during
  that period I spent most of my time as a high class muscle man for Big
  Business, for Wall Street and the bankers.      - General Smedley Butler
 
 
  
 
  ___
  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




-- 
ETs DNA will not be televised

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


Re: [PD] Joke for Pd-con guys

2009-07-28 Thread philippe boisnard

Hi all,

For all pd-con guys, a googleearth joke, to remember our great time  
together.


philippe/hp-process



PureData-CON 2009 Hostel.kmz
Description: application/vnd.google-earth.kmz




it's a googleearth link.
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] purepd atan2~ without expr/externals?

2009-07-28 Thread Nicholas Mariette
There are two approximations here:
http://www.dspguru.com/comp.dsp/tricks/alg/fxdatan2.htm

a rough implementation is attached.
I haven't listened to these yet though, so not sure how they sound.

Nick



 Hi,

 I'd like to use a signal [atan2~] in a Pd without externals nor
 [expr~] (i.e.  inn RjDj). Does anyone have a purepd implementation of
 it or maybe a pointer to some math/trigonometric
 identity/ln-substituion formula for atan2?

 Ciao
 --
  Frank BarknechtDo You RjDj.me?  _ __footils.org__

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



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


[PD] -nogui mistake

2009-07-28 Thread Caio Barros
Hi all,
I was experimenting with pd and inserted the stupid startup flag -nogui.
I read a old thread in this list of a member that did the same thing, and
runned pd from the shell with pd -noprefs.
It worked alright, but now none of the startup libraries are there anymore
and I don't remember what the where ;)
I'm running pd-exended in Ubuntu, and I tried to remove and reinstall the
package but the configurations still remains the same after that...
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] -nogui mistake

2009-07-28 Thread Frank Barknecht
Hallo,
Caio Barros hat gesagt: // Caio Barros wrote:

 I was experimenting with pd and inserted the stupid startup flag -nogui.
 I read a old thread in this list of a member that did the same thing, and
 runned pd from the shell with pd -noprefs.
 It worked alright, but now none of the startup libraries are there anymore
 and I don't remember what the where ;)
 I'm running pd-exended in Ubuntu, and I tried to remove and reinstall the
 package but the configurations still remains the same after that...

The configuration is in your home directory where it survives reinstallations.
Check for these files: ~/.pdsettings and ~/.pdrc and rename them.

Ciao
-- 
Frank

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


Re: [PD] -nogui mistake

2009-07-28 Thread Caio Barros
Well I opened it and it looks like this:


audioapi: 2
noaudioin: True
noaudioout: True
audiobuf: 50
rate: 44100
callback: 0
nomidiin: True
nomidiout: True
npath: 0
standardpath: 1
verbose: 0
loadlib1: Gem
nloadlib: 1
defeatrt: 0
flags:
--

the Gem is there because is the only one I remembered lol

2009/7/28 Frank Barknecht f...@footils.org

 Hallo,
 Caio Barros hat gesagt: // Caio Barros wrote:

  I was experimenting with pd and inserted the stupid startup flag -nogui.
  I read a old thread in this list of a member that did the same thing, and
  runned pd from the shell with pd -noprefs.
  It worked alright, but now none of the startup libraries are there
 anymore
  and I don't remember what the where ;)
  I'm running pd-exended in Ubuntu, and I tried to remove and reinstall the
  package but the configurations still remains the same after that...

 The configuration is in your home directory where it survives
 reinstallations.
 Check for these files: ~/.pdsettings and ~/.pdrc and rename them.

 Ciao
 --
 Frank

 ___
 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] -nogui mistake

2009-07-28 Thread Caio Barros
ah now it worked!
I just deleted de .pdsettings file e reinstalled the package
Thanks!

2009/7/28 Caio Barros caio.bar...@gmail.com

 Well I opened it and it looks like this:

 
 audioapi: 2
 noaudioin: True
 noaudioout: True
 audiobuf: 50
 rate: 44100
 callback: 0
 nomidiin: True
 nomidiout: True
 npath: 0
 standardpath: 1
 verbose: 0
 loadlib1: Gem
 nloadlib: 1
 defeatrt: 0
 flags:
 --

 the Gem is there because is the only one I remembered lol

 2009/7/28 Frank Barknecht f...@footils.org

 Hallo,
 Caio Barros hat gesagt: // Caio Barros wrote:

  I was experimenting with pd and inserted the stupid startup flag -nogui.
  I read a old thread in this list of a member that did the same thing,
 and
  runned pd from the shell with pd -noprefs.
  It worked alright, but now none of the startup libraries are there
 anymore
  and I don't remember what the where ;)
  I'm running pd-exended in Ubuntu, and I tried to remove and reinstall
 the
  package but the configurations still remains the same after that...

 The configuration is in your home directory where it survives
 reinstallations.
 Check for these files: ~/.pdsettings and ~/.pdrc and rename them.

 Ciao
 --
 Frank

 ___
 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] -nogui mistake

2009-07-28 Thread Frank Barknecht
Hallo,
Caio Barros hat gesagt: // Caio Barros wrote:

 Well I opened it and it looks like this:
 
 
 audioapi: 2
 noaudioin: True
 noaudioout: True
 audiobuf: 50
 rate: 44100
 callback: 0
 nomidiin: True
 nomidiout: True
 npath: 0
 standardpath: 1
 verbose: 0
 loadlib1: Gem
 nloadlib: 1
 defeatrt: 0
 flags:
 --
 
 the Gem is there because is the only one I remembered lol

Just remove the file and pd-extended probably will start with its default
settings (I'm guessing, as I don't use pd-ext myself)

Ciao
-- 
Frank

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


Re: [PD] gem pix shear

2009-07-28 Thread Py Fave
so nice .
exactly a good starting point for me .
simple and efficient.
you made it specially for me ? :-)

i'm trying to learn some glsl and i am not really fluent in it for the
moment.
to say the less.
but reading your code makes me willing to try things.

Thanks

py


2009/7/28 marius schebella marius.schebe...@gmail.com

 Py Fave wrote:

 Thanks for your help.

 i would like to output a pix with this transformation,with image wrapping
 around ,
 so shearXY is not very practical in my situation.

 i would prefer to avoid using pix_snap too.

 i need it to be quite fast, working on a live 25 fps 720*576(cropped to
 square) video feed.

 any other otions?

 would a GLSL shader do it ?


 look at the attached shader, maybe it does what you want?
 marius.


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


[PD] Problems with DIO errors / audio clicking

2009-07-28 Thread James Dunn
I'm having problems with DIO errors and glitchy audio with PD-extended 
0.41.4
My computer is an HP Compaq nc6000 1.6Ghz laptop with 500mb RAM and I'm 
running Ubuntu 9.04.
The kernel is 2.6.28-13-generic and I've tried using the realtime kernel 
which is 2.6.28-3-rt but it's no different. I've tried editing 
/etc/security/limits.conf to include the lines:


@audio - rtprio 99
@audio - nice -19
@audio - memlock unlimited

but this hasn't helped either.

I start jack with qjackctl and my settings are:

Realtime, No Memory Lock, Frames/Periods: 1024 sample rate 44100, 
Periods/Buffer: 2,.


Can anyone help?

thanks

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


Re: [PD] Problems with DIO errors / audio clicking

2009-07-28 Thread martin brinkmann
James Dunn wrote:

 Can anyone help?

probably not. i have had the same problems since i upgraded from hardy.
i had more or less periodic clicks/dropouts and erros, especially whith
heavy gui activity. (minimizing the gui while recording helped a little)

i have given up, and use oss instead of jack now.

bis denn!
   martin

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


Re: [PD] gem pix shear

2009-07-28 Thread marius schebella

Py Fave wrote:

so nice .
exactly a good starting point for me .
simple and efficient.
you made it specially for me ? :-)

i'm trying to learn some glsl and i am not really fluent in it for the 
moment.

to say the less.
but reading your code makes me willing to try things.


hi,
yes, atm I am trying to port shaders to pd and help people get started 
with it (it's part of my work for pdcon09, there is more to come...).


here is a version that will make it more clear what is going on. it does 
exactly the same thing as the shader I posted before, but splits the 
steps and has more comments.


-- snip stripeshear.frag --

// create diamond pattern
// shear (x/y) will change the angle of the diamonds
// offset (x/y) will move pattern left/right/up/down
// resize (x/y) will resize the height/width

// sampler2D is the texture connected in Gem
uniform sampler2D texture;

// the data type vec2 means a vector of 2 floats,
// to set this value from Pd send a list, e.g.
// shear 1.5 -0.7
uniform vec2 shear;
uniform vec2 offset;
uniform vec2 resize;

// take the pixel from position x/y and apply a new location to it
// in the last line texture means the particular pixel
// and texCoord the position where it will be drawn
// the rest is the transformation from the original position to the // 
diamond pattern

void main(void)
{   
// gl_TexCoord[0].x is the original x position. (a float value)
// gl_TexCoord[0].y the y position.
// to shear the image add an offset based on the x/y position
// and the factor shear.
float x = gl_TexCoord[0].x+gl_TexCoord[0].y*shear.x;
float y = gl_TexCoord[0].y+gl_TexCoord[0].x*shear.y;

// to shift the whole pattern right/left or up down
// add an offset
// to access the values of the vector you can use
// shear.xy (both) or shear.x or shear.y
// shear.s is the same as shear.x and the same as
// shear.r (letters stand for typical vectors: stuv, xyz, rgba)
x = x + offset.x;
y = y + offset.y;

// finally multiply the position offset to change
// the size of x and/or y
x = x*resize.x;
y = y*resize.y;

// this step is not really necessary, but shows
// how to put 2 floats into a vec2
vec2 texCoord = vec2(x,y);

// finally output the result as
// gl_FragColor, which is a built-in glsl function
gl_FragColor = texture2D(texture, texCoord);
}


 snip end

marius.










Thanks

py


2009/7/28 marius schebella marius.schebe...@gmail.com 
mailto:marius.schebe...@gmail.com


Py Fave wrote:

Thanks for your help.

i would like to output a pix with this transformation,with image
wrapping around ,
so shearXY is not very practical in my situation.

i would prefer to avoid using pix_snap too.

i need it to be quite fast, working on a live 25 fps
720*576(cropped to square) video feed.

any other otions?

would a GLSL shader do it ?


look at the attached shader, maybe it does what you want?
marius.





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


[PD] pd problem

2009-07-28 Thread Vitor Monaco
 Hello, i´m from brazil and i just started the manipulacion in PD.
I´m having problems in recording... i used the object 'writesf~ 2' connected
with two massage box as 'start' and 'stop'...

but nothing happened... so.. can anyone help me?? ifeahouheauea

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


Re: [PD] pd problem

2009-07-28 Thread Frank Barknecht
Hallo,
Vitor Monaco hat gesagt: // Vitor Monaco wrote:

  Hello, i?m from brazil and i just started the manipulacion in PD.
 I?m having problems in recording... i used the object 'writesf~ 2' connected
 with two massage box as 'start' and 'stop'...
 
 but nothing happened... so.. can anyone help me?? ifeahouheauea

writesf~ can be pretty ignorant when it is not treated as it expects to be
treated. I've been bitten by that many times, too. Most likely you did not
open a file prior to recording. It is crucial that you follow the order of 
commands
all the way like writesf~ wants it: 

1) open file.wav
2) start
3) stop
4) ... got to 1) again

Never skip a step here, then it should work!

Ciao
-- 
Frank

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


Re: [PD] pd problem

2009-07-28 Thread Vitor Monaco
Hello, i?m from brazil and i just started the manipulacion in PD.
 I?m having problems in recording... i used the object 'writesf~ 2'
connected
 with two massage box as 'start' and 'stop'... aswered to me that the order
matter... but didnt worked!
its message box or object box to make a open box...
and how i know the file will be when the recording finshisd.

thanks

Vitor

2009/7/28 Frank Barknecht f...@footils.org

 Hallo,
 Vitor Monaco hat gesagt: // Vitor Monaco wrote:

   Hello, i?m from brazil and i just started the manipulacion in PD.
  I?m having problems in recording... i used the object 'writesf~ 2'
 connected
  with two massage box as 'start' and 'stop'...
 
  but nothing happened... so.. can anyone help me?? ifeahouheauea

 writesf~ can be pretty ignorant when it is not treated as it expects to be
 treated. I've been bitten by that many times, too. Most likely you did not
 open a file prior to recording. It is crucial that you follow the order
 of commands
 all the way like writesf~ wants it:

 1) open file.wav
 2) start
 3) stop
 4) ... got to 1) again

 Never skip a step here, then it should work!

 Ciao
 --
 Frank

 ___
 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] Problems with DIO errors / audio clicking

2009-07-28 Thread Martin Peach

James Dunn wrote:
I'm having problems with DIO errors and glitchy audio with PD-extended 
0.41.4
My computer is an HP Compaq nc6000 1.6Ghz laptop with 500mb RAM and I'm 
running Ubuntu 9.04.
The kernel is 2.6.28-13-generic and I've tried using the realtime kernel 
which is 2.6.28-3-rt but it's no different. I've tried editing 
/etc/security/limits.conf to include the lines:


@audio - rtprio 99
@audio - nice -19
@audio - memlock unlimited

but this hasn't helped either.

I start jack with qjackctl and my settings are:

Realtime, No Memory Lock, Frames/Periods: 1024 sample rate 44100, 
Periods/Buffer: 2,.


Can anyone help?



Check if you have some kind of CPU frequency scaling going on. Ubuntu 
seems to install one by default. I found that when I force the machine 
to run at full speed all the time I get no more glitches (well the gui 
causes dropouts sometimes. I often minimize all the windows and switch 
to an empty desktop to be safe.)


Martin




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


Re: [PD] Control rate (Was: Sysex out problems)

2009-07-28 Thread András Murányi
[drip] is not 'realtime', but i think i have found what i need: [speedlim]
from the cyclone library. It just samples the stream at given intervals. I
hope it is cpu-economic as well!

Andras

On Tue, Jul 21, 2009 at 10:40 PM, Andy Farnell
padawa...@obiwannabe.co.ukwrote:


 Pd does not have a control rate as such. All message domain
 computations happen at audio block boundaries and happen as
 fast as possible. From the foregoing discussion it may be
 that some kind of list drip or list sequence operation will
 help make things smoother.

 andy





 On Tue, 21 Jul 2009 19:26:10 +0200
 András Murányi muran...@gmail.com wrote:

  Well i was hoping i wouldn't have to use any kind of timers for that
 job...
  [int] followed by [change] do a good and (in terms of cpu) inexpensive
 job,
  but to resample my control flow i will need [metro] or [pulse] afaik...
 if
  i do that, of course i will not add a [metro] to each knob and envelope
 but
  i will set up a central control clock with a single [metro] and then i
  will feed this to every part that needs to resample control signals.
  This leads me to the question (i remember it coming up earlier but i
 cannot
  find the topic sorry), if i want to basically modify pd's own control
 rate,
  is there a more direct/general way to do it?
 
  Thanks,
 
  Andras
 
  2009/7/19 Alex x37v.a...@gmail.com
 
   You could try making it so that you don't send sysex messages on every
   change.. just poll for changes at a certain rate.. and only sent the
   most recent change at that rate?
  
   -Alex
  
   2009/7/17 András Murányi muran...@gmail.com:
   [...]
Now that i'm trying with a Midisport everything is OK.
Another thing was that i was a bit lost in Yamaha's midi spec for the
   mu100
but i've found it out.  ;)
   
However now i see that pd's performace is becoming really waving as
 i'm
tring to pump out more midi data.
My old-new questions would be:
- Provided that a knob is directly driving a sysex pattern which
 spits
   out
way more data than necessary, who do i best slow down my data,
 staying
realtime? I guess i shall drop some of it somehow, or i shall kinda
   resample
the datastream. Could you Sirs recommend an economic way to do this?
- My machine is a moderate powerhouse (Opteron 148 @2200, 4G), my
 kernel
   is
rt and audio in pd is off however performance is waving, and my
 simple
sequencer is becoming unstable. What are the crucial points of
 keeping
   the
patch 'fast', where do you think i generally lose the most cpu?

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


[PD] ptl and IanniX

2009-07-28 Thread Rich E
Hi,

I've been looking at these two applications for graphical notation via OSC:

ptl:
D. Henry, “PTL, a new sequencer dedicated to graphical scores,” in Proc. of
the 2004 Int. Computer Music Conf, 2004, 738–41.
http://dh7.free.fr/otl/PTL_dh20040312.pdf

IanniX:
T. Coduys and G. Ferry, “IanniX aesthetical/symbolic visualisations for
hypermedia composition,” in Proceedings International Conference Sound and
Music Computing (SMC’04), 2004.
http://www.la-kitchen.fr/download/Papers/PAPER_077.pdf
(what in youtube: http://www.youtube.com/watch?v=WvGFtYzJ88s)

I suppose their developers or users are on this list, so I was wondering
about a couple things.

These papers are from the same year, yet I take it they are separate
projects.  Has this changed at all?

How does time work in ptl?  I don't have the program, but from one of the
images it looks like time flows left-right, triggering the events made by
the position of shapes.

Any progress in these applications in the last 5 years, or others?

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


[PD] 'kick' in Pd

2009-07-28 Thread Vitor Monaco
Hello, I am Vitor Monaco in Sao Paulo - Brazil, I am aware of the pd to a
week, some scratching sounds and articulate some schemes. I wonder if
someone can give me any tips on how to produce a 'Kick'.
grateful,
Vitor
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list