Re: [PD] a new, better [makefilename] !

2010-08-12 Thread Mathieu Bouchard

On Thu, 12 Aug 2010, Hans-Christoph Steiner wrote:


What does sprintf have to do with grids?


ah, now it has something to do with grids.

introducing [#sprintf], sharing almost all of its code with [gf/sprintf] 
(and with [gf/error] too)


  http://gridflow.ca/help/gf/sprintf-help.html
  http://gridflow.ca/help/%23sprintf-help.html
  http://gridflow.ca/help/gf/error-help.html

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


Re: [PD] youtube2pd

2010-08-12 Thread mark edward grimm
yeah works fine run from terminal, just not when opening patch
directly from osx finder.  only error is this:
sys:1: RuntimeWarning: Python C API version mismatch for module pyext:
This Python has API version 1013, module pyext has version 1012.

should this really matter? maybe it does... i dont know.

see output below.




tk scaling is 1.0
Pt_Start() called
sys:1: RuntimeWarning: Python C API version mismatch for module pyext:
This Python has API version 1013, module pyext has version 1012.
sys:1: RuntimeWarning: Python C API version mismatch for module
stdout: This Python has API version 1013, module stdout has version
1012.
sys:1: RuntimeWarning: Python C API version mismatch for module
stderr: This Python has API version 1013, module stderr has version
1012.
FFmpeg version 0.6, Copyright (c) 2000-2010 the FFmpeg developers
  built on Aug 11 2010 15:15:48 with gcc 4.2.1 (Apple Inc. build 5664)
  configuration: --prefix=/opt/local --enable-gpl --enable-postproc
--enable-swscale --enable-avfilter --enable-avfilter-lavf
--enable-libmp3lame --enable-libvorbis --enable-libtheora
--enable-libdirac --enable-libschroedinger --enable-libfaac
--enable-libfaad --enable-libxvid --enable-libx264 --enable-libvpx
--enable-libspeex --enable-nonfree --mandir=/opt/local/share/man
--enable-shared --enable-pthreads --disable-indevs
--cc=/usr/bin/gcc-4.2 --arch=x86_64
  libavutil 50.15. 1 / 50.15. 1
  libavcodec52.72. 2 / 52.72. 2
  libavformat   52.64. 2 / 52.64. 2
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter1.19. 0 /  1.19. 0
  libswscale 1.11. 0 /  1.11. 0
  libpostproc   51. 2. 0 / 51. 2. 0
[flv @ 0x12180c800]Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate:
59.94 (2997/50) -> 29.92 (359/12)
Input #0, flv, from '/youtube2pd/footage/90xhaI8TNgA.flv':
  Metadata:
duration: 13
starttime   : 0
totalduration   : 13
width   : 320
height  : 240
videodatarate   : 218
audiodatarate   : 106
totaldatarate   : 324
framerate   : 30
bytelength  : 553552
canseekontime   : true
sourcedata  : BD075FC41HH1281673145446658
purl:
pmsg:
  Duration: 00:00:13.11, start: 0.00, bitrate: 331 kb/s
Stream #0.0: Video: h264, yuv420p, 320x240 [PAR 1:1 DAR 4:3], 222
kb/s, 29.92 tbr, 1k tbn, 59.94 tbc
Stream #0.1: Audio: aac, 44100 Hz, stereo, s16, 108 kb/s
Output #0, mov, to '/youtube2pd/footage/90xhaI8TNgA.mov':
  Metadata:
encoder : Lavf52.64.2
Stream #0.0: Video: mjpeg, yuvj420p, 640x480 [PAR 1:1 DAR 4:3],
q=2-31, 200 kb/s, 359 tbn, 29.92 tbc
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
frame=  393 fps=299 q=0.0 Lsize=8963kB time=13.14
bitrate=5589.5kbits/s dup=0 drop=1
video:8959kB audio:0kB global headers:0kB muxing overhead 0.041702%
FFmpeg version 0.6, Copyright (c) 2000-2010 the FFmpeg developers
  built on Aug 11 2010 15:15:48 with gcc 4.2.1 (Apple Inc. build 5664)
  configuration: --prefix=/opt/local --enable-gpl --enable-postproc
--enable-swscale --enable-avfilter --enable-avfilter-lavf
--enable-libmp3lame --enable-libvorbis --enable-libtheora
--enable-libdirac --enable-libschroedinger --enable-libfaac
--enable-libfaad --enable-libxvid --enable-libx264 --enable-libvpx
--enable-libspeex --enable-nonfree --mandir=/opt/local/share/man
--enable-shared --enable-pthreads --disable-indevs
--cc=/usr/bin/gcc-4.2 --arch=x86_64
  libavutil 50.15. 1 / 50.15. 1
  libavcodec52.72. 2 / 52.72. 2
  libavformat   52.64. 2 / 52.64. 2
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter1.19. 0 /  1.19. 0
  libswscale 1.11. 0 /  1.11. 0
  libpostproc   51. 2. 0 / 51. 2. 0
[flv @ 0x12180c800]Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate:
59.94 (2997/50) -> 29.92 (359/12)
Input #0, flv, from '/youtube2pd/footage/90xhaI8TNgA.flv':
  Metadata:
duration: 13
starttime   : 0
totalduration   : 13
width   : 320
height  : 240
videodatarate   : 218
audiodatarate   : 106
totaldatarate   : 324
framerate   : 30
bytelength  : 553552
canseekontime   : true
sourcedata  : BD075FC41HH1281673145446658
purl:
pmsg:
  Duration: 00:00:13.11, start: 0.00, bitrate: 331 kb/s
Stream #0.0: Video: h264, yuv420p, 320x240 [PAR 1:1 DAR 4:3], 222
kb/s, 29.92 tbr, 1k tbn, 59.94 tbc
Stream #0.1: Audio: aac, 44100 Hz, stereo, s16, 108 kb/s
Output #0, wav, to '/youtube2pd/footage/90xhaI8TNgAtemp.wav':
  Metadata:
encoder : Lavf52.64.2
Stream #0.0: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
Stream mapping:
  Stream #0.1 -> #0.0
Press [q] to stop encoding
size=2352kB time=13.65 bitrate=1411.2kbits/s
video:0kB audio:2352kB global headers:0kB muxing overhead 0.001827%
Computing levels...
 90

Re: [PD] youtube2pd

2010-08-12 Thread patrick
right, in the footage folder after you downloaded a youtube video, do 
you have -.wav ? if yes, then at least ffmpeg is able to extract a wav 
from the .flv - it means that it should be able to transcode from flv to 
avi / mov.


maybe only the encoding part needs to be adapted:
youscrap.py - line 133

like i said, start pd in a terminal, it should give you more information 
about the problem.


pat

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


Re: [PD] [Gridflow-dev] a new, better [makefilename] !

2010-08-12 Thread Mathieu Bouchard

On Thu, 12 Aug 2010, Jonathan Wilkes wrote:

--- On Thu, 8/12/10, Mathieu Bouchard  wrote:

Can you find any bugs in [gf/sprintf] ?

I haven't checked yet.  How do I get it?


do you have a svn checkout of gridflow ?

then do svn update && ./configure && make

if you don't have one then go see on http://gridflow.ca/

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


Re: [PD] [Gridflow-dev] a new, better [makefilename] !

2010-08-12 Thread Jonathan Wilkes


--- On Thu, 8/12/10, Mathieu Bouchard  wrote:

> From: Mathieu Bouchard 
> Subject: Re: [Gridflow-dev] a new, better [makefilename] !
> To: "Jonathan Wilkes" 
> Cc: pd-list@iem.at, gridflow-...@artengine.ca
> Date: Thursday, August 12, 2010, 10:00 PM
> On Thu, 12 Aug 2010, Jonathan Wilkes
> wrote:
> 
> > Is cyclone/sprintf missing any of these features?
> 
> [cyclone/sprintf %*d]
> [cyclone/sprintf %.*d]
> [cyclone/sprintf %*.*d]
> 
> all print out this to the console :
> 
>     sprintf's error: slot skipped (width
> parameter not supported in a
>     format pattern)
> 
> and naturally anything else with asterisks in their format
> specifiers.
> 
> Actually, [cyclone/sprintf] also silently fails with a
> plain %05d or %5d, for example, as it converts them back to
> float, instead of keeping them as symbols.
> 
> But if I do foo%05dbar, it's fine (though it produces it as
> a selector instead of symbol $1... but that is its
> intention, I suppose...).
> 
> But if I do foo%5dbar, then it's wrong again, as it does
> foo%4dbar instead !
> 
> Can you find any bugs in [gf/sprintf] ?

