Re: [PD] need help with pmpd

2008-12-11 Thread Damien Henry - Voxler
then use iLine instead of iSeg : they are infinitly long.

Cheers,
Damien.



jörg brinkmann a écrit :
 thank you veryvery much Jack :)

 they are not falling out of the corners anymore. nice

 but is it possible to never let the balls come across the border ?
 (this happens when you shake very drastically)

 P.S.: if someone has some own pmpd examples to share. that would be great





  Original-Nachricht 
   
 Datum: Wed, 10 Dec 2008 23:50:24 +0100
 Von: Jack [EMAIL PROTECTED]
 An: jörg brinkmann [EMAIL PROTECTED]
 CC: pd-list@iem.at
 Betreff: Re: [PD] need help with pmpd
 

   
 Try with this parameters.
 I prefer to use [iLine2D] than [iSeg2D] because the 6th argument  
 (depth) will force the ball to 'come back' all the line long and not  
 the segment long (if i'm right).
 ++

 Jack

 

   

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


Re: [PD] ehu abstractions to be released

2008-12-11 Thread IOhannes m zmoelnig
altern wrote:
 Hans-Christoph Steiner(e)k dio:

 You can force the version by using the namespace prefix:

 [cyclone/counter]
 [cyclone/prepend]
 [iemlib/gate]
 
 this is what i am doing. i think that solves the issue.

i think even better would be to use built-in objects.
in the case of [gate] and [prepend] this maps to one (or 2) built-ins, 
so no need for strange prefixes.

mfgasdr
IOhannes

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


Re: [PD] API for manipulating a patch in real time

2008-12-11 Thread Enrique Erne
i'd love to see pd going this direction and use it with friends.

processing is a pretty good candidate imo. on osx i could get it to 
start and open a patch unfortunately not in -nogui mode

i do not understand enough what's possible, but it would be crazy if one 
could use Pd with titanium, which is the opensource cousin of adobe air.
http://titaniumapp.com/

eni

(just keeping this topic alive :) )


Miller Puckette wrote:
 I can imagine simply writing an example program to do this (putting some
 boilerplate first and then a rewritable main at the end).  It would
 look more like this:
 
 /* don't touch me */
 
 /* but replace the following with your code */
 
 main()
 {
pd_startthread(arg1 arg2...);
   /* do anything you want */
pd_send(foo bang;);
   /* etc */
pd_endthread();
 }
 
 ... the idea would be that pd itself would live in a subthread and you'd
 be able to send messages to it and even somehow get return callbacks.
 This wouldn't be like pd~ at all, since in this scenario Pd would open 
 audio and MIDI as needed and schedule itself (with pd~ the subprocess
 slaves itself synchronously to the parent).  Another restriction would
 be that you could only have one Pd thread (it isn't thread-safe!).  On
 the other hand, this would work fine in Windows, which pd~ doesn't (since
 windows appears not to offer pipes unless you add a library with funny
 licensing restrictions.)
 
 Would that be a useful thing to have?
 
 cheers
 Miller
 
 On Wed, Dec 10, 2008 at 11:28:22AM +, Andy Farnell wrote:

 Yes! Even if it's already 'doable' having a clearly
 abstracted libPd with documented API is clearly the next
 step in Pure Data development. This should be an overriding
 consideration in all current dev directions.


 On Wed, 10 Dec 2008 20:07:04 +0900
 Chris McCormick [EMAIL PROTECTED] wrote:

 On Wed, Dec 10, 2008 at 09:05:16AM +0100, IOhannes m zmoelnig wrote:
 Zach Dwiel wrote:
 Hello
 first of all, there is no official API.
 It would be so nice if there were an easy way to invoke Pd as a library
 from within other code. I know it's possible to do this (Spore, pd~,
 RjDj, Pd browser plugin), it's just that it requires writing a bunch of
 non-trivial support code that must be re-written every time. It
 shouldn't have to. Pd -nogui could and should be as easily invokeable as
 any other library.

 For example, I just wish it was possible to go:

 #include pd.h

 *PDInstance pd = make_pd_instance();
 pd-init(/* ..args.. */);

 while (1)
 {
 /* Do stuff here */
 pd-schedloop();
 /* Do other stuff here */
 pd-sendMessage(;my-receiver bang;);
 }

 Ok maybe not quite as easy as that, but I reckon you'd see Pd used as
 the audio engine for loads of other apps and games if this was simple.
 There has already been interest from e.g. the Blender project and the
 several other apps that already embed Pd.

 If this is already easy and I have just missed something obvious, please
 let me know. (Sorry for not contributing code.)

 Best,

 Chris.

 ---
 http://mccormick.cx

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

 -- 
 Use the source

 ___
 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] ehu abstractions to be released

2008-12-11 Thread Frank Barknecht
Hallo,
IOhannes m zmoelnig hat gesagt: // IOhannes m zmoelnig wrote:

 altern wrote:
  Hans-Christoph Steiner(e)k dio:
 
  You can force the version by using the namespace prefix:
 
  [cyclone/counter]
  [cyclone/prepend]
  [iemlib/gate]
  
  this is what i am doing. i think that solves the issue.
 
 i think even better would be to use built-in objects.
 in the case of [gate] and [prepend] this maps to one (or 2) built-ins, 
 so no need for strange prefixes.

