Re: [PD] How do I squeeze more performance out of Gem?

2011-03-10 Thread cyrille henry

hello,
i'm glad you find the bottleneck.
but that's what i was afraid of : 2 side lighting are baddly suported on new 
nvidia hardware (at least on linux).
(i mean : it's not only on my computer. it use to work fine).

But you should be able to get the same lighting with this option.
this option only force to compute color 2 time per pixel : not only for the 
visible face, but for both face of the object.
 
So, if you got different lighting result, you just have to reverse some light orientation.


i never test performances optimisation using shaders for light.

cheers
c


Le 10/03/2011 06:20, John Harrison a écrit :

Ok so I did something stupid with the [GEMglLightModeli GL_LIGHT_MODEL_TWO_SIDE 
GL_FALSE] test which that I connected it to a [gemhead] instead of [gemhead 1]. 
When I corrected that I did find that indeed the performance changes 
drastically for the better. OTOH I couldn't get satisfactory lighting for my 
environment. It's a good technique for me to remember and I could probably make 
it work even for this project with enough experimentation of lighting sources 
and direction but...

it seems clear to me on my system at least with GL_LIGHT_MODEL_TWO_SIDE set to 
its default GL_TRUE the bottleneck is the lighting and any gains with a display 
list or model are lost because of the lighting issue. However I'm finding that 
I get satisfactory performance and appearance by changing the sphere to have 10 
segments instead of 30. With a 10 segment sphere I can make 1000 spheres and 
straight-line curves at 20fps at about 70% draw on a CPU core. That works for 
me! :-)

I was curious if for a future project there might be a way I could make a 
shader that would emulate the local lighting effect and do it more efficiently. 
Serious exploration with shaders definitely needs to be in my future.

In any case, thanks for all the help!

-John

On Wed, Mar 9, 2011 at 1:55 PM, cyrille henry c...@chnry.net 
mailto:c...@chnry.net wrote:

with lighting on, things did not really change with the model or display 
list, but rendering sphere is 2 time slower.

here is the sphere.

Cyrille

Le 09/03/2011 20:44, John Harrison a écrit :

It appears I'm actually getting better results from [gemlist] too with 
lighting off. But how do your results change with lighting on? For me, with 
lighting on, they seem about the same.

If you have your sphere.obj model with 900 triangles handy, I'd love to 
try it.

-John

On Wed, Mar 9, 2011 at 12:19 PM, cyrille henry c...@chnry.net mailto:c...@chnry.net 
mailto:c...@chnry.net mailto:c...@chnry.net wrote:

here, at 20fps, no lighting, i can draw about 500 model with your 
sphere.obj.
1000 sphere 30, and about 3500 display list of sphere 30.
using an other sphere.obj with about 900 triangles, i've got the 
same performance than with the display list.

it really is strange that the sphere is the fastest on your 
computer.

Cyrille


Le 09/03/2011 19:08, John Harrison a écrit :

Using Cyrille's test patch for speed which he sent into the 
list a week or so ago, I tried creating multiple spheres, gemlists, and models. 
The sphere is getting the best performance results, unfortunately. Attached is 
my test patch. I just connected [repeat] to either [sphere] [GEMglCallList] or 
[model] in the patch. The sphere model I used has probably got way too many 
points (just found it on the 'net) but my hope was that as the vertices were 
static it wouldn't matter.

http://www.eecs.umich.edu/~guskov/eecs598-1/sphere.obj 
http://www.eecs.umich.edu/%7Eguskov/eecs598-1/sphere.obj 
http://www.eecs.umich.edu/%7Eguskov/eecs598-1/sphere.obj


maybe one with less vertices will help. I can try...

-John

On Wed, Mar 9, 2011 at 9:48 AM, chris clepper cgclep...@gmail.com mailto:cgclep...@gmail.com 
mailto:cgclep...@gmail.com mailto:cgclep...@gmail.com mailto:cgclep...@gmail.com 
mailto:cgclep...@gmail.com mailto:cgclep...@gmail.com mailto:cgclep...@gmail.com wrote:

A model is the way to go since the vertex data is static.  
Ideally for situations like this there would be one object that loads a single 
model and several clients that just call the display list.  Although there is a 
lot of memory on GPUs now so 200 models of a sphere won't take up that much.

On Wed, Mar 9, 2011 at 10:32 AM, John Harrison johnharrison...@gmail.com 
mailto:johnharrison...@gmail.com mailto:johnharrison...@gmail.com mailto:johnharrison...@gmail.com 
mailto:johnharrison...@gmail.com mailto:johnharrison...@gmail.com mailto:johnharrison...@gmail.com 
mailto:johnharrison...@gmail.com wrote:





On Wed, Mar 9, 2011 at 1:59 AM, cyrille henry c...@chnry.net mailto:c...@chnry.net mailto:c...@chnry.net 
mailto:c...@chnry.net mailto:c...@chnry.net mailto:c...@chnry.net 

Re: [PD] Patch for Akai EWI (was Reading and writing binary files)

2011-03-10 Thread Ingo
Hi David,

just out of curiosity I checked the dump requests in order to see if there
is any reason for transmission of these NRPN controllers.

There is absolutely no reason for them!

I've attached my updated SysEx chart for the EWI-USB in case you want to
mess around with anything.
BTW the NRPN controllers are only being sent when there is a dump request
from the Aria software to the EWI. Not when data is being sent to the EWI.

After the dump is transmitted to the EWI the software sends another full (3
part) dump request and everything on page 1 of the chart is repeated.

To me it looks like Plogue - who wrote the software - simply forgot to
take out the NRPNs.

This got me confused in the beginning, too. It's just a general problem when
people like ewi-usb.com put some incorrect information on the web and don't
correct this information anymore after it turns out to be wrong. Then guys
like you and many others get confused.

Ingo


 -Ursprüngliche Nachricht-
 Von: David [mailto:dfket...@gmail.com]
 Gesendet: Mittwoch, 9. März 2011 20:00
 An: Ingo
 Cc: pd-list@iem.at
 Betreff: Re: [PD] Patch for Akai EWI (was Reading and writing binary
 files)
 
 See below.
 
 On Wed, Mar 9, 2011 at 1:36 PM, Ingo i...@miamiwave.com wrote:
  Hi David,
 
  I looked at your code, and I think I understand it, more or less. But
  I couldn't see where you're sending the 6-byte NRPN message before and
  after the SysEx message. Isn't it necessary?
 
  No! SysEx doesn't require any NRPN message to get enabled. I have no
 idea
  what the Aria software is sending out but it is definitely not
 necessary.
 
  There are a lot of strange things with the Garritan / Plogue software.
 
 
 Thanks. I agree, the software is a little weird. For example, when you
 save the settings, why does it save them in two different files? I
 assumed at first that all the settings would be saved in a single
 file. It doesn't explain that anywhere, I just discovered it by poking
 around and opening the files in a text editor that can handle binary
 files.
 
  I got this information from a web site created by someone who
  reverse-engineered the SysEx messages for the EWI USB:
 
  http://www.ewiusb.com/
 
  According to him, you have to send the '63 01 62 04 06 20' before each
  SysEx, and '63 01 62 04 06 10' after the last one. You're not doing
  that? I haven't tested any of this stuff yet, I'm a little paranoid
  about screwing up my EWI. I can probably recover just by pressing the
  reset button if something goes wrong, but I'd rather not take the
  chance.
 
  I had double checked my information with that website. It turned out
 that
  there are several things that are wrong in this article. I wrote the guy
  from ewiusb.com an email and told him about the errors but never got any
  answer. He never corrected anything either. It doesn't look like the
 site is
  active anymore.
 
 
 I think you're right, I sent him an email a couple of weeks ago and
 never got a reply.
 
  BTW, you cannot break anything by sending sysex messages to an
 instrument.
  I am using this editor daily with no problem.
 
  I don't know which reason you have to trust one guy more than any other
 one?
 
 
 Sorry, I didn't mean any offense. I was only erring on the side of
 caution. I was just afraid of bricking my EWI.
 
  However I did discover an error in the patch this morning when I
 transferred
  a modified version into my hardware machine. Pitchbend down doesn't
 get
  restored correctly from the file. So there is a fixed version attached.
 It
  also writes the 6th value of the shorter sysex strings into the file
 which
  was ignored before. Just in case it would have any undocumented (ha, ha,
 ha)
  meaning.
 
 
 Thanks again.
 
  Ingo
 
 


EWI-USB_SysEx.pdf
Description: Adobe PDF document
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] overdriven speaker