I haven't checked yet.  How do I get it?

-Jonathan

> 
>  _ _ __ ___ _  _
> _ ...
> | Mathieu Bouchard, Montréal, Québec. téléphone:
> +1.514.383.3801


  

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


Re: [PD] youtube2pd

2010-08-12 Thread mark edward grimm
yeah something like this works fine running the the terminal:

import os
os.system('ffmpeg -i
/Users/megrimm/Desktop/youtube2pd/footage/MuU00Q3RhDg.flv -an -pix_fmt
yuv420p -vcodec mjpeg -s 640x480 -sameq -f mov -y
/Users/megrimm/Desktop/youtube2pd/footage/test.mov')

os.system('ffmpeg -i
/Users/megrimm/Desktop/youtube2pd/footage/MuU00Q3RhDg.flv
/Users/megrimm/Desktop/youtube2pd/footage/temp.wav')
os.system('sox /Users/megrimm/Desktop/youtube2pd/footage/temp.wav -r
44100 /Users/megrimm/Desktop/youtube2pd/footage/test.wav')
os.system('normalize-audio /Users/megrimm/Desktop/youtube2pd/footage/test.wav')



so I am assuming its a path problem with your script? since it
downloads and cleans. although why would it be able to clean the
downloaded file from '+savepath+'/footage/' but not able to find to
transcode?

m


On Thu, Aug 12, 2010 at 1:00 AM, patrick  wrote:
> hi mark,
>
> you can try with a simple python script something like:
>
> import os
> os.system('ffmpeg -i /Users/bla/video.flv -vcodec mjpeg
> /Users/bla/video.avi')
>
> if it's working, then maybe it's a problem with the savepath. also starting
> pd in a terminal might give you more info.
>
> pat
>



-- 

mark edward grimm | m.f.a
IT macintosh engineer | adjunct
syracuse u. | vpa foundations | timearts
mgr...@syr.edu | 315.378.2136
_

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


Re: [PD] [Gridflow-dev] a new, better [makefilename] !

2010-08-12 Thread Mathieu Bouchard

On Thu, 12 Aug 2010, Mathieu Bouchard wrote:


But if I do foo%5dbar, then it's wrong again, as it does foo%4dbar instead !


Oops no, it probably does the right thing internally, but then replaced 
any multi-space sequence by an atom break (that is, it terminates the 
current symbol or float and starts a new one).



Can you find any bugs in [gf/sprintf] ?


(or anything missing that would be useful...)

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


Re: [PD] [Gridflow-dev] a new, better [makefilename] !

2010-08-12 Thread Mathieu Bouchard

On Thu, 12 Aug 2010, Jonathan Wilkes wrote:


Is cyclone/sprintf missing any of these features?


[cyclone/sprintf %*d]
[cyclone/sprintf %.*d]
[cyclone/sprintf %*.*d]

all print out this to the console :

sprintf's error: slot skipped (width parameter not supported in a
format pattern)

and naturally anything else with asterisks in their format specifiers.

Actually, [cyclone/sprintf] also silently fails with a plain %05d or %5d, 
for example, as it converts them back to float, instead of keeping them as 
symbols.


But if I do foo%05dbar, it's fine (though it produces it as a selector 
instead of symbol $1... but that is its intention, I suppose...).


But if I do foo%5dbar, then it's wrong again, as it does foo%4dbar 
instead !


Can you find any bugs in [gf/sprintf] ?

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


Re: [PD] [Gridflow-dev] a new, better [makefilename] !

2010-08-12 Thread Jonathan Wilkes
Is cyclone/sprintf missing any of these features?

--- On Thu, 8/12/10, Mathieu Bouchard  wrote:

> From: Mathieu Bouchard 
> Subject: [Gridflow-dev] a new, better [makefilename] !
> To: pd-list@iem.at, gridflow-...@artengine.ca
> Date: Thursday, August 12, 2010, 7:31 PM
> 
> if you want a sprintf that accepts any number of format
> specifiers, supports %*f, supports %.*f, supports %*.*f, and
> nearly any other that you think of, I finally wrote an
> external that supports it all.
> 
>   [gf/sprintf]
> 
> in GridFlow's SVN. (or future releases starting with 9.11)
> 
> The things it doesn't do, are :
> 
>   %ld (makes no sense in pd. use %d instead.)
>   %lld %hd %hhd %lx ... (same thing)
>   %p %n %m (why ?)
>   %1$d %2$*1$d etc (surely one day)
> 
>  _ _ __ ___ _  _
> _ ...
> | Mathieu Bouchard, Montréal, Québec. téléphone:
> +1.514.383.3801
> -Inline Attachment Follows-
> 
> ___
> Gridflow-dev mailing list
> gridflow-...@lists.artengine.ca
> http://lists.artengine.ca/cgi-bin/mailman/listinfo/gridflow-dev
> 


  

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


Re: [PD] [FM Discuss] Portuguese translation of the PD manual

2010-08-12 Thread Bernardo Barros
yeah. ok :-) My point was based that we (free software guys) have
limited resources. And we (Portuguese speaking free software guys)
have a bit less. Is it nice to have lots of translations? Yes. But
what is the cost?  And this happens a lot with other free software
projects, and with the Wikipedia too. Do we really need two massive
Wikipedias one for each side?

2010/8/12 Mathieu Bouchard :
> On Thu, 12 Aug 2010, Bernardo Barros wrote:
>
>> Sometimes it's just one letter (with the new orography rules this is
>> not a problem anymore),
>
> But do people actually use the new rules ?
>
> The 1990 French reform is essentially ignored where I live... people don't
> seem to care much.
>
>> And for literary works, come on, one just can't rewrite Saramago to
>> Brazilian Portuguese or Guimarães Rosa to European Portuguese. :-)
>
> But, on a different register, François Pérusse has been rerecorded in
> European French, Caméra Café has been completely reshot in Québécois French,
> and american animé such as Simpsons and Flintstones have completely
> different European French and Québécois French dubs.
>
> So, which analogy is better ? :)
>
> One has to remember that pd documentation has a certain style that makes it
> mostly protected from lots of regionalisms yet makes it sensitive to some
> other regionalisms, and it's in a way that is more like scientific and
> technical writing in general, than like poetry, prose, or comedy. So, it's
> important to justify some comparisons...
>
>  _ _ __ ___ _  _ _ ...
> | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801

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


