Re: [PD] gems.multi.crop

2011-10-06 Thread Michael Karr
Hello,
Thanks for the reply, Jack. So the patch you gave allows me to move each
crop around on the canvas, but I actually meant for moving the visible area
around within the crop.. such as what happens with the slider in attached
patch, but then individually for each crop.

Cheers, Michael


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


[PD] Synchronisation fo video and sound

2011-10-06 Thread Albena Baeva
Hello List,

I'm trying to synchronise film and it's sound in pd. I have several short
clips exported as one longer video and separate audio file. I need to be
able to start each one of them when I choose, but I loose synchronisation of
sound an video. I first try to use this patch (
http://www.youtube.com/watch?v=boX0v54SqtU ) - I send to the right inlet of
[phasor] the starting point of the video (/) by the total fim length. That
worked with one of my video test, but with the real video that I have to use
totally lost synchronisation. I send separately the begging point of the
video to [counter] and [pix film]. Then I tried to use [phasor] as the play
machine for both. But it still doesn't work- the problem this time is the
speed of the sound sample is faster and the way the films change is pretty
random, but there is synchronisation.
I attach part of my second try. I hope that will be enough to see where I'
wrong
Thanks

Albena
http://albena.posterous.com
runabout.eu
the-rest-art.blogspot.com


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


Re: [PD] Synchronisation fo video and sound

2011-10-06 Thread Jack

Le 06/10/2011 11:25, Albena Baeva a écrit :


Hello List,

I'm trying to synchronise film and it's sound in pd. I have several 
short clips exported as one longer video and separate audio file. I 
need to be able to start each one of them when I choose, but I loose 
synchronisation of sound an video. I first try to use this patch 
(http://www.youtube.com/watch?v=boX0v54SqtU ) - I send to the right 
inlet of [phasor] the starting point of the video (/) by the total fim 
length. That worked with one of my video test, but with the real video 
that I have to use totally lost synchronisation. I 
send separately the begging point of the video to [counter] and [pix 
film]. Then I tried to use [phasor] as the play machine for both. But 
it still doesn't work- the problem this time is the speed of the sound 
sample is faster and the way the films change is pretty random, but 
there is synchronisation.
I attach part of my second try. I hope that will be enough to see 
where I' wrong

Thanks

Albena
http://albena.posterous.com http://albena.posterous.com/
runabout.eu http://runabout.eu
the-rest-art.blogspot.com http://the-rest-art.blogspot.com


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -  
http://lists.puredata.info/listinfo/pd-list
To synchronise movies and sounds, you need to do the same thing 
presented in the youtube video (with [snapshot~]). Then you need also to 
know how many frames per second there is in your movie. For example, if 
your movie has 25 fps and your sound is at 44100 Hz, then you need to 
divide the value from [snapshot~] by 44100 (to get time in second) and 
multiply this time by 25 to get the frame that must be reached (you send 
this value to the right inlet of [pix_film]). Then :


[snapshot~]
|
[/ 44100]
|
[* 25]
|
[pix_film]

Hope it helps.
++

Jack


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


Re: [PD] rvbap crashes

2011-10-06 Thread Iain Mott
Thanks for the debugging information. I followed your instructions and
came up with similar errors when running: 

valgrind pd rvbap-help.pd

ie.

==4000== Invalid write of size 4
==4000==at 0x4034D0F: rvbap_bang (rvbap.c:619)
==4000==by 0x80B7362: outlet_bang (in /usr/bin/pd)
==4000==  Address 0x49df6ec is 4 bytes before a block of size 16 alloc'd
==4000==at 0x4025315: calloc (vg_replace_malloc.c:467)
==4000==by 0x80B8710: getbytes (in /usr/bin/pd)
==4000== 


this corresponds to the following block of code and the last statement
in this final_gs[ls[i]-1]=g[i];, is line 619 cited above.

static void rvbap_bang(t_rvbap *x)
// top level, vbap gains are calculated and outputted   
{
t_atom at[MAX_LS_AMOUNT]; 
float g[3];
long ls[3];
long i;
float *final_gs, overdist, oversqrtdist;
final_gs = (float *) getbytes(x-x_ls_amount * sizeof(float));
if(x-x_lsset_available ==1){
vbap(g, ls, x);
for(i=0;ix-x_ls_amount;i++)
final_gs[i]=0.0;  
for(i=0;ix-x_dimension;i++){
final_gs[ls[i]-1]=g[i];  
}

 .

My C programming is very rusty to say the least and I've not been able
to fix it.

If it's obvious to anyone else - please let me know.

Best,

Iain


On Wed, 2011-10-05 at 21:13 -0400, Mathieu Bouchard wrote:
 Le 2011-10-05 à 14:59:00, Iain Mott a écrit :
 
  I'm having problems already cited elsewhere with rvbap - whereby it
  crashes with a Signal 6 when adjusting the azimuth and having first
  configured the external with a 2D speaker array (eg. with a message:
  define_loudspeakers 2 -45 45 0 180).
  I've tried this with pdextended on linux (i'm using ubuntu 11.04) and
  also by compiling the external with this source:
  http://pure-data.svn.sourceforge.net/viewvc/pure-data/trunk/externals/vbap/
  Same thing.
  Does anyone have any suggestions?
 
 When you compile the external from source, you have the possibility to 
 enable debug. I edited Makefile (with an uppercase) to change that, but 
 debugging info was already enabled (-g). I changed the optimisation flags 
 though (-O1 instead of -O6 -fomit-frame-pointer).
 
 btw, the use of those flags is misleading, as -O6 is completely the same 
 as -O3, and -fomit-frame-pointer (which hinders debugging) is already 
 included in -O2 and -O3 (in -O1 it depends, see manpage).
 
 -funroll-loops, however, has no impact on debuggability...
 
 Then if you run :
 
valgrind pd vbap-help.pd
 
 and click around a bit, you get :
 
 ==10071== Invalid read of size 4
 ==10071==at 0x4F42667: additive_vbap (vbap.c:419)
 ==10071==by 0x4F43527: vbap_bang (vbap.c:526)
 ==10071==by 0x4F45217: choose_ls_tuplets (define_loudspeakers.c:757)
 ==10071==by 0x4F45664: vbap_def_ls (define_loudspeakers.c:62)
 ==10071==by 0x80C7498: pd_typedmess (m_class.c:716)
 ==10071==by 0x3FFF: ???
 ==10071==  Address 0x43886bc is 4 bytes before a block of size 16 alloc'd
 ==10071==at 0x4024F12: calloc (vg_replace_malloc.c:467)
 ==10071==by 0x80CB2BC: getbytes (m_memory.c:24)
 ==10071==by 0x4F45217: choose_ls_tuplets (define_loudspeakers.c:757)
 ==10071==by 0x4F45664: vbap_def_ls (define_loudspeakers.c:62)
 ==10071==by 0x80C7498: pd_typedmess (m_class.c:716)
 ==10071==by 0x3FFF: ???
 
 which is a lot more informative when it can report function names, rather 
 than just the library names...
 
   __
 | Mathieu BOUCHARD - téléphone : +1.514.383.3801 - Montréal, QC



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


Re: [PD] Pd-extended 0.43 builds are working again

2011-10-06 Thread rolf meesters
testing the latest 0.43 zip for windows (on XP)

i found a small 'bug':
using 'save as' from the 'file menu' gives the usual pop-up window.
when i drag this window a copy is created and the first one stays put.
it's possible to do your saving business in the copied window,
which than disappears.
however the 'original' one keeps existing, until clicking it away.

for the rest: my rather simple patches work like expected.

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


Re: [PD] rvbap crashes

2011-10-06 Thread Mathieu Bouchard

Le 2011-10-05 à 21:13:00, Mathieu Bouchard a écrit :


Then if you run :

 valgrind pd vbap-help.pd

and click around a bit, you get :


Actually that's a different bug than the one you found, but that's a bug 
anyway, and it's the kind of thing that can cause a crash later (e.g. 
while closing a patch), though I don't know how to get it to really crash.


I made two mistakes... I forgot to paste that there's an Invalid Write of 
same size at the same place in the programme, just after the Read... a 
Write is more dangerous.


The other mistake, of course, is that at one point I switched from trying 
rvbap-help.pd to trying vbap-help.pd without even noticing. With 
rvbap-help.pd, I get this crash instead :


 Invalid write of size 4
at 0x796DB34: rvbap_bang (rvbap.c:619)
by 0x80CA552: outlet_bang (m_obj.c:371)
by 0x80CA552: outlet_bang (m_obj.c:371)
by 0x80FCB3A: trigger_list (x_connective.c:981)
by 0x80FCE26: trigger_float (x_connective.c:1025)
by 0x80CA0A6: outlet_float (m_obj.c:397)
by 0x80CA0A6: outlet_float (m_obj.c:397)
by 0x8079BFD: gatom_bang (g_text.c:585)
by 0x807DEC1: gatom_motion (g_text.c:615)
by 0x80A9268: canvas_motion (g_editor.c:1821)
by 0x80C7765: pd_typedmess (m_class.c:792)
by 0x80C734B: pd_typedmess (m_class.c:813)
  Address 0x461d424 is 4 bytes before a block of size 16 alloc'd
at 0x4024F12: calloc (vg_replace_malloc.c:467)
by 0x80CB2BC: getbytes (m_memory.c:24)
by 0x80CA552: outlet_bang (m_obj.c:371)
by 0x80CA552: outlet_bang (m_obj.c:371)
by 0x80FCB3A: trigger_list (x_connective.c:981)
by 0x80FCE26: trigger_float (x_connective.c:1025)
by 0x80CA0A6: outlet_float (m_obj.c:397)
by 0x80CA0A6: outlet_float (m_obj.c:397)
by 0x8079BFD: gatom_bang (g_text.c:585)
by 0x807DEC1: gatom_motion (g_text.c:615)
by 0x80A9268: canvas_motion (g_editor.c:1821)
by 0x80C7765: pd_typedmess (m_class.c:792)

which might or might not be a copy of the same bug...

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


Re: [PD] rvbap crashes

2011-10-06 Thread Mathieu Bouchard

Le 2011-10-06 à 08:32:00, Iain Mott a écrit :


Thanks for the debugging information. I followed your instructions and
came up with similar errors when running:


I don't know why we get different numbers of stack items, but if you want 
more than two, look for the --num-callers=… option.


But yeah, we are getting the same errors, it's just that the one I posted 
at first was for a bug in [vbap] and not [rvbap].



My C programming is very rusty to say the least and I've not been able
to fix it.


Well, it's not like it's a super-obvious fix. I think both bugs take more 
than a few minutes of reading.



If it's obvious to anyone else - please let me know.


I'm emailing the authors... I don't know them, but anyway...

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


Re: [PD] rvbap crashes

2011-10-06 Thread Mathieu Bouchard

Le 2011-10-06 à 10:31:00, Mathieu Bouchard a écrit :

Well, it's not like it's a super-obvious fix. I think both bugs take 
more than a few minutes of reading.



If it's obvious to anyone else - please let me know.


I'm emailing the authors... I don't know them, but anyway...


It really looks like two copies of the same bug, or almost. It's not a 
copy-paste, but both happen when doing


  final_gs[ls[something]-1]=stuff;

...

duh. here's the fix for one bug. but the other one would take more 
investigation.


Index: vbap.c
===
--- vbap.c  (révision 15520)
+++ vbap.c  (copie de travail)
@@ -77,6 +77,7 @@
 #ifdef PD
 void vbap_setup(void)
 {
+   post(%s: matju was here,__FUNCTION__);
 	vbap_class = class_new(gensym(vbap), (t_newmethod)vbap_new, 0, 
(short)sizeof(t_vbap), 0,

A_DEFFLOAT, A_DEFFLOAT, A_DEFFLOAT, 0);

@@ -415,7 +416,7 @@

final_gs[ls[0]-1] += g[0];
final_gs[ls[1]-1] += g[1];
-   final_gs[ls[2]-1] += g[2];
+   if (dim==3) final_gs[ls[2]-1] += g[2];
}
 }

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


Re: [PD] rvbap crashes

2011-10-06 Thread Hans-Christoph Steiner


On Oct 6, 2011, at 11:10 AM, Mathieu Bouchard wrote:


Le 2011-10-06 à 10:31:00, Mathieu Bouchard a écrit :

Well, it's not like it's a super-obvious fix. I think both bugs  
take more than a few minutes of reading.



If it's obvious to anyone else - please let me know.


I'm emailing the authors... I don't know them, but anyway...


It really looks like two copies of the same bug, or almost. It's not  
a copy-paste, but both happen when doing


 final_gs[ls[something]-1]=stuff;

...

duh. here's the fix for one bug. but the other one would take more  
investigation.


Index: vbap.c
===
--- vbap.c  (révision 15520)
+++ vbap.c  (copie de travail)
@@ -77,6 +77,7 @@
#ifdef PD
void vbap_setup(void)
{
+   post(%s: matju was here,__FUNCTION__);
	vbap_class = class_new(gensym(vbap), (t_newmethod)vbap_new, 0,  
(short)sizeof(t_vbap), 0,

   A_DEFFLOAT, A_DEFFLOAT, A_DEFFLOAT, 0);

@@ -415,7 +416,7 @@

final_gs[ls[0]-1] += g[0];
final_gs[ls[1]-1] += g[1];
-   final_gs[ls[2]-1] += g[2];
+   if (dim==3) final_gs[ls[2]-1] += g[2];
}
}