Which are unusable with (some) libraries when compiled as multiobject
libraries anyway. [import x] then is the better solution IMO.

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] API for manipulating a patch in real time

2008-12-11 Thread Chris McCormick
Hi Miller,

On Wed, Dec 10, 2008 at 09:12:23AM -0800, Miller Puckette wrote:
 I can imagine simply writing an example program to do this (putting some
 boilerplate first and then a rewritable main at the end).  It would
 look more like this:
 
 /* don't touch me */
 
 /* but replace the following with your code */
 
 main()
 {
pd_startthread(arg1 arg2...);
   /* do anything you want */
pd_send(foo bang;);
   /* etc */
pd_endthread();
 }
 
 ... the idea would be that pd itself would live in a subthread and you'd
 be able to send messages to it and even somehow get return callbacks.
 This wouldn't be like pd~ at all, since in this scenario Pd would open 
 audio and MIDI as needed and schedule itself (with pd~ the subprocess
 slaves itself synchronously to the parent).  Another restriction would
 be that you could only have one Pd thread (it isn't thread-safe!).  On
 the other hand, this would work fine in Windows, which pd~ doesn't (since
 windows appears not to offer pipes unless you add a library with funny
 licensing restrictions.)
 
 Would that be a useful thing to have?

That would definately be a great start! An example program would be
fantastic for now. So would this have to be compiled against Pd sources,
or would Pd object files be archived in a .dll or .so files and then
this main function would dynamically link against that? The latter would
be preferable, but anything along these lines is really excellent.

Eventually it would be really cool to be able to go apt-get install
pdlib or pd-dev and then link programs against Pd. It would also be
great for programs to be able to control everything, so they could
actually schedule Pd 'ticks' themselves, and they could get the contents
of Pd's output buffers for mixing with their own audio stream or
whatever. (Isn't that what Spore does?) I guess small steps first. :)

Thanks for your work!

Best,

Chris.

PS You might like to look at how Python handles pipes on Windows. As far
as I know Python is bundled with an executable called 'w9xpopen.exe'
which helps with interprocess communication. I might be way off the mark
here though.

---
http://mccormick.cx

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


Re: [PD] need help with pmpd

2008-12-11 Thread Max
Works well with metro 1 and a little less gravity (iAmbient2D mass),
can't wait to hear the sound it will make!

m.


Am 11.12.2008 um 01:59 schrieb Jack:

 You can put 1 instead of 5 in the [metro]. Then the update of the
 PMPD system is much faster than GEM (in your exemple 1 frame every 20
 ms). if i'm right.
 ++

 Jack


 Le 11 déc. 08 à 01:16, jörg brinkmann a écrit :

 thank you veryvery much Jack :)

 they are not falling out of the corners anymore. nice

 but is it possible to never let the balls come across the border ?
 (this happens when you shake very drastically)

 P.S.: if someone has some own pmpd examples to share. that would be
 great





  Original-Nachricht 
 Datum: Wed, 10 Dec 2008 23:50:24 +0100
 Von: Jack [EMAIL PROTECTED]
 An: jörg brinkmann [EMAIL PROTECTED]
 CC: pd-list@iem.at
 Betreff: Re: [PD] need help with pmpd

 Try with this parameters.
 I prefer to use [iLine2D] than [iSeg2D] because the 6th argument
 (depth) will force the ball to 'come back' all the line long and not
 the segment long (if i'm right).
 ++

 Jack


 -- 
 Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit
 allen: http://www.gmx.net/de/go/multimessenger


 ___
 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] Percolate for Pd

2008-12-11 Thread Mitchell Turner
Well, of course, I did search before I asked.  I still could not find  
it.  That's when I turned to this list.
Thanks for your time,
Mitch


On Dec 10, 2008, at 11:55 PM, hard off wrote:

 search the pd forum, someone posted a .zip of it a while back i think.




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


[PD] MIDI data to pd on OS X using MIDI network

2008-12-11 Thread Lao Yu
Hi,

I want to connect a commercial software (Logic) and send MIDI data to  
pd using the MIDI network which is part of the OS.

Once MIDI network is enabled both Logic and pd 'see' the network  
driver and allow it to be configured as a device, Logic as an output  
(for external MIDI devices) and pd as an input.

The output from Logic towards the network seems to work fine, I use  
Snoize MIDI monitor and that one displays the data correctly. However  
pd is sitting there and the notein object pretends that there's  
nothing coming in. I had notein work ok with a MIDI interface on my  
guitar - so the problem appears to be with the MIDI network.

Did anybody ever use the MIDI network on OS X? I'm on OS X 4.11. I'd  
be gad to hear how you made it work (if you did).

Best
Jurgen

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


[PD] Open Lab at the 11th Cairo Bienale

2008-12-11 Thread yves degoyon

*Open* *Lab at the 11*^*th* * Cairo Bienale*

*21*^*st* * to 27*^*th* * of December 2008*

*Bab Gallery of the Museum of Modern Egyptian Art*


In the context of the 11^th Cairo Bienale, in cooperation with the Fine 
Arts Sector of the Ministry of Culture, the Embassy of Spain in Cairo 
and LABoral Centro de Arte, Hangar has the honour to present an Open Lab 
in the Bab Gallery, a week of intensive workshops for artists and 
technicians interested in working with DIY hardware, free software and 
tactical cartographies.



Program :

21-27/12/08 10h-13h Software - Pure Data : Yves Degoyon