Re: [PD] PdCon 2011?

2010-08-12 Thread João Pais
We should meet in Berlin with others interested in that matter and  
discuss how we can join efforts. I am frequently there and would welcome  
to join a Berlin Pd meeting for instance.


that would be the best way, I guess. at least I was never in Weimar and  
don't know when I'll be there.


I'll be in Berlin the 25th and 26th. Then I'll be away from the 27th to  
the 10th. There might be a Pd-meeting in the first week of September, but  
being one of the two persons organising it (the other is Servando), I  
would like to be there if any Pd-Con subject gets discussed.


Fluency to the Pd meetings has been variable, from 1 to 15 persons. I  
usually can't predict how many persons will be available in the next  
meeting.


João

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


Re: [PD] [FM Discuss] Portuguese translation of the PD manual

2010-08-12 Thread Mathieu Bouchard

On Thu, 12 Aug 2010, Bernardo Barros wrote:


Sometimes it's just one letter (with the new orography rules this is
not a problem anymore),


But do people actually use the new rules ?

The 1990 French reform is essentially ignored where I live... people don't 
seem to care much.



And for literary works, come on, one just can't rewrite Saramago to
Brazilian Portuguese or Guimarães Rosa to European Portuguese. :-)


But, on a different register, François Pérusse has been rerecorded in 
European French, Caméra Café has been completely reshot in Québécois 
French, and american animé such as Simpsons and Flintstones have 
completely different European French and Québécois French dubs.