Thanks for digging that up, matju, I committed it.  The sad thing is  
that I fixed that bug back in 2006, then rvbap was forked off of that  
version of vbap.  Then I ported the newest version of vbap to Pd from  
scratch, but forgot to include that bug fix.


/* BUG FIX: this was causing negative indices with 2  
dimensions so I

 * made it only try when using 3 dimensions.
 * 2006-08-13 h...@at.or.at */

I guess that still leaves the rvbap bug tho.  Perhaps the thing to do  
is to take the rvbap changes to vbap, and then make a new rvbap based  
on the new vbap.


.hc



“We must become the change we want to see. - Mahatma Gandhi


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


Re: [PD] Synchronisation fo video and sound

2011-10-06 Thread Albena Baeva
Thanks a lot,

I looked at the tutorial patches and they are really great. Now I get a
little bit further, I found that I have the same mistake with your patches
as with mine. error: soundfiler_read: truncated to 400 elements So the
buffer of the soundfile doesn't allow to get a bigger size of the sample
than this 400, and mine is a little bit more I guess. I tried to change
the size manually but it didn't help, it stays the same. So my next question
is :)) Is it possible to load bigger files in tabread4(or change it
somehow)? I suppose I can always divide the video into 2 clips and trigger
between them, but it will be more clean if I manage t do it with one clip.
best
albena