2011-03-10 Thread -
Hi
the papers on http://www.klippel.de/pubs/papers.asp where quiet
interesting. But the page went down.
It looks like it went to:
http://www.klippel.de/nc/know-how/literature/papers.html?sword_list[0]=papersword_list[1]=speaker

Greetings

Am 16.10.2010 06:46, schrieb Martin Schied:
 Hi!

 I'm no speaker modeling expert at all, but I can try to describe what
 produces sounds in an overloaded speaker. There are various sources of
 distortion, symmetrical (mechanic suspension) and asymmetrical
 (magnetic field) and also time variant (temperature) and modulation
 (doppler effect / amplitude modulation) effects. I don't know which
 effects have a stronger or weaker influence, but I describe what I
 imagine:


 High peak amplitude, positive wave:

 speaker moves to the front, parts of the coil will not be in the
 magnetic field anymore. The field isn't zero outside the magnet gap,
 but I guess it decreases rapidly and is almost zero (so for example if
 half the coil is inside the magnet, the parts outside will not produce
 a force. So the force is only half as strong as it should. For
 simplicity you could say the field outside the magnet's gap is zero,
 so you have a linear function of excitation / current. Also If the
 coil moves out of the field its impedance will decrease which has
 influence on frequency response for higher frequencies a bit.

 Heat

 If the impedance is reduced as described above, a higher current will
 flow and heat the coil more than usual. The resistance of the coil
 will increase when it gets warmed and thus the efficiency of the
 speaker decreases (up to -7 dB I read somewhere, but this wasn't meant
 for almost dead speakers but heavy load). The heat needs some time to
 dissipate, so some kind of slow pumping compression effect occurs.

 High amplitude, negative wave:

 The speaker's coil might crash into the magnet and create different
 mechanical noises. Also the speakers diaphragm will be deformed by
 this crash and create various kinds of noise. Additionally it carries
 the noises the coil created - depending on the material and shape this
 sound different (paper, Kevlar, aluminum, etc sound different). If
 this crash doesn't occur (professional speakers don't have this issue
 usually) the negative wave will not be distorted too much and maybe
 distortion can be ignored.

 In both directions the spider (basically a spring) starts to become
 nonlinear. Different manufacturers have different curves, but for
 small amplitudes they all pretend to be linear - so some experiments
 with sin~ or tanh~ might do it here.

 Then generally there are happening doppler-effects on all speakers
 with big excursion. You could model them through a variable delay,
 modulated by a differentiated, low pass filtered signal (don't bite if
 I'm wrong, it's already very late... ). Amplitude modulation can be
 applied the same way (lowpass and apply it to higher frequencies).

 so to sum it up:

 apply symmetric distortion for the spider, split the path into
 positive and negative parts, for positive samples: tanh~, polynomials
 or other wave shapers, for negative parts let the signal untouched or
 add noises of a crashing coil (don't know how to achieve this), then
 sum both signals up, apply doppler effect, amplitude modulation and
 pumping compression. perhaps that sounds like your speakers then :)

 I'm not sure if this works at all, but it definitely will sound very
 distorted in the end.

 did you already discover http://www.klippel.de/pubs/papers.asp ?



 cheers
 Martin


 On 15.10.2010 21:10, - wrote:
 Thank you for your answer,
 but as I wrote I don't want the sound of simple clipping like clip~,
 tanh~ or overdrive~. I want the sound of a speaker crying for mercy
 because you put just too much through it.

 But I don't know where to start. I know there are complex distortion
 effects, which are able to simulate different speaker cabinets after
 variable amps recorded by different microphones. But they all cost big
 money. Also I don't need the physical simulation. I just want the sound.
 If you want I can try to record the sound I'm talking about.

 I tried to search for information how to do this but couldn't find
 anything usable. Not even an analysis what happens inside the speaker
 when you torture it like this.

 I already know the forum but don't want to doublepost. I really liked
 the post about the oto biscuit. Neat distortion possibility's.


 Am 15.10.2010 17:12, schrieb George Ker:
   
 Hello,
 I can't really understand, so , you mean something different from
 
 [clip~] ?
   
 I' m sure you can find really good patches in the puredata.hurleur.com
 
 forum searching about distortion , overdrive clip etc
   
 -

 GeorgeKer~

 http://tinyurl.com/georgeker

 -



 On 14 October 2010 23:19, - fallen_de...@gmx.de 
 mailto:fallen_de...@gmx.de wrote:

 Hi,

 does anyone know how to simulate the sound of an overdriven
 
 speaker? You
   
 know the crunchy 

Re: [PD] listing all available objects

2011-03-10 Thread Mathieu Bouchard

On Thu, 10 Mar 2011, ronald kuivila wrote:

I can find a listing of objects by ctrl clicking a patcher window, but 
it does not list everything. (For example, expr is not mentioned.) 
Is there any easy way to get a listing of all the objects currently 
loaded?


I coded such a feature in 2004 but it didn't end up being included 
anywhere, even though part of the code had the same license as Pd.


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


Re: [PD] Change box type keeping its content

2011-03-10 Thread Mathieu Bouchard

On Thu, 10 Mar 2011, Ivica Ico Bukvic wrote:

Prepend the contents with msg (don't forget the space between msg and 
contents) then activate object to be recreated.


Which versions of Pd does that work with ? This doesn't seem familiar, 
especially after reading the source code.


However, replacing 'obj' by 'msg' inside a .pd file does work.

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


Re: [PD] Change box type keeping its content

2011-03-10 Thread Caio Barros
You are saying to write msg before the text I was writing and realized
that I wanted a message box? (sorry, non native english speaker here)
Suposing that's what you meant, it didn't work, at least in Pd-extended
0.42.5

Caio Barros

2011/3/10 Ivica Ico Bukvic i...@vt.edu

 Prepend the contents with msg (don't forget the space between msg and
 contents) then activate object to be recreated.

 Ico

 Caio Barros caio.bar...@gmail.com wrote:

 Some of you probably went to the same problem I do.
 Sometimes I automatically press Ctrl+1 and start writing stuff. Them I
 realize that what I needed was a Message Box (Ctrl+2) and not the Object
 Box.
 If it was possible to change the box type without changing its content it
 would be great.
 I know that I can edit the pd file in a text editor to do that. But often
 this takes more time than to create a message box and write everything
 again.
 
 Caio Barros
 
 ___
 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] Patch for Akai EWI (was Reading and writing binary files)

