Re: [PD] Pd-extended 0.43 updates: lots of new editing features

2011-07-17 Thread athos bacchiocchi
2011/7/5 Hans-Christoph Steiner 

>
> http://autobuild.puredata.**info/auto-build/latest/
>
> I recently did a push to fix key bugs to get the Pd-extended 0.43 nightly
> builds in a useable state.
>


I tried to install it in ubuntu 10.10 maverick (using the corrensponding
i386 deb package).
No icon appeared in the gnome panel menu, using "pd-extended" i get the
"command not found" message.

I checked the /usr/bin folder, and i found "pd", tried to launch it but i
got this:

priority 6 scheduling enabled.
priority 8 scheduling enabled.
sh: /usr/bin/pd-watchdog: not found
Error in startup script: couldn't read file "/usr/tcl//pd-gui.tcl": no such
file or directory

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


Re: [PD] Pd-extended 0.43 updates: lots of new editing features

2011-07-17 Thread Jonathan Wilkes


--- On Sun, 7/17/11, Mathieu Bouchard  wrote:

> From: Mathieu Bouchard 
> Subject: Re: [PD] Pd-extended 0.43 updates: lots of new editing features
> To: "Jonathan Wilkes" 
> Cc: "Martin Peach" , "pd-list" 
> Date: Sunday, July 17, 2011, 8:22 PM
> On Sat, 16 Jul 2011, Jonathan Wilkes
> wrote:
> > --- On Sat, 7/16/11, Mathieu Bouchard 
> wrote:
> >>   3. Tell the value last put in an inlet, if
> it's
> >> currently stored (and
> >>      if the concept makes sense for
> >> that particular inlet).
> > 
> > If this is desired, then it's probably better to do
> everything except draw the tooltip window on the c side.
> 
> Why ?
> 
> > That's plenty.  The only thing that sucks harder
> than being annoyed by tooltips is being annoyed by gigantic
> tooltips <-[gigantic tooltips have lots and lots and lots
> of text inside them. They were designed by geniuses who
> think that informative paragraphs of text are important
> enough to interrupt the main interface view, yet ephemeral
> enough that a single accidental mouse movement of 2 pixels
> can cause the whole tooltip to].
> 
> Well, «tooltips» don't have to be implemented as bad as
> you describe, and for example, they don't have to be
> necessarily tooltips, and they don't have to display
> information that the user doesn't want to see.
> 
> Thus there can be features to display that info differently
> than as tooltips : statusbar, sidebar, or tooltip-like
> boxes that don't necessarily activate on  or
> don't necessarily deactivate on . Implement
> whatever is comfortable and useful.
> 
> What would be a good way to toggle «enable inlet name
> tooltips», «enable method-list tooltips», etc., as
> separate settings ?

Probably just a drop-down list in a menu.

> 
> 
> ___
> | 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] reading a 4-channel aif

2011-07-17 Thread Thomas Grill
Hi Michael,
is the file broken or ok? You can try to play the file with e.g.
Quicktime player (which should play the first two channels) to check
if it's ok.
If yes and it is a 24-bits AIFF file, Pd might have problems to read
it - you would probably have to convert to WAV or dither down to 16
bits.
all the best, Thomas

2011/7/17 Michael Zacherl. :
> Hello,
>
>   for recording four channels I used [open -bytes 3 filename] fed into 
> [writesf~ 4] in an earlier session.
>
> Now I need to split this interleaved sound file up into four mono-files for 
> importing them elsewhere.
> I tried [open filename] -- [readsf~ 4] but just get digital noise.
> Since relying on its detection capabilities doesn't seem to work I tried to 
> specify the  parameters, starting with  [open filename 0 200 4 3 b] .
>
> It changes the noise but doesn't deliver the proper audio stream.
> Admittedly I'm not sure about the header size
> How could I get this to work?
>
> many thanks,  Michael.
>
> --
> hear the colours of noise: http://blauwurf.at
> http://soundcloud.com/noiseconformist
>
>
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list
>



-- 
Thomas Grill
http://g.org

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


Re: [PD] implementing tooltips WAS: Pd-extended 0.43 updates: lots of new editing features

2011-07-17 Thread András Murányi
2011/7/17 Mathieu Bouchard 