On Thu, Oct 6, 2011 at 4:40 PM, Max abonneme...@revolwear.com wrote:

 because this is a very reoccurring question and the next question you will
 probably ask is:
 why is the sound playback stuttering when i play video in sync with it?

 i made those educational patches to address both questions:
 http://www.uni-weimar.de/medien/wiki/Audiovideo

 hope it helps.
 max

 Am 06.10.2011 um 11:25 schrieb Albena Baeva:

 
  Hello List,
 
  I'm trying to synchronise film and it's sound in pd. I have several short
 clips exported as one longer video and separate audio file. I need to be
 able to start each one of them when I choose, but I loose synchronisation of
 sound an video. I first try to use this patch (
 http://www.youtube.com/watch?v=boX0v54SqtU ) - I send to the right inlet
 of [phasor] the starting point of the video (/) by the total fim length.
 That worked with one of my video test, but with the real video that I have
 to use totally lost synchronisation. I send separately the begging point of
 the video to [counter] and [pix film]. Then I tried to use [phasor] as the
 play machine for both. But it still doesn't work- the problem this time is
 the speed of the sound sample is faster and the way the films change is
 pretty random, but there is synchronisation.
  I attach part of my second try. I hope that will be enough to see where
 I' wrong
  Thanks
 
  Albena
  http://albena.posterous.com
  runabout.eu
  the-rest-art.blogspot.com
 
  playLogic.pd___
  Pd-list@iem.at mailing list
  UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list




-- 
http://albena.posterous.com
runabout.eu
the-rest-art.blogspot.com
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Synchronisation for video and sound

2011-10-06 Thread Max
the default maxsize of sound filer is 400. if you want/need that bigger, 
change the maxsize of sound filer with the -maxsize option (see sound 
filer-help for that.
m.

Am 06.10.2011 um 18:50 schrieb Albena Baeva:

 Thanks a lot,
 
 I looked at the tutorial patches and they are really great. Now I get a 
 little bit further, I found that I have the same mistake with your patches as 
 with mine. error: soundfiler_read: truncated to 400 elements So the 
 buffer of the soundfile doesn't allow to get a bigger size of the sample than 
 this 400, and mine is a little bit more I guess. I tried to change the 
 size manually but it didn't help, it stays the same. So my next question is 
 :)) Is it possible to load bigger files in tabread4(or change it somehow)? I 
 suppose I can always divide the video into 2 clips and trigger between them, 
 but it will be more clean if I manage t do it with one clip. 
 best
 albena
 
 
 On Thu, Oct 6, 2011 at 4:40 PM, Max abonneme...@revolwear.com wrote:
 because this is a very reoccurring question and the next question you will 
 probably ask is:
 why is the sound playback stuttering when i play video in sync with it?
 
 i made those educational patches to address both questions:
 http://www.uni-weimar.de/medien/wiki/Audiovideo
 
 hope it helps.
 max
 
 Am 06.10.2011 um 11:25 schrieb Albena Baeva:
 
 
  Hello List,
 
  I'm trying to synchronise film and it's sound in pd. I have several short 
  clips exported as one longer video and separate audio file. I need to be 
  able to start each one of them when I choose, but I loose synchronisation 
  of sound an video. I first try to use this patch 
  (http://www.youtube.com/watch?v=boX0v54SqtU ) - I send to the right inlet 
  of [phasor] the starting point of the video (/) by the total fim length. 
  That worked with one of my video test, but with the real video that I have 
  to use totally lost synchronisation. I send separately the begging point of 
  the video to [counter] and [pix film]. Then I tried to use [phasor] as the 
  play machine for both. But it still doesn't work- the problem this time is 
  the speed of the sound sample is faster and the way the films change is 
  pretty random, but there is synchronisation.
  I attach part of my second try. I hope that will be enough to see where I' 
  wrong
  Thanks
 
  Albena
  http://albena.posterous.com
  runabout.eu
  the-rest-art.blogspot.com
 
  playLogic.pd___
  Pd-list@iem.at mailing list
  UNSUBSCRIBE and account-management - 
  http://lists.puredata.info/listinfo/pd-list
 
 
 
 
 -- 
 http://albena.posterous.com
 runabout.eu
 the-rest-art.blogspot.com
 


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


Re: [PD] Keyboard shortcuts for nudge, done editing

2011-10-06 Thread Mathieu Bouchard

Le 2011-09-28 à 21:44:00, Marvin Humphrey a écrit :


On Thu, Sep 29, 2011 at 12:44:39AM -0400, Hans-Christoph Steiner wrote:

In my opinion, using GPLv3 has been the easiest of the options.  It
means that we can use code that is licensed with a BSD, MIT, Tcl,
Apache, GPLv2, LGPL, GPLv3, etc..  So its the most compatible to the
code that's out there, meaning thinking about licenses less writing more
code that everyone is free to use :)