21-27/12/08 14-19h Hardware - DIY Electronics : Diego Rodriguez Gomez

24/12/08 10h-19h Tactical Cartography : Pablo de Soto

27/12/08 20h Presentations  Lives


Free Entry.
Limited places.

Reserve by email : [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]_


Bab Gallery of the Museum of Modern Egyptian Art

Guezira Grounds (Cairo Opera House Complex)


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


[PD] MIDI data to pd on OS X using MIDI network

2008-12-11 Thread Lao Yu
oops - it's working now with the IAC driver - sorry for my hasty  
post. forget it...

Shamefully
Jurgen

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


Re: [PD] Percolate for Pd

2008-12-11 Thread hard off
you searched the pd forum, and you didn't find 'percolate' ?? i can't
believe that.




you will have to login to be able to download the .zip files.  they are
about 4 posts down this thread:

http://puredata.hurleur.com/sujet-619-port-percolate
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] nearest power of 2

2008-12-11 Thread hard off
what's the easiest way for pd to find the nearest power of 2 for any float?


so 10 would give a result of 8,
53 would give a result of 64,

etc..


http://en.wikipedia.org/wiki/Power_of_two#Algorithm_to_convert_any_number_into_nearest_power_of_two_number
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Open Lab at the 11th Cairo Bienale

2008-12-11 Thread ydegoyon
hi,

thanks for these contacts,
of course, we are invited by Roman,
the one that throws parties...

err, no, it's for working...

another interesting fact is that my friend Dirar Kalash,
from palestina will come to join us and play
in the final event :

27/12/08 20h

Final presentation of the winterLab

featuring the participants +

D.R.E.G.S / Diego el de Leon /

Praxis / Atari Noise Orchestra


cool, i won't be bored for xmas

saludos,
sevy


Greg Pond wrote:
 Yves,

 I dont know if you have been to Cairo or not so I dont know if my
 message will be useful to you but I volunteer it anyway.

 Cairo is a great and very interesting city. Much happened while I was
 there that left strong impressions- but as for exhibiting:

 I was there working for the Ministry of Culture  for a media arts
 exhibition at the Palace of Fine Arts last year. I found that
 electronic media can present some challenges in Egypt. There were not
 many (any) people working in the Fine Arts Sector there with
 experience to handle work using max, PD, really anything other than
 dvd. I was only showing videos and jurying part of the exhibition but
 had to help with some installations too. Many of the people who work
 there were, however, eager to learn more and maybe things have
 changed.

 Nagla Samir is really excellent to work with and very helpful, if you
 have not been corresponding with her, she works for the Sector of Fine
 Arts

 Greg Niemeyer form UC Berkley here in the USA did some interesting
 work through the Whitehouse gallery in Cairo- whitehouse may be
 interesting for you
 http://studio.berkeley.edu/niemeyer/art.html
 http://www.gregniemeyer.com/

 if Ursula Bachman, a Swiss artist who may still be living there,  is
 around she can show show you parts of the city that are more
 interesting than what the ministry of culture will.

  Roman, the Spanish cultural counsel in Cairo is an interesting man-
 very charming and has some interesting stories about his time working
 in Iran. He likes to entertain and throw parties. He also seemed to
 get on very well with Sector Fine Arts staff and took very good care
 of the Spanish artist in the show. The US cultural emissary in Cairo
 was, by contrast, a cunt.

 today is  Naguib Mafuz's birthday- enjoy your time in the alley. I
 hope some documentation of your work there will be posted online.

 best,
 Greg



 On Thu, Dec 11, 2008 at 7:56 AM, yves degoyon [EMAIL PROTECTED] wrote:
   
 *Open* *Lab at the 11*^*th* * Cairo Bienale*

 *21*^*st* * to 27*^*th* * of December 2008*

 *Bab Gallery of the Museum of Modern Egyptian Art*


 In the context of the 11^th Cairo Bienale, in cooperation with the Fine
 Arts Sector of the Ministry of Culture, the Embassy of Spain in Cairo
 and LABoral Centro de Arte, Hangar has the honour to present an Open Lab
 in the Bab Gallery, a week of intensive workshops for artists and
 technicians interested in working with DIY hardware, free software and
 tactical cartographies.



 Program :

 21-27/12/08 10h-13h Software - Pure Data : Yves Degoyon

 21-27/12/08 14-19h Hardware - DIY Electronics : Diego Rodriguez Gomez

 24/12/08 10h-19h Tactical Cartography : Pablo de Soto

 27/12/08 20h Presentations  Lives


 Free Entry.
 Limited places.

 Reserve by email : [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]_


 Bab Gallery of the Museum of Modern Egyptian Art

 Guezira Grounds (Cairo Opera House Complex)


 ___
 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] nearest power of 2

2008-12-11 Thread hard off
ah don't worry.  the bitwise operators in pd correspond exactly to the
process in that wikipedia article.  couldn't guess it would be that easy.
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] nearest power of 2

2008-12-11 Thread hard off
may as well post the patch i guess.  actually it just gets the NEXT power of
2, not the nearest, but that is fine for my purpose - which is to decide how
many slices to make in a sound file to cut it into individual beats.


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


Re: [PD] nearest power of 2

2008-12-11 Thread Thomas Grill
Hi,
one could also use
expr pow(2, int(log($f1)/log(2)+0.5))
which takes the dual log, rounds that to the nearest integer and  
calculates the dual power again.
gr~~~