2011-03-10 Thread Ingo
Hi David,

 Again, sorry if I caused offense, I didn't mean to.

That's no offense at all. I am just a little annoyed with other people like
ewi-usb.com (and more of them) who put up information on shiny looking
websites (I have one, too, BTW) but publish wrong information and don't seem
to care about it. Or companies like Akai who give you no information at all
about their products!

I'm happy if the patch is helping you. I needed to finish this anyway right
now because I am putting the editor into a hardware machine at the moment.

Cheers
Ingo


 -Ursprüngliche Nachricht-
 Von: David [mailto:dfket...@gmail.com]
 Gesendet: Donnerstag, 10. März 2011 14:45
 An: Ingo
 Betreff: Re: [PD] Patch for Akai EWI (was Reading and writing binary
 files)
 
 Thanks. I tested my patch last night, without sending the NRPN, and
 you're right, it seems to work. Maybe there was a modification to the
 firmware at some point that eliminated the requirement, I'm just
 guessing. The info on the web site is a little dated.
 
 
 David.
 
 On Thu, Mar 10, 2011 at 5:53 AM, Ingo i...@miamiwave.com wrote:
  Hi David,
 
  just out of curiosity I checked the dump requests in order to see if
 there
  is any reason for transmission of these NRPN controllers.
 
  There is absolutely no reason for them!
 
  I've attached my updated SysEx chart for the EWI-USB in case you want to
  mess around with anything.
  BTW the NRPN controllers are only being sent when there is a dump
 request
  from the Aria software to the EWI. Not when data is being sent to the
 EWI.
 
  After the dump is transmitted to the EWI the software sends another full
 (3
  part) dump request and everything on page 1 of the chart is repeated.
 
  To me it looks like Plogue - who wrote the software - simply forgot to
  take out the NRPNs.
 
  This got me confused in the beginning, too. It's just a general problem
 when
  people like ewi-usb.com put some incorrect information on the web and
 don't
  correct this information anymore after it turns out to be wrong. Then
 guys
  like you and many others get confused.
 
  Ingo
 
 
  -Ursprüngliche Nachricht-
  Von: David [mailto:dfket...@gmail.com]
  Gesendet: Mittwoch, 9. März 2011 20:00
  An: Ingo
  Cc: pd-list@iem.at
  Betreff: Re: [PD] Patch for Akai EWI (was Reading and writing binary
  files)
 
  See below.
 
  On Wed, Mar 9, 2011 at 1:36 PM, Ingo i...@miamiwave.com wrote:
   Hi David,
  
   I looked at your code, and I think I understand it, more or less.
 But
   I couldn't see where you're sending the 6-byte NRPN message before
 and
   after the SysEx message. Isn't it necessary?
  
   No! SysEx doesn't require any NRPN message to get enabled. I have no
  idea
   what the Aria software is sending out but it is definitely not
  necessary.
  
   There are a lot of strange things with the Garritan / Plogue
 software.
  
 
  Thanks. I agree, the software is a little weird. For example, when you
  save the settings, why does it save them in two different files? I
  assumed at first that all the settings would be saved in a single
  file. It doesn't explain that anywhere, I just discovered it by poking
  around and opening the files in a text editor that can handle binary
  files.
 
   I got this information from a web site created by someone who
   reverse-engineered the SysEx messages for the EWI USB:
  
   http://www.ewiusb.com/
  
   According to him, you have to send the '63 01 62 04 06 20' before
 each
   SysEx, and '63 01 62 04 06 10' after the last one. You're not doing
   that? I haven't tested any of this stuff yet, I'm a little paranoid
   about screwing up my EWI. I can probably recover just by pressing
 the
   reset button if something goes wrong, but I'd rather not take the
   chance.
  
   I had double checked my information with that website. It turned out
  that
   there are several things that are wrong in this article. I wrote the
 guy
   from ewiusb.com an email and told him about the errors but never got
 any
   answer. He never corrected anything either. It doesn't look like the
  site is
   active anymore.
  
 
  I think you're right, I sent him an email a couple of weeks ago and
  never got a reply.
 
   BTW, you cannot break anything by sending sysex messages to an
  instrument.
   I am using this editor daily with no problem.
  
   I don't know which reason you have to trust one guy more than any
 other
  one?
  
 
  Sorry, I didn't mean any offense. I was only erring on the side of
  caution. I was just afraid of bricking my EWI.
 
   However I did discover an error in the patch this morning when I
  transferred
   a modified version into my hardware machine. Pitchbend down doesn't
  get
   restored correctly from the file. So there is a fixed version
 attached.
  It
   also writes the 6th value of the shorter sysex strings into the file
  which
   was ignored before. Just in case it would have any undocumented (ha,
 ha,
  ha)
   meaning.
  
 
  Thanks again.
 
   Ingo
  
  
 



Re: [PD] listing all available objects

2011-03-10 Thread Bernardo Barros
Why don't you add this feature then?

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


Re: [PD] listing all available objects

2011-03-10 Thread Mathieu Bouchard

On Thu, 10 Mar 2011, Bernardo Barros wrote:


Why don't you add this feature then?


where ?

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


Re: [PD] listing all available objects

2011-03-10 Thread Bernardo Barros
2011/3/10 Mathieu Bouchard ma...@artengine.ca:
 where ?

PD? Or PD-ext or even GridFlow?

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


Re: [PD] Change box type keeping its content

2011-03-10 Thread Ivica Ico Bukvic
You are actually right. It appears that obj cannot become a msg...
Something to look into...

Ico

On Thu, 2011-03-10 at 11:51 -0300, Caio Barros wrote:
 You are saying to write msg before the text I was writing and
 realized that I wanted a message box? (sorry, non native english
 speaker here)
 Suposing that's what you meant, it didn't work, at least in
 Pd-extended 0.42.5 
 
 Caio Barros
 
 2011/3/10 Ivica Ico Bukvic i...@vt.edu
 Prepend the contents with msg (don't forget the space between
 msg and contents) then activate object to be recreated.
 
 Ico
 
 
 Caio Barros caio.bar...@gmail.com wrote:
 
 Some of you probably went to the same problem I do.
 Sometimes I automatically press Ctrl+1 and start writing
 stuff. Them I
 realize that what I needed was a Message Box (Ctrl+2) and not
 the Object
 Box.
 If it was possible to change the box type without changing
 its content it
 would be great.
 I know that I can edit the pd file in a text editor to do
 that. But often
 this takes more time than to create a message box and write
 everything
 again.
 
 Caio Barros
 
 
 ___
 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] listing all available objects

2011-03-10 Thread Mathieu Bouchard

On Thu, 10 Mar 2011, Bernardo Barros wrote:


2011/3/10 Mathieu Bouchard ma...@artengine.ca:

where ?

PD? Or PD-ext


I can't force the maintainers to do it.


or even GridFlow?