All I'm gonna say is that I see things from a different angle. :)


I have no idea what the angle is and how that licensing of «overall 
project» is supposed to work.


I'm lost.

Besides, I just realised that [pd META] says things like «LICENSE GPL v2» 
or «LICENSE GPL v3» but never «LICENSE GPL v2 OR LATER». Isn't that 
strange ?


The distinction has to be made between «version 2 only» and «version 2 or 
later» and between «version 3 only» and «version 3 and later» (even when, 
in that latter case, there is currently no version after 3).


BTW, there are even cases where it just says GPL without version number.

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


Re: [PD] Keyboard shortcuts for nudge, done editing

2011-10-06 Thread Mathieu Bouchard

Le 2011-09-29 à 10:37:00, Jonathan Wilkes a écrit :


Something I was thinking about for the future is a way to model keyboard input
after the efficiency of 'vi' input.


The efficiency of vi input is only efficient to vi users.

Other people want arrows because they're arrows.

If not using arrows, then at least, people expect something where at least 
the up key is above the down key.



DesireData has a way to edit connections with the keyboard but I found it takes 
too many
keystrokes.


Editing the key bindings is the easy part of it...

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


Re: [PD] pd-extended license WAS: Keyboard shortcuts for nudge, done editing

2011-10-06 Thread Mathieu Bouchard