Am 11.12.2008 um 18:02 schrieb hard off:

 ah don't worry.  the bitwise operators in pd correspond exactly to  
 the process in that wikipedia article.  couldn't guess it would be  
 that easy.


 ___
 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-announce] [Pdmtl] pdmtl#29 le 2008.12.13

2008-12-11 Thread Mathieu Bouchard


-- Forwarded message --
Date: Thu, 11 Dec 2008 14:10:04 -0500 (EST)
From: Mathieu Bouchard ma...@artengine.ca
To: pd...@artengine.ca
Subject: [Pdmtl] pdmtl#29 le 2008.12.13

PureData Montréal #29

  le samedi 13 décembre 2008 de 13H00 à 17H00
  à Vidéographe
  Ouvert à tous et à toutes. Entrée libre.

Programme:

Alexandre Quessy présente Ambisonic (PdMtlAbstractions)

Ambisonic est une partie de la librairie PdMtlAbstractions conçue pour pour la 
spatialisation sonore en 2D ou 3D.


Contenu de la présentation:

* Présentations des patches Ambisonic qui font partie de la librairie
  PdMtlAbstractions.
* Discussions autour du format de représentation spatiale du son en 3D
  Ambisonic.

Depuis peu, je travaille sur des abstractions pour manipuler le format B 
Ambisonic. Elles sont disponibles sous la catégorie ambi.* dans la librairie 
PdMtlAbstractions. Il ne s'agit que des premiers balbutiements, mais je 
souhaite les présenter afin d'intéresser d'éventuels utilisateurs ou 
développeurs.


Quelques liens:

* Le groupe PdMtl : http://wiki.dataflow.ws/PdMtl
* Les patches PdMtlAbstractions :
http://wiki.dataflow.ws/PdMtlAbstractions
* Les patches ambi.* :
http://wiki.dataflow.ws/PdMtlAbstractions/Ambisonic
* Et la liste de discussion Ambisonic Montréal :
http://wiki.dataflow.ws/Ambisonic

Michal Seta présente RjDj

RjDj est une application pour le iPhone (et bientôt le iPod Touch) pour 
distribuer de la musique réactive, interactive, des jeux audio etc. par 
l'entremise de ce smart-phone populaire. Les scènes distribuées avec RjDj 
sont programmées avec Pure data. Les programmeurs de scènes RjDj ont accès à 
l'entrée micro de iPhone ainsi que les données d'accéléromètre intégré et ainsi 
peuvent créer des environnements sonores liées directement aux actions des 
utilisateurs.


Je vais vous montrer l'application RjDj sur iPhone avec certaines scènes et je 
vais donner un aperçu de mes expériences acquises lors du dernier sprint RjDj 
auquel j'ai participé à Vancouver.


Distribution d'affiches et flyers de MakeArt

Thomas Vriet a envoyé à Montréal, de la part de GOTO10, quelques affiches et 
flyers de MakeArt, qui seront distribués à PdMtl#29 aux personnes présentes.


 _ _ __ ___ _  _ _ ...
| Mathieu Bouchard - tél:+1.514.383.3801, Montréal, Québec___
Pd-announce mailing list
pd-annou...@iem.at
http://lists.puredata.info/listinfo/pd-announce
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] ehu abstractions to be released

2008-12-11 Thread Hans-Christoph Steiner

On Dec 11, 2008, at 4:19 AM, IOhannes m zmoelnig wrote:

 altern wrote:
 Hans-Christoph Steiner(e)k dio:

 You can force the version by using the namespace prefix:

 [cyclone/counter]
 [cyclone/prepend]
 [iemlib/gate]
 this is what i am doing. i think that solves the issue.

 i think even better would be to use built-in objects.
 in the case of [gate] and [prepend] this maps to one (or 2) built- 
 ins, so no need for strange prefixes.

Except [list prepend], which I consider a stranger prefix. :)  I  
still prefer [cyclone/prepend] since you don't need to add [list  
trim] to keep things in the same format they came in as (at least for  
the things I seem to do regularly.)

.hc


 mfgasdr
 IOhannes



 


Terrorism is not an enemy.  It cannot be defeated.  It's a tactic.   
It's about as sensible to say we declare war on night attacks and  
expect we're going to win that war.  We're not going to win the war  
on terrorism.- retired U.S. Army general, William Odom



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


Re: [PD] ehu abstractions to be released

2008-12-11 Thread Thomas Grill
Hi,
could you give me some infos about your OS and compiler version?
Does it work if you set OFLAGS=-O2 instead?
gr~~~

Am 09.12.2008 um 23:39 schrieb altern:

 patrick(e)k dio:
 /me is wondering

 i compiled xsample (linux - 32bits):
 http://www.11h11.com/temp/xsample.pd_linux

 anyone can try to pd -lib xsample.pd_linux? is it working?

 same problem i got with my build. PD starts up and gets frozen when
 loading the externals. I solved it by comenting out OFLAGS=-O3 from
 the config-lnx-pd-gcc.txt configuration file. If your file works in  
 your
 machine this is something to do with my computer, same problem  
 happened
 in my both machines.

 ___
 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-announce] [Pdmtl] pdmtl#29 le 2008.12.13