So, which analogy is better ? :)

One has to remember that pd documentation has a certain style that makes 
it mostly protected from lots of regionalisms yet makes it sensitive to 
some other regionalisms, and it's in a way that is more like scientific 
and technical writing in general, than like poetry, prose, or comedy. So, 
it's important to justify some comparisons...


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


Re: [PD] a new, better [makefilename] !

2010-08-12 Thread Mathieu Bouchard

On Thu, 12 Aug 2010, Hans-Christoph Steiner wrote:


Also, there is already a [sprintf] in cyclone


And it already doesn't support %*d, %.*d, %*.*d !
Half of the point of [gf/sprintf] is to support those features that the 
other [sprintf] classes don't !



What does sprintf have to do with grids?


Nothing. You still want to bring up your idea of splitting GridFlow in 
several parts ? I don't care.


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


Re: [PD] a new, better [makefilename] !

2010-08-12 Thread Hans-Christoph Steiner

What does sprintf have to do with grids?  Also, there is already a
[sprintf] in cyclone which is a clone of Max/MSPs.

.hc

On Thu, 2010-08-12 at 13:31 -0400, Mathieu Bouchard wrote:
> if you want a sprintf that accepts any number of format specifiers, 
> supports %*f, supports %.*f, supports %*.*f, and nearly any other that you 
> think of, I finally wrote an external that supports it all.
> 
>[gf/sprintf]
> 
> in GridFlow's SVN. (or future releases starting with 9.11)
> 
> The things it doesn't do, are :
> 
>%ld (makes no sense in pd. use %d instead.)
>%lld %hd %hhd %lx ... (same thing)
>%p %n %m (why ?)
>%1$d %2$*1$d etc (surely one day)
> 
>   _ _ __ ___ _  _ _ ...
> | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
> ___ 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] c++ objects?