Le 2011-09-28 à 10:35:00, Hans-Christoph Steiner a écrit :

In the case of a GPL project including a BSD code, there is not a 
separate license.  Only the copyright holder can change the license. It 
is just that the BSD license allows you to add additional restrictions. 
 The GPL adds one restriction: whenever you give someone the software, 
you have to also give them the source code.


GPL also adds the restriction of not adding any additional restrictions, 
and that's a restriction by itself (I'm not saying that it's good or 
bad).


It can also be counted as several additional restrictions, depending on 
the way one reads it.


So if you were going to include Pd-extended in your OS as a whole, you 
have to treat all the code as GPLv3.  list-abs is a library included in 
Pd-extended.  It is released under a BSD license.  If you download 
list-abs by itself and package that, then it is not Pd-extended.  So its 
BSD.


If someone includes Pd-extended as a whole in their OS, and modify BSD 
externals, while keeping them bundled with the rest of Pd-extended, they 
don't have to distribute the source to those modifications, despite your 
claim that Pd-extended has a license « as a whole ». That person doesn't 
have to take anything apart (debundle) or whatever.


The « as a whole » concept has a more limited applicability than what you 
seem to be claiming.


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


Re: [PD] Keyboard shortcuts for nudge, done editing

2011-10-06 Thread Jonathan Wilkes
- Original Message -

 From: Mathieu Bouchard ma...@artengine.ca
 To: Marvin Humphrey mar...@rectangular.com
 Cc: pd-list@iem.at pd-list@iem.at
 Sent: Thursday, October 6, 2011 5:44 PM
 Subject: Re: [PD] Keyboard shortcuts for nudge, done editing
 
 Le 2011-09-28 à 21:44:00, Marvin Humphrey a écrit :
 
  On Thu, Sep 29, 2011 at 12:44:39AM -0400, Hans-Christoph Steiner wrote:
  In my opinion, using GPLv3 has been the easiest of the options.  It
  means that we can use code that is licensed with a BSD, MIT, Tcl,
  Apache, GPLv2, LGPL, GPLv3, etc..  So its the most compatible to the
  code that's out there, meaning thinking about licenses less writing 
 more
  code that everyone is free to use :)
 
  All I'm gonna say is that I see things from a different angle. :)
 
 I have no idea what the angle is and how that licensing of «overall project» 
 is 
 supposed to work.
 
 I'm lost.
 
 Besides, I just realised that [pd META] says things like «LICENSE GPL v2» or 
 «LICENSE GPL v3» but never «LICENSE GPL v2 OR LATER». Isn't that strange ?