2008-12-11 Thread IOhannes m zmoelnig
Mathieu Bouchard wrote:
 
 
 Ambisonic est une partie de la librairie PdMtlAbstractions conçue pour 
 pour la spatialisation sonore en 2D ou 3D.

btw, it's called Ambisonics (with a trailing s) :-)

good luck

fgmar
IOhannes

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


Re: [PD] ehu abstractions to be released

2008-12-11 Thread IOhannes m zmoelnig
Hans-Christoph Steiner wrote:
 Except [list prepend], which I consider a stranger prefix. :)  I  

hmm, i vaguely remember turning down my suggestion to rename internals 
[list trim] to [list/trim]...should be somewhere on the sf-tracker

mfrad
IOhannes

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


Re: [PD] nearest power of 2

2008-12-11 Thread Matt Barber
This might be silly, but here are three abstractions I made a couple
years or so when I was learning...

the nearest one defaults to the higher value for numbers halfway between.


Matt

 Date: Fri, 12 Dec 2008 00:48:48 +0900
 From: hard off hard@gmail.com
 Subject: [PD]  nearest power of 2
 To: Pd List pd-l...@iem.kug.ac.at
 Message-ID:
161320dd0812110748w620d032g7b9bdff22d2f4...@mail.gmail.com
 Content-Type: text/plain; charset=iso-8859-1

 what's the easiest way for pd to find the nearest power of 2 for any float?


 so 10 would give a result of 8,
 53 would give a result of 64,

 etc..


 http://en.wikipedia.org/wiki/Power_of_two#Algorithm_to_convert_any_number_into_nearest_power_of_two_number
 -- next part --
 An HTML attachment was scrubbed...
 URL: 
 http://lists.puredata.info/pipermail/pd-list/attachments/20081212/bb3be031/attachment-0001.htm

 --


nextpowoftwo.pd
Description: Binary data


lastpowoftwo.pd
Description: Binary data


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


Re: [PD] Percolate for Pd

2008-12-11 Thread Mitchell Turner

John,
I was able to get Percolate working on a MacBookPro running OS 10.5.5  
and Pd-Extended 0.40.3. The way I was able to do this involved  
compiling from source.  The required a few steps outlined below.


I'm not absolutely sure my changes are the best way to do things.  But  
it worked so I guess its an ok way to do it.


1) I got the latest version of the Developers Tools (the ones for  
OS10.5).  Then I downloaded the source version of PeRColate discussed  
here (I had to login in order to see the attachments):

http://puredata.hurleur.com/sujet-619-port-percolate

Now I had to edit the Makefile that came in the PeRColate_source  
folder.  (I've pasted in the Makefile below.)
2) I made changes to the current line, so that it read current:  
pd_darwin.


3) I removed all of the lines dealing with Windows (might be an  
unnecessary step).


4) Down in the MAC OS X section, I  changed the PD= line to point to  
my version of pd.

PD = /Applications/Pd-extended.app/Contents/Resources/bin/pd

5) I also changed MACOSXINCLUDE line to point to the include folder  
inside my version of Pd-Extended.
MACOSXINCLUDE =  -I _headers -I /Applications/Pd-extended.app/Contents/ 
Resources/include/


6) Now in Terminal, I cded over to the PeRColate_source directory  
and ran the make command.  It compiled just fine (after multiple  
attempts and much editing of the Makefile).


7) Now I opened the Pd-Extended application (CTRL-Click and select  
open package contents).


8) I placed the entire PeRColate folder inside the extras and copied  
the percolate.pd_darwin file to:

Pd-extended/Contents/Resources/extra/
copied the PeRColate_help into:
Pd-extended/Contents/Resources/doc/5.reference/

I opened Pd-Extended application and set the library to load on start  
up.  Pd-extendedPreferencesStartup


I re-started Pd and all was well.  Hope this helps out,
Mitch





Here is the Makefile I ended up with:

#Begin_Makefile-

NAME=percolate
CSYM=percolate

current: pd_darwin

# --- LINUX i386 ---

pd_linux: $(NAME).pd_linux

.SUFFIXES: .pd_linux

PATH1=1.\ Physical\ Models
PATH2=2.\ Modal\ Synthesis
PATH3=3.\ PhISM
PATH4=4.\ MaxGens
PATH5=5.\ SID
PATH6=6.\ Random\ DSP

LINUX_SOURCES = percolate.c \
 _source/stk.c  \