That would be an idea. In that case, however, I can't get the actual list 
of classes (pd doesn't keep such a list at all), but I can get the list of 
creators, which is nearly the same, except I can't detect aliases, and 
except that I can't get the list of first-inlet methods for each class.


And then, listing any abstractions, or any externals that aren't loaded, 
is a separate task.


btw GridFlow can list the methods of its own classes for all inlets and 
stuff... see http://gridflow.ca/help/gf/class_info-help.html ; but this 
does not include any way to get the list of GF's classes in any way.


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


Re: [PD] The economics of Open source

2011-03-10 Thread august


Pierre,

These are very interesting and specific questions you have asked.
I'm pretty sure there will be widely varied responses.  How to pay
for the development of free software is a major gaping hole between
two viable logics, one that says you need to horde your own labor for
personal gain (and so as not to be exploited), and another that says
you grow more wealth collectively if you share with others.  There is
a ton of literature on the theory, but I find little on the practice.
Who is doing what?

I just now discovered the following recent articles from the free
cultural forum and thought I'd pass it along:

http://fcforum.net/sustainable-models-for-creativity

In it they outline in not too many words various economic models for
sustainable cultural (software included) development.

best -august.


 On Tue, 8 Mar 2011, Pierre Massat wrote:
 
 I was trying to get Ardour to work last night and i came accross
 the forum on their website. I must say i was quite shocked to see
 how many posts were about money. I was equally surprized to see
 that the latest full version of Ardour isn't free (although you
 can name your price).
 
 Name your price is actually a characteristic of the download site,
 not the software.
 
 From what I read, Ardour remains FLOSS nonetheless.
 
 1) What are the economics of open source software, and how
 sustainable is the model?
 
 FLOSS is not an economic model, it's a set of licenses (and of
 potential future licenses with the same basic characteristics).
 
 You use the license as a tool to come up with an economic model of
 your choice, but there are many possibilities, both with a pure
 FLOSS license (which is the case of Ardour), and with a hybrid
 approach (involving proprietary licenses in some way).
 
 How does it work for Pd?
 
 There is no such system for the Pd community. Each developer has
 his/her own economic model, which usually means something
 noneconomic like donating plenty of time for little return.
 
 2) I get the feeling that open source developpers used to think
 that the idea of free (free beer...) software was cool, but 10 to
 15 years down the line (that is, now) they're beginning to realize
 that they can't keep on doing this forever. Am I wrong here?
 
 It possibly happens to *lots* of people, but it doesn't make the
 FLOSS movement getting any smaller.
 
 I have been considering making a donation since i've been using Pd
 extensively for a few years now. But could someone tell me exactly
 how it works? Who gets the money?
 
 The person who gets the money is the person you send it to.
 
 And i never use GEM or Gridflow (cause i have no need for it at
 the moment), so i don't see why part of my donation should go to
 Mathieu or GEM's author(s).
 
 What makes you think that GEM's authors and I are somehow not
 contributing anything significant to Pd-vanilla ?
 

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


[PD] Polyphony and granular synthesis, etc.

2011-03-10 Thread Peter Kirn
Hi everyone,
I'm revisiting granular patches as I work on some examples for libpd.
Any kind of granular synthesis is, of course, heavily dependent on
polyphony. That raises the question of how to instantiate multiple
copies of the same abstraction.

The issue is, many non-external methods of doing this right now depend
on poly, which in turn assumes MIDI parameters. I would prefer
something that uses arbitrary parameter lists.

We actually could now do this two ways:
1. We can instantiate multiple patches when opening them in libpd,
maintaining independent references to each patch, as Peter Brinkmann
recently described on his blog - http://bit.ly/egBGV2

2. Perhaps there's a way to do this using an abstraction?

nqpoly, etc., I believe did this, but it seems it's not supported -
and may not be the best approach?

Thanks,

Peter

PETER KIRN | http://createdigitalmusic.com | ny, ny |
pe...@createdigitalmedia.net

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


[PD] [PD-announce] Audio Mostly 2011

2011-03-10 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

fwd from andy:

*
Audio Mostly 2011? ?A conference on interaction with sound?
in co-operation with ACM - SIGCHI
September, 7 - 9 ? Coimbra, Portugal
*

CALL FOR PAPERS ? AUDIO MOSTLY 2011 ? 6TH CONFERENCE ON INTERACTION
WITH SOUND

Audio in all its forms ? music, sound effects, or dialogue - holds
tremendous potential to engage, convey narrative, inform, create
attention and enthrall. However, in computer-based environments, for example
games and virtual environments, the ability to interact through and with
sound
are still today underused. The Audio Mostly Conference provides a venue to
explore and promote this untapped potential of audio by bringing
together audio
experts, content creators and designers, interaction designers, and
behavioral
researchers.

See here for more info.

http://www.audiomostly.com/

- -- Andy Farnell padawa...@obiwannabe.co.uk
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk15CaUACgkQkX2Xpv6ydvQPegCgk8ufcvqE7PK0xc22ni4fyio7
3MkAnifr/lYmgNEZrUC1Ric+QZ5klhaZ
=ZHHZ
-END PGP SIGNATURE-



smime.p7s
Description: S/MIME Cryptographic Signature
___
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] Get list of a the arguments of a patch without using any external?

2011-03-10 Thread Mathieu Bouchard

On Wed, 9 Mar 2011, Chris McCormick wrote:

PS: the [delwrite~] clear method is still assigned to 'nobody', because 
it's waiting for any of the five project admins to click on a button... 
It implies that the application of the [delwrite~] clear method patch 
has been too slow for your liking, which implies that the five project 
admins should have found the application of the [delwrite~] clear method 
more important than whatever it is they have been doing which isn't 
clicking that button.


Ok, you are all too determined to see something wrong in whatever I say 
about the admins. I'm really sorry I spent lots of time trying to answer 
this last mail in detail. I just deleted a dozen paragraphs that I spent 
plenty of time on, being puzzled, thinking about, and thinking that it 
might matter at all. I'm not gonna say how long I spent on it or your 
other mails because it's embarrassingly too much.


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


[PD] Problems going fullscreen on external projector