GPL v2 - LICENSE.txt is the GPL v2
GPL v3 - LICENSE.txt is the GPL v3

Then there are cases like pdogg, where LICENSE.txt is GPL v2 but in README.txt 
the author writes that the license is LGPL.

 
 The distinction has to be made between «version 2 only» and «version 2 or 
 later» 
 and between «version 3 only» and «version 3 and later» (even when, in that 
 latter case, there is currently no version after 3).

How do I figure this out from the files inside a given libdir?

 
 BTW, there are even cases where it just says GPL without version number.

I believe those cases are where the only info I had was a statement in a README 
or somewhere that said This software is released under the GPL.

-Jonathan

 
 __
 | Mathieu BOUCHARD - téléphone : +1.514.383.3801 - 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


[PD] GPL details WAS: Keyboard shortcuts for nudge, done editing

2011-10-06 Thread Hans-Christoph Steiner
On Thu, 2011-10-06 at 15:46 -0700, Jonathan Wilkes wrote:
 - Original Message -
 
  From: Mathieu Bouchard ma...@artengine.ca
  To: Marvin Humphrey mar...@rectangular.com
  Cc: pd-list@iem.at pd-list@iem.at
  Sent: Thursday, October 6, 2011 5:44 PM
  Subject: Re: [PD] Keyboard shortcuts for nudge, done editing
  
  Le 2011-09-28 à 21:44:00, Marvin Humphrey a écrit :
  
   On Thu, Sep 29, 2011 at 12:44:39AM -0400, Hans-Christoph Steiner wrote:
   In my opinion, using GPLv3 has been the easiest of the options.  It
   means that we can use code that is licensed with a BSD, MIT, Tcl,
   Apache, GPLv2, LGPL, GPLv3, etc..  So its the most compatible to the
   code that's out there, meaning thinking about licenses less writing 
  more
   code that everyone is free to use :)
  
   All I'm gonna say is that I see things from a different angle. :)
  
  I have no idea what the angle is and how that licensing of «overall 
  project» is 
  supposed to work.
  
  I'm lost.
  
  Besides, I just realised that [pd META] says things like «LICENSE GPL v2» 
  or 
  «LICENSE GPL v3» but never «LICENSE GPL v2 OR LATER». Isn't that strange ?
 
 GPL v2 - LICENSE.txt is the GPL v2
 GPL v3 - LICENSE.txt is the GPL v3
 
 Then there are cases like pdogg, where LICENSE.txt is GPL v2 but in 
 README.txt the author writes that the license is LGPL.
 
  
  The distinction has to be made between «version 2 only» and «version 2 or 
  later» 
  and between «version 3 only» and «version 3 and later» (even when, in that 
  latter case, there is currently no version after 3).
 
 How do I figure this out from the files inside a given libdir?
 
  
  BTW, there are even cases where it just says GPL without version number.
 
 I believe those cases are where the only info I had was a statement in a 
 README or somewhere that said This software is released under the GPL.