> On Sun, 17 Jul 2011, András Murányi wrote:
>
>  Can I have a humble question please? Is it possible to extend [inlet] and
>> [outlet] in a way that I can write [inlet foo] and [outlet bar] and 'foo'
>> and 'bar' become the names of the xlets when no help file available? I still
>> don't understand the depths of programming this so I'm just curious.
>>
>
> It's been already done in Günter's tooltips (2003) but it's conflicting
> with [inlet~]/[outlet~]'s upsampling/downsampling features added by Johannes
> Zmölnig some years later, which also use the $1 fields.
>
>
OK, I see.

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


[PD] reading a 4-channel aif

2011-07-17 Thread Michael Zacherl .
Hello,

   for recording four channels I used [open -bytes 3 filename] fed into 
[writesf~ 4] in an earlier session.

Now I need to split this interleaved sound file up into four mono-files for 
importing them elsewhere.
I tried [open filename] -- [readsf~ 4] but just get digital noise.
Since relying on its detection capabilities doesn't seem to work I tried to 
specify the  parameters, starting with  [open filename 0 200 4 3 b] .

It changes the noise but doesn't deliver the proper audio stream.
Admittedly I'm not sure about the header size
How could I get this to work?

many thanks,  Michael.

--
hear the colours of noise: http://blauwurf.at
http://soundcloud.com/noiseconformist



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


Re: [PD] Pd-extended 0.43 updates: lots of new editing features

2011-07-17 Thread Mathieu Bouchard

On Sat, 9 Jul 2011, Jonathan Wilkes wrote:

I read a white paper on total development cost of a linux distro and 
just remembered "linux".  I think the distro in the paper was Fedora 9, 
which was estimated to be almost an order of magnitude more expensive 
than the Linux kernel.


That estimation model probably considers Linux as a part of Fedora, and 
every other piece of software of Fedora as being part of Fedora.


Do you have any link to that paper ?

 ___
| 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] implementing tooltips WAS: Pd-extended 0.43 updates: lots of new editing features

2011-07-17 Thread Mathieu Bouchard

On Sat, 16 Jul 2011, Jonathan Wilkes wrote:

Is it possible in c to parse a help file for "OUTLET_0 float symbol"? 
That's what I'm currently doing (which is trivial on the tcl side).


Pd is written in C.

Use the binbuf_text() function to parse Pd files.

Pd file parsing is not necessarily trivial on the tcl side. It depends on 
whether you want to accept the files that Pd can produce, or the files 
that Pd can accept. The only non-C-based parser that accepts the same 
thing that Miller's parser accepts, is DesireData's Tcl-based parser.


But for files saved using Pd, it might not make much of a difference, as 
Pd can't save spaces in symbols correctly, anyway (Pd's parser is better 
than Pd's unparser).


What do I have to do to register a new "assistfn"?  I don't really 
understand that part of the source code.


I mean add a new field in t_class, just like savefn is one, and add 
functions to edit it, just like savefn has.


 ___
| 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] Pd-extended 0.43 updates: lots of new editing features

2011-07-17 Thread Mathieu Bouchard

On Sat, 16 Jul 2011, Jonathan Wilkes wrote:

--- On Sat, 7/16/11, Mathieu Bouchard  wrote:

  3. Tell the value last put in an inlet, if it's
currently stored (and
     if the concept makes sense for
that particular inlet).


If this is desired, then it's probably better to do everything except 
draw the tooltip window on the c side.


Why ?

That's plenty.  The only thing that sucks harder than being annoyed by 
tooltips is being annoyed by gigantic tooltips <-[gigantic tooltips have 
lots and lots and lots of text inside them. They were designed by 
geniuses who think that informative paragraphs of text are important 
enough to interrupt the main interface view, yet ephemeral enough that a 
single accidental mouse movement of 2 pixels can cause the whole tooltip 
to].


Well, «tooltips» don't have to be implemented as bad as you describe, and 
for example, they don't have to be necessarily tooltips, and they don't 
have to display information that the user doesn't want to see.


Thus there can be features to display that info differently than as 
tooltips : statusbar, sidebar, or tooltip-like boxes that don't 
necessarily activate on  or don't necessarily deactivate on 
. Implement whatever is comfortable and useful.