2011-03-10 Thread Antonio Roberts
I've made a simple video mixer in Gridflow (9.13) and I want to send
the output to an external projector. I've set up my computer so that I
can drag windows to the second screen, but when I attempt to go full
screen using [#out sdl] and then pressing Esc it goes fullscreen on
both screens. If I use an [#out window] object, which I believe is an
x11 window, there's no way (that I can find) to go full screen, so I'm
stuck at with an 800x600 window on a 1366x768 screen. I did attempt to
use a [#scale_to (768 1366)] object to emulate being full screen but
the scaling causes a massive drop in framerate.

Can anyone suggest how to go fullscreen on only one screen, how to go
fullscreen using an x11 window or some other way to do this?

I'm using Gridflow 9.13 with Pd-extended 0.42.5 on a Dell Studio 1555
using the ATI Radeon 4555 proprietary driver running Ubuntu 10.10.

Thanks,

Antonio

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


[PD] fiddle: amplitude scale for individual pitches

2011-03-10 Thread Matteo Sisti Sette

Hi,

What's the scale of the amplitude value that comes packed together 
with each individual pitch? (i.e., the second value of the output of the 
third outlet in the help patch)?


If you open the help patch as is and don't touch anything, the example 
signal (phasor) is being detected ah having an overall amplitude of 
about 90 dB, while the unpacked amplitude of the (only) individual pitch 
is about 116. How should I interpret this?


thanks
m.

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


Re: [PD] listing all available objects

2011-03-10 Thread Miller Puckette
Hi all --
there's a line in m_class.c in the class_new() function, just before the end,
that you can uncomment to get Pd to print out every class as it's loaded
(but not abstractions).

Unfortunately that still doesn't tell you about every class in extra, since
they're only loaded on demand.

And yes, the source lives inside the binary release, contrary to the usual
custom, and is intended to make it very easy to recreate old versions on
new platforms.

cheers
Miller

On Thu, Mar 10, 2011 at 10:57:00AM -0500, Mathieu Bouchard wrote:
 On Thu, 10 Mar 2011, Bernardo Barros wrote:
 
 2011/3/10 Mathieu Bouchard ma...@artengine.ca:
 where ?
 PD? Or PD-ext
 
 I can't force the maintainers to do it.
 
 or even GridFlow?
 
 That would be an idea. In that case, however, I can't get the actual
 list of classes (pd doesn't keep such a list at all), but I can get
 the list of creators, which is nearly the same, except I can't
 detect aliases, and except that I can't get the list of first-inlet
 methods for each class.
 
 And then, listing any abstractions, or any externals that aren't
 loaded, is a separate task.
 
 btw GridFlow can list the methods of its own classes for all inlets
 and stuff... see http://gridflow.ca/help/gf/class_info-help.html ;
 but this does not include any way to get the list of GF's classes in
 any way.
 
  ___
 | Mathieu Bouchard  tél: +1.514.383.3801  Villeray, Montréal, QC

 ___
 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] fiddle: amplitude scale for individual pitches

2011-03-10 Thread Miller Puckette
The pitch track's amplitude is computed as the theoretical loudness of
the track, which is computing by adding up the loudnesses of all the
components, then converting back to dB.  Loudness is incorrectly estimated
as the fourth root of amplitude (should have been the fourth root of power,
equal to the square root of amplitude, if one is to beloeve in sones as
a psychoacoustically correct measure.

So the broghter the sound, the bigger the number (and the louder it should
sound relative to its actual signal power).  I haven't looked, but if you
throw fiddle~ a sinusoid the two amplitude measures should be equal.

By the way, I think sigmund~ works way better than fiddle~ on most classes of
input signals :)

Miller

On Thu, Mar 10, 2011 at 06:52:54PM +0100, Matteo Sisti Sette wrote:
 Hi,
 
 What's the scale of the amplitude value that comes packed together
 with each individual pitch? (i.e., the second value of the output of
 the third outlet in the help patch)?
 
 If you open the help patch as is and don't touch anything, the
 example signal (phasor) is being detected ah having an overall
 amplitude of about 90 dB, while the unpacked amplitude of the (only)
 individual pitch is about 116. How should I interpret this?
 
 thanks
 m.
 
 ___
 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] Polyphony and granular synthesis, etc.

2011-03-10 Thread Phil Stone

Peter,

You are correct that [poly] imposes a MIDI-like structure in that it 
works with note/velocity pairs. I just wanted to point out that it does 
not clip those tuplets in a MIDI way; i.e., you can pass floats for both 
note and velocity to your polyphonic instrument. Your general point 
is still taken, that a more generalized, perhaps list-passing [poly] 
would be very useful.


BTW, I've made a granular-based polyphonic synthesizer for Pd; it's 
here: http://www.pkstonemusic.com/polygrainsynth.html , along with it's 
older sibling a subtractive/fm hybrid polyphonic synthesizer: 
http://www.pkstonemusic.com/polywavesynth.html .



Phil Stone


On 3/10/11 9:25 AM, Peter Kirn wrote:

Hi everyone,
I'm revisiting granular patches as I work on some examples for libpd.
Any kind of granular synthesis is, of course, heavily dependent on
polyphony. That raises the question of how to instantiate multiple
copies of the same abstraction.

The issue is, many non-external methods of doing this right now depend
on poly, which in turn assumes MIDI parameters. I would prefer
something that uses arbitrary parameter lists.

We actually could now do this two ways:
1. We can instantiate multiple patches when opening them in libpd,
maintaining independent references to each patch, as Peter Brinkmann
recently described on his blog - http://bit.ly/egBGV2

2. Perhaps there's a way to do this using an abstraction?

nqpoly, etc., I believe did this, but it seems it's not supported -
and may not be the best approach?

Thanks,

Peter

PETER KIRN | http://createdigitalmusic.com | ny, ny |
pe...@createdigitalmedia.net

___
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] Generative Pure Data based internet radio

2011-03-10 Thread David Guy John
Hi all,

Some of you might have already seen this on the PD forum or written up on
Create Digital Music (cheers Peter) but it's been mentioned to me that there
are some people on here that still might have missed it so I thought I'd
point it out again.

My big project over the last two months or so has been PatchWerk Radio, a
generative internet radio station that streams 24/7 and is built in PD and
Python. The website if you want to have a look is at
http://radio.rumblesan.com

The idea is that python starts up an instance of PD which will choose
patches at random from a list. It loads a patch up, plays it for 10 minutes
then crossfades over to another randomly chosen patch. There are currently
20 patches on there the vast majority of which are from other people now.

Hopefully those that haven't already heard about this will find it
interesting. If people want to get involved and write some patches for it
then that would be ace but even just having some more people listening would
be cool. all the source for the server is available, as are all the patches,
at github http://github.com/notesandvolts for those that want it.

cheers

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


[PD] OT cpe a/v club

2011-03-10 Thread kelly hirai
Hey all, 
In the Tallahassee Florida USA area, I'm starting a group to discuss means of 
generating auditory and visual information. The first meeting of the Center for 
Participant Education A/V Club will be at AllSaints Cafe, Wednesday, March 
16th, 
2011 at 7pm. All are welcome. This is an introductory meeting and is basically 
social. I am an avid user of public software data flow languages and will be 
there to represent. To learn more about the Center for Participant Education's 
philosophy you can go here:

http://fsucpe.org/?page_id=2

please distribute widely.
all the best,  
kelly hirai  http://ongaku.isa-geek.net/~khirai



  

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


Re: [PD] Generative Pure Data based internet radio

2011-03-10 Thread gnd
hi

 My big project over the last two months or so has been PatchWerk Radio, a
 generative internet radio station that streams 24/7 and is built in PD and
 Python. The website if you want to have a look is at
 http://radio.rumblesan.com

reminds me of http://r4nd.org ... god knows what happened with that
project .. the domain is no longer running it

http://www.runme.org/project/+rand/

gnd/


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


Re: [PD] OT cpe a/v club

2011-03-10 Thread Pagano, Patrick
Kelly i am in Gainesville and we have a similar A/V club
we should have you come down and perform next semester

pp

From: pd-list-boun...@iem.at [pd-list-boun...@iem.at] On Behalf Of kelly hirai 
[bakanon...@yahoo.com]
Sent: Thursday, March 10, 2011 4:38 PM
To: pd-list@iem.at
Subject: [PD] OT cpe a/v club

Hey all,
In the Tallahassee Florida USA area, I'm starting a group to discuss means of
generating auditory and visual information. The first meeting of the Center for
Participant Education A/V Club will be at AllSaints Cafe, Wednesday, March 16th,
2011 at 7pm. All are welcome. This is an introductory meeting and is basically
social. I am an avid user of public software data flow languages and will be
there to represent. To learn more about the Center for Participant Education's
philosophy you can go here:

http://fsucpe.org/?page_id=2

please distribute widely.
all the best,
kelly hirai  http://ongaku.isa-geek.net/~khirai





___
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] Generative Pure Data based internet radio