The GPL includes the or any later version by default, but some people
remove that part.  The Linux kernel is a notable exception, I believe it
says GPLv2 only.  We could adopt the Debian notation for this:

GPLv2+  standard GPL v2 or later
GPLv2   standard GPL v2 only
etc.

.hc



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


Re: [PD] Keyboard shortcuts for nudge, done editing

2011-10-06 Thread Mathieu Bouchard

Le 2011-10-06 à 15:46:00, Jonathan Wilkes a écrit :

Then there are cases like pdogg, where LICENSE.txt is GPL v2 but in 
README.txt the author writes that the license is LGPL.


Ok, this would be plain wrong, if it were the case. Then the author would 
have to be contacted, in order to make things clear.


However :

  head -1 externals/pdogg/LICENSE.txt

gives :

  GNU LIBRARY GENERAL PUBLIC LICENSE

which means LGPL.

The distinction has to be made between «version 2 only» and «version 2 or later» 
and between «version 3 only» and «version 3 and later» (even when, in that 
latter case, there is currently no version after 3).


How do I figure this out from the files inside a given libdir?


You can't. If it can make a difference for the Pd community, then the 
authors of those files have to be contacted so that they rerelease the 
same things with a more precise statement of license than just putting a 
LICENSE.txt file there.



BTW, there are even cases where it just says GPL without version number.


I believe those cases are where the only info I had was a statement in a 
README or somewhere that said This software is released under the GPL.


Yeah. That's also the best you could do with the info that you didn't 
have, but it still means that the info is incomplete.


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


Re: [PD] GPL details WAS: Keyboard shortcuts for nudge, done editing

2011-10-06 Thread Mathieu Bouchard

Le 2011-10-06 à 18:52:00, Hans-Christoph Steiner a écrit :


The GPL includes the or any later version by default,


Actually, it seems not. You have to say « or any later version » 
explicitly.


« Each version is given a distinguishing version number.  If the Program
specifies a version number of this License which applies to it and any
later version, you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. »

It doesn't say what happens if you just state a version number in 
particular, but I don't know why anyone would assume that it means « or 
later » if the text of the license does not say it.


However, in the case of no version number, the GPL then continues like 
this :


« If the Program does not specify a version number of this License, you 
may choose any version ever published by the Free Software Foundation. »


which I take to mean « GPL v1 or later » (which still excludes LGPL, GFDL, 
etc.)



but some people remove that part.


They remove it from the license notice, which is usually a template made 
by the FSF/GNU, but isn't actually part of the GPL. (It's included in the 
license file as an example inside the Appendix, after the line that says : 
« END OF TERMS AND CONDITIONS »)



We could adopt the Debian notation for this:
GPLv2+  standard GPL v2 or later
GPLv2   standard GPL v2 only


Yeah, that one or anything more convenient, but I bet that the Debian 
notation is already sufficiently convenient.


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