2010-08-12 Thread Mathieu Bouchard

On Thu, 12 Aug 2010, IOhannes m zmoelnig wrote:

On 2010-08-11 22:57, Mathieu Bouchard wrote:

On Wed, 11 Aug 2010, padovani wrote:

I would like to know if there are any Pd objects out there written in
C++...

There are three C++ interfaces to Pd that are currently in use :
 * GridFlow's
 * GEM's
 * Flext

there are more.


I mean generic interfacing tools that make the pd interface more "native" 
to C++. For example, the three above have some system that allows to use 
inheritance and virtual functions (?). But some make more steps to hide 
some long C boilerplate code. For example, GF has a preprocessor that 
allows the C++ code to just get to the point, as all the class_addmethod 
stuff is automated, and even simple data conversions are :


  \decl 2 symbol (string a) {your code goes here}

automatically sets a = std::string($1->s_name); and takes care of 
registering the method name 'symbol' in inlet 2.


e.g. georg holzmann's "PDContainer" (externals/grh/PDContainer) is 
written in C++ (it's a wrapper around the C++ STL) and uses it's own 
interface. georg's interface has no dependencies (apart from c++ and 
pd), whereas flext, gem and gf need to be installed if you use them 
(unless you are just cloning the code)


You mean every C++ thing is wrapped using custom plain C code written for 
each separate occasion, no macros, no shortcuts, no actual framework for 
generalising the use of C++ features in relationship with pd. IMHO, it 
just uses  and nothing else. That's why it has "no dependencies".


But ok, that was not the original question. Well, if you are just looking 
for something that is compiled as C++, there is tclpd, pix_opencv, 
pdp_opencv, ... but they hardly use any C++ features at all. Then there 
are C externals that use a bit of C++, such as pdoctave, and then there 
are externals made with Flext, such as msd and sc4pd.


To find an exhaustive list of them in the pd svn, it's probably sufficient 
to do :


  find externals -iname '*.cpp' -o -iname '*.cc' -o -iname '*.cxx'

and then sort out those that really use C++, from those that use 
essentially C plus one C++ feature out of 1000.


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


Re: [PD] [FM Discuss] Portuguese translation of the PD manual

2010-08-12 Thread Pedro Lopes
>And for literary works, come on, one just can't rewrite Saramago to
>Brazilian Portuguese or Guimarães Rosa to European Portuguese. :-)

Well said. I can help, but only with pt-pt naturally. (sorry for some reason
it feels weird to call it european portuguese =P)

On Thu, Aug 12, 2010 at 7:33 PM, Bernardo Barros
wrote:

> And for literary works, come on, one just can't rewrite Saramago to
> Brazilian Portuguese or Guimarães Rosa to European Portuguese. :-)
>



-- 
Pedro Lopes (ongoing MSc)
contact: pedro.lo...@ist.utl.pt
website: http://web.ist.utl.pt/Pedro.Lopes
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [FM Discuss] Portuguese translation of the PD manual

2010-08-12 Thread Bernardo Barros
Sometimes it's just one letter (with the new orography rules this is
not a problem anymore), sometimes it's the choice of words, sometimes
it's the verb mode, sometimes it is just the way the sentence is
written. But it actually never makes you misunderstand things, at
least for Brazilians, I can't speak for everyone. But if you reach a
situation that can be misunderstood, a footnote is more then enough I
think.

And for literary works, come on, one just can't rewrite Saramago to
Brazilian Portuguese or Guimarães Rosa to European Portuguese. :-)

2010/8/12 Mathieu Bouchard :
> On Wed, 11 Aug 2010, Bernardo Barros wrote:
>
>> Personally I don't see the point why so many materials of pratical use in
>> free software splits the efford make two translations for brazilian and
>> european portuguese. It does even lees sense after the new orthography
>> common to both sides. Ok, I know, there *are* differences, but, come on!,
>> they don't make you misunderstand anything, it's just a different flavor.
>
> Is this something that can be synched using a search-and-replace tool ?
>
>  _ _ __ ___ _  _ _ ...
> | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801

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


Re: [PD] PdCon 2011?

2010-08-12 Thread Max
Hi João, list.

We should meet in Berlin with others interested in that matter and discuss how 
we can join efforts. I am frequently there and would welcome to join a Berlin 
Pd meeting for instance.

m.

Am 11.08.2010 um 19:23 schrieb João Pais:

> I think you understood the question, you just answered it. so it seems simple.
> 
> I don't have the contacts in Berlin to put up something like this. But since 
> am not far from Weimar, wouldn't mind trying to help with something - in case 
> the practical side of it makes it possible.
> 
> 
>>> why Weimar in particular? If in germany, why not Berlin for example? Or
>>> even both?
>>> 
>> 
>> because max is at weimar, and sees (or: has seen) possibilities to get
>> funding to weimar.
>> 
>> i don't really understand the question. PdCon is organized by volunteers
>> at a certain place; nobody choses to make it somewhere but the people
>> who actually do make it.
>> it was not like miller or hans or you stood up and said "hey let's make
>> the pdcon in sao paolo"; it was sao paolo that volunteered to do it (and
>> likewise for graz and montreal).
>> 
>> so if you want to do it in berlin, just volunteer to do it and then do it.
>> (obviously you should sync yourself with other candidates, in order to
>> avoid duplicate effort)
>> 
>> fgmasdr
>> IOhannes

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


Re: [PD] [FM Discuss] Portuguese translation of the PD manual

2010-08-12 Thread Mathieu Bouchard

On Wed, 11 Aug 2010, Bernardo Barros wrote:

Personally I don't see the point why so many materials of pratical use 
in free software splits the efford make two translations for brazilian 
and european portuguese. It does even lees sense after the new 
orthography common to both sides. Ok, I know, there *are* differences, 
but, come on!, they don't make you misunderstand anything, it's just a 
different flavor.


Is this something that can be synched using a search-and-replace tool ?

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


Re: [PD] Gem eating Pd?

2010-08-12 Thread Mathieu Bouchard

On Wed, 11 Aug 2010, chris clepper wrote:


Maybe setting the fps to higher than 60Hz should turn off vsync...


Is there any way to get the actual display frequency ? Not everybody has a 
60 Hz display. It's often 72, 75, 84, 96, etc.


And then is there any way that [gemwin] could use that frequency exactly 
(or a dividend of it : freq/2, freq/3, ...) without any drift in the 
long-term ?


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


Re: [PD] [FM Discuss] Portuguese translation of the PD manual

2010-08-12 Thread Mathieu Bouchard

On Wed, 11 Aug 2010, Vilson Vieira wrote:

yes, it's pt-br. Every translation is interesting not just for the 
native speakers of the target language, but even the original version 
could benefit from that. Translating a document we're revisioning the 
original one, so it's so natural to go back to that and include some 
contribution.


Yes. It's important that the translators are not just blindly translating 
everything they read. That way, it makes the translation effort more worth 
it without much of the cost of a separate review.


The cost of a separate review is that it's pushed back a long time because 
hey, it's not that urgent (it never is...). Having translations means the 
original manual ought to be rather solid, in order to not waste the 
translation effort.


I usually recommend the FLOSS Manual of Pure Data to new users, and they 
don't like so much when discovers that it's written just in english. for 
newcomers it's a pretext to run out.


indeed. it probably is a bigger problem than it seems, nowadays, simply 
because also many people wouldn't admit that English is a reason to run 
out, and so they'd mention any pretext other than English.


But even to someone who knows English very well, manuals written in 
English aren't as inviting as manuals written in one's own language.



Personally I don't like to read translations,


Is it that the translations are not good enough ?

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


[PD] a new, better [makefilename] !

2010-08-12 Thread Mathieu Bouchard


if you want a sprintf that accepts any number of format specifiers, 
supports %*f, supports %.*f, supports %*.*f, and nearly any other that you 
think of, I finally wrote an external that supports it all.


  [gf/sprintf]

in GridFlow's SVN. (or future releases starting with 9.11)

The things it doesn't do, are :

  %ld (makes no sense in pd. use %d instead.)
  %lld %hd %hhd %lx ... (same thing)
  %p %n %m (why ?)
  %1$d %2$*1$d etc (surely one day)

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


Re: [PD] Start patch automatically on bootup with or without monitor (Ubuntu 10.04)

2010-08-12 Thread Bernardo Barros
I don't know but maybe create a perl, python or bash script that
creates 2 instances of PD, one with GUI and other without GUI?

2010/8/12 Ingo Scherzinger :
> Hi there,
>
> is it possible to start a patch automatically on boot up containing both an
> audio and GEM patch either with or without a screen?
>
> I got a patch that contains some kind of gui working with GEM while the main
> audio patch doensn't need any graphics. All editing can be handled with a
> LCD remote unit.
> With the monitor connected everything works as expected. The problem is that
> Ubuntu (10.04) won't boot without any screen connected.
>
> I tried not to start X and fluxbox and go directly to the Pd patches. That
> didn't work!
> It still only boots (in text mode) with the monitor connected.
>
> Is there any way to detect if a monitor is hooked up and connect to some
> kind of a "virtual monitor" if not?
>
> Could VNC be used for that? (Though I don't really need or want a remote
> desktop)
>
> Thanx for any hints,
> Ingo
>
>
> ___
> 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] Start patch automatically on bootup with or without monitor (Ubuntu 10.04)