$(PATH1)/blotar/blotar~.c   \
$(PATH1)/bowed/bowed~.c \
$(PATH1)/bowed\ bar/bowedbar~.c \
$(PATH1)/brass/brass~.c \
$(PATH1)/clarinet/clar~.c   \
$(PATH1)/flute/flute~.c \
$(PATH1)/mandolin/mandolin~.c   \
$(PATH1)/plucked/plucked~.c \
$(PATH2)/agogo/agogo~.c \
$(PATH2)/marimba/marimba~.c \
$(PATH2)/vibraphone/vibraphone~.c   \
$(PATH3)/bamboo/bamboo~.c   \
$(PATH3)/cabasa/cabasa~.c   \
$(PATH3)/meta-shaker/metashake~.c   \
$(PATH3)/sekere/sekere~.c   \
$(PATH3)/sleigh\ bells/sleigh~.c\
$(PATH3)/shaker/shaker~.c   \
$(PATH3)/guiro/guiro~.c \
$(PATH3)/tamb/tamb~.c   \
$(PATH3)/wuter/wuter~.c \
$(PATH4)/gen10/gen10.c  \
$(PATH4)/gen17/gen17.c  \
$(PATH4)/gen20/gen20.c  \
$(PATH4)/gen24/gen24.c  \
$(PATH4)/gen25/gen25.c  \
$(PATH4)/gen5/gen5.c\
$(PATH4)/gen7/gen7.c\
$(PATH4)/gen9/gen9.c\
$(PATH5)/absmax~/absmax~.c  \
$(PATH5)/absmin~/absmin~.c  \
$(PATH5)/chase~/chase~.c\
$(PATH5)/escal~/escalator~.c\
$(PATH5)/flip~/flip~.c  \
$(PATH5)/jitter~/jitter~.c  \
$(PATH5)/klutz~/klutz~.c\
$(PATH5)/random~/random~.c  \
$(PATH5)/terrain~/terrain~.c\
$(PATH5)/waffle~/waffle~.c  \
$(PATH5)/weave~/weave~.c\
$(PATH6)/dcblock/dcblock~.c \
$(PATH6)/gQ/gQ~.c   \
$(PATH6)/munger/munger~.c   \
$(PATH6)/scrubber/scrub~.c

LINUX_OBJECTS = $(LINUX_SOURCES:.c=.o)

LINUX_OBJECTS2 = percolate.o\
_source/stk.o   \

Re: [PD] Percolate for Pd

2008-12-11 Thread Hans-Christoph Steiner


One note on this, it would be much better to put the files into ~/ 
Library/Pd or /Library/Pd than into the Pd-extended.app. That way  
percolate will still be there after you upgrade.


.hc

On Dec 11, 2008, at 6:15 PM, Mitchell Turner wrote:


John,
I was able to get Percolate working on a MacBookPro running OS  
10.5.5 and Pd-Extended 0.40.3. The way I was able to do this  
involved compiling from source.  The required a few steps outlined  
below.


I'm not absolutely sure my changes are the best way to do things.   
But it worked so I guess its an ok way to do it.


1) I got the latest version of the Developers Tools (the ones for  
OS10.5).  Then I downloaded the source version of PeRColate  
discussed here (I had to login in order to see the attachments):

http://puredata.hurleur.com/sujet-619-port-percolate

Now I had to edit the Makefile that came in the PeRColate_source  
folder.  (I've pasted in the Makefile below.)
2) I made changes to the current line, so that it read current:  
pd_darwin.


3) I removed all of the lines dealing with Windows (might be an  
unnecessary step).


4) Down in the MAC OS X section, I  changed the PD= line to point  
to my version of pd.

PD = /Applications/Pd-extended.app/Contents/Resources/bin/pd

5) I also changed MACOSXINCLUDE line to point to the include  
folder inside my version of Pd-Extended.
MACOSXINCLUDE =  -I _headers -I /Applications/Pd-extended.app/ 
Contents/Resources/include/


6) Now in Terminal, I cded over to the PeRColate_source  
directory and ran the make command.  It compiled just fine (after  
multiple attempts and much editing of the Makefile).


7) Now I opened the Pd-Extended application (CTRL-Click and select  
open package contents).


8) I placed the entire PeRColate folder inside the extras and  
copied the percolate.pd_darwin file to:

Pd-extended/Contents/Resources/extra/
copied the PeRColate_help into:
Pd-extended/Contents/Resources/doc/5.reference/

I opened Pd-Extended application and set the library to load on  
start up.  Pd-extendedPreferencesStartup


I re-started Pd and all was well.  Hope this helps out,
Mitch





Here is the Makefile I ended up with:

#Begin_Makefile-

NAME=percolate
CSYM=percolate

current: pd_darwin

# --- LINUX i386 ---

pd_linux: $(NAME).pd_linux

.SUFFIXES: .pd_linux

PATH1=1.\ Physical\ Models
PATH2=2.\ Modal\ Synthesis
PATH3=3.\ PhISM
PATH4=4.\ MaxGens
PATH5=5.\ SID
PATH6=6.\ Random\ DSP

LINUX_SOURCES = percolate.c \
 _source/stk.c  \
$(PATH1)/blotar/blotar~.c   \
$(PATH1)/bowed/bowed~.c \
$(PATH1)/bowed\ bar/bowedbar~.c \
$(PATH1)/brass/brass~.c \
$(PATH1)/clarinet/clar~.c   \
$(PATH1)/flute/flute~.c \
$(PATH1)/mandolin/mandolin~.c   \
$(PATH1)/plucked/plucked~.c \
$(PATH2)/agogo/agogo~.c \
$(PATH2)/marimba/marimba~.c \
$(PATH2)/vibraphone/vibraphone~.c   \
$(PATH3)/bamboo/bamboo~.c   \
$(PATH3)/cabasa/cabasa~.c   \
$(PATH3)/meta-shaker/metashake~.c   \
$(PATH3)/sekere/sekere~.c   \
$(PATH3)/sleigh\ bells/sleigh~.c\
$(PATH3)/shaker/shaker~.c   \
$(PATH3)/guiro/guiro~.c \
$(PATH3)/tamb/tamb~.c   \
$(PATH3)/wuter/wuter~.c \
$(PATH4)/gen10/gen10.c  \
$(PATH4)/gen17/gen17.c  \
$(PATH4)/gen20/gen20.c  \
$(PATH4)/gen24/gen24.c  \
$(PATH4)/gen25/gen25.c  \
$(PATH4)/gen5/gen5.c\
$(PATH4)/gen7/gen7.c\
$(PATH4)/gen9/gen9.c\
$(PATH5)/absmax~/absmax~.c  \
$(PATH5)/absmin~/absmin~.c  \
$(PATH5)/chase~/chase~.c\
$(PATH5)/escal~/escalator~.c\
$(PATH5)/flip~/flip~.c  \
$(PATH5)/jitter~/jitter~.c  \
$(PATH5)/klutz~/klutz~.c\
$(PATH5)/random~/random~.c  \
$(PATH5)/terrain~/terrain~.c\
$(PATH5)/waffle~/waffle~.c  \
$(PATH5)/weave~/weave~.c\
$(PATH6)/dcblock/dcblock~.c \
$(PATH6)/gQ/gQ~.c   \