Re: [PD] Keyboard shortcuts for nudge, done editing

2011-10-06 Thread Jonathan Wilkes




- Original Message -
 From: Mathieu Bouchard ma...@artengine.ca
 To: Jonathan Wilkes jancs...@yahoo.com
 Cc: Marvin Humphrey mar...@rectangular.com; Simon Wise 
 simonzw...@gmail.com; pd-list@iem.at pd-list@iem.at
 Sent: Thursday, October 6, 2011 5:49 PM
 Subject: Re: [PD] Keyboard shortcuts for nudge, done editing
 
 Le 2011-09-29 à 10:37:00, Jonathan Wilkes a écrit :
 
  Something I was thinking about for the future is a way to model keyboard 
 input
  after the efficiency of 'vi' input.
 
 The efficiency of vi input is only efficient to vi users.

Well, I like staying in home position as much as possible.  The bindings could 
be for arrows as well.

 
 Other people want arrows because they're arrows.

Sure.

 
 If not using arrows, then at least, people expect something where at least 
 the 
 up key is above the down key.
 
  DesireData has a way to edit connections with the keyboard but I found it 
 takes too many
  keystrokes.
 
 Editing the key bindings is the easy part of it...

Right.  The part I'm talking about is this:

[route 0 1 2 3 4 5 6 7]

[s from_rejection_outlet]

How do I make a connection from [route]'s rejection outlet to [s]?  With the 
current DesireData 
keyboard system I select [route] and do ctrl-tab9 times, then 
ctrl-down-array, then ctrl-tab 
2 times, then Enter.  Rather than physically clicking a key nine times, I'd 
like a way to specify 
the xlet number with the number keys, which could cut the number of keystrokes 
in half.  (That's 
what I'm talking about regarding vi efficiency, though it doesn't have to be 
the exact same key 
bindings.)

-Jonathan

 
 __
 | Mathieu BOUCHARD - téléphone : +1.514.383.3801 - Montréal, QC


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


Re: [PD] Keyboard shortcuts for nudge, done editing

2011-10-06 Thread Jonathan Wilkes
- Original Message -

 From: Mathieu Bouchard ma...@artengine.ca
 To: Jonathan Wilkes jancs...@yahoo.com
 Cc: Marvin Humphrey mar...@rectangular.com; pd-list@iem.at 
 pd-list@iem.at
 Sent: Thursday, October 6, 2011 7:03 PM
 Subject: Re: [PD] Keyboard shortcuts for nudge, done editing
 
 Le 2011-10-06 à 15:46:00, Jonathan Wilkes a écrit :
 
  Then there are cases like pdogg, where LICENSE.txt is GPL v2 but in 
 README.txt the author writes that the license is LGPL.
 
 Ok, this would be plain wrong, if it were the case. Then the author would 
 have 
 to be contacted, in order to make things clear.
 
 However :
 
   head -1 externals/pdogg/LICENSE.txt
 
 gives :
 
   GNU LIBRARY GENERAL PUBLIC LICENSE

Ok, I got confused with Library vs. Lesser

LGPL v2 = GNU Library GPL
LGPL v2.1 = GNU Lesser GPL
LGPL v3.0 = most recent GNU Lesser GPL

Is that unambiguous?

 
 which means LGPL.
 
  The distinction has to be made between «version 2 only» and «version 2 
 or later» and between «version 3 only» and «version 3 and later» (even when, 
 in 
 that latter case, there is currently no version after 3).
 
  How do I figure this out from the files inside a given libdir?
 
 You can't. If it can make a difference for the Pd community, then the 
 authors of those files have to be contacted so that they rerelease the same 
 things with a more precise statement of license than just putting a 
 LICENSE.txt 
 file there.
 
  BTW, there are even cases where it just says GPL without version 
 number.
 
  I believe those cases are where the only info I had was a statement in a 
 README or somewhere that said This software is released under the 
 GPL.

Ok, I'll see what I can do.

 
 Yeah. That's also the best you could do with the info that you didn't 
 have, but it still means that the info is incomplete.

Ok.

-Jonathan

 
 __
 | Mathieu BOUCHARD - téléphone : +1.514.383.3801 - Montréal, QC


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