2011-03-10 Thread ALAN BROOKER
I liked rand, I remember this one composition n played random samples
of super mario

... in fact I might try to recreate it in pd and upload it :)

On Thu, Mar 10, 2011 at 9:38 PM,  g...@itchybit.org wrote:
 hi

 My big project over the last two months or so has been PatchWerk Radio, a
 generative internet radio station that streams 24/7 and is built in PD and
 Python. The website if you want to have a look is at
 http://radio.rumblesan.com

 reminds me of http://r4nd.org ... god knows what happened with that
 project .. the domain is no longer running it

 http://www.runme.org/project/+rand/

 gnd/


 ___
 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] Polyphony and granular synthesis, etc.

2011-03-10 Thread patko
it's still possible to use multiplexing for passing list of integers,
 like for RGB values of graphical objects

or you can store parameter values in arrays and pass indexes through [poly]


- Phil Stone pkst...@ucdavis.edu a écrit :

 Peter,
 
 You are correct that [poly] imposes a MIDI-like structure in that it 
 works with note/velocity pairs. I just wanted to point out that it
 does 
 not clip those tuplets in a MIDI way; i.e., you can pass floats for
 both 
 note and velocity to your polyphonic instrument. Your general
 point 
 is still taken, that a more generalized, perhaps list-passing [poly] 
 would be very useful.
 

it's still possible to use multiplexing for passing list of integers,
 like for RGB value of graphical objects

 BTW, I've made a granular-based polyphonic synthesizer for Pd; it's 
 here: http://www.pkstonemusic.com/polygrainsynth.html , along with
 it's 
 older sibling a subtractive/fm hybrid polyphonic synthesizer: 
 http://www.pkstonemusic.com/polywavesynth.html .
 
 
 Phil Stone
 
 
 On 3/10/11 9:25 AM, Peter Kirn wrote:
  Hi everyone,
  I'm revisiting granular patches as I work on some examples for
 libpd.
  Any kind of granular synthesis is, of course, heavily dependent on
  polyphony. That raises the question of how to instantiate multiple
  copies of the same abstraction.
 
  The issue is, many non-external methods of doing this right now
 depend
  on poly, which in turn assumes MIDI parameters. I would prefer
  something that uses arbitrary parameter lists.
 
  We actually could now do this two ways:
  1. We can instantiate multiple patches when opening them in libpd,
  maintaining independent references to each patch, as Peter
 Brinkmann
  recently described on his blog - http://bit.ly/egBGV2
 
  2. Perhaps there's a way to do this using an abstraction?
 
  nqpoly, etc., I believe did this, but it seems it's not supported -
  and may not be the best approach?
 
  Thanks,
 
  Peter
 
  PETER KIRN | http://createdigitalmusic.com | ny, ny |
  pe...@createdigitalmedia.net
 
  ___
  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

-- 
Patrice Colet 

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


Re: [PD] Polyphony and granular synthesis, etc.

2011-03-10 Thread Hans-Christoph Steiner


If you want to work in the MIDI style, you probably want Frank  
Barknecht's [polypoly].  Its an abstraction so it should just work on  
libpd on any platform.  And it works quite well.


.hc

On Mar 10, 2011, at 12:25 PM, Peter Kirn wrote:


Hi everyone,
I'm revisiting granular patches as I work on some examples for libpd.
Any kind of granular synthesis is, of course, heavily dependent on
polyphony. That raises the question of how to instantiate multiple
copies of the same abstraction.

The issue is, many non-external methods of doing this right now depend
on poly, which in turn assumes MIDI parameters. I would prefer
something that uses arbitrary parameter lists.

We actually could now do this two ways:
1. We can instantiate multiple patches when opening them in libpd,
maintaining independent references to each patch, as Peter Brinkmann
recently described on his blog - http://bit.ly/egBGV2

2. Perhaps there's a way to do this using an abstraction?

nqpoly, etc., I believe did this, but it seems it's not supported -
and may not be the best approach?

Thanks,

Peter

PETER KIRN | http://createdigitalmusic.com | ny, ny |
pe...@createdigitalmedia.net

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










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


Re: [PD] Polyphony and granular synthesis, etc.

2011-03-10 Thread Peter Kirn
Thanks, everyone.

So, patko, I gather poly alone should work -- I'd just multiplex
messages, so long as there are two arguments?

Hans, I gather the Rj version u_makepoly is now the newest. It's
looking great, though I ran into one hitch - right now, with the
abstraction I built it's giving me this error -
Error: Bad arguments for message 'f' to object 'objectmaker' f $1 ...
couldn't create

Not sure what that means. (I mean, I know literally what it means, but
not why.) Looking into it / open to someone pointing out anything
obvious. ;)

Peter

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


Re: [PD] Get list of a the arguments of a patch without using any external?

2011-03-10 Thread Chris McCormick
On Thu, Mar 10, 2011 at 12:43:01PM -0500, Mathieu Bouchard wrote:
 On Wed, 9 Mar 2011, Chris McCormick wrote:

 PS: the [delwrite~] clear method is still assigned to 'nobody', 
 because it's waiting for any of the five project admins to click on a 
 button... It implies that the application of the [delwrite~] clear 
 method patch has been too slow for your liking, which implies that the 
 five project admins should have found the application of the 
 [delwrite~] clear method more important than whatever it is they have 
 been doing which isn't clicking that button.

 Ok, you are all too determined to see something wrong in whatever I say  
 about the admins. I'm really sorry I spent lots of time trying to answer  
 this last mail in detail. I just deleted a dozen paragraphs that I spent  
 plenty of time on, being puzzled, thinking about, and thinking that it  
 might matter at all. I'm not gonna say how long I spent on it or your  
 other mails because it's embarrassingly too much.

Ok, I apologise, I'll hand back my badge and banana. I'm quitting the Just Be
Nice Police.

Chris.

---
http://mccormick.cx

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


Re: [PD] To divide a number in random parts

2011-03-10 Thread Caio Barros
Hi guys.
As I said before I wanted two complements to the wonderful solution by Matt
Barber, and I just did the first!
Is a patch that outputs bangs at random delays between them. The user can
set the minimum and maximum duration between bangs (all in ms) and a setp
size.
This last one is easier to explain by an example: If the user set the
minimum duration as 100ms, maximum as 2000ms and step size as 10ms the
delays between bangs can be 100, 110, 120, 130 and so on, but never 115 or
127 for instance.

Also, the patch runs a stopwatch that can be programed to... stop at a given
time

Everything can be saved to a text file, witch will contain the time of the
bang (given by the stopwatch) and the time difference between bangs.
This will allow me to create note attacks with durations that sound very
random and non-directional.

I putted all the commands inside a graph on parent so it can be used as an
abstraction. I plan to create a bigger patch with Matt's, this one and at
least one more.

Hope you enjoy and give me feedback.
Caio Barros