[PD] problem with plugin~ and dssi~

2008-12-11 Thread Ivica Ico Bukvic
Hi all,

Using pd-extended 0.40.3 (deb) on Ubuntu Intrepid and when using either
built-in plugin~ and dssi~ objects (also tried with dssi~ compiled from the
latest available source) I get the following output before Pd segfaults:

Warning: no LADSPA_PATH, assuming /usr/lib/ladspa:/usr/local/lib/ladspa
no more csLADSPA plugins
socket receive error: Connection reset by peer (104)
Segmentation fault

The warning should be fine since the default path covers ladspa plugins
installed on Ubuntu. Using plugin~ by itself does this, while dssi~ if
created without an argument reports missing argument (as expected) but does
not crash until that argument is supplied. Both bogus and valid arguments to
dssi~ crash Pd. Help file for dssi likewise crashes.

This occurs both through jack and without it. I created objects both with
and without DSP being enabled.

Any thoughts what could be the problem? I suspect since both plugins are
misbehaving that it has something to do with ladspa setup but then again
what do I know...

P.S. dssi~ hexter (from the helpfile) when extracted on its own, hangs for a
while and then crashes pd leaving pd-gui and two stuck instances of
hexter_gtk.

Any help on this matter is most appreciated.

Best wishes,

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


Re: [PD] problem with plugin~ and dssi~

2008-12-11 Thread Ivica Ico Bukvic
Apologies all for the noise. It appears sine_faaa does not work, but also
when choosing ladspa plugins you still need to specify the actual plugin
name (e.g. /usr/lib/ladspa/gverb_1216.so:gverb). But then the question is
how do we know what is the name of each plugin?

Any ideas?

Many thanks!

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


[PD] Sort a list of symbols?

2008-12-11 Thread Dafydd Hughes
Hi folks

Am I just not seeing it? Is there a pd-way to sort a list alphabetically?


cheers
dafydd

-- 
www.sideshowmedia.ca
skype: chickeninthegrass

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


Re: [PD] nearest power of 2

2008-12-11 Thread Kyle Klipowicz
This is neat. Please share your continued research in this territory. Also,
has anyone made a beat slicer that chops up a sound file based on
transients?

~Kyle

On Thu, Dec 11, 2008 at 11:07 AM, hard off hard@gmail.com wrote:

 may as well post the patch i guess.  actually it just gets the NEXT power
 of 2, not the nearest, but that is fine for my purpose - which is to decide
 how many slices to make in a sound file to cut it into individual beats.



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




-- 
-

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


Re: [PD] ehu abstractions to be released

2008-12-11 Thread Hans-Christoph Steiner

On Dec 11, 2008, at 4:27 PM, IOhannes m zmoelnig wrote:

 Hans-Christoph Steiner wrote:
 Except [list prepend], which I consider a stranger prefix. :)  I

 hmm, i vaguely remember turning down my suggestion to rename  
 internals [list trim] to [list/trim]...should be somewhere on the  
 sf-tracker

Yeah, not because of the idea, but because it would add a new library  
format for that one situation.  I think instead there should be a  
single library format for all libraries.

.hc


 mfrad
 IOhannes



 


Man has survived hitherto because he was too ignorant to know how to  
realize his wishes.  Now that he can realize them, he must either  
change them, or perish.-William Carlos Williams



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


Re: [PD] Percolate for Pd

2008-12-11 Thread Mitchell Turner

That's an excellent idea.  Thanks, I'll do it.
Mitch


On Dec 11, 2008, at 6:56 PM, Hans-Christoph Steiner wrote:



One note on this, it would be much better to put the files into ~/ 
Library/Pd or /Library/Pd than into the Pd-extended.app. That way  
percolate will still be there after you upgrade.


.hc

On Dec 11, 2008, at 6:15 PM, Mitchell Turner wrote:


John,
I was able to get Percolate working on a MacBookPro running OS  
10.5.5 and Pd-Extended 0.40.3. The way I was able to do this  
involved compiling from source.  The required a few steps outlined  
below.


I'm not absolutely sure my changes are the best way to do things.   
But it worked so I guess its an ok way to do it.


1) I got the latest version of the Developers Tools (the ones for  
OS10.5).  Then I downloaded the source version of PeRColate  
discussed here (I had to login in order to see the attachments):

http://puredata.hurleur.com/sujet-619-port-percolate

