Miller et al,
The current code suggests that this should happen (binbuf_eval calls the
appropriate function), but since canvas_setcurrent is never called, it
fails and returns 0.
Yet, I wonder why message shouldn't be able to pre-parse $0 into a valid
dollarzero (canvas instance), when there will never be a message one
could send into it that could trump this argument (how would one specify
an argument $0 anyhow)? I do understand that message is not meant to
pre-parse values, but shouldn't this be an exception? That way one
creating a message with an instance included does not have to go through
the trouble of creating an [$0] object that needs to be packed with the
rest of the list and then forwarded onward to a message object.
Thoughts?
If others are in favor of this idea, should this take place for all
types of messages passed into message object (bang, list, anything,
blob, etc.)?
--
Ivica Ico Bukvic, D.M.A.
Associate Professor
Computer Music
ICAT Senior Fellow
DISIS, L2Ork
Virginia Tech
School of Performing Arts - 0141
Blacksburg, VA 24061
(540) 231-6139
ico(a)vt.edu
www.performingarts.vt.edudisis.music.vt.edul2ork.music.vt.edu
I have a fix that allows average object to accept arbitrary amount of
arguments to average against, rather than being hardwired to 128. Also,
does checks against negative values passed into the right inlet...
So, where do I submit this?
--
Ivica Ico Bukvic, D.M.A.
Associate Professor
Computer Music
ICAT Senior Fellow
DISIS, L2Ork
Virginia Tech
School of Performing Arts - 0141
Blacksburg, VA 24061
(540) 231-6139
ico(a)vt.edu
www.performingarts.vt.edudisis.music.vt.edul2ork.music.vt.edu
---
** [bugs:#1154] iemlib/mp3play~ missing or forgot to remove its help file**
**Status:** open
**Group:** v0.43
**Created:** Sun Aug 24, 2014 01:17 AM UTC by teo8976
**Last Updated:** Sun Aug 24, 2014 01:17 AM UTC
**Owner:** nobody
Pd version 0.43.4-extended
ubuntu 14.04
In the iemlib folder there's a mp3play~-help.pd help file, but there's no such thing as an mp3play~ object or abstraction either in iemlib or elsewhere.
So either the external is missing, or, if it has been purposefully removed, then somebody forgot to remove the help file.
---
Sent from sourceforge.net because pd-dev(a)lists.iem.at is subscribed to https://sourceforge.net/p/pure-data/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pure-data/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
Hi devs,
Please can someone replace my obsolete email address in svn trunk?
find -not -path "*.svn*" -type f -print0 | \
xargs -0 sed -i "s|claudiusmaximus@goto10.org|claude@mathr.co.uk|g"
Should just be some stuff in pdlua and Gem recursion tutorial.
Thanks,
Claude
--
http://mathr.co.uk
---
** [patches:#529] Fixes for menu layout glitches in Tk Cocoa**
**Status:** open
**Group:** bugfix
**Labels:** pd-extended tk-cocoa
**Created:** Thu Aug 21, 2014 12:55 AM UTC by Kevin Walzer
**Last Updated:** Thu Aug 21, 2014 12:55 AM UTC
**Owner:** Hans-Christoph Steiner
The attached patch improves the layout of menus in Pd-extended when run on the Cocoa version of Tk/Mac. Specifically:
1. Fixes the placement of an "Apple" menu at the end of the main menubar; this is actually not needed at all because other procedures (cf. tkAboutDialog) do the right thing already.
2. Maps the display of the help browser to Tk's native help command on the Mac via tk::mac::ShowHelp.
3. Fixes the graying out of the help menu when the help browser is displayed by removing an unnecessary procedure.
---
Sent from sourceforge.net because pd-dev(a)lists.iem.at is subscribed to https://sourceforge.net/p/pure-data/patches/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pure-data/admin/patches/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
I'm trying to translate CSound code from the FLOSS manuals for a van der
Pol oscillator to make a Pd external. The CSound code is here
http://en.flossmanuals.net/csound/g-physical-modelling/ (you have to scroll
down till you reach the van der Pol section). I think I get what's going on
there, but the results I get when writing the output to an array, are not
the same as the ones provided in th FLOSS manuals.
Here's my perform routine:
t_int *vanDerPol_perform(t_int *w)
{
// Copy the object pointer
t_vanDerPol *x = (t_vanDerPol *) (w[1]);
// Copy signal vector pointers
t_float *frequency = (t_float *) (w[2]);
t_float *factor = (t_float*) (w[3]);
t_float *excitor_freq = (t_float*) (w[4]);
t_float *excitor_amp = (t_float*) (w[5]);
t_float *output = (t_float *) (w[6]);
// Copy the signal vector size
t_int n = w[7];
// Dereference components from the object structure
float twopi = x->x_twopi;
float sr = x->x_sr;
float si = x->x_si;
float si_factor = x->x_sifactor;
float phase = x->x_phase;
float step = (float) EXCITOR_STEPSIZE;
// Local variables
float phase_local;
float drive_sine; // sinewave to excite the oscillator
// van der Pol samples
float aa;
float av = 0;
float ax = 0;
// damping factor
float c;
// Perform the DSP loop
while(n--){
// excitor code
si = *excitor_freq++ * si_factor;
phase_local = phase / step;
drive_sine = cos(phase_local * twopi) * *excitor_amp++;
// van der Pol code
c = 2 - 2 * cos(*frequency++ * twopi / sr);
aa = (-c) * ax + *factor++ * (1 - ax * ax) * av;
av += aa;
ax = ax + av + drive_sine;
*output++ = av;
// update phase
phase += si;
while(phase > step) phase -= step;
while(phase < 0) phase += step;
}
// Update object's variables
x->x_phase = phase;
x->x_si = si;
// Return the next address in the DSP chain
return w + 8;
}
In the FLOSS manuals it says that it is excited by a sine wave oscillator,
so this is what I do in the code above, but I don't know what I'm doing
wrong. Are there specific values I should set for frequency, excitation
frequency, excitation amplitude and damping? The math is over my head to be
honest, so I'm trying to copy an applied example and this code looks much
like the CSound's code...Can someone give some insight?
---
** [bugs:#1153] [pd-extended] udpreceive requires mrpeach/ prefix, udpsend doesn't**
**Status:** open
**Group:** v0.39.2
**Created:** Sat Jul 26, 2014 04:37 PM UTC by teo8976
**Last Updated:** Sat Jul 26, 2014 04:37 PM UTC
**Owner:** nobody
Pd 0.43.4-Extended on Ubuntu 14.04
1 - Use a bare [udpsend] in a patch
2 - Use [mrpeach/udpsend]
3 - Use [udpreceive <someport>]
4 - Use [mrpeach/udpreceive <someport>]
(replacing <someport> by an actual port number
Expected:
either all should work, or only 2 and 4 should work and neither 1 nor 3, depending on whataver is your policy about the namespacing nightmare in Pd Extended.
Observed:
all work except 3.
That is, udpsend works without the mrpeach/ prefix, but udpreceive requires it.
That's inconsistent.
---
Sent from sourceforge.net because pd-dev(a)lists.iem.at is subscribed to https://sourceforge.net/p/pure-data/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pure-data/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
---
** [bugs:#1152] Saving Problem**
**Status:** open
**Group:** v0.39.2
**Created:** Fri Jul 25, 2014 12:48 AM UTC by Anonymous
**Last Updated:** Fri Jul 25, 2014 12:48 AM UTC
**Owner:** nobody
Pd version 0.41.4-extended
Windows 8
Hi everybody,
Today, I worked on a step sequencer for a launchpad mini. I've save it a lot of time before.
This night, I wanted to open it, and then, Pure Data's console printed ": no such object". I've tried to open it with notepad++ to correct the programm manually with the source code, but he can't open it too. He just print "nul" in white on a black rectangle, for 30 000 characters.
The pd file is joined. Maybe someone can open it and correct it..?
Thank you for answering, i'm a little deserate
Kiss
V.Wetzel, France
---
Sent from sourceforge.net because pd-dev(a)lists.iem.at is subscribed to http://sourceforge.net/p/pure-data/bugs/
To unsubscribe from further messages, a project admin can change settings at http://sourceforge.net/p/pure-data/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
(replaying again with correct subject, stupid gmail & mime messages ...)
Does the lua install include lua-config / pkg-config files on Linux? If so,
you could call one of them:
http://manpages.ubuntu.com/manpages/lucid/man1/lua-config50.1.html
That's the best way since it doesnt involve hard coding or overrides except
for weird cases.
> I added the Makefile to /trunk/externalsloaders/pdlua/ in svn.
> The problem I get is that it looks for lua.h in /usr/include/lua but my
> debian system put lua.h in /usr/include/lua5.1. I know if you get lua
> independently of debian it will go into /usr/include/lua. What is the best
> way to resolve this path for the different versions and different packages?
> Is a configure script needed to set LUA_CFLAGS and LUA_LIBS?
--
Dan Wilcox
danomatika.comrobotcowboy.com
Does the lua install include lua-config / pkg-config files on Linux? If so,
you could call one of them:
http://manpages.ubuntu.com/manpages/lucid/man1/lua-config50.1.html
That's the best way since it doesnt involve hard coding or overrides except
for weird cases.
> I added the Makefile to /trunk/externalsloaders/pdlua/ in svn.
> The problem I get is that it looks for lua.h in /usr/include/lua but my
> debian system put lua.h in /usr/include/lua5.1. I know if you get lua
> independently of debian it will go into /usr/include/lua. What is the best
> way to resolve this path for the different versions and different packages?
> Is a configure script needed to set LUA_CFLAGS and LUA_LIBS?
>
--
Dan Wilcox
danomatika.comrobotcowboy.com