You can get it from svn:
web:
http://pure-data.svn.sourceforge.net/viewvc/pure-data/trunk/externals/template/
svn:
http://pure-data.svn.sourceforge.net/svnroot/pure-data/trunk/externals/template/
.hc
On Sep 10, 2011, at 8:15 PM, Rick T wrote:
Greets Hans
The site seems be down at the moment
Reason: Error reading from remote server
Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/4.4.4-8+etch6 mod_ssl/
2.2.9 OpenSSL/0.9.8o mod_perl/2.0.4 Perl/v5.10.0 Server at
puredata.info Port 80
but just to let you know I did get the make file from the online
site I didn't make it myself there just may have been a typo in it.
I'm just not sure why it's saying "couldn't create" when I try and
add my external in PD
aloha
Rick
On Sat, Sep 10, 2011 at 12:26 PM, Hans-Christoph Steiner <[email protected]
> wrote:
There is no need to write your own build system, use the Library
Template, it'll then build on GNU/Linux, Mac OS X, Windows, Android,
etc.
http://puredata.info/docs/developer/LibraryTemplate
.hc
On Sep 10, 2011, at 5:45 PM, Martin Peach wrote:
It should be -export-dynamic, not -export_dynamic.
Martin
On 2011-09-10 17:34, Rick T wrote:
Greetings All
I'm having trouble getting my external to work, It compiles with no
errors and has 1 warning when I do a make but it completes
successfully see warning below.
cc -export_dynamic -shared -lc -lm -DPD -O2 -funroll-loops
-fomit-frame-pointer -fPIC -Wall -W -Wshadow -Wstrict-prototypes -
Werror
-Wno-unused -Wno-parentheses -Wno-switch -I../../../../pd/src -o
sineq.pd_linux sineq.c
/usr/bin/ld: warning: cannot find entry symbol xport_dynamic;
defaulting
to 0000000000000980
strip --strip-unneeded sineq.pd_linux
make[1]: Leaving directory `/home/rat/Documents/pd/code'
Compilation finished successfully.
I copy over the sineq.pd_linux to the pd-externals directory but
when I
try and add the external in PD it says "couldn't create" on the main
console screen.
Here's a link to the workflow of my thinking and what I'm trying to
do,
notice I have 4 float inputs and 1 signal output
http://dl.dropbox.com/u/6576402/questions/pd/Sine_EQ_Diagram.jpg
Link to code: (Pastebin)
http://pastebin.com/wW9H4pWY
Link to makefile (pastebin)
http://pastebin.com/z9aTYVNY
My external is a reproduction of the sinewave equation with 4 inputs
that are floats and one output signal my logic is to have 4 inlets one
for the frequency,amplitude,phase and vertical offset and an output
for
the created signal. Granted this isn't the final equation but this
will
help me understand how to create the full equation once done. If you
want to see the full equation I'll be using here's a link to it below.
http://dl.dropbox.com/u/6576402/questions/eq1.txt
Basically it's a 1 second periodic signal with the sample rate at
44100
which the equation gives me control over the frequency,amplitude,phase
and vertical offset, which will be controlled by a usb midi
controller.
Another question I have is what do I use for the t (time) for my final
equation is that the t_sample object in PD? or do I need to create a
for loop counting from 1-44100 for a 1 second 44100 sampled equation?
like this link uses
http://www.daniweb.com/software-development/c/threads/354944
PS: I'm compiling on ubuntu 10.04 using gcc
Sorry for the link / information overload. After going over the
d_osc.c, bassemu.c and the pan~ tutorial I'm a little stuck and not
sure
what's causing the issue.
Aloha
Rick
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
----------------------------------------------------------------------------
'You people have such restrictive dress for women,’ she said,
hobbling away in three inch heels and panty hose to finish out
another pink-collar temp pool day. - “Hijab Scene #2", by Mohja Kahf
----------------------------------------------------------------------------
"We have nothing to fear from love and commitment." - New York Senator
Diane Savino, trying to convince the NY Senate to pass a gay marriage
bill
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list