Hi all,
As I may have mentioned in a few other places, I have been working
with a c library for analysis/synthesis known as SMS. The library,
although in flux still, is now capable for performing synthesis in
real-time; I wrote a prototype external that does this by reading a
streaming file from disk.
Now, I want to turn write a set of externals using a buffered
analysis. Originally, I thought that all operations to the buffer
would happen using one external, but this now seems like it will get
too messy once anything more than basic operations are attempted
(something like cross-synthesis would take enough code to constitude
its own external). So, I have decided that, like the process of SMS,
the different modes of operation should be seperated into analysis,
synthesis, and editing. However, they would all still need access to
the same buffer (which could also be its own external, or possibly be
inside the analysis external).
So now I am looking for a way to make it where various externals have
access to the same buffer - a data structure containing a header and
sequential frames of analysis.
I originally thought that outputting a pointer would be the easiest,
but then realized that pd can output 'gpointers', which are not the
same as a void pointer. So it does not look possible to pass a
regular c pointer around in pd land.
I see that [pool] has the ability to share a data space among
different buffers by taking a name as its first argument. I am
digging through its code right now, but am not familiar with the flext
API. I don't yet see how it manages to allow different [pool]'s to
share the same data.
Any suggestions from this list is appreciated..
cheers,
rich
On Jan 27, 2008 6:01 PM, <geiger(a)xdv.org> wrote:
> Quoting Rich E <reakinator(a)gmail.com>:
>
> > Hi Gunter Geiger, pd devs,
> >
> > I have recently begun to write an external for SMS synthesis, by basically
> > porting the command line tool Xavier Serra wrote within the original SMS
> > code (found at http://www.iua.upf.es/~sms/software/Old-SMS-for-NextStep.zip).
> > I was talking to Xavier about this and he mentioned that you almost got an
> > external working with sms.. Before I did too much work, I figured I would
> > ask to see what types of problems you ran into, or if you have any
> > suggestions.
>
> Hi,
>
> I have part of the SMS process implemented, but not as a single external
> but as a collection of externals for generation of windows, peak
> detection, interpolation, FFT resynthesis. These are glued together
> with standard
> pd objects.
> I sort of got stuck trying to figure out how to use the extracted data in
> a meaningful way inside pd.
>
> So, after all,it might be a better approach to do it as a single external and
> program your transformations in C/C++. So maybe the best bet would be
> to have a
> base SMS analysis/synthesis engine and do an external for each effect that
> you want to implement with it.
>
> Gunter
>
>
>
>
>
> >
> > I'm also sending this to the pd-dev list to see if others have suggestions.
> > I figure that I will start by doing just a port of the command line tool,
> > and then later add in features for seeking through frames at any speed and
> > direction, visually manipulating the data, and other fun things. But I
> > would like to know what others think.
> >
> > regards,
> > rich
> >
>
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>
Bugs item #2030557, was opened at 2008-07-28 20:12
Message generated for change (Comment added) made by fbar
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2030557&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: None
Status: Open
Resolution: None
Priority: 8
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: number2 labels ending with '%' cause PD crash
Initial Comment:
In a number2 atom, when a label ending with '%' (or '%_', as well) is used, right-clicking on the number2 box and selecting "Properties" will cause PD to crash.
I have not found any other characters that cause this, and it does not happen with regular number atoms.
pkstone(a)ucdavis.edu
----------------------------------------------------------------------
>Comment By: Frank Barknecht (fbar)
Date: 2008-07-29 19:43
Message:
Logged In: YES
user_id=569446
Originator: NO
Sorry, this is with 0.41.4 vanilla on Linux.
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2008-07-29 19:39
Message:
Logged In: YES
user_id=27104
Originator: NO
Frank, please give more detail, like exact Pd version and exact platform.
----------------------------------------------------------------------
Comment By: Frank Barknecht (fbar)
Date: 2008-07-29 00:02
Message:
Logged In: YES
user_id=569446
Originator: NO
Pd 0.41 doesn't crash, but produces this instead of opening the Properties
dialog:
wrong # args: should be "pdtk_iemgui_dialog id mainheader dim_header wdt
min_wdt wdt_label hgt min_hgt hgt_label rng_header min_rng min_rng_label
max_rng max_rng_label rng_sched lin0_log1 lilo0_label lilo1_label loadbang
steady num_label num snd rcv gui_name gn_dx gn_dy gn_f gn_fs bcol fcol
lcol"
vslider acts the same but interestingly hslider is not affected!
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2008-07-28 22:28
Message:
Logged In: YES
user_id=27104
Originator: NO
Confirmed on Mac OS X 10.4.11/Intel using Pd-extended
0.40.3-extended-20080708 and Pd-0.41-4.
File Added: num2_%_crash.pd
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2008-07-28 20:18
Message:
Logged In: NO
Forgot to mention, this is happening on Pd version
0.40.3-extended-20080724, and also on 0.40.3-extended-20080603.
I don't have any older versions handy to test.
I'm running Intel OS X 10.4.11.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2030557&group_…
Bugs item #2030557, was opened at 2008-07-28 14:12
Message generated for change (Comment added) made by eighthave
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2030557&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: None
Status: Open
Resolution: None
Priority: 8
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: number2 labels ending with '%' cause PD crash
Initial Comment:
In a number2 atom, when a label ending with '%' (or '%_', as well) is used, right-clicking on the number2 box and selecting "Properties" will cause PD to crash.
I have not found any other characters that cause this, and it does not happen with regular number atoms.
pkstone(a)ucdavis.edu
----------------------------------------------------------------------
>Comment By: Hans-Christoph Steiner (eighthave)
Date: 2008-07-29 13:39
Message:
Logged In: YES
user_id=27104
Originator: NO
Frank, please give more detail, like exact Pd version and exact platform.
----------------------------------------------------------------------
Comment By: Frank Barknecht (fbar)
Date: 2008-07-28 18:02
Message:
Logged In: YES
user_id=569446
Originator: NO
Pd 0.41 doesn't crash, but produces this instead of opening the Properties
dialog:
wrong # args: should be "pdtk_iemgui_dialog id mainheader dim_header wdt
min_wdt wdt_label hgt min_hgt hgt_label rng_header min_rng min_rng_label
max_rng max_rng_label rng_sched lin0_log1 lilo0_label lilo1_label loadbang
steady num_label num snd rcv gui_name gn_dx gn_dy gn_f gn_fs bcol fcol
lcol"
vslider acts the same but interestingly hslider is not affected!
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2008-07-28 16:28
Message:
Logged In: YES
user_id=27104
Originator: NO
Confirmed on Mac OS X 10.4.11/Intel using Pd-extended
0.40.3-extended-20080708 and Pd-0.41-4.
File Added: num2_%_crash.pd
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2008-07-28 14:18
Message:
Logged In: NO
Forgot to mention, this is happening on Pd version
0.40.3-extended-20080724, and also on 0.40.3-extended-20080603.
I don't have any older versions handy to test.
I'm running Intel OS X 10.4.11.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2030557&group_…
Bugs item #2030557, was opened at 2008-07-28 20:12
Message generated for change (Comment added) made by fbar
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2030557&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: None
Status: Open
Resolution: None
Priority: 8
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: number2 labels ending with '%' cause PD crash
Initial Comment:
In a number2 atom, when a label ending with '%' (or '%_', as well) is used, right-clicking on the number2 box and selecting "Properties" will cause PD to crash.
I have not found any other characters that cause this, and it does not happen with regular number atoms.
pkstone(a)ucdavis.edu
----------------------------------------------------------------------
>Comment By: Frank Barknecht (fbar)
Date: 2008-07-29 00:02
Message:
Logged In: YES
user_id=569446
Originator: NO
Pd 0.41 doesn't crash, but produces this instead of opening the Properties
dialog:
wrong # args: should be "pdtk_iemgui_dialog id mainheader dim_header wdt
min_wdt wdt_label hgt min_hgt hgt_label rng_header min_rng min_rng_label
max_rng max_rng_label rng_sched lin0_log1 lilo0_label lilo1_label loadbang
steady num_label num snd rcv gui_name gn_dx gn_dy gn_f gn_fs bcol fcol
lcol"
vslider acts the same but interestingly hslider is not affected!
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2008-07-28 22:28
Message:
Logged In: YES
user_id=27104
Originator: NO
Confirmed on Mac OS X 10.4.11/Intel using Pd-extended
0.40.3-extended-20080708 and Pd-0.41-4.
File Added: num2_%_crash.pd
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2008-07-28 20:18
Message:
Logged In: NO
Forgot to mention, this is happening on Pd version
0.40.3-extended-20080724, and also on 0.40.3-extended-20080603.
I don't have any older versions handy to test.
I'm running Intel OS X 10.4.11.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2030557&group_…
Bugs item #2030557, was opened at 2008-07-28 14:12
Message generated for change (Comment added) made by eighthave
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2030557&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: None
Status: Open
Resolution: None
>Priority: 8
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: number2 labels ending with '%' cause PD crash
Initial Comment:
In a number2 atom, when a label ending with '%' (or '%_', as well) is used, right-clicking on the number2 box and selecting "Properties" will cause PD to crash.
I have not found any other characters that cause this, and it does not happen with regular number atoms.
pkstone(a)ucdavis.edu
----------------------------------------------------------------------
>Comment By: Hans-Christoph Steiner (eighthave)
Date: 2008-07-28 16:28
Message:
Logged In: YES
user_id=27104
Originator: NO
Confirmed on Mac OS X 10.4.11/Intel using Pd-extended
0.40.3-extended-20080708 and Pd-0.41-4.
File Added: num2_%_crash.pd
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2008-07-28 14:18
Message:
Logged In: NO
Forgot to mention, this is happening on Pd version
0.40.3-extended-20080724, and also on 0.40.3-extended-20080603.
I don't have any older versions handy to test.
I'm running Intel OS X 10.4.11.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2030557&group_…
Bugs item #2030557, was opened at 2008-07-28 18:12
Message generated for change (Comment added) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2030557&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: number2 labels ending with '%' cause PD crash
Initial Comment:
In a number2 atom, when a label ending with '%' (or '%_', as well) is used, right-clicking on the number2 box and selecting "Properties" will cause PD to crash.
I have not found any other characters that cause this, and it does not happen with regular number atoms.
pkstone(a)ucdavis.edu
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2008-07-28 18:18
Message:
Logged In: NO
Forgot to mention, this is happening on Pd version
0.40.3-extended-20080724, and also on 0.40.3-extended-20080603.
I don't have any older versions handy to test.
I'm running Intel OS X 10.4.11.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2030557&group_…
Bugs item #2030557, was opened at 2008-07-28 18:12
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2030557&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: number2 labels ending with '%' cause PD crash
Initial Comment:
In a number2 atom, when a label ending with '%' (or '%_', as well) is used, right-clicking on the number2 box and selecting "Properties" will cause PD to crash.
I have not found any other characters that cause this, and it does not happen with regular number atoms.
pkstone(a)ucdavis.edu
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2030557&group_…
Patches item #2030539, was opened at 2008-07-28 13:50
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=2030539&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: externals
Group: bugfix
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Martin Peach (mrpeach)
Assigned to: Nobody/Anonymous (nobody)
Summary: moonlib/tabread2 patch
Initial Comment:
(If Antoine Rousseau is listening, this is for you...)
This patch lets the dump message work properly in tabread2. It just appends a 0 to the args in the setup function:
class_addmethod(tabdump_class,(t_method)tabdump_dump,gensym("dump"),A_FLOAT,A_FLOAT,0);
At the moment only one of the args is accepted, the other is always 0.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=2030539&group_…
Bugs item #2029633, was opened at 2008-07-27 14:56
Message generated for change (Comment added) made by eighthave
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2029633&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: pd-extended
Group: None
Status: Open
>Resolution: Later
Priority: 5
Private: No
Submitted By: Thomas Mayer (elvettsemic)
Assigned to: Hans-Christoph Steiner (eighthave)
Summary: libmpeg1 not available with Debian testing (Lenny)
Initial Comment:
Similar to bug no 2026159, libmpeg1 is not available with Debian Lenny (cf. http://packages.debian.org/search?keywords=libmpeg&searchon=names&suite=all…)all). I am not sure which other package renders libmpeg1 obsolete.
----------------------------------------------------------------------
>Comment By: Hans-Christoph Steiner (eighthave)
Date: 2008-07-27 15:57
Message:
Logged In: YES
user_id=27104
Originator: NO
I don't think there is time to fix this before the release, I think more
complicated things have to be fixed before bringing the Lenny build machine
fully up-to-date. Once the release is out, I'll run this to make sure all
of the old libs are removed, then it'll be more "pure" Lenny:
aptitude purge pd-extended
deborphan
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2029633&group_…
Bugs item #2029633, was opened at 2008-07-27 20:56
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2029633&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: pd-extended
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Thomas Mayer (elvettsemic)
Assigned to: Hans-Christoph Steiner (eighthave)
Summary: libmpeg1 not available with Debian testing (Lenny)
Initial Comment:
Similar to bug no 2026159, libmpeg1 is not available with Debian Lenny (cf. http://packages.debian.org/search?keywords=libmpeg&searchon=names&suite=all…)all). I am not sure which other package renders libmpeg1 obsolete.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2029633&group_…