Hi. First post here :)
I just spent a couple of hours figuring out why a c++ program I compiled on
windows (not my main OS) would not run. I am linking my program with
libstdc++ and compiling with the MinGW toolset.
Now, I have pd-extended installed on the same machine and when it
installed, it put it's own copy of libstdc++ in c:\WINDOWS\system32. The
way Windows loads libraries is: first looks on the directory where the exe
is, then it looks on the system folder and then it looks on the …
[View More]PATH.
The problem with my program was, then, that the MinGW linker did not like
the version of libstdc++ put in the system folder by pd-extended installer.
Uninstalling pd-extended "fixed" the issue.
So, I just want to throw this out there: Should the pd-extended installers
avoid putting libraries on the system folder to avoid this kind of
confusion?
My 2 cents.
Thanks!
:)
--
Rafael Vega
email.rafa(a)gmail.com
[View Less]
---
** [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 …
[View More]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.
[View Less]
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 …
[View More]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.
[View Less]
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 …
[View More]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?
[View Less]