What would be a good way to toggle «enable inlet name tooltips», «enable 
method-list tooltips», etc., as separate settings ?


 ___
| 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] Pd-extended 0.43 updates: lots of new editing features

2011-07-17 Thread Mathieu Bouchard

On Mon, 11 Jul 2011, Jonathan Wilkes wrote:

All you add on the pd side is a sys_gui call to create the binding, then 
handle everything else on the tcl side. Does that make sense?


It's one easy way of doing it. You could also define a proc so that the 
contents of the sys_gui call is as short as possible, if that makes any 
difference.



Also doesn't address tooltips for abstractions.


Why ? abstractions have accompanying *-help.pd files too...

 ___
| 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] reorg of puredata.info/docs/developer

2011-07-17 Thread Mathieu Bouchard

On Sat, 16 Jul 2011, Jonathan Wilkes wrote:


Yeah, I meant closing it by clicking the "x" on that window.  That closes the 
patch.


If you want such a patch to be permanent, make it a subpatch of an 
otherwise-empty toplevel patch on which you do "vis 0". In such a case, 
clicking the X never unloads the file.


 ___
| 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] implementing tooltips WAS: Pd-extended 0.43 updates: lots of new editing features

2011-07-17 Thread Jonathan Wilkes
[inlet~] and [outlet~] already take the args "hold" and "lin" for 
upsampling/downsampling.

-Jonathan

--- On Sun, 7/17/11, András Murányi  wrote:

From: András Murányi 
Subject: Re: [PD] implementing tooltips WAS: Pd-extended 0.43 updates: lots of 
new editing features
To: "PD List" 
Date: Sunday, July 17, 2011, 4:30 PM

Can I have a humble question please?
Is it possible to extend [inlet] and [outlet] in a way that I can write [inlet 
foo] and [outlet bar] and 'foo' and 'bar' become the names of the xlets when no 
help file available?


I still don't understand the depths of programming this so I'm just curious.

Andras


-Inline Attachment Follows-

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


Re: [PD] Pd-extended 0.43 updates: lots of new editing features

2011-07-17 Thread Mathieu Bouchard

On Fri, 8 Jul 2011, Jonathan Wilkes wrote:

--- On Sat, 7/9/11, Hans-Christoph Steiner  wrote:


Try getting a patch into the Linux kernel,
that'll make Pd seem like cake ;-)


Yes, I would hope that making changes to the core of the largest free 
software project in the history of computing is a wee bit more difficult 
than making changes to Pd.


It's easy to use the Linux project as a reference, to justify that 
submitting changes to Pd ought to remain hard and that things are just 
fine as they are now. After all, the Linux project is a well-respected 
success story, nevermind that it's a project so different from pd in many 
ways.


Just more expressions of millercentrism... nothing to see, move along...

 ___
| 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] implementing tooltips WAS: Pd-extended 0.43 updates: lots of new editing features

2011-07-17 Thread Mathieu Bouchard

On Sat, 16 Jul 2011, Hans-Christoph Steiner wrote:

If you care about getting it into Vanilla, then Miller said he didn't 
like modifying t_class.  But I suppose someone could lobby him to change 
his mind.


The Pd community surely has plenty of non-matjus who can take care of 
that.


 ___
| 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] implementing tooltips WAS: Pd-extended 0.43 updates: lots of new editing features

2011-07-17 Thread Mathieu Bouchard

On Sun, 17 Jul 2011, András Murányi wrote:

Can I have a humble question please? Is it possible to extend [inlet] 
and [outlet] in a way that I can write [inlet foo] and [outlet bar] and 
'foo' and 'bar' become the names of the xlets when no help file 
available? I still don't understand the depths of programming this so 
I'm just curious.


It's been already done in Günter's tooltips (2003) but it's conflicting 
with [inlet~]/[outlet~]'s upsampling/downsampling features added by 
Johannes Zmölnig some years later, which also use the $1 fields.


 ___
| 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] implementing tooltips WAS: Pd-extended 0.43 updates: lots of new editing features

2011-07-17 Thread András Murányi
Can I have a humble question please?
Is it possible to extend [inlet] and [outlet] in a way that I can write
[inlet foo] and [outlet bar] and 'foo' and 'bar' become the names of the
xlets when no help file available?
I still don't understand the depths of programming this so I'm just curious.

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