2010-08-12 Thread cyrille henry


hello,
depending on your gpu, you can override screen detection, so that your computer 
start graphical interface when no screen is detected.
look for xorg configuration.
C

Le 12/08/2010 18:53, Ingo Scherzinger a écrit :

Hi there,

is it possible to start a patch automatically on boot up containing both an
audio and GEM patch either with or without a screen?

I got a patch that contains some kind of gui working with GEM while the main
audio patch doensn't need any graphics. All editing can be handled with a
LCD remote unit.
With the monitor connected everything works as expected. The problem is that
Ubuntu (10.04) won't boot without any screen connected.

I tried not to start X and fluxbox and go directly to the Pd patches. That
didn't work!
It still only boots (in text mode) with the monitor connected.

Is there any way to detect if a monitor is hooked up and connect to some
kind of a "virtual monitor" if not?

Could VNC be used for that? (Though I don't really need or want a remote
desktop)

Thanx for any hints,
Ingo


___
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] Start patch automatically on bootup with or without monitor (Ubuntu 10.04)

2010-08-12 Thread Jose Luis Santorcuato
Hi, maybe is a lofi solution but works...need a cd...

I created an autorun cd on ubuntu...first create an empty file called
“autorun”and edit with gedit or wathever


 *#!/bin/bash
zenity --info –text="you can put what you need or what you like"*


 This file must be in the root directory of cd, not in folders...then the
o.s check your permission and open the file...check...


 Best regards


 José


2010/8/12 Ingo Scherzinger 

> Hi there,
>
> is it possible to start a patch automatically on boot up containing both an
> audio and GEM patch either with or without a screen?
>
> I got a patch that contains some kind of gui working with GEM while the
> main
> audio patch doensn't need any graphics. All editing can be handled with a
> LCD remote unit.
> With the monitor connected everything works as expected. The problem is
> that
> Ubuntu (10.04) won't boot without any screen connected.
>
> I tried not to start X and fluxbox and go directly to the Pd patches. That
> didn't work!
> It still only boots (in text mode) with the monitor connected.
>
> Is there any way to detect if a monitor is hooked up and connect to some
> kind of a "virtual monitor" if not?
>
> Could VNC be used for that? (Though I don't really need or want a remote
> desktop)
>
> Thanx for any hints,
> Ingo
>
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>



-- 

http://arselectronicachile.blogspot.com
http://www.myspace.com/santorcuato
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] Start patch automatically on bootup with or without monitor (Ubuntu 10.04)

2010-08-12 Thread Ingo Scherzinger
Hi there,

is it possible to start a patch automatically on boot up containing both an
audio and GEM patch either with or without a screen?

I got a patch that contains some kind of gui working with GEM while the main
audio patch doensn't need any graphics. All editing can be handled with a
LCD remote unit.
With the monitor connected everything works as expected. The problem is that
Ubuntu (10.04) won't boot without any screen connected.

I tried not to start X and fluxbox and go directly to the Pd patches. That
didn't work!
It still only boots (in text mode) with the monitor connected.

Is there any way to detect if a monitor is hooked up and connect to some
kind of a "virtual monitor" if not?

Could VNC be used for that? (Though I don't really need or want a remote
desktop)

Thanx for any hints,
Ingo


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


Re: [PD] pd on ipad with externals

2010-08-12 Thread Mathieu Bouchard

On Thu, 12 Aug 2010, Andy Farnell wrote:


Dream of drama and tragedy Jack, you old fool :)
The Last Man will dribble "kill me" into his iLife machine
with what's left of his mind. It says "permission denied".


Or "you don't exist. go away."

  http://stason.org/TULARC/os/linux-faq/156-You-don-t-exist-Go-away.html
  http://www.cygwin.com/ml/cygwin/1998-05/msg00522.html
  http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6531556

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


Re: [PD] [FM Discuss] Portuguese translation of the PD manual

2010-08-12 Thread João Pais
I think mainly the object list of the FLOSS Manual needs to be  
translated:

every new user of PD wants a "cheat sheet", and I know it's a right-click
away from them, but some times, at workshops for instance, it's good to  
have

a piece of paper to show all the from-basic-to-powerful objects.


I think exactly the object list is what doesn't pay up to translate. I'll  
try to list the reasons:


- it makes sense to translate the tutorials, as some people can learn the  
techniques faster
- but anyway Pd's operating language is (and it will be for much time)  
english. Since all help files are in english, it's not possible to go  
beyond a certain level in Pd without coping with this. Having the object  
list in english slowly makes people get used to this reality
- I compiled this object list, and am fed up with it - it had to be done  
with copy-paste. Of course I have nothing against someone translating it,  
but I won't be doing it myself.
- this list is, in theory, already obsolete 5 minutes after being done.  
There are always new objects, or (some) existing objects can be changed at  
any time (in real life very few do). so in english it's already not a  
perfect solution, and in another language it will be even less. unless  
someone wants to stick with the list for a long term.
- for now it's not a priority for me, but I will at some point try to find  
an "automatic" way of generating an updated object list of pd-ext (now has  
around 3000 files in the /extra folder). so, don't look at the list as  
something stopped in time, but as something flowing (at a slow speed)


If you want to coordinate some effort to translate the floss manual, I  
suggest to leave the list for the end, or even not do it. But it's my  
suggestion.
I would also suggest to translate the patches that come with Pd - or did  
someone do it already? Many people complain that Pd doesn't has such nice  
tutorial patches as Max-MSP, but it has almost the same ones. People just  
don't know about it.


I don't want to get deeply involved in the organisation, but I put some  
hours at some time translating/revising material. I will do it in pt-pt,  
and whoever wants can change it to br-pt.


João Pais

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


Re: [PD] c++ objects?

2010-08-12 Thread august
> Hi,
>
> I would like to know if there are any Pd objects out there written in  
> C++...
>
> thanks in advance,
> josé
>
> PS: It would be nice to have a C++ version of the examples that are in  
> the externals howto...  
> (http://pdstatic.iem.at/externals-HOWTO/HOWTO-externals-en.html).


I think there are quite a few written in C++.  

AFAIK, you only need to take care about how you declare the setup function.
There may be other C++ -> C issues that I don't know about.  But, in my
externals, this one issue is the only thing I can recall.

For example, the helloworld c code here:

http://pdstatic.iem.at/externals-HOWTO/node3.html#SECTION00036000

in C:
void helloworld_setup(void) 


in C++:
extern "C" void helloworld_setup(void)



-august.

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


Re: [PD] c++ objects?

2010-08-12 Thread IOhannes m zmoelnig
On 2010-08-11 22:57, Mathieu Bouchard wrote:
> On Wed, 11 Aug 2010, padovani wrote:
> 
>> I would like to know if there are any Pd objects out there written in
>> C++...
> 
> There are three C++ interfaces to Pd that are currently in use :
>  * GridFlow's
>  * GEM's
>  * Flext

there are more.
e.g. georg holzmann's "PDContainer" (externals/grh/PDContainer) is
written in C++ (it's a wrapper around the C++ STL) and uses it's own
interface.

georg's interface has no dependencies (apart from c++ and pd), whereas
flext, gem and gf need to be installed if you use them (unless you are
just cloning the code)

gmasdr
IOhannes




smime.p7s
Description: S/MIME Cryptographic Signature
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pd on ipad with externals

2010-08-12 Thread Andy Farnell

Dream of drama and tragedy Jack, you old fool :)
The Last Man will dribble "kill me" into his iLife machine
with what's left of his mind. It says "permission denied".

a.



On Thu, 12 Aug 2010 00:02:49 +0200
Jack  wrote:

> This is the end
> Beautiful friend
> This is the end
> My only friend, the end
> ...
> ++
> 
> Jack
> 
> 
> 
> Le mercredi 11 août 2010 à 20:51 +0100, Andy Farnell a écrit :
> > 
> > My mistake, not _only_ GPL, there is a mix
> > of licenses you are right.
> > 
> > And you've been uncommonly 
> > dilligent in compiling the library,
> > which motivated me to defend those who _did_ 
> > opt for GPL (within RjDj in general)
> > 
> > All the same, this Apple business is making
> > me uncomfortable.
> > 
> > They have become the antithesis of 
> > everything they once held themselves to be.
> > 
> > http://www.youtube.com/watch?v=OYecfV3ubP8
> > 
> > You become what you hate.
> > 
> > Now it's Steve Jobs that needs smashing
> > in the face with a hammer.
> > 
> > 
> > 
> > 
> > 
> > On Wed, 11 Aug 2010 09:51:02 +0200
> > Frank Barknecht  wrote:
> > 
> > > No, Andy, that's not true. I took great care to never include anything
> > > licensed as GPL from anywhere outside Reality Jockey. rj in fact is dual
> > 
> 
> 


-- 
Andy Farnell 

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