Now I had to edit the Makefile that came in the PeRColate_source  
folder.  (I've pasted in the Makefile below.)
2) I made changes to the current line, so that it read current:  
pd_darwin.


3) I removed all of the lines dealing with Windows (might be an  
unnecessary step).


4) Down in the MAC OS X section, I  changed the PD= line to point  
to my version of pd.

PD = /Applications/Pd-extended.app/Contents/Resources/bin/pd

5) I also changed MACOSXINCLUDE line to point to the include  
folder inside my version of Pd-Extended.
MACOSXINCLUDE =  -I _headers -I /Applications/Pd-extended.app/ 
Contents/Resources/include/


6) Now in Terminal, I cded over to the PeRColate_source  
directory and ran the make command.  It compiled just fine (after  
multiple attempts and much editing of the Makefile).


7) Now I opened the Pd-Extended application (CTRL-Click and select  
open package contents).


8) I placed the entire PeRColate folder inside the extras and  
copied the percolate.pd_darwin file to:

Pd-extended/Contents/Resources/extra/
copied the PeRColate_help into:
Pd-extended/Contents/Resources/doc/5.reference/

I opened Pd-Extended application and set the library to load on  
start up.  Pd-extendedPreferencesStartup


I re-started Pd and all was well.  Hope this helps out,
Mitch





Here is the Makefile I ended up with:

#Begin_Makefile-

NAME=percolate
CSYM=percolate

current: pd_darwin

# --- LINUX i386 ---

pd_linux: $(NAME).pd_linux

.SUFFIXES: .pd_linux

PATH1=1.\ Physical\ Models
PATH2=2.\ Modal\ Synthesis
PATH3=3.\ PhISM
PATH4=4.\ MaxGens
PATH5=5.\ SID
PATH6=6.\ Random\ DSP

LINUX_SOURCES = percolate.c \
 _source/stk.c  \
$(PATH1)/blotar/blotar~.c   \
$(PATH1)/bowed/bowed~.c \
$(PATH1)/bowed\ bar/bowedbar~.c \
$(PATH1)/brass/brass~.c \
$(PATH1)/clarinet/clar~.c   \
$(PATH1)/flute/flute~.c \
$(PATH1)/mandolin/mandolin~.c   \
$(PATH1)/plucked/plucked~.c \
$(PATH2)/agogo/agogo~.c \
$(PATH2)/marimba/marimba~.c \
$(PATH2)/vibraphone/vibraphone~.c   \
$(PATH3)/bamboo/bamboo~.c   \
$(PATH3)/cabasa/cabasa~.c   \
$(PATH3)/meta-shaker/metashake~.c   \
$(PATH3)/sekere/sekere~.c   \
$(PATH3)/sleigh\ bells/sleigh~.c\
$(PATH3)/shaker/shaker~.c   \
$(PATH3)/guiro/guiro~.c \
$(PATH3)/tamb/tamb~.c   \
$(PATH3)/wuter/wuter~.c \
$(PATH4)/gen10/gen10.c  \
$(PATH4)/gen17/gen17.c  \
$(PATH4)/gen20/gen20.c  \
$(PATH4)/gen24/gen24.c  \
$(PATH4)/gen25/gen25.c  \
$(PATH4)/gen5/gen5.c\
$(PATH4)/gen7/gen7.c\
$(PATH4)/gen9/gen9.c\
$(PATH5)/absmax~/absmax~.c  \
$(PATH5)/absmin~/absmin~.c  \
$(PATH5)/chase~/chase~.c\
$(PATH5)/escal~/escalator~.c\
$(PATH5)/flip~/flip~.c  \
$(PATH5)/jitter~/jitter~.c  \
$(PATH5)/klutz~/klutz~.c\
$(PATH5)/random~/random~.c  \
$(PATH5)/terrain~/terrain~.c\
$(PATH5)/waffle~/waffle~.c  \
$(PATH5)/weave~/weave~.c\

Re: [PD] Percolate for Pd

2008-12-11 Thread Collin
Hi Mitchell, list,

I also compiled percolate on my Mac today, and it was a lovely  
experience. One thing I did differently, that some people may find  
useful: Rather than removing the windows section from the makefile, I  
specified Mac like this:

$ make pd_darwin

btw, I looked at your website, and you have some lovely things there.  
You should credit your performers, though; your cellist is very fine!


Collin

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


Re: [PD] problem with plugin~ and dssi~

2008-12-11 Thread Jacob Lee
The command listplugins will give you the name and library path of
all the plugins on your system.

plugin~ does have some random crash bugs when it can't find the
plugins, and it's not as smart as it could be about finding the
libraries without needing the full path. I have a patched version that
fixes these bugs... I haven't yet gotten around to trying to get it
checked into the repository, though. I probably should do that.

In the meantime, if you want my patched version, it's at
http://artdent.homelinux.net/svn/plugin~/

-- 
Jacob Lee
artd...@gmail.com



On Thu, Dec 11, 2008 at 6:18 PM, Ivica Ico Bukvic ico.buk...@gmail.com wrote:
 Apologies all for the noise. It appears sine_faaa does not work, but also
 when choosing ladspa plugins you still need to specify the actual plugin
 name (e.g. /usr/lib/ladspa/gverb_1216.so:gverb). But then the question is
 how do we know what is the name of each plugin?

 Any ideas?

 Many thanks!

 Ico

 ___
 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