PS: This was the first time that i realized that you can do a graph on
parent inside a graph on parent. cool!
#N canvas 337 82 857 622 10;
#X obj 30 554 s rebang;
#X obj 57 384 random;
#X floatatom 35 37 7 0 0 2 min - dmin;
#X obj 57 471 +;
#X obj 90 291 -;
#X obj 30 499 del;
#X obj 30 172 t b b;
#X floatatom 87 37 7 0 0 2 max - dmax;
#X obj 105 238 r dmin;
#X obj 90 148 r dmax;
#X obj 30 123 r rebang;
#X obj 30 531 spigot;
#X obj 291 119 r rebang;
#X obj 63 509 r onoff;
#X obj 137 38 tgl 15 0 onoff timeout START/STOP 0 -7 0 10 -262144 -1
-1 0 1;
#X obj 185 38 bng 15 250 50 0 clear empty Clear 20 7 0 10 -262144 -1
-1;
#X obj 348 289 r cent;
#X obj 319 268 r seg;
#X obj 306 245 r min;
#X obj 291 313 pack f f f;
#X msg 291 338 \$1:\$2:\$3;
#X obj 291 394 pack s f;
#X msg 291 421 add \$1 \$2;
#X msg 360 418 set;
#X obj 360 397 r clear;
#X obj 92 123 r onoff;
#X obj 414 208 r total_time;
#X obj 426 319 -;
#X obj 399 235 f;
#X obj 399 263 t f f;
#X msg 448 285 0;
#X obj 448 262 r clear;
#X obj 291 273 f;
#X obj 291 149 t b b;
#X obj 377 533 textfile;
#X msg 377 464 clear;
#X obj 377 442 r clear;
#X msg 429 491 write \$1;
#X obj 429 471 savepanel;
#X obj 429 446 r save;
#X obj 185 59 bng 15 250 50 0 save empty Save 20 7 0 10 -262144 -1
-1;
#X obj 291 474 outlet;
#X floatatom 35 71 7 0 0 2 step_size stepsizedefault stepsize;
#X obj 105 168 r stepsize;
#X obj 90 217 +;
#X obj 90 361 /;
#X obj 105 312 r stepsize;
#X obj 57 425 *;
#X obj 72 404 r stepsize;
#X obj 72 447 r dmin;
#X obj 105 192 t b f;
#X obj 105 262 t b f;
#X obj 105 335 t b f;
#X obj 110 73 nbx 5 14 -1e+37 1e+37 0 0 empty realmax real_max 0 -8
0 10 -262144 -1 -1 2000 256;
#X floatatom 302 18 5 0 0 1 : - sprog;
#X floatatom 259 18 5 0 0 1 : - mprog;
#X floatatom 344 18 6 0 0 0 - - cprog;
#X obj 389 19 tgl 15 0 tgltimeoff empty On/Off 0 -7 0 10 -262144 -1
-1 0 1;
#X text 257 0 Set Time Limit;
#X obj 643 76 * 1000;
#X obj 702 75 * 10;
#X obj 587 76 * 6;
#X obj 579 176 select;
#X obj 579 17 r total_time;
#X msg 579 260 0;
#X obj 579 310 s timeout;
#X msg 579 285 set \$1;
#X obj 612 141 expr $f1 + $f2 + $f3;
#X obj 702 110 t b f;
#X obj 643 107 t b f;
#X obj 587 48 r mprog;
#X obj 643 48 r sprog;
#X obj 702 48 r cprog;
#X obj 579 236 spigot;
#X obj 612 212 r tgltimeoff;
#X text 9 105 REBANG AT EVERY RANDOM SECONDS;
#N canvas 120 228 450 300 debug 0;
#X floatatom 105 118 5 0 0 1 - - -;
#X obj 142 118 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 177 164 spigot;
#X obj 177 201 print;
#X obj 177 31 inlet;
#X obj 172 118 tgl 15 0 empty empty print? 20 7 0 10 -262144 -1 -1
0 1;
#X text 71 8 Sub-patch to see the output of objects;
#X connect 2 0 3 0;
#X connect 4 0 0 0;
#X connect 4 0 1 0;
#X connect 4 0 2 0;
#X connect 5 0 2 1;
#X coords 0 -1 1 1 130 40 1 100 100;
#X restore 695 522 pd debug;
#X obj 104 384 s rndarg;
#X obj 577 375 r rndarg;
#X obj 577 401 i;
#X obj 577 466 *;
#X obj 592 445 r stepsize;
#X obj 577 509 +;
#X obj 592 487 r dmin;
#X obj 577 422 - 1;
#X obj 577 532 s realmax;
#X text 238 103 WRITE TOTAL AND RELATIVE TIME TO A TEXT FILE;
#X text 352 123 relative time is the time;
#X text 352 132 difference \, in ms \, between;
#X text 352 141 current bang and the last one;
#X text 571 -5 SET THE TIME LIMIT TO THE STOPWATCH;
#N canvas 381 305 702 312 stopwatch 0;
#X obj 504 50 metro 10;
#X obj 504 160 i;
#X obj 534 160 + 1;
#X msg 522 137 0;
#X obj 551 193 select 100;
#X obj 419 148 + 1;
#X obj 383 148 i;
#X msg 394 124 0;
#X obj 426 192 select 60;
#X obj 331 118 + 1;
#X obj 297 118 i;
#X msg 310 93 0;
#X obj 310 70 r zero;
#X obj 394 80 r zero;
#X obj 522 93 r zero;
#X obj 551 217 s bngseg;
#X obj 426 215 s bngmin;
#X obj 411 101 r bngmin;
#X obj 541 114 r bngseg;
#X obj 383 47 r bngseg;
#X obj 297 46 r bngmin;
#X obj 504 217 s cent;
#X obj 383 215 s seg;
#X obj 297 144 s min;
#X obj 234 120 bng 15 250 50 0 zero clear Reset 0 23 0 10 -262144 -1
-1;
#X obj 621 116 i;
#X obj 651 116 + 1;
#X 

Re: [PD] Polyphony and granular synthesis, etc.

2011-03-10 Thread Hans-Christoph Steiner


I don't use the rjdj libs so I wouldn't be the one to ask about them.   
Frank is the main author tho, so he probably keeps them up to date.


.hc

On Mar 10, 2011, at 8:57 PM, Peter Kirn wrote:


Thanks, everyone.

So, patko, I gather poly alone should work -- I'd just multiplex
messages, so long as there are two arguments?

Hans, I gather the Rj version u_makepoly is now the newest. It's
looking great, though I ran into one hitch - right now, with the
abstraction I built it's giving me this error -
Error: Bad arguments for message 'f' to object 'objectmaker' f $1 ...
couldn't create

Not sure what that means. (I mean, I know literally what it means, but
not why.) Looking into it / open to someone pointing out anything
obvious. ;)

Peter






The arc of history bends towards justice. - Dr. Martin Luther  
King, Jr.




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


Re: [PD] Polyphony and granular synthesis, etc.

2011-03-10 Thread Peter Kirn


  
  
On 3/10/11 10:17 PM, Hans-Christoph Steiner wrote:

  
  I don't use the rjdj libs so I wouldn't be the one to ask about
  them. Frank is the main author tho, so he probably keeps them up
  to date.
  

Never mind; this was my fault - found the glitch. I'm not correctly
passing through the argument for the array. It's a symbol reference,
but make_poly's message dispatching structure expects floats. I'm
fixing it now.

Anyway, because rjlib does all this dispatching for you, it's
definitely the most sophisticated way to go - and it's still
wrapping around poly.

The question now is how easy it is, and how efficient it is, versus
using libpd to handle the same tasks on the side of your code. So,
whipping up a granular example is a good way to go, as it pushes the
envelope a bit on both fronts. I'll report back if I can find
something intelligent to say. ;)

