Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
nerrons
purr-data
Commits
c09944f8
Commit
c09944f8
authored
Aug 22, 2017
by
Jonathan Wilkes
Browse files
Merge branch 'jwarmbook/purr-data-external-tests-revised'
parents
76fdb7e0
4de72424
Changes
1000
Hide whitespace changes
Inline
Side-by-side
Too many changes to show.
To preserve performance only
1000 of 1000+
files are displayed.
Plain diff
Email patch
.gitlab-ci.yml
View file @
c09944f8
...
...
@@ -11,7 +11,7 @@ debian_stable_i386_deb:
-
./tar_em_up.sh -B
-
cd ..
-
echo "" | sudo -S DEBIAN_FRONTEND=noninteractive dpkg --force-all -i pd-l2ork*.deb > /dev/null
-
pd-l2ork -nogui -nrt -noaudio scripts/
load_all_binarie
s.pd
-
pd-l2ork
-noprefs -nostdpath
-nogui -nrt -noaudio scripts/
external-test
s.pd
artifacts
:
expire_in
:
1 day
paths
:
...
...
@@ -30,7 +30,7 @@ debian_stable_amd64_deb:
-
./tar_em_up.sh -B
-
cd ..
-
echo "" | sudo -S DEBIAN_FRONTEND=noninteractive dpkg --force-all -i pd-l2ork*.deb > /dev/null
-
pd-l2ork -nogui -nrt -noaudio scripts/
load_all_binarie
s.pd
-
pd-l2ork
-noprefs -nostdpath
-nogui -nrt -noaudio scripts/
external-test
s.pd
artifacts
:
expire_in
:
1 day
paths
:
...
...
@@ -49,7 +49,8 @@ ubuntu_14.04_i386_deb:
-
./tar_em_up.sh -B
-
cd ..
-
echo "" | sudo -S DEBIAN_FRONTEND=noninteractive dpkg --force-all -i pd-l2ork*.deb > /dev/null
-
pd-l2ork -nogui -nrt -noaudio scripts/load_all_binaries.pd
-
cd scripts
-
valgrind pd-l2ork -noprefs -nostdpath -nogui -nrt -noaudio external-tests.pd
artifacts
:
expire_in
:
1 day
paths
:
...
...
@@ -68,7 +69,9 @@ ubuntu_14.04_amd64_deb:
-
./tar_em_up.sh -B
-
cd ..
-
echo "" | sudo -S DEBIAN_FRONTEND=noninteractive dpkg --force-all -i pd-l2ork*.deb > /dev/null
-
pd-l2ork -nogui -nrt -noaudio scripts/load_all_binaries.pd
-
cd scripts
-
valgrind pd-l2ork -noprefs -nostdpath -nogui -nrt -noaudio external-tests.pd
artifacts
:
expire_in
:
1 day
paths
:
...
...
@@ -87,7 +90,9 @@ ubuntu_16.04_amd64_deb:
-
./tar_em_up.sh -B
-
cd ..
-
echo "" | sudo -S DEBIAN_FRONTEND=noninteractive dpkg --force-all -i pd-l2ork*.deb > /dev/null
-
pd-l2ork -nogui -nrt -noaudio scripts/load_all_binaries.pd
-
cd scripts
-
valgrind pd-l2ork -noprefs -nostdpath -nogui -nrt -noaudio external-tests.pd
artifacts
:
expire_in
:
1 day
paths
:
...
...
@@ -102,6 +107,8 @@ osx_amd64_dmg:
-
echo `pwd`
-
cd l2ork_addons
-
./tar_em_up.sh -X
-
cd ../scripts
-
../packages/darwin_app/build/*.app/Contents/Resources/app.nw/bin/pd-l2ork -noprefs -nostdpath -nogui -noaudio external-tests.pd
artifacts
:
expire_in
:
1 day
paths
:
...
...
@@ -116,25 +123,13 @@ osx_10.8_amd64_dmg:
-
echo `pwd`
-
cd l2ork_addons
-
osx_version=10.8 ./tar_em_up.sh -X
-
cd ../scripts
-
../packages/darwin_app/build/*.app/Contents/Resources/app.nw/bin/pd-l2ork -noprefs -nostdpath -nogui -noaudio external-tests.pd
artifacts
:
expire_in
:
1 day
paths
:
-
Pd*.dmg
debian_stable_arm_deb
:
tags
:
-
debian
-
arm
-
stable
script
:
-
echo `pwd`
-
cd l2ork_addons
-
./tar_em_up.sh -r
artifacts
:
expire_in
:
1 day
paths
:
-
pd*.deb
windows_i386_installer
:
tags
:
-
windows
...
...
@@ -143,6 +138,8 @@ windows_i386_installer:
-
echo `pwd`
-
cd l2ork_addons
-
./tar_em_up.sh -Z
-
cd ../scripts
-
../packages/win32_inno/build/bin/pd.exe -noprefs -nostdpath -nogui -noaudio external-tests.pd
artifacts
:
expire_in
:
1 day
paths
:
...
...
.gitmodules
View file @
c09944f8
...
...
@@ -15,4 +15,4 @@
url = https://git.purrdata.net/jwilkes/Gem.git
[submodule "externals/lyonpotpourri"]
path = externals/lyonpotpourri
url = https://git
hub.com/ericlyon
/lyonpotpourri3.0.git
url = https://git
.purrdata.net/jwilkes
/lyonpotpourri3.0.git
externals/Makefile
View file @
c09944f8
...
...
@@ -129,7 +129,7 @@ CXXFLAGS = $(CFLAGS)
#
# WARNING! this MUST be all on one line because the automatic package
# building scripts rely on it being that way.
LIB_TARGETS
=
adaptive arraysize autotune bassemu boids bsaylor comport creb cxc cyclone disis earplug ekext ext13 fftease fluid freeverb ggee hcs iem_ambi iem_bin_ambi iemlib iemgui iemguts iem_adaptfilt iemmatrix iemxmlrpc iem_delay iem_roomsim iem_spec2 iem_tab jasch_lib
loaders-hexloader
loaders-libdir lyonpotpourri mapping markex maxlib mjlib moocow moonlib motex mrpeach oscx pan pdcontainer pddp pdogg plugin pmpd rjlib sigpack smlib tof unauthorized vbap windowing zexy
LIB_TARGETS
=
adaptive arraysize autotune bassemu boids bsaylor comport creb cxc cyclone disis earplug ekext ext13 fftease fluid freeverb ggee hcs iem_ambi iem_bin_ambi iemlib iemgui iemguts iem_adaptfilt iemmatrix iemxmlrpc iem_delay iem_roomsim iem_spec2 iem_tab jasch_lib loaders-libdir lyonpotpourri mapping markex maxlib mjlib moocow moonlib motex mrpeach oscx pan pdcontainer pddp pdogg plugin pmpd rjlib sigpack smlib tof unauthorized vbap windowing zexy
# DISABLED: flatgui
...
...
@@ -937,7 +937,7 @@ iem16_install: iem16
install
-d
$(DESTDIR)$(objectsdir)
/
$(IEM16_NAME)
$(scripts_src)
/generate-libdir-metafile.sh
$(DESTDIR)$(objectsdir)
$(IEM16_NAME)
\
--author
"IOhannes m zmoelnig"
\
--description
"16bit table
,
array objects for low memory usage"
\
--description
"16bit table
/
array objects for low memory usage"
\
--license
"GNU GPL"
\
--version
"0.1"
install
-p
$(IEM16_DIR)
/
*
.
$(EXTENSION)
$(DESTDIR)$(objectsdir)
/
$(IEM16_NAME)
...
...
@@ -1108,29 +1108,6 @@ jasch_lib_clean:
-
rm
-f
--
$(externals_src)
/jasch_lib/
*
/
*
.bak
-
rm
-f
--
$(externals_src)
/jasch_lib/
*
/
*
.
*
~
#------------------------------------------------------------------------------#
# LOADERS-HEXLOADER
LOADERS-HEXLOADER_NAME
=
hexloader
LOADERS-HEXLOADER_OBJECTS
:=
$(externals_src)
/loaders/hexloader/hexloader.c
loaders-hexloader
:
$(LOADERS-HEXLOADER_OBJECTS:.c=.$(EXTENSION))
echo
$
(
LOADERS-HEXLOADER_OBJECTS
)
loaders-hexloader_install
:
loaders-hexloader
install
-d
$(DESTDIR)$(objectsdir)
/
$
(
LOADERS-HEXLOADER_NAME
)
install
-p
$
(
LOADERS-HEXLOADER_OBJECTS:.c
=
.
$(EXTENSION)
)
\
$(DESTDIR)$(objectsdir)
/
$
(
LOADERS-HEXLOADER_NAME
)
install
-p
$(externals_src)
/loaders/hexloader/README.txt
\
$(externals_src)
/loaders/hexloader/FAQ.txt
\
$(DESTDIR)$(objectsdir)
/
$
(
LOADERS-HEXLOADER_NAME
)
loaders-hexloader_clean
:
-
rm
-f
--
$
(
LOADERS-HEXLOADER_OBJECTS:.c
=
.
$(EXTENSION)
)
-
rm
-f
--
$(externals_src)
/loaders/hexloader/
*
.o
-
rm
-f
--
$(externals_src)
/loaders/
*
.bak
-
rm
-f
--
$(externals_src)
/loaders/hexloader/
*
.
*
~
#------------------------------------------------------------------------------#
# LOADERS-LIBDIR
loaders-libdir
:
...
...
@@ -1857,26 +1834,26 @@ zexy_install: zexy
# add missing aliases
# can't do these on Windows because FAT, NTFS don't support these chars in filenames
# on Windows, these are faked in by loading them as libs
ifneq
($(OS_NAME),windows)
test
-e
$(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/..$(EXTENSION)
||
\
ln
-s
0x2e.$(EXTENSION)
\
$(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/..$(EXTENSION)
test
-e
'$(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/&&~.$(EXTENSION)'
||
\
ln
-s
0x260x26
0x7
e.$(EXTENSION)
\
'$(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/&&~.$(EXTENSION)'
test
-e
'$(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/<~.$(EXTENSION)'
||
\
ln
-s
0x3c
0x7
e.$(EXTENSION)
\
'$(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/<~.$(EXTENSION)'
test
-e
'$(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/==~.$(EXTENSION)'
||
\
ln
-s
0x3d0x3d
0x7
e.$(EXTENSION)
\
'$(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/==~.$(EXTENSION)'
test
-e
'$(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/>~.$(EXTENSION)'
||
\
ln
-s
0x3e
0x7
e.$(EXTENSION)
\
'$(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/>~.$(EXTENSION)'
test
-e
'$(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/||~.$(EXTENSION)'
||
\
ln
-s
0x7c0x7c
0x7
e.$(EXTENSION)
\
'$(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/||~.$(EXTENSION)'
endif
#
ifneq ($(OS_NAME),windows)
#
test -e $(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/..$(EXTENSION) || \
#
ln -s 0x2e.$(EXTENSION) \
#
$(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/..$(EXTENSION)
#
test -e '$(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/&&~.$(EXTENSION)' || \
#
ln -s 0x260x26
_tild
e.$(EXTENSION) \
#
'$(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/&&~.$(EXTENSION)'
#
test -e '$(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/<~.$(EXTENSION)' || \
#
ln -s 0x3c
_tild
e.$(EXTENSION) \
#
'$(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/<~.$(EXTENSION)'
#
test -e '$(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/==~.$(EXTENSION)' || \
#
ln -s 0x3d0x3d
_tild
e.$(EXTENSION) \
#
'$(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/==~.$(EXTENSION)'
#
test -e '$(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/>~.$(EXTENSION)' || \
#
ln -s 0x3e
_tild
e.$(EXTENSION) \
#
'$(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/>~.$(EXTENSION)'
#
test -e '$(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/||~.$(EXTENSION)' || \
#
ln -s 0x7c0x7c
_tild
e.$(EXTENSION) \
#
'$(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/||~.$(EXTENSION)'
#
endif
zexy_clean
:
cd
$(externals_src)
/zexy
&&
./autogen.sh
...
...
externals/OSCx/config.h
View file @
c09944f8
/* config.h. Generated by configure. */
/* config.h. Generated
from config.h.in
by configure. */
externals/OSCx/libOSC/Makefile
View file @
c09944f8
...
...
@@ -4,7 +4,7 @@ ARFLAGS=srv
# DEFS= -Dunix
LIB
=
libOSC.a
CFLAGS
=
-g
-O2
-DUNIX
-Wall
-Wimplicit
-Wunused
-Wmissing-prototypes
-O
2
-fPIC
-I
../libOSC
-I
../../pd/src
-I
../../../pd/src
-I
../src
CFLAGS
=
-g
-O2
-DUNIX
-Wall
-Wimplicit
-Wunused
-Wmissing-prototypes
-O
1
-fPIC
-I
../libOSC
-I
../../pd/src
-I
../../../pd/src
-I
../src
INCLUDES
=
-I
../libOSC
-I
../../pd/src
-I
../../../pd/src
-I
../src
LIBOBJS
=
${LIB}
(
OSC-client.o
)
${LIB}
(
OSC-timetag.o
)
...
...
externals/OSCx/send+dump/Makefile
View file @
c09944f8
LIBS
=
-lc
-lm
LIBS
=
-L
../../../pd/bin
-lc
-lm
LIBOSCDIR
=
../libOSC
LIBOSC
=
${LIBOSCDIR}
/libOSC.a
# strange bug requires this...
CFLAGS
=
-g
-O2
-DUNIX
-Wall
-Wimplicit
-Wunused
-Wmissing-prototypes
-O
2
-fPIC
-I
../libOSC
-I
../../pd/src
-I
../../../pd/src
-I
../src
-I
../libOSC
-I
../../pd/src
-I
../../../pd/src
-I
../src
CFLAGS
=
-g
-O2
-DUNIX
-Wall
-Wimplicit
-Wunused
-Wmissing-prototypes
-O
1
-fPIC
-I
../libOSC
-I
../../pd/src
-I
../../../pd/src
-I
../src
-I
../libOSC
-I
../../pd/src
-I
../../../pd/src
-I
../src
# INCLUDES= -I../libOSC -I../../pd/src -I../../../pd/src -I../src
DUMPOBJS
=
dumpOSC.o
...
...
externals/OSCx/src/Makefile
View file @
c09944f8
...
...
@@ -17,10 +17,10 @@
EXT
=
o
LIBS
=
-lc
-lm
LIBS
=
-L
../../../pd/bin
-lc
-lm
LIBOSC
=
../libOSC/libOSC.a
CFLAGS
=
-g
-O2
-DUNIX
-Wall
-Wimplicit
-Wunused
-Wmissing-prototypes
-O
2
-fPIC
-I
../libOSC
-I
../../pd/src
-I
../../../pd/src
-I
../src
CFLAGS
=
-g
-O2
-DUNIX
-Wall
-Wimplicit
-Wunused
-Wmissing-prototypes
-O
1
-fPIC
-I
../libOSC
-I
../../pd/src
-I
../../../pd/src
-I
../src
INCLUDES
=
-I
../libOSC
-I
../../pd/src
-I
../../../pd/src
-I
../src
LDFLAGS
=
-Wl
,--export-dynamic
-shared
...
...
externals/bsaylor/partconv~.c
View file @
c09944f8
...
...
@@ -345,11 +345,25 @@ static void *partconv_new(t_symbol *s, int argc, t_atom *argv)
t_partconv
*
x
=
(
t_partconv
*
)
pd_new
(
partconv_class
);
outlet_new
(
&
x
->
x_obj
,
gensym
(
"signal"
));
t_atom
sane_defaults
[
2
];
if
(
argc
!=
2
)
{
/* Give some sane defaults with no args so we can at least
instantiate and get to the help patch */
if
(
!
argc
)
{
post
(
"partconv~: warning: no arguments given"
);
SETSYMBOL
(
sane_defaults
,
&
s_
);
SETFLOAT
(
sane_defaults
+
1
,
2
.);
argc
=
2
;
argv
=
sane_defaults
;
}
else
{
post
(
"argc = %d"
,
argc
);
error
(
"partconv~: usage: [partconv~ <arrayname> <partsize>]
\n\t
- partition size must be a power of 2 >= blocksize"
);
return
NULL
;
}
}
x
->
arrayname
=
atom_getsymbol
(
argv
);
...
...
externals/bsaylor/pvoc~.c
View file @
c09944f8
...
...
@@ -315,14 +315,27 @@ static void *pvoc_new(t_symbol *s, int argc, t_atom *argv)
{
t_pvoc
*
x
=
(
t_pvoc
*
)
pd_new
(
pvoc_class
);
int
i
;
t_atom
sane_defaults
[
3
];
inlet_new
(
&
x
->
x_obj
,
&
x
->
x_obj
.
ob_pd
,
&
s_signal
,
&
s_signal
);
// pitch-shift inlet
outlet_new
(
&
x
->
x_obj
,
gensym
(
"signal"
));
if
(
argc
!=
3
)
{
if
(
!
argc
)
{
post
(
"partconv~: warning: no arguments given"
);
SETSYMBOL
(
sane_defaults
,
&
s_
);
SETFLOAT
(
sane_defaults
+
1
,
2
.);
SETFLOAT
(
sane_defaults
+
2
,
2
.);
argc
=
3
;
argv
=
sane_defaults
;
}
else
{
post
(
"argc = %d"
,
argc
);
error
(
"pvoc~: usage: [pvoc~ <arrayname> <fftsize> <overlap>]"
);
return
NULL
;
}
}
x
->
fftsize
=
atom_getfloatarg
(
1
,
argc
,
argv
);
...
...
externals/build/include/g_all_guis.h
View file @
c09944f8
...
...
@@ -97,6 +97,10 @@ typedef struct _iemgui
unsigned
int
x_locked
:
1
;
// 7 matches ([bng] only)
unsigned
int
x_reverse
:
1
;
// 4 matches (sliders only)
unsigned
int
dummy
:
20
;
int
legacy_x
;
// legacy x offset
int
legacy_y
;
// legacy y offset
//int click_x; // click getrect x offset
//int click_y; // click getrect y offset
}
t_iemgui
;
typedef
struct
_bng
...
...
@@ -180,7 +184,7 @@ typedef struct _my_numbox
double
x_k
;
int
x_lin0_log1
;
// bool
char
x_buf
[
IEMGUI_MAX_NUM_LEN
];
int
x_numwidth
;
// unsigned
int
x_numwidth
;
// unsigned
(width in pixels)
int
x_scalewidth
;
/* temporary value for scalehandle */
int
x_scaleheight
;
/* temporary value for scalehandle */
int
x_tmpfontsize
;
/* temporary value for scalehandle */
...
...
@@ -280,3 +284,4 @@ EXTERN void iemgui_out_bang(t_iemgui *x, int o, int chk_putin);
EXTERN
void
iemgui_out_float
(
t_iemgui
*
x
,
int
o
,
int
chk_putin
,
t_float
f
);
EXTERN
void
iemgui_out_list
(
t_iemgui
*
x
,
int
o
,
int
chk_putin
,
t_symbol
*
s
,
int
argc
,
t_atom
*
argv
);
EXTERN
int
sys_legacy
;
// found in s_main.c, used for legacy iemgui positioning
externals/creb/modules/ffpoly.c
View file @
c09944f8
...
...
@@ -31,11 +31,11 @@ typedef struct ffpoly_struct
t_float
x_f
;
t_outlet
*
x_outlet
;
t_
int
*
x_coef
;
t_
int
x_poly_order
;
t_
int
x_field_order
;
int
*
x_coef
;
int
x_poly_order
;
int
x_field_order
;
t_
int
x_lastpackedcoef
;
int
x_lastpackedcoef
;
...
...
@@ -49,7 +49,7 @@ static void ffpoly_compute(t_ffpoly *x, t_floatarg fcoef)
int
in
=
(
int
)
fcoef
;
int
fo
=
x
->
x_field_order
;
int
po
=
x
->
x_poly_order
;
t_
int
*
c
=
x
->
x_coef
;
int
*
c
=
x
->
x_coef
;
int
i
,
out
;
in
%=
fo
;
...
...
@@ -124,8 +124,8 @@ t_class *ffpoly_class;
static
void
*
ffpoly_new
(
t_floatarg
fpolyorder
,
t_floatarg
ffieldorder
)
{
t_
int
polyorder
=
(
int
)
fpolyorder
;
t_
int
fieldorder
=
(
int
)
ffieldorder
;
int
polyorder
=
(
int
)
fpolyorder
;
int
fieldorder
=
(
int
)
ffieldorder
;
t_ffpoly
*
x
=
(
t_ffpoly
*
)
pd_new
(
ffpoly_class
);
...
...
@@ -135,7 +135,7 @@ static void *ffpoly_new(t_floatarg fpolyorder, t_floatarg ffieldorder)
x
->
x_poly_order
=
polyorder
;
x
->
x_field_order
=
fieldorder
;
x
->
x_coef
=
(
t_
int
*
)
malloc
((
x
->
x_poly_order
+
1
)
*
sizeof
(
int
));
x
->
x_coef
=
(
int
*
)
malloc
((
x
->
x_poly_order
+
1
)
*
sizeof
(
int
));
/* set poly to f(x) = x */
ffpoly_coefficients
(
x
,
x
->
x_field_order
);
...
...
externals/cxc/ENV.c
View file @
c09944f8
...
...
@@ -81,8 +81,8 @@ void ENV_setup(void)
ENV_class
=
class_new
(
gensym
(
"ENV"
),
(
t_newmethod
)
ENV_new
,
0
,
sizeof
(
t_ENV
),
0
,
0
);
class_addmethod
(
ENV_class
,
(
t_method
)
ENV_RAND_MAX
,
gensym
(
"RAND_MAX"
),
0
);
class_addmethod
(
ENV_class
,
(
t_method
)
ENV_getenv
,
gensym
(
"getenv"
),
A_SYMBOL
);
class_addmethod
(
ENV_class
,
(
t_method
)
ENV_setenv
,
gensym
(
"setenv"
),
A_SYMBOL
,
A_SYMBOL
);
class_addmethod
(
ENV_class
,
(
t_method
)
ENV_getenv
,
gensym
(
"getenv"
),
A_SYMBOL
,
0
);
class_addmethod
(
ENV_class
,
(
t_method
)
ENV_setenv
,
gensym
(
"setenv"
),
A_SYMBOL
,
A_SYMBOL
,
0
);
class_addfloat
(
ENV_class
,
ENV_float
);
}
externals/cxc/cxc_counter.c
View file @
c09944f8
...
...
@@ -23,7 +23,7 @@ typedef struct _counter
t_outlet
*
t_out2
;
/* the outlet */
}
t_counter
;
void
counter_bang
(
t_counter
*
x
)
static
void
counter_bang
(
t_counter
*
x
)
{
int
sendBang
=
0
;
switch
(
x
->
c_dir
)
...
...
@@ -93,23 +93,23 @@ void counter_bang(t_counter *x)
outlet_bang
(
x
->
t_out2
);
}
void
counter_dir
(
t_counter
*
x
,
t_floatarg
n
)
static
void
counter_dir
(
t_counter
*
x
,
t_floatarg
n
)
{
if
(
n
==
1
||
n
==
2
||
n
==
3
)
x
->
c_dir
=
(
int
)
n
;
else
error
(
"bad dir"
);
}
void
counter_high
(
t_counter
*
x
,
t_floatarg
n
)
static
void
counter_high
(
t_counter
*
x
,
t_floatarg
n
)
{
x
->
c_high
=
(
int
)
n
;
}
void
counter_low
(
t_counter
*
x
,
t_floatarg
n
)
static
void
counter_low
(
t_counter
*
x
,
t_floatarg
n
)
{
x
->
c_low
=
(
int
)
n
;
}
void
counter_reset
(
t_counter
*
x
,
t_symbol
*
s
,
int
argc
,
t_atom
*
argv
)
static
void
counter_reset
(
t_counter
*
x
,
t_symbol
*
s
,
int
argc
,
t_atom
*
argv
)
{
if
(
!
argc
)
{
...
...
@@ -144,7 +144,7 @@ void counter_reset(t_counter *x, t_symbol *s, int argc, t_atom *argv)
outlet_float
(
x
->
t_out1
,
(
float
)
x
->
c_current
);
}
void
counter_clear
(
t_counter
*
x
,
t_symbol
*
s
,
int
argc
,
t_atom
*
argv
)
static
void
counter_clear
(
t_counter
*
x
,
t_symbol
*
s
,
int
argc
,
t_atom
*
argv
)
{
if
(
!
argc
)
{
...
...
@@ -178,7 +178,7 @@ void counter_clear(t_counter *x, t_symbol *s, int argc, t_atom *argv)
}
}
void
*
counter_new
(
t_floatarg
f
,
t_floatarg
g
,
t_floatarg
h
)
/* init vals in struc */
static
void
*
counter_new
(
t_floatarg
f
,
t_floatarg
g
,
t_floatarg
h
)
/* init vals in struc */
{
t_counter
*
x
=
(
t_counter
*
)
pd_new
(
counter_class
);
x
->
t_out1
=
outlet_new
(
&
x
->
x_obj
,
0
);
...
...
externals/cxc/proc.c
View file @
c09944f8
...
...
@@ -213,10 +213,10 @@ void proc_setup(void)
proc_class
=
class_new
(
gensym
(
"proc"
),
(
t_newmethod
)
proc_new
,
0
,
sizeof
(
t_proc
),
0
,
0
);
class_addmethod
(
proc_class
,
(
t_method
)
proc_cpuinfo
,
gensym
(
"cpuinfo"
),
0
);
class_addmethod
(
proc_class
,
(
t_method
)
proc_proc
,
gensym
(
"proc"
),
A_SYMBOL
);
class_addmethod
(
proc_class
,
(
t_method
)
proc_proc
,
gensym
(
"proc"
),
A_SYMBOL
,
0
);
//class_addmethod(proc_class, (t_method)proc_RAND_MAX, gensym("RAND_MAX"), 0);
//class_addmethod(proc_class, (t_method)proc_getenv, gensym("getenv"), A_SYMBOL);
//class_addmethod(proc_class, (t_method)proc_setenv, gensym("setenv"), A_SYMBOL, A_SYMBOL);
//class_addmethod(proc_class, (t_method)proc_getenv, gensym("getenv"), A_SYMBOL
, 0
);
//class_addmethod(proc_class, (t_method)proc_setenv, gensym("setenv"), A_SYMBOL, A_SYMBOL
, 0
);
class_addfloat
(
proc_class
,
proc_float
);
}
externals/ekext/maskxor.c
View file @
c09944f8
...
...
@@ -177,7 +177,7 @@ void maskxor_print(t_maskxor *x)
post
(
"mode = %f, lengthl = %d, lengthr = %d, lengthm = %d"
,
x
->
mode
,
x
->
lengthl
,
x
->
lengthr
,
x
->
lengthm
);
}
void
*
maskxor_new
(
t_symbol
*
s
,
t_floatarg
fmode
)
void
*
maskxor_new
(
t_floatarg
fmode
)
{
int
i
;
t_maskxor
*
x
=
(
t_maskxor
*
)
pd_new
(
maskxor_class
);
...
...
externals/fluid~/ezdac~.pd
deleted
100644 → 0
View file @
76fdb7e0
#N canvas 304 280 450 300 10;
#X obj 224 205 dac~;
#X obj 224 32 inlet~;
#X obj 259 60 inlet~;
#X obj 318 69 tgl 16 0 \$0-d \$0-d DSP 0 -6 1728 8 -260818 -123526
-33289 0 1;
#X msg 318 93 \; pd dsp \$1;
#X obj 69 186 hsl 64 16 0 1 0 0 \$0-v \$0-v volume -2 -6 1728 8 -260818
-123526 -1 0 1;
#X obj 269 108 r \$0-v;
#X obj 262 206 outlet~;
#X obj 166 206 outlet~;
#X obj 357 28 r pd;
#X obj 357 52 route dsp;
#X obj 269 155 line~;
#X msg 269 132 \$1 10;
#X obj 259 180 *~;
#X obj 224 180 *~;
#X connect 1 0 14 0;
#X connect 2 0 13 0;
#X connect 3 0 4 0;
#X connect 6 0 12 0;
#X connect 9 0 10 0;
#X connect 10 0 3 0;
#X connect 11 0 13 1;
#X connect 11 0 14 1;
#X connect 12 0 11 0;
#X connect 13 0 0 1;
#X connect 13 0 7 0;
#X connect 14 0 0 0;
#X connect 14 0 8 0;
#X coords 0 0 1 1 90 55 1;
externals/fluid~/fluid.pd
deleted
100644 → 0
View file @
76fdb7e0
#N canvas 243 11 1015 761 10;
#X text 35 71 A soundfont player using If I Were You \, from www.iiwu.org
;
#X text 173 286 fluid~ wants channel # first: should I change this?
;
#X text 263 595 Program change ("prog" or "p" + chan + value);
#X text 173 254 Note messages start with "note" \, "n" or with nothing
(pure list input): chan + note + velocity;
#X obj 36 34 cnv 15 102 32 empty empty empty 20 12 1 14 -1 -66577 0
;
#X obj 37 35 cnv 15 100 30 empty empty fluid~ 20 15 1 14 -257472 -66577
0;
#X obj 593 55 cnv 15 374 160 empty empty empty 20 12 1 14 -1 -66577
0;
#X text 181 120 "load" soundfonts. Creation argument is possible as
well:;
#X obj 594 56 cnv 15 372 158 empty Notes Soundfonts 20 12 65 14 -228992
-66577 0;
#X msg 650 146 load /usr/lib/awe/sfbank/2gmgsmt.sf2;
#X msg 644 126 load \$1;
#X obj 644 104 openpanel;
#X obj 644 84 bng 15 250 50 0 empty empty empty 0 -6 0 8 -260818 -1
-1;
#X obj 629 171 s \$0-iiwu;
#X obj 375 146 fluid~ notavail.sf2;
#X obj 593 219 cnv 15 374 160 empty empty empty 20 12 1 14 -1 -66577
0;
#X obj 594 220 cnv 15 372 158 empty Notes Notes 20 12 65 14 -228992
-66577 0;
#X obj 837 261 notein;
#X obj 837 283 pack 0 0 0;
#X msg 695 325 n 1 60 0;
#X obj 640 348 s \$0-iiwu;
#X obj 695 281 bang;
#X msg 837 305 \$3 \$1 \$2;
#X obj 837 327 s \$0-iiwu;
#X obj 593 382 cnv 15 374 160 empty empty empty 20 12 1 14 -1 -66577
0;
#X text 159 432 Controller Change: "control" or "c" or "cc" + chan
+ cc# + value;
#X obj 594 383 cnv 15 372 158 empty Notes Controller_Change/Pitch_Bend
20 12 65 14 -228992 -66577 0;
#X obj 632 510 s \$0-iiwu;
#X floatatom 632 425 5 0 0 0 - - -;
#X msg 649 478 c 2 \$1;
#X msg 632 444 control 1 2 \$1;
#X obj 593 546 cnv 15 374 160 empty empty empty 20 12 1 14 -1 -66577
0;
#X obj 594 547 cnv 15 372 158 empty Notes Program_Change 20 12 65 14
-228992 -66577 0;
#X obj 703 664 s \$0-iiwu;
#X msg 703 617 prog 1 \$1;
#X msg 783 617 p 2 \$1;
#X floatatom 703 587 5 0 0 0 - - -;
#X obj 695 239 bng 15 250 50 0 empty empty empty 0 -6 0 8 -24198 -1
-1;
#X floatatom 783 587 5 0 0 0 - - -;
#X floatatom 673 425 5 0 0 0 - - -;
#X msg 695 259 note 1 60 120;
#X obj 741 425 ctlin;
#X msg 741 469 cc \$3 \$2 \$1;
#X obj 741 447 pack 0 0 0;
#X obj 856 433 bendin;
#X obj 856 455 pack 0 0;
#X obj 856 499 s \$0-iiwu;
#X msg 856 477 bend \$2 \$1;
#X text 159 464 Pitch Bend works the same: "bend" or "b" + chan + val
;
#X msg 857 611 bank 1 \$1;
#X floatatom 857 592 5 0 0 0 - - -;
#X text 857 632 bank select;
#X obj 789 224 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
1;
#X obj 715 224 metro 1000;
#X obj 695 303 del 500;
#X obj 40 261 cnv 15 102 32 empty empty empty 20 12 1 14 -1 -66577
0;
#X obj 41 262 cnv 15 100 30 empty empty empty 20 15 1 14 -257472 -66577
0;
#X obj 66 269 fluid~;
#X obj 43 342 ezdac~;
#X obj 66 199 r \$0-iiwu;
#X msg 66 233 help;
#X connect 9 0 13 0;
#X connect 10 0 13 0;
#X connect 11 0 10 0;
#X connect 12 0 11 0;
#X connect 17 0 18 0;
#X connect 17 1 18 1;
#X connect 17 2 18 2;
#X connect 18 0 22 0;
#X connect 19 0 20 0;
#X connect 21 0 54 0;
#X connect 22 0 23 0;
#X connect 28 0 30 0;
#X connect 29 0 27 0;
#X connect 30 0 27 0;
#X connect 34 0 33 0;
#X connect 35 0 33 0;
#X connect 36 0 34 0;
#X connect 37 0 40 0;
#X connect 38 0 35 0;
#X connect 39 0 29 0;
#X connect 40 0 20 0;
#X connect 40 0 21 0;
#X connect 41 0 43 0;
#X connect 41 1 43 1;
#X connect 41 2 43 2;
#X connect 42 0 27 0;
#X connect 43 0 42 0;
#X connect 44 0 45 0;
#X connect 44 1 45 1;
#X connect 45 0 47 0;
#X connect 47 0 46 0;
#X connect 49 0 33 0;
#X connect 50 0 49 0;
#X connect 52 0 53 0;
#X connect 53 0 37 0;
#X connect 54 0 19 0;
#X connect 57 0 58 0;
#X connect 57 1 58 1;
#X connect 59 0 57 0;
#X connect 60 0 57 0;
externals/fluid~/fluid~-help.pd
View file @
c09944f8
#N canvas
79 6
1015
7
61 10;
#N canvas
8 25
1015 6
7
1 10;
#X text 35 71 A soundfont player using If I Were You \, from www.iiwu.org
;
#X text 170 296 fluid~ wants channel # first: should I change this?
...
...
@@ -41,7 +41,7 @@
#X obj 594 346 cnv 15 372 158 empty Notes Controller_Change/Pitch_Bend
20 12 1 14 -228992 -66577 0;
#X obj 632 473 s \$0-iiwu;
#X floatatom 632 388 5 0 0 0 - - -;
#X floatatom 632 388 5 0 0 0 - - -
, f 5
;
#X msg 649 441 c 2 \$1;
#X msg 632 407 control 1 2 \$1;
#X obj 593 509 cnv 15 374 160 empty empty empty 20 12 1 14 -1 -66577
...
...
@@ -51,11 +51,11 @@
#X obj 703 627 s \$0-iiwu;
#X msg 703 580 prog 1 \$1;
#X msg 783 580 p 2 \$1;
#X floatatom 703 550 5 0 0 0 - - -;