Peter
  


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


Re: [PD] Polyphony and granular synthesis, etc.

2011-03-10 Thread patko


 Thanks, everyone.
 
 So, patko, I gather poly alone should work -- I'd just multiplex
 messages, so long as there are two arguments?
 

 Yes it's possible to pass an huge number to poly object, and then polypoly, 
that would be the result of multiplexed values.

 For example if you need 7 bit words values like in MIDI standard, second value 
would be multiplied by 128 and then added to the first, the third by 16384 and 
added to the sum of the first and the second, etc ...

for demultiplexing a [mod 128] would get the first value, the second with [mod 
16384]-[/ 128]-[int], etc ...

I have attached this example with three values. 

 Hans, I gather the Rj version u_makepoly is now the newest. It's
 looking great, though I ran into one hitch - right now, with the
 abstraction I built it's giving me this error -
 Error: Bad arguments for message 'f' to object 'objectmaker' f $1 ...
 couldn't create
 
 Not sure what that means. (I mean, I know literally what it means,
 but
 not why.) Looking into it / open to someone pointing out anything
 obvious. ;)
 
 Peter

-- 
Patrice Colet 
#N canvas 1044 378 476 437 10;
#X obj 274 109 t b f;
#X obj 208 167 +;
#X obj 208 192 t b f;
#X obj 208 223 +;
#X obj 131 86 * 16384;
#X obj 208 87 * 128;
#X floatatom 131 54 5 0 127 0 - - -;
#X floatatom 208 54 5 0 127 0 - - -;
#X floatatom 274 55 5 0 127 0 - - -;
#X floatatom 208 252 10 0 0 0 - - -;
#X obj 208 280 t a a a;
#X obj 376 320 mod 128;
#X floatatom 376 361 5 0 0 0 - - -;
#X obj 226 339 / 128;
#X obj 226 363 int;
#X obj 135 340 int;
#X obj 135 316 / 16384;
#X floatatom 226 386 5 0 0 0 - - -;
#X floatatom 135 363 5 0 0 0 - - -;
#X obj 225 314 mod 16384;
#X connect 0 0 1 0;
#X connect 0 1 1 1;
#X connect 1 0 2 0;
#X connect 2 0 3 0;
#X connect 2 1 3 1;
#X connect 3 0 9 0;
#X connect 4 0 3 0;
#X connect 5 0 1 0;
#X connect 6 0 4 0;
#X connect 7 0 5 0;
#X connect 8 0 0 0;
#X connect 9 0 10 0;
#X connect 10 0 16 0;
#X connect 10 1 19 0;
#X connect 10 2 11 0;
#X connect 11 0 12 0;
#X connect 13 0 14 0;
#X connect 14 0 17 0;
#X connect 15 0 18 0;
#X connect 16 0 15 0;
#X connect 19 0 13 0;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pd_LAunch: A Week of exhibits/workshops/performance events in LA April 25 -30

2011-03-10 Thread Joe Newlin
Hi Joe et al,

I live in the area and would like to participate and help out in any way I
can.

-JN

On Wed, Mar 9, 2011 at 8:12 PM, Richie Cyngler glitch...@gmail.com wrote:

 Sounds awesome! Please keep us updated. If the stars align I may actually
 be in the area at this time (I'm normally in the southern hemisphere).


 On Thu, Mar 10, 2011 at 1:57 PM, Joe Deken jde...@ucsd.edu wrote:


 ==
 During the week of April 25-30 in Los Angeles, CrashSpace LA and New
 Blankets Inc
 will be hosting pd_LAunch -- a gala-grassroots festival of events to
 celebrate the
 launch of a puredata/Max patching circle in LA. This new LA patching
 circle will be hosted
 by CrashSpace LA.

 ==


 We will be providing regular updates about pd_LAunch on pd list and
 elsewhere -- many
 arrangements are still in-progress.  But please spread the word to those
 you know who may
 be interested -- whether they live in LA and may become patching-circle
 regulars -- or
 if they live anywhere in the world and just want to be part of the
 pd_LAunch launch-fest.

 The main purpose of this preliminary/early announcement is to help you
 in making
 travel plans, etc. if you need to.  We especially welcome members of other
 patching
 circles (from other cities, other countries) to join us in LA and share
 your experience
 and inspiration. At the moment, we have set up an an e-mail address:
 lau...@pd-la.info
 where you can express your interest, support, plans-to-attend and other
 helpful ideas.

 Because the physical facilities at CrashSpace are fairly small and
 other venues are
 still being negotiated, it's VERY IMPORTANT that you RSVP yes right away
 if you plan to
 join us April 25 - 30 in LA.(Kindly make your RSVP via the email address:
 lau...@pd-la.info)

 We request that you also use the launch e-mail address especially to
 express interest in
 topics for workshops and/or demonstrations that you would be interested in
 attending. (See
 suggestions below.) Or you can use the e-mail to ask particular questions,
 to request
 travel and lodging advice and assistance etc.)

 All pd_LAunch events will be free and open to everyone, as much as
 space and
 facilities permit.  For some events that will be limited by space, we will
 be providing
 some signup lists -- details forthcoming.

 We would also request that when you RSVP yes you would consider
 making a
 contribution to secure some of the spaces and amenities we will need.  A
 suggested
 contribution is $50 USD.  We welcome your contribution to this effort,
 with money or ideas
 or other help, even if you cannot get to LA in person.  We can all support
 the new
 patching-circle there. (Money contributions, of whatever amount, should be
 made to New
 Blankets Inc. which is a U.S. 501(c)(3) tax-exempt organization; so your
 contributions are
 tax deductible if/as those laws apply to you.)

 Some events and highlights already planned:

 - VIP guests: Miller Puckette, Hans-Christoph Steiner, Chris
 McCormick, Natacha Diehls
 ... more invitations are in the hopper as well.

 - Opening reception/build/video-slam at UCSD with Miller Puckette
 Monday April 25
   (San Diego)

 - puredata gym-full Family Night at the Long Beach Boys and
 Girls Club
Wednesday Apr 27

 - panel discussion with Miller Puckette and puredata developers
 Saturday
   afternoon Apr 30

 - concert/party/reception Music with Miller Puckette and Friends
 Saturday
   evening Apr 30 (Miller Puckette, Natacha Diehls, Chris McCormick
 and more ...)

 - workshops and demonstrations by Hans Steiner, Chris McCormick,
 Miller Puckette
   and others are being arranged ...  These will be based on what
 the interest/registrations
   indicate and depending on what spaces/venues in LA can be
 arranged. (Some spaces larger
   than the CrashSpace location may be required.)

 - A goody bag and other items available for pd_LAunch
   sponsors/RSVP'rs/contributors to include a 20-lecture puredata
 video course by
   Miller Puckette, pd_LAunch souvenirs made on the CrashSpace
 Makerbots, live-USB
   sticks ready to boot-up and run Linux/pd on any computer etc
 etc.

 - Store-front music a transformation of the street-front of
 CrashSpace into an
  interactive puredata experience, following up on the CrashSpace
 smash-hit effort for
  VIMBY. (Get your patch out on the street ...)


 Mark your calendars.  Plan to join us in LA.  All your efforts to help
 start a successful
 patching circle in LA are welcome.  Let us know if we can help with
 travel, lodging or
 other arrangements if you are coming to LA from afar.

 Workshops/demos being planned (Please