From 0ca6f43514c11e30d76618be69fcb995b926d0d5 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sun, 21 Feb 2010 05:08:54 +0000 Subject: ported to new template Makefile and debianized it svn path=/trunk/externals/moonlib/; revision=13184 --- Makefile | 253 ++++++++++++++++++++++++++++++++++++++++++++-- absolutepath-help.pd | 13 +++ basedir-help.pd | 18 ++++ char2f-help.pd | 18 ++++ comma-help.pd | 40 ++++++++ d/d0.gif | Bin 0 -> 231 bytes d/d1.gif | Bin 0 -> 232 bytes d/d10.gif | Bin 0 -> 239 bytes d/d11.gif | Bin 0 -> 238 bytes d/d12.gif | Bin 0 -> 236 bytes d/d13.gif | Bin 0 -> 237 bytes d/d14.gif | Bin 0 -> 237 bytes d/d15.gif | Bin 0 -> 239 bytes d/d16.gif | Bin 0 -> 238 bytes d/d17.gif | Bin 0 -> 234 bytes d/d18.gif | Bin 0 -> 232 bytes d/d19.gif | Bin 0 -> 239 bytes d/d2.gif | Bin 0 -> 237 bytes d/d20.gif | Bin 0 -> 240 bytes d/d21.gif | Bin 0 -> 236 bytes d/d22.gif | Bin 0 -> 236 bytes d/d23.gif | Bin 0 -> 236 bytes d/d24.gif | Bin 0 -> 236 bytes d/d25.gif | Bin 0 -> 234 bytes d/d26.gif | Bin 0 -> 234 bytes d/d27.gif | Bin 0 -> 236 bytes d/d28.gif | Bin 0 -> 235 bytes d/d29.gif | Bin 0 -> 234 bytes d/d3.gif | Bin 0 -> 234 bytes d/d30.gif | Bin 0 -> 233 bytes d/d31.gif | Bin 0 -> 233 bytes d/d32.gif | Bin 0 -> 238 bytes d/d33.gif | Bin 0 -> 233 bytes d/d34.gif | Bin 0 -> 236 bytes d/d35.gif | Bin 0 -> 233 bytes d/d36.gif | Bin 0 -> 235 bytes d/d37.gif | Bin 0 -> 236 bytes d/d38.gif | Bin 0 -> 237 bytes d/d39.gif | Bin 0 -> 236 bytes d/d4.gif | Bin 0 -> 231 bytes d/d40.gif | Bin 0 -> 237 bytes d/d41.gif | Bin 0 -> 235 bytes d/d42.gif | Bin 0 -> 238 bytes d/d43.gif | Bin 0 -> 236 bytes d/d44.gif | Bin 0 -> 230 bytes d/d45.gif | Bin 0 -> 235 bytes d/d46.gif | Bin 0 -> 236 bytes d/d47.gif | Bin 0 -> 235 bytes d/d48.gif | Bin 0 -> 240 bytes d/d49.gif | Bin 0 -> 236 bytes d/d5.gif | Bin 0 -> 238 bytes d/d50.gif | Bin 0 -> 237 bytes d/d51.gif | Bin 0 -> 236 bytes d/d52.gif | Bin 0 -> 234 bytes d/d53.gif | Bin 0 -> 239 bytes d/d54.gif | Bin 0 -> 238 bytes d/d55.gif | Bin 0 -> 240 bytes d/d56.gif | Bin 0 -> 235 bytes d/d57.gif | Bin 0 -> 236 bytes d/d58.gif | Bin 0 -> 236 bytes d/d59.gif | Bin 0 -> 236 bytes d/d6.gif | Bin 0 -> 236 bytes d/d60.gif | Bin 0 -> 235 bytes d/d61.gif | Bin 0 -> 236 bytes d/d62.gif | Bin 0 -> 235 bytes d/d63.gif | Bin 0 -> 229 bytes d/d7.gif | Bin 0 -> 237 bytes d/d8.gif | Bin 0 -> 240 bytes d/d9.gif | Bin 0 -> 237 bytes debian/changelog | 5 + debian/compat | 1 + debian/control | 16 +++ debian/copyright | 13 +++ debian/rules | 16 +++ dinlet~-help.pd | 37 +++++++ dispatch-help.pd | 65 ++++++++++++ dripchar-help.pd | 28 +++++ f2char-help.pd | 18 ++++ f2s-help.pd | 17 ++++ gamme-help.pd | 171 +++++++++++++++++++++++++++++++ help/absolutepath-help.pd | 13 --- help/basedir-help.pd | 18 ---- help/char2f-help.pd | 18 ---- help/comma-help.pd | 40 -------- help/d/d0.gif | Bin 231 -> 0 bytes help/d/d1.gif | Bin 232 -> 0 bytes help/d/d10.gif | Bin 239 -> 0 bytes help/d/d11.gif | Bin 238 -> 0 bytes help/d/d12.gif | Bin 236 -> 0 bytes help/d/d13.gif | Bin 237 -> 0 bytes help/d/d14.gif | Bin 237 -> 0 bytes help/d/d15.gif | Bin 239 -> 0 bytes help/d/d16.gif | Bin 238 -> 0 bytes help/d/d17.gif | Bin 234 -> 0 bytes help/d/d18.gif | Bin 232 -> 0 bytes help/d/d19.gif | Bin 239 -> 0 bytes help/d/d2.gif | Bin 237 -> 0 bytes help/d/d20.gif | Bin 240 -> 0 bytes help/d/d21.gif | Bin 236 -> 0 bytes help/d/d22.gif | Bin 236 -> 0 bytes help/d/d23.gif | Bin 236 -> 0 bytes help/d/d24.gif | Bin 236 -> 0 bytes help/d/d25.gif | Bin 234 -> 0 bytes help/d/d26.gif | Bin 234 -> 0 bytes help/d/d27.gif | Bin 236 -> 0 bytes help/d/d28.gif | Bin 235 -> 0 bytes help/d/d29.gif | Bin 234 -> 0 bytes help/d/d3.gif | Bin 234 -> 0 bytes help/d/d30.gif | Bin 233 -> 0 bytes help/d/d31.gif | Bin 233 -> 0 bytes help/d/d32.gif | Bin 238 -> 0 bytes help/d/d33.gif | Bin 233 -> 0 bytes help/d/d34.gif | Bin 236 -> 0 bytes help/d/d35.gif | Bin 233 -> 0 bytes help/d/d36.gif | Bin 235 -> 0 bytes help/d/d37.gif | Bin 236 -> 0 bytes help/d/d38.gif | Bin 237 -> 0 bytes help/d/d39.gif | Bin 236 -> 0 bytes help/d/d4.gif | Bin 231 -> 0 bytes help/d/d40.gif | Bin 237 -> 0 bytes help/d/d41.gif | Bin 235 -> 0 bytes help/d/d42.gif | Bin 238 -> 0 bytes help/d/d43.gif | Bin 236 -> 0 bytes help/d/d44.gif | Bin 230 -> 0 bytes help/d/d45.gif | Bin 235 -> 0 bytes help/d/d46.gif | Bin 236 -> 0 bytes help/d/d47.gif | Bin 235 -> 0 bytes help/d/d48.gif | Bin 240 -> 0 bytes help/d/d49.gif | Bin 236 -> 0 bytes help/d/d5.gif | Bin 238 -> 0 bytes help/d/d50.gif | Bin 237 -> 0 bytes help/d/d51.gif | Bin 236 -> 0 bytes help/d/d52.gif | Bin 234 -> 0 bytes help/d/d53.gif | Bin 239 -> 0 bytes help/d/d54.gif | Bin 238 -> 0 bytes help/d/d55.gif | Bin 240 -> 0 bytes help/d/d56.gif | Bin 235 -> 0 bytes help/d/d57.gif | Bin 236 -> 0 bytes help/d/d58.gif | Bin 236 -> 0 bytes help/d/d59.gif | Bin 236 -> 0 bytes help/d/d6.gif | Bin 236 -> 0 bytes help/d/d60.gif | Bin 235 -> 0 bytes help/d/d61.gif | Bin 236 -> 0 bytes help/d/d62.gif | Bin 235 -> 0 bytes help/d/d63.gif | Bin 229 -> 0 bytes help/d/d7.gif | Bin 237 -> 0 bytes help/d/d8.gif | Bin 240 -> 0 bytes help/d/d9.gif | Bin 237 -> 0 bytes help/dinlet~-help.pd | 37 ------- help/dispatch-help.pd | 65 ------------ help/dripchar-help.pd | 28 ----- help/f2char-help.pd | 18 ---- help/f2s-help.pd | 17 ---- help/gamme-help.pd | 171 ------------------------------- help/image-help.pd | 104 ------------------- help/makecolor-help.pd | 18 ---- help/mknob-help.pd | 53 ---------- help/panvol~-help.pd | 34 ------- help/pause.gif | Bin 61 -> 0 bytes help/play.gif | Bin 58 -> 0 bytes help/playy.gif | Bin 58 -> 0 bytes help/popen-help.pd | 68 ------------- help/readsfv~-help.pd | 60 ----------- help/rec.gif | Bin 58 -> 0 bytes help/relativepath-help.pd | 13 --- help/s2f-help.pd | 18 ---- help/sarray-help.pd | 93 ----------------- help/saww.gif | Bin 61 -> 0 bytes help/sfread2~-help.pd | 60 ----------- help/sin.gif | Bin 58 -> 0 bytes help/sinw.gif | Bin 61 -> 0 bytes help/slist-help.pd | 61 ----------- help/squarew.gif | Bin 61 -> 0 bytes help/ssaw~-help.pd | 21 ---- help/tabdump2-help.pd | 31 ------ help/tabenv-help.pd | 25 ----- help/tabreadl-help.pd | 26 ----- help/tabsort-help.pd | 32 ------ help/tabsort2-help.pd | 84 --------------- image-help.pd | 104 +++++++++++++++++++ makecolor-help.pd | 18 ++++ mknob-help.pd | 53 ++++++++++ moonlib-meta.pd | 7 ++ panvol~-help.pd | 34 +++++++ pause.gif | Bin 0 -> 61 bytes play.gif | Bin 0 -> 58 bytes playy.gif | Bin 0 -> 58 bytes popen-help.pd | 68 +++++++++++++ readsfv~-help.pd | 60 +++++++++++ readsfv~.c | 7 +- rec.gif | Bin 0 -> 58 bytes relativepath-help.pd | 13 +++ s2f-help.pd | 18 ++++ sarray-help.pd | 93 +++++++++++++++++ saww.gif | Bin 0 -> 61 bytes sfread2~-help.pd | 60 +++++++++++ sin.gif | Bin 0 -> 58 bytes sinw.gif | Bin 0 -> 61 bytes slist-help.pd | 61 +++++++++++ squarew.gif | Bin 0 -> 61 bytes ssaw~-help.pd | 21 ++++ tabdump2-help.pd | 31 ++++++ tabenv-help.pd | 25 +++++ tabreadl-help.pd | 26 +++++ tabsort-help.pd | 32 ++++++ tabsort2-help.pd | 84 +++++++++++++++ wac-help.pd | 4 + 207 files changed, 1533 insertions(+), 1241 deletions(-) create mode 100644 absolutepath-help.pd create mode 100644 basedir-help.pd create mode 100644 char2f-help.pd create mode 100644 comma-help.pd create mode 100644 d/d0.gif create mode 100644 d/d1.gif create mode 100644 d/d10.gif create mode 100644 d/d11.gif create mode 100644 d/d12.gif create mode 100644 d/d13.gif create mode 100644 d/d14.gif create mode 100644 d/d15.gif create mode 100644 d/d16.gif create mode 100644 d/d17.gif create mode 100644 d/d18.gif create mode 100644 d/d19.gif create mode 100644 d/d2.gif create mode 100644 d/d20.gif create mode 100644 d/d21.gif create mode 100644 d/d22.gif create mode 100644 d/d23.gif create mode 100644 d/d24.gif create mode 100644 d/d25.gif create mode 100644 d/d26.gif create mode 100644 d/d27.gif create mode 100644 d/d28.gif create mode 100644 d/d29.gif create mode 100644 d/d3.gif create mode 100644 d/d30.gif create mode 100644 d/d31.gif create mode 100644 d/d32.gif create mode 100644 d/d33.gif create mode 100644 d/d34.gif create mode 100644 d/d35.gif create mode 100644 d/d36.gif create mode 100644 d/d37.gif create mode 100644 d/d38.gif create mode 100644 d/d39.gif create mode 100644 d/d4.gif create mode 100644 d/d40.gif create mode 100644 d/d41.gif create mode 100644 d/d42.gif create mode 100644 d/d43.gif create mode 100644 d/d44.gif create mode 100644 d/d45.gif create mode 100644 d/d46.gif create mode 100644 d/d47.gif create mode 100644 d/d48.gif create mode 100644 d/d49.gif create mode 100644 d/d5.gif create mode 100644 d/d50.gif create mode 100644 d/d51.gif create mode 100644 d/d52.gif create mode 100644 d/d53.gif create mode 100644 d/d54.gif create mode 100644 d/d55.gif create mode 100644 d/d56.gif create mode 100644 d/d57.gif create mode 100644 d/d58.gif create mode 100644 d/d59.gif create mode 100644 d/d6.gif create mode 100644 d/d60.gif create mode 100644 d/d61.gif create mode 100644 d/d62.gif create mode 100644 d/d63.gif create mode 100644 d/d7.gif create mode 100644 d/d8.gif create mode 100644 d/d9.gif create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/rules create mode 100644 dinlet~-help.pd create mode 100644 dispatch-help.pd create mode 100644 dripchar-help.pd create mode 100644 f2char-help.pd create mode 100644 f2s-help.pd create mode 100644 gamme-help.pd delete mode 100644 help/absolutepath-help.pd delete mode 100644 help/basedir-help.pd delete mode 100644 help/char2f-help.pd delete mode 100644 help/comma-help.pd delete mode 100644 help/d/d0.gif delete mode 100644 help/d/d1.gif delete mode 100644 help/d/d10.gif delete mode 100644 help/d/d11.gif delete mode 100644 help/d/d12.gif delete mode 100644 help/d/d13.gif delete mode 100644 help/d/d14.gif delete mode 100644 help/d/d15.gif delete mode 100644 help/d/d16.gif delete mode 100644 help/d/d17.gif delete mode 100644 help/d/d18.gif delete mode 100644 help/d/d19.gif delete mode 100644 help/d/d2.gif delete mode 100644 help/d/d20.gif delete mode 100644 help/d/d21.gif delete mode 100644 help/d/d22.gif delete mode 100644 help/d/d23.gif delete mode 100644 help/d/d24.gif delete mode 100644 help/d/d25.gif delete mode 100644 help/d/d26.gif delete mode 100644 help/d/d27.gif delete mode 100644 help/d/d28.gif delete mode 100644 help/d/d29.gif delete mode 100644 help/d/d3.gif delete mode 100644 help/d/d30.gif delete mode 100644 help/d/d31.gif delete mode 100644 help/d/d32.gif delete mode 100644 help/d/d33.gif delete mode 100644 help/d/d34.gif delete mode 100644 help/d/d35.gif delete mode 100644 help/d/d36.gif delete mode 100644 help/d/d37.gif delete mode 100644 help/d/d38.gif delete mode 100644 help/d/d39.gif delete mode 100644 help/d/d4.gif delete mode 100644 help/d/d40.gif delete mode 100644 help/d/d41.gif delete mode 100644 help/d/d42.gif delete mode 100644 help/d/d43.gif delete mode 100644 help/d/d44.gif delete mode 100644 help/d/d45.gif delete mode 100644 help/d/d46.gif delete mode 100644 help/d/d47.gif delete mode 100644 help/d/d48.gif delete mode 100644 help/d/d49.gif delete mode 100644 help/d/d5.gif delete mode 100644 help/d/d50.gif delete mode 100644 help/d/d51.gif delete mode 100644 help/d/d52.gif delete mode 100644 help/d/d53.gif delete mode 100644 help/d/d54.gif delete mode 100644 help/d/d55.gif delete mode 100644 help/d/d56.gif delete mode 100644 help/d/d57.gif delete mode 100644 help/d/d58.gif delete mode 100644 help/d/d59.gif delete mode 100644 help/d/d6.gif delete mode 100644 help/d/d60.gif delete mode 100644 help/d/d61.gif delete mode 100644 help/d/d62.gif delete mode 100644 help/d/d63.gif delete mode 100644 help/d/d7.gif delete mode 100644 help/d/d8.gif delete mode 100644 help/d/d9.gif delete mode 100644 help/dinlet~-help.pd delete mode 100644 help/dispatch-help.pd delete mode 100644 help/dripchar-help.pd delete mode 100644 help/f2char-help.pd delete mode 100644 help/f2s-help.pd delete mode 100644 help/gamme-help.pd delete mode 100644 help/image-help.pd delete mode 100644 help/makecolor-help.pd delete mode 100644 help/mknob-help.pd delete mode 100644 help/panvol~-help.pd delete mode 100644 help/pause.gif delete mode 100644 help/play.gif delete mode 100644 help/playy.gif delete mode 100644 help/popen-help.pd delete mode 100644 help/readsfv~-help.pd delete mode 100644 help/rec.gif delete mode 100644 help/relativepath-help.pd delete mode 100644 help/s2f-help.pd delete mode 100644 help/sarray-help.pd delete mode 100644 help/saww.gif delete mode 100644 help/sfread2~-help.pd delete mode 100644 help/sin.gif delete mode 100644 help/sinw.gif delete mode 100644 help/slist-help.pd delete mode 100644 help/squarew.gif delete mode 100644 help/ssaw~-help.pd delete mode 100644 help/tabdump2-help.pd delete mode 100644 help/tabenv-help.pd delete mode 100644 help/tabreadl-help.pd delete mode 100644 help/tabsort-help.pd delete mode 100644 help/tabsort2-help.pd create mode 100644 image-help.pd create mode 100644 makecolor-help.pd create mode 100644 mknob-help.pd create mode 100644 moonlib-meta.pd create mode 100644 panvol~-help.pd create mode 100644 pause.gif create mode 100644 play.gif create mode 100644 playy.gif create mode 100644 popen-help.pd create mode 100644 readsfv~-help.pd create mode 100644 rec.gif create mode 100644 relativepath-help.pd create mode 100644 s2f-help.pd create mode 100644 sarray-help.pd create mode 100644 saww.gif create mode 100644 sfread2~-help.pd create mode 100644 sin.gif create mode 100644 sinw.gif create mode 100644 slist-help.pd create mode 100644 squarew.gif create mode 100644 ssaw~-help.pd create mode 100644 tabdump2-help.pd create mode 100644 tabenv-help.pd create mode 100644 tabreadl-help.pd create mode 100644 tabsort-help.pd create mode 100644 tabsort2-help.pd create mode 100644 wac-help.pd diff --git a/Makefile b/Makefile index ae29994..e022bc4 100644 --- a/Makefile +++ b/Makefile @@ -1,18 +1,249 @@ -TARGET := $(shell pwd | sed 's|.*/\(.*\)$$|\1|') -EXTERNALS_ROOT := $(shell pwd | sed 's|^\(/.*externals\).*|\1|') +# To use this Makefile for your project, first put the name of your library in +# LIBRARY_NAME variable. The folder for your project should have the same name +# as your library. +LIBRARY_NAME = moonlib +LIBRARY_VERSION = 0.2 -default: - make -C $(EXTERNALS_ROOT) $(TARGET) +# Next, add your .c source files to the SOURCES variable. The help files will +# be included automatically +SOURCES = absolutepath.c basedir.c char2f.c comma.c dinlet~.c dispatch.c dripchar.c f2char.c gamme.c image.c mknob.c panvol~.c popen.c relativepath.c s2f.c sarray.c sfread2~.c slist.c ssaw~.c tabdump2.c tabenv.c tabreadl.c tabsort2.c tabsort.c wac.c + + +# For objects that only build on certain platforms, add those to the SOURCES +# line for the right platforms. +SOURCES_android = +SOURCES_cygwin = +SOURCES_macosx = +SOURCES_iphoneos = +SOURCES_linux = readsfv~.c +SOURCES_windows = + +# list all pd objects (i.e. myobject.pd) files here, and their helpfiles will +# be included automatically +PDOBJECTS = + +# if you want to include any other files in the source and binary tarballs, +# list them here. This can be anything from header files, READMEs, example +# patches, documentation, etc. +EXTRA_DIST = README.txt XFS.txt pause.gif play.gif playy.gif rec.gif saww.gif sin.gif sinw.gif squarew.gif + +# special case: the 'd' directory of gifs was manually added below + + +#------------------------------------------------------------------------------# +# +# you shouldn't need to edit anything below here, if we did it right :) +# +#------------------------------------------------------------------------------# + +# where Pd lives +PD_PATH = ../../pd +# where to install the library +prefix = /usr/local +libdir = $(prefix)/lib +pkglibdir = $(libdir)/pd-externals +objectsdir = $(pkglibdir) + + +INSTALL = install +INSTALL_FILE = $(INSTALL) -p -m 644 +INSTALL_DIR = $(INSTALL) -p -m 755 -d + +CFLAGS = -DPD -I$(PD_PATH)/src -Wall -W -g +LDFLAGS = +LIBS = +ALLSOURCES := $(SOURCES) $(SOURCES_android) $(SOURCES_cygwin) $(SOURCES_macosx) \ + $(SOURCES_iphoneos) $(SOURCES_linux) $(SOURCES_windows) + +UNAME := $(shell uname -s) +ifeq ($(UNAME),Darwin) + CPU := $(shell uname -p) + ifeq ($(CPU),arm) # iPhone/iPod Touch + SOURCES += $(SOURCES_macosx) + EXTENSION = pd_darwin + OS = iphoneos + IPHONE_BASE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin + CC=$(IPHONE_BASE)/gcc + CPP=$(IPHONE_BASE)/cpp + CXX=$(IPHONE_BASE)/g++ + ISYSROOT = -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk + IPHONE_CFLAGS = -miphoneos-version-min=3.0 $(ISYSROOT) -arch armv6 + OPT_CFLAGS = -fast -funroll-loops -fomit-frame-pointer + CFLAGS := $(IPHONE_CFLAGS) $(OPT_CFLAGS) $(CFLAGS) + LDFLAGS += -arch armv6 -bundle -undefined dynamic_lookup $(ISYSROOT) + LIBS += -lc + STRIP = strip -x + DISTDIR=$(LIBRARY_NAME)-$(LIBRARY_VERSION) + DISTBINDIR=$(DISTDIR)-$(OS) + else # Mac OS X + SOURCES += $(SOURCES_macosx) + EXTENSION = pd_darwin + OS = macosx + OPT_CFLAGS = -ftree-vectorize -ftree-vectorizer-verbose=2 -fast + FAT_FLAGS = -arch i386 -arch ppc -mmacosx-version-min=10.4 + CFLAGS += $(FAT_FLAGS) -fPIC -I/sw/include + LDFLAGS += $(FAT_FLAGS) -bundle -undefined dynamic_lookup -L/sw/lib + # if the 'pd' binary exists, check the linking against it to aid with stripping + LDFLAGS += $(shell test -e $(PD_PATH)/bin/pd && echo -bundle_loader $(PD_PATH)/bin/pd) + LIBS += -lc + STRIP = strip -x + DISTDIR=$(LIBRARY_NAME)-$(LIBRARY_VERSION) + DISTBINDIR=$(DISTDIR)-$(OS) + endif +endif +ifeq ($(UNAME),Linux) + SOURCES += $(SOURCES_linux) + EXTENSION = pd_linux + OS = linux + OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer + CFLAGS += -fPIC + LDFLAGS += -Wl,--export-dynamic -shared -fPIC + LIBS += -lc + STRIP = strip --strip-unneeded -R .note -R .comment + DISTDIR=$(LIBRARY_NAME)-$(LIBRARY_VERSION) + DISTBINDIR=$(DISTDIR)-$(OS)-$(shell uname -m) +endif +ifeq (CYGWIN,$(findstring CYGWIN,$(UNAME))) + SOURCES += $(SOURCES_cygwin) + EXTENSION = dll + OS = cygwin + OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer + CFLAGS += + LDFLAGS += -Wl,--export-dynamic -shared -L$(PD_PATH)/src + LIBS += -lc -lpd + STRIP = strip --strip-unneeded -R .note -R .comment + DISTDIR=$(LIBRARY_NAME)-$(LIBRARY_VERSION) + DISTBINDIR=$(DISTDIR)-$(OS) +endif +ifeq (MINGW,$(findstring MINGW,$(UNAME))) + SOURCES += $(SOURCES_windows) + EXTENSION = dll + OS = windows + OPT_CFLAGS = -O3 -funroll-loops -fomit-frame-pointer -march=i686 -mtune=pentium4 + WINDOWS_HACKS = -D'O_NONBLOCK=1' + CFLAGS += -mms-bitfields $(WINDOWS_HACKS) + LDFLAGS += -s -shared -Wl,--enable-auto-import + LIBS += -L$(PD_PATH)/src -L$(PD_PATH)/bin -L$(PD_PATH)/obj -lpd -lwsock32 -lkernel32 -luser32 -lgdi32 + STRIP = strip --strip-unneeded -R .note -R .comment + DISTDIR=$(LIBRARY_NAME)-$(LIBRARY_VERSION) + DISTBINDIR=$(DISTDIR)-$(OS) +endif + +CFLAGS += $(OPT_CFLAGS) + + +.PHONY = install libdir_install single_install install-doc install-exec install-examples clean dist etags + +all: $(SOURCES:.c=.$(EXTENSION)) + +%.o: %.c + $(CC) $(CFLAGS) -o "$*.o" -c "$*.c" + +%.$(EXTENSION): %.o + $(CC) $(LDFLAGS) -o "$*.$(EXTENSION)" "$*.o" $(LIBS) + chmod a-x "$*.$(EXTENSION)" + +# this links everything into a single binary file +$(LIBRARY_NAME): $(SOURCES:.c=.o) $(LIBRARY_NAME).o + $(CC) $(LDFLAGS) -o $(LIBRARY_NAME).$(EXTENSION) $(SOURCES:.c=.o) $(LIBRARY_NAME).o $(LIBS) + chmod a-x $(LIBRARY_NAME).$(EXTENSION) + + +install: libdir_install + +# The meta and help files are explicitly installed to make sure they are +# actually there. Those files are not optional, then need to be there. +libdir_install: $(SOURCES:.c=.$(EXTENSION)) install-doc install-examples + $(INSTALL_DIR) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) + $(INSTALL_FILE) $(LIBRARY_NAME)-meta.pd \ + $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) + test -z "$(strip $(SOURCES))" || (\ + $(INSTALL_FILE) $(SOURCES:.c=.$(EXTENSION)) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) && \ + $(STRIP) $(addprefix $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/,$(SOURCES:.c=.$(EXTENSION)))) + test -z "$(strip $(PDOBJECTS))" || \ + $(INSTALL_FILE) $(PDOBJECTS) \ + $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) + +# install library linked as single binary +single_install: $(LIBRARY_NAME) install-doc install-exec + $(INSTALL_DIR) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) + $(INSTALL_FILE) $(LIBRARY_NAME).$(EXTENSION) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) + $(STRIP) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/$(LIBRARY_NAME).$(EXTENSION) + +install-doc: + $(INSTALL_DIR) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) + test -z "$(strip $(SOURCES))" || \ + $(INSTALL_FILE) $(SOURCES:.c=-help.pd) \ + $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) + test -z "$(strip $(PDOBJECTS))" || \ + $(INSTALL_FILE) $(PDOBJECTS:.pd=-help.pd) \ + $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) + $(INSTALL_FILE) README.txt $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/README.txt + $(INSTALL_FILE) \ + pause.gif play.gif playy.gif rec.gif saww.gif sin.gif sinw.gif squarew.gif \ + $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) + $(INSTALL_DIR) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/d + $(INSTALL_FILE) d/d*.gif $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/d/ + +install-examples: + test ! -d examples || (\ + $(INSTALL_DIR) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/examples && \ + $(INSTALL_FILE) examples/*.* $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/examples) -install: - make -C $(EXTERNALS_ROOT) $(TARGET)_install clean: - make -C $(EXTERNALS_ROOT) $(TARGET)_clean + -rm -f -- $(SOURCES:.c=.o) + -rm -f -- $(SOURCES:.c=.$(EXTENSION)) + -rm -f -- $(LIBRARY_NAME).$(EXTENSION) + +distclean: clean + -rm -f -- $(DISTBINDIR).tar.gz + -rm -rf -- $(DISTBINDIR) + -rm -f -- $(DISTDIR).tar.gz + -rm -rf -- $(DISTDIR) + + +$(DISTBINDIR): + $(INSTALL_DIR) $(DISTBINDIR) + +libdir: all $(DISTBINDIR) + $(INSTALL_FILE) $(LIBRARY_NAME)-meta.pd $(DISTBINDIR) + $(INSTALL_FILE) $(SOURCES) $(DISTBINDIR) + $(INSTALL_FILE) $(SOURCES:.c=-help.pd) $(DISTBINDIR) + test -z "$(strip $(EXTRA_DIST))" || \ + $(INSTALL_FILE) $(EXTRA_DIST) $(DISTBINDIR) +# tar --exclude-vcs -czpf $(DISTBINDIR).tar.gz $(DISTBINDIR) + +$(DISTDIR): + $(INSTALL_DIR) $(DISTDIR) + +dist: $(DISTDIR) + $(INSTALL_FILE) Makefile $(DISTDIR) + $(INSTALL_FILE) $(LIBRARY_NAME)-meta.pd $(DISTDIR) + test -z "$(strip $(ALLSOURCES))" || \ + $(INSTALL_FILE) $(ALLSOURCES) $(DISTDIR) + test -z "$(strip $(ALLSOURCES))" || \ + $(INSTALL_FILE) $(ALLSOURCES:.c=-help.pd) $(DISTDIR) + test -z "$(strip $(PDOBJECTS))" || \ + $(INSTALL_FILE) $(PDOBJECTS) $(DISTDIR) + test -z "$(strip $(PDOBJECTS))" || \ + $(INSTALL_FILE) $(PDOBJECTS:.pd=-help.pd) $(DISTDIR) + test -z "$(strip $(EXTRA_DIST))" || \ + $(INSTALL_FILE) $(EXTRA_DIST) $(DISTDIR) + $(INSTALL_DIR) $(DISTDIR)/d + $(INSTALL_FILE) d/d*.gif $(DISTDIR)/d/ + tar --exclude-vcs -czpf $(DISTDIR).tar.gz $(DISTDIR) -test_locations: - make -C $(EXTERNALS_ROOT) test_locations etags: - etags *.[ch] $(EXTERNALS_ROOT)/../pd/src/*.[ch] /usr/include/*.h \ - /usr/include/*/*.h + etags *.h $(SOURCES) ../../pd/src/*.[ch] /usr/include/*.h /usr/include/*/*.h + +showpaths: + @echo "PD_PATH: $(PD_PATH)" + @echo "objectsdir: $(objectsdir)" + @echo "LIBRARY_NAME: $(LIBRARY_NAME)" + @echo "SOURCES: $(SOURCES)" + @echo "ALLSOURCES: $(ALLSOURCES)" + @echo "UNAME: $(UNAME)" + @echo "CPU: $(CPU)" + diff --git a/absolutepath-help.pd b/absolutepath-help.pd new file mode 100644 index 0000000..b056f4a --- /dev/null +++ b/absolutepath-help.pd @@ -0,0 +1,13 @@ +#N canvas 14 323 660 379 10; +#X text 17 352 (c) Antoine Rousseau 2004; +#X obj 33 108 absolutepath; +#X symbolatom 33 131 0 0 0; +#X msg 33 51 symbol absolutepath.pd; +#X obj 33 220 relativepath; +#X symbolatom 33 245 0 0 0; +#X text 14 6 absolutepath / relativepath : use filenames relatively +to the patch's path.; +#X connect 1 0 2 0; +#X connect 2 0 4 0; +#X connect 3 0 1 0; +#X connect 4 0 5 0; diff --git a/basedir-help.pd b/basedir-help.pd new file mode 100644 index 0000000..cbf9c9e --- /dev/null +++ b/basedir-help.pd @@ -0,0 +1,18 @@ +#N canvas 136 196 430 247 10; +#X obj 0 0 cnv 8 100 60 empty empty basedir 20 20 1 18 -262144 -1109 +0; +#X text 7 221 (c) Moonix: Antoine Rousseau 2003; +#X text 135 12 basename/dirname functions; +#X obj 124 102 basedir; +#X obj 124 136 unpack s s; +#X symbolatom 124 158 0 0 0; +#X symbolatom 189 158 0 0 0; +#X msg 124 62 symbol /usr/local/bin/pd; +#X obj 124 42 loadbang; +#X text 108 175 basename; +#X text 212 175 dirname; +#X connect 3 0 4 0; +#X connect 4 0 5 0; +#X connect 4 1 6 0; +#X connect 7 0 3 0; +#X connect 8 0 7 0; diff --git a/char2f-help.pd b/char2f-help.pd new file mode 100644 index 0000000..f133288 --- /dev/null +++ b/char2f-help.pd @@ -0,0 +1,18 @@ +#N canvas 134 318 430 247 10; +#X obj 0 0 cnv 8 100 60 empty empty char2f_f2char 10 20 1 18 -262144 +-1109 0; +#X text 7 221 (c) Moonix: Antoine Rousseau 2003; +#X text 160 14 ascii utilities; +#X obj 131 115 char2f; +#X floatatom 131 136 5 0 0; +#X msg 131 69 symbol A; +#X obj 131 173 f2char; +#X symbolatom 131 194 2 0 0; +#X obj 131 49 loadbang; +#X msg 216 70 symbol a; +#X connect 3 0 4 0; +#X connect 4 0 6 0; +#X connect 5 0 3 0; +#X connect 6 0 7 0; +#X connect 8 0 5 0; +#X connect 9 0 3 0; diff --git a/comma-help.pd b/comma-help.pd new file mode 100644 index 0000000..b8a8e63 --- /dev/null +++ b/comma-help.pd @@ -0,0 +1,40 @@ +#N canvas 172 316 715 428 10; +#X obj 0 0 cnv 8 100 60 empty empty comma 10 20 1 18 -262144 -1109 +0; +#X text 109 12 how to write " \, " in a message...; +#X text 2 388 (c) Moonix: Antoine Rousseau 2004; +#X msg 71 101 foo 1 \, bar 2; +#X floatatom 70 340 5 0 0 0 - - -; +#X floatatom 113 341 5 0 0 0 - - -; +#X obj 70 318 route foo bar; +#X text 59 85 build a message like this:; +#X text 106 118 | notice the comma...; +#X text 106 116 ^; +#X obj 437 192 drip; +#X obj 396 192 comma; +#X msg 417 222 add2 \$1; +#X msg 372 110 foo 10; +#X obj 407 171 t b a; +#X msg 331 82 set; +#X msg 427 110 bar 20; +#X msg 417 249 foo 10 \, bar 20 \,; +#X obj 517 171 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X text 39 72 0: what we want to do is to; +#X text 299 64 1: reset the message; +#X text 375 92 2: add parts; +#X text 467 153 (or click the message directly); +#X text 453 142 3: send the message; +#X connect 3 0 6 0; +#X connect 6 0 4 0; +#X connect 6 1 5 0; +#X connect 10 0 12 0; +#X connect 11 0 12 0; +#X connect 12 0 17 0; +#X connect 13 0 14 0; +#X connect 14 0 11 0; +#X connect 14 1 10 0; +#X connect 15 0 17 0; +#X connect 16 0 14 0; +#X connect 17 0 6 0; +#X connect 18 0 17 0; diff --git a/d/d0.gif b/d/d0.gif new file mode 100644 index 0000000..89fd454 Binary files /dev/null and b/d/d0.gif differ diff --git a/d/d1.gif b/d/d1.gif new file mode 100644 index 0000000..3bdd5b6 Binary files /dev/null and b/d/d1.gif differ diff --git a/d/d10.gif b/d/d10.gif new file mode 100644 index 0000000..13941b5 Binary files /dev/null and b/d/d10.gif differ diff --git a/d/d11.gif b/d/d11.gif new file mode 100644 index 0000000..05489a9 Binary files /dev/null and b/d/d11.gif differ diff --git a/d/d12.gif b/d/d12.gif new file mode 100644 index 0000000..b6f2e79 Binary files /dev/null and b/d/d12.gif differ diff --git a/d/d13.gif b/d/d13.gif new file mode 100644 index 0000000..95ac806 Binary files /dev/null and b/d/d13.gif differ diff --git a/d/d14.gif b/d/d14.gif new file mode 100644 index 0000000..c820bcb Binary files /dev/null and b/d/d14.gif differ diff --git a/d/d15.gif b/d/d15.gif new file mode 100644 index 0000000..aadd006 Binary files /dev/null and b/d/d15.gif differ diff --git a/d/d16.gif b/d/d16.gif new file mode 100644 index 0000000..b6b7429 Binary files /dev/null and b/d/d16.gif differ diff --git a/d/d17.gif b/d/d17.gif new file mode 100644 index 0000000..dbc581a Binary files /dev/null and b/d/d17.gif differ diff --git a/d/d18.gif b/d/d18.gif new file mode 100644 index 0000000..d2699d0 Binary files /dev/null and b/d/d18.gif differ diff --git a/d/d19.gif b/d/d19.gif new file mode 100644 index 0000000..082ad9a Binary files /dev/null and b/d/d19.gif differ diff --git a/d/d2.gif b/d/d2.gif new file mode 100644 index 0000000..c1cd34f Binary files /dev/null and b/d/d2.gif differ diff --git a/d/d20.gif b/d/d20.gif new file mode 100644 index 0000000..2bf3398 Binary files /dev/null and b/d/d20.gif differ diff --git a/d/d21.gif b/d/d21.gif new file mode 100644 index 0000000..e1b9463 Binary files /dev/null and b/d/d21.gif differ diff --git a/d/d22.gif b/d/d22.gif new file mode 100644 index 0000000..b33a110 Binary files /dev/null and b/d/d22.gif differ diff --git a/d/d23.gif b/d/d23.gif new file mode 100644 index 0000000..cef38bf Binary files /dev/null and b/d/d23.gif differ diff --git a/d/d24.gif b/d/d24.gif new file mode 100644 index 0000000..629442d Binary files /dev/null and b/d/d24.gif differ diff --git a/d/d25.gif b/d/d25.gif new file mode 100644 index 0000000..87b766a Binary files /dev/null and b/d/d25.gif differ diff --git a/d/d26.gif b/d/d26.gif new file mode 100644 index 0000000..3a45164 Binary files /dev/null and b/d/d26.gif differ diff --git a/d/d27.gif b/d/d27.gif new file mode 100644 index 0000000..257f589 Binary files /dev/null and b/d/d27.gif differ diff --git a/d/d28.gif b/d/d28.gif new file mode 100644 index 0000000..0de8ba8 Binary files /dev/null and b/d/d28.gif differ diff --git a/d/d29.gif b/d/d29.gif new file mode 100644 index 0000000..588f65c Binary files /dev/null and b/d/d29.gif differ diff --git a/d/d3.gif b/d/d3.gif new file mode 100644 index 0000000..1d6528b Binary files /dev/null and b/d/d3.gif differ diff --git a/d/d30.gif b/d/d30.gif new file mode 100644 index 0000000..1962cb8 Binary files /dev/null and b/d/d30.gif differ diff --git a/d/d31.gif b/d/d31.gif new file mode 100644 index 0000000..4b5dd54 Binary files /dev/null and b/d/d31.gif differ diff --git a/d/d32.gif b/d/d32.gif new file mode 100644 index 0000000..37391dc Binary files /dev/null and b/d/d32.gif differ diff --git a/d/d33.gif b/d/d33.gif new file mode 100644 index 0000000..5ce47b2 Binary files /dev/null and b/d/d33.gif differ diff --git a/d/d34.gif b/d/d34.gif new file mode 100644 index 0000000..29f5804 Binary files /dev/null and b/d/d34.gif differ diff --git a/d/d35.gif b/d/d35.gif new file mode 100644 index 0000000..0f2ac0f Binary files /dev/null and b/d/d35.gif differ diff --git a/d/d36.gif b/d/d36.gif new file mode 100644 index 0000000..2c59cf6 Binary files /dev/null and b/d/d36.gif differ diff --git a/d/d37.gif b/d/d37.gif new file mode 100644 index 0000000..290e514 Binary files /dev/null and b/d/d37.gif differ diff --git a/d/d38.gif b/d/d38.gif new file mode 100644 index 0000000..246422c Binary files /dev/null and b/d/d38.gif differ diff --git a/d/d39.gif b/d/d39.gif new file mode 100644 index 0000000..c09316e Binary files /dev/null and b/d/d39.gif differ diff --git a/d/d4.gif b/d/d4.gif new file mode 100644 index 0000000..16c157c Binary files /dev/null and b/d/d4.gif differ diff --git a/d/d40.gif b/d/d40.gif new file mode 100644 index 0000000..15a4f98 Binary files /dev/null and b/d/d40.gif differ diff --git a/d/d41.gif b/d/d41.gif new file mode 100644 index 0000000..a618a8a Binary files /dev/null and b/d/d41.gif differ diff --git a/d/d42.gif b/d/d42.gif new file mode 100644 index 0000000..0a2f7ab Binary files /dev/null and b/d/d42.gif differ diff --git a/d/d43.gif b/d/d43.gif new file mode 100644 index 0000000..9a52db3 Binary files /dev/null and b/d/d43.gif differ diff --git a/d/d44.gif b/d/d44.gif new file mode 100644 index 0000000..b649b7c Binary files /dev/null and b/d/d44.gif differ diff --git a/d/d45.gif b/d/d45.gif new file mode 100644 index 0000000..6926b51 Binary files /dev/null and b/d/d45.gif differ diff --git a/d/d46.gif b/d/d46.gif new file mode 100644 index 0000000..ef6966c Binary files /dev/null and b/d/d46.gif differ diff --git a/d/d47.gif b/d/d47.gif new file mode 100644 index 0000000..f22a248 Binary files /dev/null and b/d/d47.gif differ diff --git a/d/d48.gif b/d/d48.gif new file mode 100644 index 0000000..b76e2e2 Binary files /dev/null and b/d/d48.gif differ diff --git a/d/d49.gif b/d/d49.gif new file mode 100644 index 0000000..4db26a3 Binary files /dev/null and b/d/d49.gif differ diff --git a/d/d5.gif b/d/d5.gif new file mode 100644 index 0000000..5245f49 Binary files /dev/null and b/d/d5.gif differ diff --git a/d/d50.gif b/d/d50.gif new file mode 100644 index 0000000..acae768 Binary files /dev/null and b/d/d50.gif differ diff --git a/d/d51.gif b/d/d51.gif new file mode 100644 index 0000000..345177e Binary files /dev/null and b/d/d51.gif differ diff --git a/d/d52.gif b/d/d52.gif new file mode 100644 index 0000000..371ee22 Binary files /dev/null and b/d/d52.gif differ diff --git a/d/d53.gif b/d/d53.gif new file mode 100644 index 0000000..0aaeed8 Binary files /dev/null and b/d/d53.gif differ diff --git a/d/d54.gif b/d/d54.gif new file mode 100644 index 0000000..4eae9e5 Binary files /dev/null and b/d/d54.gif differ diff --git a/d/d55.gif b/d/d55.gif new file mode 100644 index 0000000..f7579f0 Binary files /dev/null and b/d/d55.gif differ diff --git a/d/d56.gif b/d/d56.gif new file mode 100644 index 0000000..56157aa Binary files /dev/null and b/d/d56.gif differ diff --git a/d/d57.gif b/d/d57.gif new file mode 100644 index 0000000..eba1418 Binary files /dev/null and b/d/d57.gif differ diff --git a/d/d58.gif b/d/d58.gif new file mode 100644 index 0000000..9952fb4 Binary files /dev/null and b/d/d58.gif differ diff --git a/d/d59.gif b/d/d59.gif new file mode 100644 index 0000000..ec69b2c Binary files /dev/null and b/d/d59.gif differ diff --git a/d/d6.gif b/d/d6.gif new file mode 100644 index 0000000..fd27e6d Binary files /dev/null and b/d/d6.gif differ diff --git a/d/d60.gif b/d/d60.gif new file mode 100644 index 0000000..8cfd531 Binary files /dev/null and b/d/d60.gif differ diff --git a/d/d61.gif b/d/d61.gif new file mode 100644 index 0000000..937089a Binary files /dev/null and b/d/d61.gif differ diff --git a/d/d62.gif b/d/d62.gif new file mode 100644 index 0000000..1ac6be2 Binary files /dev/null and b/d/d62.gif differ diff --git a/d/d63.gif b/d/d63.gif new file mode 100644 index 0000000..3642bb1 Binary files /dev/null and b/d/d63.gif differ diff --git a/d/d7.gif b/d/d7.gif new file mode 100644 index 0000000..dd74b47 Binary files /dev/null and b/d/d7.gif differ diff --git a/d/d8.gif b/d/d8.gif new file mode 100644 index 0000000..59251c0 Binary files /dev/null and b/d/d8.gif differ diff --git a/d/d9.gif b/d/d9.gif new file mode 100644 index 0000000..782e7b9 Binary files /dev/null and b/d/d9.gif differ diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..02d3ec2 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +pd-moonlib (0.2-1) unstable; urgency=low + + * Initial release (Closes: #nnnn) + + -- Hans-Christoph Steiner Thu, 21 Jan 2010 23:27:04 -0500 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..9606b2d --- /dev/null +++ b/debian/control @@ -0,0 +1,16 @@ +Source: pd-moonlib +Section: sound +Priority: optional +Maintainer: Paul Brossier +Build-Depends: debhelper (>= 7.0.50~), puredata (>= 0.42.5-3.1~) +Standards-Version: 3.8.3 +Homepage: http://puredata.info + +Package: pd-moonlib +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, pd +Description: library of objects related to GUI control + Moonlib includes three sub-sections: nilib, which is a kind of wrapper + between Pd and Gtk, sublib, which is a collection of gui control objects, and + other, which are miscellaneous objects. + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..e0e4a7c --- /dev/null +++ b/debian/copyright @@ -0,0 +1,13 @@ +Debianized-By: Hans-Christoph Steiner +Debianized-Date: Sat, 20 Feb 2010 17:14:25 -0400 +Files: * +Copyright: 2001-2004, Antoine Rousseau + +License: GPL-2+ + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + On Debian systems, the complete text of the GNU General Public License + version 2 can be found in file "/usr/share/common-licenses/GPL-2". diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..7c37855 --- /dev/null +++ b/debian/rules @@ -0,0 +1,16 @@ +#!/usr/bin/make -f + +LIBRARY_NAME = moonlib +PACKAGE = pd-$(LIBRARY_NAME) +pkglibdir = /usr/lib/pd/extra + +%: + dh $@ + +override_dh_auto_install: + make DESTDIR=$(CURDIR)/debian/$(PACKAGE) pkglibdir=$(pkglibdir) install + +override_dh_shlibdeps: + dpkg-shlibdeps $(CURDIR)/debian/$(PACKAGE)$(pkglibdir)/$(LIBRARY_NAME)/*.pd_linux \ + -T$(CURDIR)/debian/$(PACKAGE).substvars + diff --git a/dinlet~-help.pd b/dinlet~-help.pd new file mode 100644 index 0000000..8033afe --- /dev/null +++ b/dinlet~-help.pd @@ -0,0 +1,37 @@ +#N canvas 196 161 422 282 10; +#X text 6 248 (c) Antoine Rousseau 2001; +#X obj 9 5 dinlet~; +#X text 66 6 A signal inlet with a default value.; +#N canvas 178 154 300 161 --- 0; +#X obj 108 70 unsig~ 50; +#X obj 108 96 outlet; +#X obj 196 71 unsig~ 50; +#X obj 196 97 outlet; +#X obj 108 43 dinlet~ 1; +#X obj 196 44 dinlet~ 2; +#X obj 29 70 unsig~ 50; +#X obj 29 96 outlet; +#X obj 29 43 inlet~; +#X connect 0 0 1 0; +#X connect 2 0 3 0; +#X connect 4 0 0 0; +#X connect 5 0 2 0; +#X connect 6 0 7 0; +#X connect 8 0 6 0; +#X restore 112 100 pd ---; +#X floatatom 130 158 5 0 0; +#X floatatom 33 159 5 0 0; +#X floatatom 242 157 5 0 0; +#X obj 129 56 sig~ 5; +#X text 3 180 normal inlet~; +#X text 129 177 dinlet~ with; +#X text 128 192 default 1; +#X text 242 177 dinlet~ with; +#X text 241 192 default 2; +#X text 199 61 try connect and deconnect; +#X text 198 77 sig~ object to each of; +#X text 198 93 the subpatch inlets.; +#X connect 3 0 5 0; +#X connect 3 1 4 0; +#X connect 3 2 6 0; +#X connect 7 0 3 2; diff --git a/dispatch-help.pd b/dispatch-help.pd new file mode 100644 index 0000000..16231ef --- /dev/null +++ b/dispatch-help.pd @@ -0,0 +1,65 @@ +#N canvas 479 347 565 404 10; +#X obj 0 0 cnv 8 100 60 empty empty dispatch 10 20 1 18 -262144 -1109 +0; +#X obj 40 131 r foo1-rcv; +#X obj 40 151 print foo1; +#X obj 121 131 r foo2-rcv; +#X obj 121 151 print foo2; +#X obj 198 132 r foo3-rcv; +#X obj 198 152 print foo3; +#X obj 293 78 dispatch foo 1 3; +#X text 291 60 args: name min-index max-index; +#X msg 310 102 2 truc; +#X text 132 12 link several pairs of send/receive addresses to; +#X msg 39 82 f1snd; +#X msg 119 83 f2snd; +#X msg 197 83 f3snd; +#X obj 39 102 s foo1-snd; +#X obj 119 103 s foo2-snd; +#X obj 197 103 s foo3-snd; +#X obj 310 154 r foo-snd; +#X obj 310 122 s foo-rcv; +#X obj 310 175 print foo-snd; +#X text 406 162 one "send" from all; +#X text 382 110 one "receive" to all; +#X obj 35 208 cnv 15 300 150 empty empty empty 20 12 0 14 -261681 -66577 +0; +#X obj 77 223 tgl 15 0 \$0-bar1-snd \$0-bar1-rcv bar1 0 -6 1 8 -262144 +-1 -1 0 1; +#X obj 104 223 tgl 15 0 \$0-bar2-snd \$0-bar2-rcv bar2 0 -6 1 8 -262144 +-1 -1 0 1; +#X obj 132 223 tgl 15 0 \$0-bar3-snd \$0-bar3-rcv bar3 0 -6 1 8 -262144 +-1 -1 0 1; +#X obj 49 223 tgl 15 0 \$0-bar0-snd \$0-bar0-rcv bar0 0 -6 1 8 -262144 +-1 -1 0 1; +#X obj 173 321 s \$0-bar-rcv; +#X obj 49 276 r \$0-bar-snd; +#X obj 173 276 hdl 15 0 0 4 empty empty empty 0 -6 0 8 -262144 -1 -1 +1; +#X obj 185 221 dispatch \$0-bar 0 3; +#X msg 173 297 \$1 bang; +#X obj 49 298 unpack f f; +#X floatatom 49 319 2 0 0 0 - - -; +#X floatatom 114 320 2 0 0 0 - - -; +#X text 5 383 (c) Moonix: Antoine Rousseau 2004; +#X text 362 238 Warning: you HAVE to name; +#X text 343 254 your boutton buses like this:; +#X text 362 241 _______; +#X text 351 280 (notice the -snd and -rcv); +#X text 351 268 skeletonX-snd skeletonX-rcv; +#X text 134 24 a single one \, in which datas are prepended by the +number; +#X text 134 37 of the receiver/sender.; +#X connect 1 0 2 0; +#X connect 3 0 4 0; +#X connect 5 0 6 0; +#X connect 9 0 18 0; +#X connect 11 0 14 0; +#X connect 12 0 15 0; +#X connect 13 0 16 0; +#X connect 17 0 19 0; +#X connect 28 0 32 0; +#X connect 29 0 31 0; +#X connect 31 0 27 0; +#X connect 32 0 33 0; +#X connect 32 1 34 0; diff --git a/dripchar-help.pd b/dripchar-help.pd new file mode 100644 index 0000000..6318f36 --- /dev/null +++ b/dripchar-help.pd @@ -0,0 +1,28 @@ +#N canvas 117 153 430 247 10; +#X obj 0 0 cnv 8 100 60 empty empty dripchar 10 20 1 18 -262144 -1109 +0; +#X text 7 221 (c) Moonix: Antoine Rousseau 2003; +#X obj 131 49 loadbang; +#X obj 131 95 dripchar; +#X msg 131 69 symbol Antoine; +#X text 132 12 drip characters from a symbol to a list; +#X obj 131 117 unpack s s s s s s s; +#X symbolatom 131 142 1 0 0; +#X symbolatom 153 142 1 0 0; +#X symbolatom 176 142 1 0 0; +#X symbolatom 198 142 1 0 0; +#X symbolatom 221 142 1 0 0; +#X symbolatom 243 142 1 0 0; +#X symbolatom 266 142 1 0 0; +#X msg 245 69 symbol moonix_; +#X connect 2 0 4 0; +#X connect 3 0 6 0; +#X connect 4 0 3 0; +#X connect 6 0 7 0; +#X connect 6 1 8 0; +#X connect 6 2 9 0; +#X connect 6 3 10 0; +#X connect 6 4 11 0; +#X connect 6 5 12 0; +#X connect 6 6 13 0; +#X connect 14 0 3 0; diff --git a/f2char-help.pd b/f2char-help.pd new file mode 100644 index 0000000..f133288 --- /dev/null +++ b/f2char-help.pd @@ -0,0 +1,18 @@ +#N canvas 134 318 430 247 10; +#X obj 0 0 cnv 8 100 60 empty empty char2f_f2char 10 20 1 18 -262144 +-1109 0; +#X text 7 221 (c) Moonix: Antoine Rousseau 2003; +#X text 160 14 ascii utilities; +#X obj 131 115 char2f; +#X floatatom 131 136 5 0 0; +#X msg 131 69 symbol A; +#X obj 131 173 f2char; +#X symbolatom 131 194 2 0 0; +#X obj 131 49 loadbang; +#X msg 216 70 symbol a; +#X connect 3 0 4 0; +#X connect 4 0 6 0; +#X connect 5 0 3 0; +#X connect 6 0 7 0; +#X connect 8 0 5 0; +#X connect 9 0 3 0; diff --git a/f2s-help.pd b/f2s-help.pd new file mode 100644 index 0000000..005754a --- /dev/null +++ b/f2s-help.pd @@ -0,0 +1,17 @@ +#N canvas -5 264 527 298 10; +#X text 27 268 (c) Antoine Rousseau 2001; +#X obj 44 31 f2s; +#X text 80 32 A float-to-symbol converter \, with scientific-mode writing. +; +#X floatatom 196 85 5 0 300; +#X obj 163 136 f2s; +#X obj 196 106 dbtorms; +#X symbolatom 163 158 4 0 0; +#X floatatom 207 158 0 0 0; +#X text 244 85 Touch this; +#X text 57 196 The idea: many decades in an always 4 characters long +symbol...; +#X connect 3 0 5 0; +#X connect 4 0 6 0; +#X connect 5 0 4 0; +#X connect 5 0 7 0; diff --git a/gamme-help.pd b/gamme-help.pd new file mode 100644 index 0000000..8f87eb0 --- /dev/null +++ b/gamme-help.pd @@ -0,0 +1,171 @@ +#N canvas 246 348 520 515 10; +#X text 10 491 (c) Antoine Rousseau 2001; +#X text 85 3 gamme: a musical scale selector.; +#X obj 113 187 gamme 90 40 1 0 0 0 1 0 0 1 0 0 0 0; +#X floatatom 51 244 6 0 0 0 - - -; +#X floatatom 134 71 4 0 0 0 - - -; +#X floatatom 33 78 4 0 0 0 - - -; +#X floatatom 154 244 4 0 0 0 - - -; +#X msg 280 256 set \$1 \$2; +#X obj 280 288 gamme 90 40 1 0 0 0 1 0 0 1 0 0 0 0; +#X msg 401 177 getall; +#X floatatom 322 336 4 0 0 0 - - -; +#X floatatom 282 72 6 0 0 0 - - -; +#X msg 282 138 round \$1 \$2; +#X obj 282 116 pack f f; +#X floatatom 363 71 4 0 200 0 - - -; +#X obj 281 227 print changed; +#X obj 134 119 pack f f; +#X floatatom 190 71 4 0 0 0 - - -; +#X obj 156 99 t b f; +#X msg 134 141 get \$1 \$2; +#X text 126 53 octave; +#X text 188 53 note; +#X text 271 56 semitone; +#X text 344 55 rounding strength; +#X obj 303 93 t b f; +#X text 19 59 semitone; +#X text 152 33 ARPEGE; +#X text 28 39 FILTER; +#X text 324 36 ROUNDING; +#X text 51 263 Result; +#X text 139 261 Number of; +#X text 127 273 selected notes; +#X text 377 238 in the key set.; +#X text 383 225 Last change; +#X text 371 158 get all the key set.; +#N canvas 483 118 375 520 audio 0; +#X obj 4 356 gamme 90 40 1 0 1 0 1 0 0 1 0 1 0 0; +#X obj 28 464 *~; +#X obj 4 419 mtof; +#X obj 4 442 osc~; +#N canvas 394 93 600 400 env 0; +#X obj 19 122 inlet; +#X obj 105 121 inlet; +#X msg 19 143 bang; +#X obj 89 280 line~; +#X obj 114 329 outlet~; +#X obj 114 307 *~; +#X obj 130 280 +~ 1; +#X obj 130 258 *~ 0.6; +#X obj 130 237 osc~ 12; +#X msg 89 228 0 \$1; +#X obj 89 206 200; +#X obj 48 206 0.2; +#X obj 64 121 inlet; +#X text 18 101 trig; +#X text 62 101 vol; +#X text 103 102 sustain; +#X text 133 219 lfo...; +#X msg 48 228 \$1 2; +#X obj 89 183 delay 2; +#X connect 0 0 2 0; +#X connect 1 0 10 1; +#X connect 2 0 11 0; +#X connect 2 0 18 0; +#X connect 3 0 5 0; +#X connect 5 0 4 0; +#X connect 6 0 5 1; +#X connect 7 0 6 0; +#X connect 8 0 7 0; +#X connect 9 0 3 0; +#X connect 10 0 9 0; +#X connect 11 0 17 0; +#X connect 12 0 11 1; +#X connect 17 0 3 0; +#X connect 18 0 10 0; +#X restore 44 441 pd env; +#X floatatom 51 236 5 0 0 0 - - -; +#X obj 17 499 dac~; +#X obj 62 421 pow 4; +#X obj 4 189 metro 180; +#X obj 4 211 i; +#X obj 4 162 tgl 20 0 empty empty play 0 -8 1 10 -262144 -1 -1 1 1 +; +#X obj 29 211 + 1; +#X obj 4 286 spigot; +#X obj 49 286 == 0; +#X obj 54 211 mod 16; +#X obj 91 287 spigot; +#X obj 136 287 == 1; +#X msg 91 309 get 4 \$1; +#X obj 233 251 unpack f; +#X obj 188 279 spigot; +#X msg 188 345 round \$1 \$2; +#X obj 188 323 pack f f; +#X obj 233 279 == 2; +#X obj 4 306 + 60; +#X obj 188 301 + 60.05; +#X obj 191 375 hsl 50 10 0 500 0 1 empty empty Sustain -2 -6 1 10 -262144 +-1 -1 1700 1; +#X obj 52 165 hsl 50 10 5 500 0 1 empty empty Metro(ms) -2 -6 1 10 +-262144 -1 -1 1200 1; +#X obj 318 165 vsl 10 40 0 100 0 1 empty empty Round 0 -8 1 10 -262144 +-1 -1 600 1; +#X obj 191 486 hsl 60 15 0 1 0 1 empty empty Volume -2 -6 1 10 -258699 +-1 -1 4300 1; +#X obj 149 88 cnv 15 90 47 empty empty filter/arpeg/round 2 8 1 10 +-233017 -1 0; +#X obj 149 162 hdl 30 0 1 3 empty empty empty 20 8 0 8 -262144 -1 -1 +0; +#X obj 13 328 inlet; +#X connect 0 0 4 0; +#X connect 0 0 2 0; +#X connect 1 0 6 0; +#X connect 1 0 6 1; +#X connect 2 0 3 0; +#X connect 3 0 1 0; +#X connect 4 0 1 1; +#X connect 5 0 15 0; +#X connect 5 0 12 0; +#X connect 5 0 19 0; +#X connect 7 0 4 1; +#X connect 8 0 9 0; +#X connect 9 0 5 0; +#X connect 9 0 11 0; +#X connect 10 0 8 0; +#X connect 11 0 14 0; +#X connect 12 0 23 0; +#X connect 13 0 12 1; +#X connect 14 0 9 1; +#X connect 15 0 17 0; +#X connect 16 0 15 1; +#X connect 17 0 0 0; +#X connect 18 0 16 0; +#X connect 18 0 22 0; +#X connect 18 0 13 0; +#X connect 19 0 24 0; +#X connect 20 0 0 0; +#X connect 21 0 20 0; +#X connect 22 0 19 1; +#X connect 23 0 0 0; +#X connect 24 0 21 0; +#X connect 25 0 4 2; +#X connect 26 0 8 1; +#X connect 27 0 21 1; +#X connect 28 0 7 0; +#X connect 30 0 18 0; +#X connect 31 0 0 0; +#X coords 0 0 1 1 210 110 1; +#X restore 33 325 pd audio demo; +#X connect 2 0 3 0; +#X connect 2 1 6 0; +#X connect 2 2 7 0; +#X connect 2 2 15 0; +#X connect 4 0 16 0; +#X connect 5 0 2 0; +#X connect 7 0 8 0; +#X connect 7 0 35 0; +#X connect 8 1 10 0; +#X connect 9 0 2 0; +#X connect 11 0 13 0; +#X connect 12 0 2 0; +#X connect 13 0 12 0; +#X connect 14 0 24 0; +#X connect 16 0 19 0; +#X connect 17 0 18 0; +#X connect 18 0 16 0; +#X connect 18 1 16 1; +#X connect 19 0 2 0; +#X connect 24 0 13 0; +#X connect 24 1 13 1; diff --git a/help/absolutepath-help.pd b/help/absolutepath-help.pd deleted file mode 100644 index b056f4a..0000000 --- a/help/absolutepath-help.pd +++ /dev/null @@ -1,13 +0,0 @@ -#N canvas 14 323 660 379 10; -#X text 17 352 (c) Antoine Rousseau 2004; -#X obj 33 108 absolutepath; -#X symbolatom 33 131 0 0 0; -#X msg 33 51 symbol absolutepath.pd; -#X obj 33 220 relativepath; -#X symbolatom 33 245 0 0 0; -#X text 14 6 absolutepath / relativepath : use filenames relatively -to the patch's path.; -#X connect 1 0 2 0; -#X connect 2 0 4 0; -#X connect 3 0 1 0; -#X connect 4 0 5 0; diff --git a/help/basedir-help.pd b/help/basedir-help.pd deleted file mode 100644 index cbf9c9e..0000000 --- a/help/basedir-help.pd +++ /dev/null @@ -1,18 +0,0 @@ -#N canvas 136 196 430 247 10; -#X obj 0 0 cnv 8 100 60 empty empty basedir 20 20 1 18 -262144 -1109 -0; -#X text 7 221 (c) Moonix: Antoine Rousseau 2003; -#X text 135 12 basename/dirname functions; -#X obj 124 102 basedir; -#X obj 124 136 unpack s s; -#X symbolatom 124 158 0 0 0; -#X symbolatom 189 158 0 0 0; -#X msg 124 62 symbol /usr/local/bin/pd; -#X obj 124 42 loadbang; -#X text 108 175 basename; -#X text 212 175 dirname; -#X connect 3 0 4 0; -#X connect 4 0 5 0; -#X connect 4 1 6 0; -#X connect 7 0 3 0; -#X connect 8 0 7 0; diff --git a/help/char2f-help.pd b/help/char2f-help.pd deleted file mode 100644 index f133288..0000000 --- a/help/char2f-help.pd +++ /dev/null @@ -1,18 +0,0 @@ -#N canvas 134 318 430 247 10; -#X obj 0 0 cnv 8 100 60 empty empty char2f_f2char 10 20 1 18 -262144 --1109 0; -#X text 7 221 (c) Moonix: Antoine Rousseau 2003; -#X text 160 14 ascii utilities; -#X obj 131 115 char2f; -#X floatatom 131 136 5 0 0; -#X msg 131 69 symbol A; -#X obj 131 173 f2char; -#X symbolatom 131 194 2 0 0; -#X obj 131 49 loadbang; -#X msg 216 70 symbol a; -#X connect 3 0 4 0; -#X connect 4 0 6 0; -#X connect 5 0 3 0; -#X connect 6 0 7 0; -#X connect 8 0 5 0; -#X connect 9 0 3 0; diff --git a/help/comma-help.pd b/help/comma-help.pd deleted file mode 100644 index b8a8e63..0000000 --- a/help/comma-help.pd +++ /dev/null @@ -1,40 +0,0 @@ -#N canvas 172 316 715 428 10; -#X obj 0 0 cnv 8 100 60 empty empty comma 10 20 1 18 -262144 -1109 -0; -#X text 109 12 how to write " \, " in a message...; -#X text 2 388 (c) Moonix: Antoine Rousseau 2004; -#X msg 71 101 foo 1 \, bar 2; -#X floatatom 70 340 5 0 0 0 - - -; -#X floatatom 113 341 5 0 0 0 - - -; -#X obj 70 318 route foo bar; -#X text 59 85 build a message like this:; -#X text 106 118 | notice the comma...; -#X text 106 116 ^; -#X obj 437 192 drip; -#X obj 396 192 comma; -#X msg 417 222 add2 \$1; -#X msg 372 110 foo 10; -#X obj 407 171 t b a; -#X msg 331 82 set; -#X msg 427 110 bar 20; -#X msg 417 249 foo 10 \, bar 20 \,; -#X obj 517 171 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X text 39 72 0: what we want to do is to; -#X text 299 64 1: reset the message; -#X text 375 92 2: add parts; -#X text 467 153 (or click the message directly); -#X text 453 142 3: send the message; -#X connect 3 0 6 0; -#X connect 6 0 4 0; -#X connect 6 1 5 0; -#X connect 10 0 12 0; -#X connect 11 0 12 0; -#X connect 12 0 17 0; -#X connect 13 0 14 0; -#X connect 14 0 11 0; -#X connect 14 1 10 0; -#X connect 15 0 17 0; -#X connect 16 0 14 0; -#X connect 17 0 6 0; -#X connect 18 0 17 0; diff --git a/help/d/d0.gif b/help/d/d0.gif deleted file mode 100644 index 89fd454..0000000 Binary files a/help/d/d0.gif and /dev/null differ diff --git a/help/d/d1.gif b/help/d/d1.gif deleted file mode 100644 index 3bdd5b6..0000000 Binary files a/help/d/d1.gif and /dev/null differ diff --git a/help/d/d10.gif b/help/d/d10.gif deleted file mode 100644 index 13941b5..0000000 Binary files a/help/d/d10.gif and /dev/null differ diff --git a/help/d/d11.gif b/help/d/d11.gif deleted file mode 100644 index 05489a9..0000000 Binary files a/help/d/d11.gif and /dev/null differ diff --git a/help/d/d12.gif b/help/d/d12.gif deleted file mode 100644 index b6f2e79..0000000 Binary files a/help/d/d12.gif and /dev/null differ diff --git a/help/d/d13.gif b/help/d/d13.gif deleted file mode 100644 index 95ac806..0000000 Binary files a/help/d/d13.gif and /dev/null differ diff --git a/help/d/d14.gif b/help/d/d14.gif deleted file mode 100644 index c820bcb..0000000 Binary files a/help/d/d14.gif and /dev/null differ diff --git a/help/d/d15.gif b/help/d/d15.gif deleted file mode 100644 index aadd006..0000000 Binary files a/help/d/d15.gif and /dev/null differ diff --git a/help/d/d16.gif b/help/d/d16.gif deleted file mode 100644 index b6b7429..0000000 Binary files a/help/d/d16.gif and /dev/null differ diff --git a/help/d/d17.gif b/help/d/d17.gif deleted file mode 100644 index dbc581a..0000000 Binary files a/help/d/d17.gif and /dev/null differ diff --git a/help/d/d18.gif b/help/d/d18.gif deleted file mode 100644 index d2699d0..0000000 Binary files a/help/d/d18.gif and /dev/null differ diff --git a/help/d/d19.gif b/help/d/d19.gif deleted file mode 100644 index 082ad9a..0000000 Binary files a/help/d/d19.gif and /dev/null differ diff --git a/help/d/d2.gif b/help/d/d2.gif deleted file mode 100644 index c1cd34f..0000000 Binary files a/help/d/d2.gif and /dev/null differ diff --git a/help/d/d20.gif b/help/d/d20.gif deleted file mode 100644 index 2bf3398..0000000 Binary files a/help/d/d20.gif and /dev/null differ diff --git a/help/d/d21.gif b/help/d/d21.gif deleted file mode 100644 index e1b9463..0000000 Binary files a/help/d/d21.gif and /dev/null differ diff --git a/help/d/d22.gif b/help/d/d22.gif deleted file mode 100644 index b33a110..0000000 Binary files a/help/d/d22.gif and /dev/null differ diff --git a/help/d/d23.gif b/help/d/d23.gif deleted file mode 100644 index cef38bf..0000000 Binary files a/help/d/d23.gif and /dev/null differ diff --git a/help/d/d24.gif b/help/d/d24.gif deleted file mode 100644 index 629442d..0000000 Binary files a/help/d/d24.gif and /dev/null differ diff --git a/help/d/d25.gif b/help/d/d25.gif deleted file mode 100644 index 87b766a..0000000 Binary files a/help/d/d25.gif and /dev/null differ diff --git a/help/d/d26.gif b/help/d/d26.gif deleted file mode 100644 index 3a45164..0000000 Binary files a/help/d/d26.gif and /dev/null differ diff --git a/help/d/d27.gif b/help/d/d27.gif deleted file mode 100644 index 257f589..0000000 Binary files a/help/d/d27.gif and /dev/null differ diff --git a/help/d/d28.gif b/help/d/d28.gif deleted file mode 100644 index 0de8ba8..0000000 Binary files a/help/d/d28.gif and /dev/null differ diff --git a/help/d/d29.gif b/help/d/d29.gif deleted file mode 100644 index 588f65c..0000000 Binary files a/help/d/d29.gif and /dev/null differ diff --git a/help/d/d3.gif b/help/d/d3.gif deleted file mode 100644 index 1d6528b..0000000 Binary files a/help/d/d3.gif and /dev/null differ diff --git a/help/d/d30.gif b/help/d/d30.gif deleted file mode 100644 index 1962cb8..0000000 Binary files a/help/d/d30.gif and /dev/null differ diff --git a/help/d/d31.gif b/help/d/d31.gif deleted file mode 100644 index 4b5dd54..0000000 Binary files a/help/d/d31.gif and /dev/null differ diff --git a/help/d/d32.gif b/help/d/d32.gif deleted file mode 100644 index 37391dc..0000000 Binary files a/help/d/d32.gif and /dev/null differ diff --git a/help/d/d33.gif b/help/d/d33.gif deleted file mode 100644 index 5ce47b2..0000000 Binary files a/help/d/d33.gif and /dev/null differ diff --git a/help/d/d34.gif b/help/d/d34.gif deleted file mode 100644 index 29f5804..0000000 Binary files a/help/d/d34.gif and /dev/null differ diff --git a/help/d/d35.gif b/help/d/d35.gif deleted file mode 100644 index 0f2ac0f..0000000 Binary files a/help/d/d35.gif and /dev/null differ diff --git a/help/d/d36.gif b/help/d/d36.gif deleted file mode 100644 index 2c59cf6..0000000 Binary files a/help/d/d36.gif and /dev/null differ diff --git a/help/d/d37.gif b/help/d/d37.gif deleted file mode 100644 index 290e514..0000000 Binary files a/help/d/d37.gif and /dev/null differ diff --git a/help/d/d38.gif b/help/d/d38.gif deleted file mode 100644 index 246422c..0000000 Binary files a/help/d/d38.gif and /dev/null differ diff --git a/help/d/d39.gif b/help/d/d39.gif deleted file mode 100644 index c09316e..0000000 Binary files a/help/d/d39.gif and /dev/null differ diff --git a/help/d/d4.gif b/help/d/d4.gif deleted file mode 100644 index 16c157c..0000000 Binary files a/help/d/d4.gif and /dev/null differ diff --git a/help/d/d40.gif b/help/d/d40.gif deleted file mode 100644 index 15a4f98..0000000 Binary files a/help/d/d40.gif and /dev/null differ diff --git a/help/d/d41.gif b/help/d/d41.gif deleted file mode 100644 index a618a8a..0000000 Binary files a/help/d/d41.gif and /dev/null differ diff --git a/help/d/d42.gif b/help/d/d42.gif deleted file mode 100644 index 0a2f7ab..0000000 Binary files a/help/d/d42.gif and /dev/null differ diff --git a/help/d/d43.gif b/help/d/d43.gif deleted file mode 100644 index 9a52db3..0000000 Binary files a/help/d/d43.gif and /dev/null differ diff --git a/help/d/d44.gif b/help/d/d44.gif deleted file mode 100644 index b649b7c..0000000 Binary files a/help/d/d44.gif and /dev/null differ diff --git a/help/d/d45.gif b/help/d/d45.gif deleted file mode 100644 index 6926b51..0000000 Binary files a/help/d/d45.gif and /dev/null differ diff --git a/help/d/d46.gif b/help/d/d46.gif deleted file mode 100644 index ef6966c..0000000 Binary files a/help/d/d46.gif and /dev/null differ diff --git a/help/d/d47.gif b/help/d/d47.gif deleted file mode 100644 index f22a248..0000000 Binary files a/help/d/d47.gif and /dev/null differ diff --git a/help/d/d48.gif b/help/d/d48.gif deleted file mode 100644 index b76e2e2..0000000 Binary files a/help/d/d48.gif and /dev/null differ diff --git a/help/d/d49.gif b/help/d/d49.gif deleted file mode 100644 index 4db26a3..0000000 Binary files a/help/d/d49.gif and /dev/null differ diff --git a/help/d/d5.gif b/help/d/d5.gif deleted file mode 100644 index 5245f49..0000000 Binary files a/help/d/d5.gif and /dev/null differ diff --git a/help/d/d50.gif b/help/d/d50.gif deleted file mode 100644 index acae768..0000000 Binary files a/help/d/d50.gif and /dev/null differ diff --git a/help/d/d51.gif b/help/d/d51.gif deleted file mode 100644 index 345177e..0000000 Binary files a/help/d/d51.gif and /dev/null differ diff --git a/help/d/d52.gif b/help/d/d52.gif deleted file mode 100644 index 371ee22..0000000 Binary files a/help/d/d52.gif and /dev/null differ diff --git a/help/d/d53.gif b/help/d/d53.gif deleted file mode 100644 index 0aaeed8..0000000 Binary files a/help/d/d53.gif and /dev/null differ diff --git a/help/d/d54.gif b/help/d/d54.gif deleted file mode 100644 index 4eae9e5..0000000 Binary files a/help/d/d54.gif and /dev/null differ diff --git a/help/d/d55.gif b/help/d/d55.gif deleted file mode 100644 index f7579f0..0000000 Binary files a/help/d/d55.gif and /dev/null differ diff --git a/help/d/d56.gif b/help/d/d56.gif deleted file mode 100644 index 56157aa..0000000 Binary files a/help/d/d56.gif and /dev/null differ diff --git a/help/d/d57.gif b/help/d/d57.gif deleted file mode 100644 index eba1418..0000000 Binary files a/help/d/d57.gif and /dev/null differ diff --git a/help/d/d58.gif b/help/d/d58.gif deleted file mode 100644 index 9952fb4..0000000 Binary files a/help/d/d58.gif and /dev/null differ diff --git a/help/d/d59.gif b/help/d/d59.gif deleted file mode 100644 index ec69b2c..0000000 Binary files a/help/d/d59.gif and /dev/null differ diff --git a/help/d/d6.gif b/help/d/d6.gif deleted file mode 100644 index fd27e6d..0000000 Binary files a/help/d/d6.gif and /dev/null differ diff --git a/help/d/d60.gif b/help/d/d60.gif deleted file mode 100644 index 8cfd531..0000000 Binary files a/help/d/d60.gif and /dev/null differ diff --git a/help/d/d61.gif b/help/d/d61.gif deleted file mode 100644 index 937089a..0000000 Binary files a/help/d/d61.gif and /dev/null differ diff --git a/help/d/d62.gif b/help/d/d62.gif deleted file mode 100644 index 1ac6be2..0000000 Binary files a/help/d/d62.gif and /dev/null differ diff --git a/help/d/d63.gif b/help/d/d63.gif deleted file mode 100644 index 3642bb1..0000000 Binary files a/help/d/d63.gif and /dev/null differ diff --git a/help/d/d7.gif b/help/d/d7.gif deleted file mode 100644 index dd74b47..0000000 Binary files a/help/d/d7.gif and /dev/null differ diff --git a/help/d/d8.gif b/help/d/d8.gif deleted file mode 100644 index 59251c0..0000000 Binary files a/help/d/d8.gif and /dev/null differ diff --git a/help/d/d9.gif b/help/d/d9.gif deleted file mode 100644 index 782e7b9..0000000 Binary files a/help/d/d9.gif and /dev/null differ diff --git a/help/dinlet~-help.pd b/help/dinlet~-help.pd deleted file mode 100644 index 8033afe..0000000 --- a/help/dinlet~-help.pd +++ /dev/null @@ -1,37 +0,0 @@ -#N canvas 196 161 422 282 10; -#X text 6 248 (c) Antoine Rousseau 2001; -#X obj 9 5 dinlet~; -#X text 66 6 A signal inlet with a default value.; -#N canvas 178 154 300 161 --- 0; -#X obj 108 70 unsig~ 50; -#X obj 108 96 outlet; -#X obj 196 71 unsig~ 50; -#X obj 196 97 outlet; -#X obj 108 43 dinlet~ 1; -#X obj 196 44 dinlet~ 2; -#X obj 29 70 unsig~ 50; -#X obj 29 96 outlet; -#X obj 29 43 inlet~; -#X connect 0 0 1 0; -#X connect 2 0 3 0; -#X connect 4 0 0 0; -#X connect 5 0 2 0; -#X connect 6 0 7 0; -#X connect 8 0 6 0; -#X restore 112 100 pd ---; -#X floatatom 130 158 5 0 0; -#X floatatom 33 159 5 0 0; -#X floatatom 242 157 5 0 0; -#X obj 129 56 sig~ 5; -#X text 3 180 normal inlet~; -#X text 129 177 dinlet~ with; -#X text 128 192 default 1; -#X text 242 177 dinlet~ with; -#X text 241 192 default 2; -#X text 199 61 try connect and deconnect; -#X text 198 77 sig~ object to each of; -#X text 198 93 the subpatch inlets.; -#X connect 3 0 5 0; -#X connect 3 1 4 0; -#X connect 3 2 6 0; -#X connect 7 0 3 2; diff --git a/help/dispatch-help.pd b/help/dispatch-help.pd deleted file mode 100644 index 16231ef..0000000 --- a/help/dispatch-help.pd +++ /dev/null @@ -1,65 +0,0 @@ -#N canvas 479 347 565 404 10; -#X obj 0 0 cnv 8 100 60 empty empty dispatch 10 20 1 18 -262144 -1109 -0; -#X obj 40 131 r foo1-rcv; -#X obj 40 151 print foo1; -#X obj 121 131 r foo2-rcv; -#X obj 121 151 print foo2; -#X obj 198 132 r foo3-rcv; -#X obj 198 152 print foo3; -#X obj 293 78 dispatch foo 1 3; -#X text 291 60 args: name min-index max-index; -#X msg 310 102 2 truc; -#X text 132 12 link several pairs of send/receive addresses to; -#X msg 39 82 f1snd; -#X msg 119 83 f2snd; -#X msg 197 83 f3snd; -#X obj 39 102 s foo1-snd; -#X obj 119 103 s foo2-snd; -#X obj 197 103 s foo3-snd; -#X obj 310 154 r foo-snd; -#X obj 310 122 s foo-rcv; -#X obj 310 175 print foo-snd; -#X text 406 162 one "send" from all; -#X text 382 110 one "receive" to all; -#X obj 35 208 cnv 15 300 150 empty empty empty 20 12 0 14 -261681 -66577 -0; -#X obj 77 223 tgl 15 0 \$0-bar1-snd \$0-bar1-rcv bar1 0 -6 1 8 -262144 --1 -1 0 1; -#X obj 104 223 tgl 15 0 \$0-bar2-snd \$0-bar2-rcv bar2 0 -6 1 8 -262144 --1 -1 0 1; -#X obj 132 223 tgl 15 0 \$0-bar3-snd \$0-bar3-rcv bar3 0 -6 1 8 -262144 --1 -1 0 1; -#X obj 49 223 tgl 15 0 \$0-bar0-snd \$0-bar0-rcv bar0 0 -6 1 8 -262144 --1 -1 0 1; -#X obj 173 321 s \$0-bar-rcv; -#X obj 49 276 r \$0-bar-snd; -#X obj 173 276 hdl 15 0 0 4 empty empty empty 0 -6 0 8 -262144 -1 -1 -1; -#X obj 185 221 dispatch \$0-bar 0 3; -#X msg 173 297 \$1 bang; -#X obj 49 298 unpack f f; -#X floatatom 49 319 2 0 0 0 - - -; -#X floatatom 114 320 2 0 0 0 - - -; -#X text 5 383 (c) Moonix: Antoine Rousseau 2004; -#X text 362 238 Warning: you HAVE to name; -#X text 343 254 your boutton buses like this:; -#X text 362 241 _______; -#X text 351 280 (notice the -snd and -rcv); -#X text 351 268 skeletonX-snd skeletonX-rcv; -#X text 134 24 a single one \, in which datas are prepended by the -number; -#X text 134 37 of the receiver/sender.; -#X connect 1 0 2 0; -#X connect 3 0 4 0; -#X connect 5 0 6 0; -#X connect 9 0 18 0; -#X connect 11 0 14 0; -#X connect 12 0 15 0; -#X connect 13 0 16 0; -#X connect 17 0 19 0; -#X connect 28 0 32 0; -#X connect 29 0 31 0; -#X connect 31 0 27 0; -#X connect 32 0 33 0; -#X connect 32 1 34 0; diff --git a/help/dripchar-help.pd b/help/dripchar-help.pd deleted file mode 100644 index 6318f36..0000000 --- a/help/dripchar-help.pd +++ /dev/null @@ -1,28 +0,0 @@ -#N canvas 117 153 430 247 10; -#X obj 0 0 cnv 8 100 60 empty empty dripchar 10 20 1 18 -262144 -1109 -0; -#X text 7 221 (c) Moonix: Antoine Rousseau 2003; -#X obj 131 49 loadbang; -#X obj 131 95 dripchar; -#X msg 131 69 symbol Antoine; -#X text 132 12 drip characters from a symbol to a list; -#X obj 131 117 unpack s s s s s s s; -#X symbolatom 131 142 1 0 0; -#X symbolatom 153 142 1 0 0; -#X symbolatom 176 142 1 0 0; -#X symbolatom 198 142 1 0 0; -#X symbolatom 221 142 1 0 0; -#X symbolatom 243 142 1 0 0; -#X symbolatom 266 142 1 0 0; -#X msg 245 69 symbol moonix_; -#X connect 2 0 4 0; -#X connect 3 0 6 0; -#X connect 4 0 3 0; -#X connect 6 0 7 0; -#X connect 6 1 8 0; -#X connect 6 2 9 0; -#X connect 6 3 10 0; -#X connect 6 4 11 0; -#X connect 6 5 12 0; -#X connect 6 6 13 0; -#X connect 14 0 3 0; diff --git a/help/f2char-help.pd b/help/f2char-help.pd deleted file mode 100644 index f133288..0000000 --- a/help/f2char-help.pd +++ /dev/null @@ -1,18 +0,0 @@ -#N canvas 134 318 430 247 10; -#X obj 0 0 cnv 8 100 60 empty empty char2f_f2char 10 20 1 18 -262144 --1109 0; -#X text 7 221 (c) Moonix: Antoine Rousseau 2003; -#X text 160 14 ascii utilities; -#X obj 131 115 char2f; -#X floatatom 131 136 5 0 0; -#X msg 131 69 symbol A; -#X obj 131 173 f2char; -#X symbolatom 131 194 2 0 0; -#X obj 131 49 loadbang; -#X msg 216 70 symbol a; -#X connect 3 0 4 0; -#X connect 4 0 6 0; -#X connect 5 0 3 0; -#X connect 6 0 7 0; -#X connect 8 0 5 0; -#X connect 9 0 3 0; diff --git a/help/f2s-help.pd b/help/f2s-help.pd deleted file mode 100644 index 005754a..0000000 --- a/help/f2s-help.pd +++ /dev/null @@ -1,17 +0,0 @@ -#N canvas -5 264 527 298 10; -#X text 27 268 (c) Antoine Rousseau 2001; -#X obj 44 31 f2s; -#X text 80 32 A float-to-symbol converter \, with scientific-mode writing. -; -#X floatatom 196 85 5 0 300; -#X obj 163 136 f2s; -#X obj 196 106 dbtorms; -#X symbolatom 163 158 4 0 0; -#X floatatom 207 158 0 0 0; -#X text 244 85 Touch this; -#X text 57 196 The idea: many decades in an always 4 characters long -symbol...; -#X connect 3 0 5 0; -#X connect 4 0 6 0; -#X connect 5 0 4 0; -#X connect 5 0 7 0; diff --git a/help/gamme-help.pd b/help/gamme-help.pd deleted file mode 100644 index 8f87eb0..0000000 --- a/help/gamme-help.pd +++ /dev/null @@ -1,171 +0,0 @@ -#N canvas 246 348 520 515 10; -#X text 10 491 (c) Antoine Rousseau 2001; -#X text 85 3 gamme: a musical scale selector.; -#X obj 113 187 gamme 90 40 1 0 0 0 1 0 0 1 0 0 0 0; -#X floatatom 51 244 6 0 0 0 - - -; -#X floatatom 134 71 4 0 0 0 - - -; -#X floatatom 33 78 4 0 0 0 - - -; -#X floatatom 154 244 4 0 0 0 - - -; -#X msg 280 256 set \$1 \$2; -#X obj 280 288 gamme 90 40 1 0 0 0 1 0 0 1 0 0 0 0; -#X msg 401 177 getall; -#X floatatom 322 336 4 0 0 0 - - -; -#X floatatom 282 72 6 0 0 0 - - -; -#X msg 282 138 round \$1 \$2; -#X obj 282 116 pack f f; -#X floatatom 363 71 4 0 200 0 - - -; -#X obj 281 227 print changed; -#X obj 134 119 pack f f; -#X floatatom 190 71 4 0 0 0 - - -; -#X obj 156 99 t b f; -#X msg 134 141 get \$1 \$2; -#X text 126 53 octave; -#X text 188 53 note; -#X text 271 56 semitone; -#X text 344 55 rounding strength; -#X obj 303 93 t b f; -#X text 19 59 semitone; -#X text 152 33 ARPEGE; -#X text 28 39 FILTER; -#X text 324 36 ROUNDING; -#X text 51 263 Result; -#X text 139 261 Number of; -#X text 127 273 selected notes; -#X text 377 238 in the key set.; -#X text 383 225 Last change; -#X text 371 158 get all the key set.; -#N canvas 483 118 375 520 audio 0; -#X obj 4 356 gamme 90 40 1 0 1 0 1 0 0 1 0 1 0 0; -#X obj 28 464 *~; -#X obj 4 419 mtof; -#X obj 4 442 osc~; -#N canvas 394 93 600 400 env 0; -#X obj 19 122 inlet; -#X obj 105 121 inlet; -#X msg 19 143 bang; -#X obj 89 280 line~; -#X obj 114 329 outlet~; -#X obj 114 307 *~; -#X obj 130 280 +~ 1; -#X obj 130 258 *~ 0.6; -#X obj 130 237 osc~ 12; -#X msg 89 228 0 \$1; -#X obj 89 206 200; -#X obj 48 206 0.2; -#X obj 64 121 inlet; -#X text 18 101 trig; -#X text 62 101 vol; -#X text 103 102 sustain; -#X text 133 219 lfo...; -#X msg 48 228 \$1 2; -#X obj 89 183 delay 2; -#X connect 0 0 2 0; -#X connect 1 0 10 1; -#X connect 2 0 11 0; -#X connect 2 0 18 0; -#X connect 3 0 5 0; -#X connect 5 0 4 0; -#X connect 6 0 5 1; -#X connect 7 0 6 0; -#X connect 8 0 7 0; -#X connect 9 0 3 0; -#X connect 10 0 9 0; -#X connect 11 0 17 0; -#X connect 12 0 11 1; -#X connect 17 0 3 0; -#X connect 18 0 10 0; -#X restore 44 441 pd env; -#X floatatom 51 236 5 0 0 0 - - -; -#X obj 17 499 dac~; -#X obj 62 421 pow 4; -#X obj 4 189 metro 180; -#X obj 4 211 i; -#X obj 4 162 tgl 20 0 empty empty play 0 -8 1 10 -262144 -1 -1 1 1 -; -#X obj 29 211 + 1; -#X obj 4 286 spigot; -#X obj 49 286 == 0; -#X obj 54 211 mod 16; -#X obj 91 287 spigot; -#X obj 136 287 == 1; -#X msg 91 309 get 4 \$1; -#X obj 233 251 unpack f; -#X obj 188 279 spigot; -#X msg 188 345 round \$1 \$2; -#X obj 188 323 pack f f; -#X obj 233 279 == 2; -#X obj 4 306 + 60; -#X obj 188 301 + 60.05; -#X obj 191 375 hsl 50 10 0 500 0 1 empty empty Sustain -2 -6 1 10 -262144 --1 -1 1700 1; -#X obj 52 165 hsl 50 10 5 500 0 1 empty empty Metro(ms) -2 -6 1 10 --262144 -1 -1 1200 1; -#X obj 318 165 vsl 10 40 0 100 0 1 empty empty Round 0 -8 1 10 -262144 --1 -1 600 1; -#X obj 191 486 hsl 60 15 0 1 0 1 empty empty Volume -2 -6 1 10 -258699 --1 -1 4300 1; -#X obj 149 88 cnv 15 90 47 empty empty filter/arpeg/round 2 8 1 10 --233017 -1 0; -#X obj 149 162 hdl 30 0 1 3 empty empty empty 20 8 0 8 -262144 -1 -1 -0; -#X obj 13 328 inlet; -#X connect 0 0 4 0; -#X connect 0 0 2 0; -#X connect 1 0 6 0; -#X connect 1 0 6 1; -#X connect 2 0 3 0; -#X connect 3 0 1 0; -#X connect 4 0 1 1; -#X connect 5 0 15 0; -#X connect 5 0 12 0; -#X connect 5 0 19 0; -#X connect 7 0 4 1; -#X connect 8 0 9 0; -#X connect 9 0 5 0; -#X connect 9 0 11 0; -#X connect 10 0 8 0; -#X connect 11 0 14 0; -#X connect 12 0 23 0; -#X connect 13 0 12 1; -#X connect 14 0 9 1; -#X connect 15 0 17 0; -#X connect 16 0 15 1; -#X connect 17 0 0 0; -#X connect 18 0 16 0; -#X connect 18 0 22 0; -#X connect 18 0 13 0; -#X connect 19 0 24 0; -#X connect 20 0 0 0; -#X connect 21 0 20 0; -#X connect 22 0 19 1; -#X connect 23 0 0 0; -#X connect 24 0 21 0; -#X connect 25 0 4 2; -#X connect 26 0 8 1; -#X connect 27 0 21 1; -#X connect 28 0 7 0; -#X connect 30 0 18 0; -#X connect 31 0 0 0; -#X coords 0 0 1 1 210 110 1; -#X restore 33 325 pd audio demo; -#X connect 2 0 3 0; -#X connect 2 1 6 0; -#X connect 2 2 7 0; -#X connect 2 2 15 0; -#X connect 4 0 16 0; -#X connect 5 0 2 0; -#X connect 7 0 8 0; -#X connect 7 0 35 0; -#X connect 8 1 10 0; -#X connect 9 0 2 0; -#X connect 11 0 13 0; -#X connect 12 0 2 0; -#X connect 13 0 12 0; -#X connect 14 0 24 0; -#X connect 16 0 19 0; -#X connect 17 0 18 0; -#X connect 18 0 16 0; -#X connect 18 1 16 1; -#X connect 19 0 2 0; -#X connect 24 0 13 0; -#X connect 24 1 13 1; diff --git a/help/image-help.pd b/help/image-help.pd deleted file mode 100644 index 12a5e9f..0000000 --- a/help/image-help.pd +++ /dev/null @@ -1,104 +0,0 @@ -#N canvas 150 138 585 548 10; -#X obj 0 0 cnv 8 100 60 empty empty image 20 20 1 18 -262144 -1109 -0; -#X text 14 510 (c) moonix: Antoine Rousseau 2004; -#X text 118 15 image viewer; -#X text 79 33 usage: image image_symbol [type]; -#X text 97 48 if type=0 (or absent) \, image_symbol is a file.; -#X text 444 63 see "load" and "set"; -#X text 98 63 if type=1 \, image_symbol means a pre-loaded image \; -; -#X text 248 510 \, but it's a hack of Gunter Geiger's image...; -#X obj 112 134 cnv 15 80 40 empty empty empty 20 12 0 14 -1 -66577 -0; -#X obj 122 148 image play.gif 0; -#X obj 348 216 cnv 15 20 20 empty empty empty 20 12 0 14 -1 -66577 -0; -#X obj 372 197 t a; -#X msg 424 105 open play.gif; -#X msg 425 125 open playy.gif; -#X msg 424 144 open rec.gif; -#X msg 424 162 open pause.gif; -#X msg 424 180 open sinw.gif; -#X msg 425 198 open squarew.gif; -#X msg 425 215 open saww.gif; -#X obj 360 227 image play.gif 0; -#X obj 136 148 image rec.gif 0; -#X obj 152 148 image pause.gif 0; -#X obj 185 144 image sinw.gif 0; -#X obj 185 156 image squarew.gif 0; -#X obj 185 168 image saww.gif 0; -#N canvas 183 192 77 40 /SUBPATCH/ 0; -#X obj 87 205 t a; -#X msg 127 127 open sinw.gif; -#X msg 146 150 open squarew.gif; -#X msg 165 171 open saww.gif; -#X obj -1 0 tgl 40 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; -#X obj 0 1 cnv 15 40 40 empty empty empty 20 12 0 14 -1 -66577 0; -#X obj 26 20 image sinw.gif 0; -#X obj 127 84 i; -#X obj 153 85 + 1; -#X obj 179 85 mod 3; -#X obj 127 105 sel 0 1 2; -#X obj 127 63 b; -#X connect 1 0 0 0; -#X connect 2 0 0 0; -#X connect 3 0 0 0; -#X connect 4 0 11 0; -#X connect 7 0 8 0; -#X connect 7 0 10 0; -#X connect 8 0 9 0; -#X connect 9 0 7 1; -#X connect 10 0 1 0; -#X connect 10 1 2 0; -#X connect 10 2 3 0; -#X connect 11 0 7 0; -#X coords 0 0 1 1 40 40 1; -#X restore 246 133 pd; -#X text 241 118 click !; -#X obj 65 348 t f f; -#X obj 65 410 pack s s; -#X msg 65 430 load \$1 \$2; -#X msg 295 397 set \$1; -#X obj 298 304 hsl 128 15 0 63 0 0 empty empty empty -2 -6 0 8 -262144 --1 -1 0 1; -#X obj 295 326 i; -#X obj 202 446 image d15 1; -#X obj 295 349 change; -#X obj 65 370 makesymbol d%s; -#X obj 95 390 makesymbol d/d%s.gif; -#X obj 295 376 makesymbol d%s; -#X text 6 253 For animations \, it's beter to preload images:; -#X obj 402 377 loadbang; -#X msg 402 397 open rec.gif; -#X text 95 274 1: load img_sym file; -#X text 291 287 2: set img_sym; -#X text 270 443 rem: when a img_symbol is loaded \, it; -#X text 305 455 can be used in any image object.; -#X text 17 94 ONLY GIF FILES ACCEPTED !! (because of Tk...); -#X msg 62 276 64; -#X obj 63 299 until; -#X obj 64 325 float; -#X obj 101 325 + 1; -#X connect 12 0 11 0; -#X connect 13 0 11 0; -#X connect 14 0 11 0; -#X connect 15 0 11 0; -#X connect 16 0 11 0; -#X connect 17 0 11 0; -#X connect 18 0 11 0; -#X connect 27 0 35 0; -#X connect 27 1 36 0; -#X connect 28 0 29 0; -#X connect 31 0 32 0; -#X connect 32 0 34 0; -#X connect 34 0 37 0; -#X connect 35 0 28 0; -#X connect 36 0 28 1; -#X connect 37 0 30 0; -#X connect 39 0 40 0; -#X connect 46 0 47 0; -#X connect 47 0 48 0; -#X connect 48 0 27 0; -#X connect 48 0 49 0; -#X connect 49 0 48 1; diff --git a/help/makecolor-help.pd b/help/makecolor-help.pd deleted file mode 100644 index ac52e81..0000000 --- a/help/makecolor-help.pd +++ /dev/null @@ -1,18 +0,0 @@ -#N canvas 36 264 527 298 10; -#X text 27 268 (c) Antoine Rousseau 2001; -#X obj 18 27 makecolor; -#X text 91 22 A color-symbol builder \, transforming RGB values in -one hexa symbol.; -#X obj 161 149 makecolor; -#X symbolatom 161 186 10 0 0; -#X floatatom 144 85 5 0 0; -#X floatatom 190 85 5 0 0; -#X floatatom 235 86 5 0 0; -#X obj 161 127 b; -#X connect 3 0 4 0; -#X connect 5 0 3 0; -#X connect 6 0 3 1; -#X connect 6 0 8 0; -#X connect 7 0 3 2; -#X connect 7 0 8 0; -#X connect 8 0 3 0; diff --git a/help/mknob-help.pd b/help/mknob-help.pd deleted file mode 100644 index 90f4fb2..0000000 --- a/help/mknob-help.pd +++ /dev/null @@ -1,53 +0,0 @@ -#N canvas 19 167 677 325 10; -#X obj 0 0 cnv 8 100 60 empty empty mknob 20 20 1 18 -262144 -1109 -0; -#X floatatom 55 149 5 0 0 0 - - -; -#X floatatom 55 68 5 0 0 0 - - -; -#X text 104 208 Just an adaptation of musil's slider.; -#X obj 138 224 hsl 128 15 0 127 0 0 empty empty empty -2 -6 0 8 -262144 --1 -1 0 1; -#X text 103 222 See:; -#X msg 3 107 set \$1; -#X floatatom 190 114 5 0 0 0 - - -; -#X obj 190 95 r foo-snd; -#X floatatom 190 60 5 0 0 0 - - -; -#X obj 190 76 s foo-rcv; -#X text 135 12 gui-round-knob; -#X text 2 302 (c) moonix: Antoine Rousseau 2003; -#X obj 149 57 mknob 25 100 0 100 0 0 foo-snd foo-rcv empty -2 -6 192 -8 -225271 -1 -1 0 1; -#X obj 55 85 mknob 30 100 0 127 0 0 empty empty empty -2 -6 0 8 -241291 --24198 -1 0 1; -#X obj 55 126 mknob 15 100 127 0 0 0 empty empty empty -2 -6 0 8 -258699 --24198 -1 0 1; -#X text 306 40 "mouse" parameter sets mouse; -#X text 309 50 excursion for full range.; -#X text 309 62 Set it with "size" parameter:; -#X obj 398 201 mknob 25 -1 0 127 0 0 empty empty empty -2 -6 0 8 -262144 --1 -1 0 1; -#X msg 369 96 size 25 300; -#X msg 398 119 size 25 10; -#X text 452 96 low sensibility; -#X text 474 120 high sens; -#X text 494 142 default; -#X msg 413 141 size 25 100; -#X text 497 164 angular control; -#X msg 427 165 size 25 0; -#X text 518 187 full angular control; -#X msg 443 188 size 25 -1; -#X text 273 253 Note: there is in the sources a patch named mknob.pd.tk.diff -to add (in pd.tk) mknob in the Pd "Put" menu \, and to give the hotkey -"Alt-k" to it. It will only work for Pd0.37 \, but it can help to do -the modif by hand for another version.; -#X connect 2 0 14 0; -#X connect 6 0 14 0; -#X connect 8 0 7 0; -#X connect 9 0 10 0; -#X connect 14 0 15 0; -#X connect 15 0 6 0; -#X connect 15 0 1 0; -#X connect 20 0 19 0; -#X connect 21 0 19 0; -#X connect 25 0 19 0; -#X connect 27 0 19 0; -#X connect 29 0 19 0; diff --git a/help/panvol~-help.pd b/help/panvol~-help.pd deleted file mode 100644 index f7ad351..0000000 --- a/help/panvol~-help.pd +++ /dev/null @@ -1,34 +0,0 @@ -#N canvas 117 381 340 290 10; -#X obj 0 0 cnv 8 100 60 empty empty panvol~ 10 20 1 18 -262144 -1109 -0; -#X text 3 269 (c) Moonix: Antoine Rousseau 2003; -#X text 132 12 pan & volume; -#X obj 138 69 hsl 60 10 -45 45 0 0 empty empty pan -2 -6 0 8 -262144 --1 -1 2950 1; -#X obj 238 61 vsl 10 60 0 1 0 0 empty empty vol 0 -8 0 8 -262144 -1 --1 5900 1; -#X floatatom 135 85 5 0 0; -#X floatatom 238 127 5 0 0; -#X obj 113 141 panvol~; -#X obj 94 190 unsig~ 100; -#X floatatom 94 210 5 0 0; -#X obj 60 85 osc~ 440; -#X obj 173 190 unsig~ 100; -#X floatatom 173 210 5 0 0; -#X obj 94 170 envrms~; -#X obj 173 170 envrms~; -#X obj 60 104 *~ 2; -#X msg 174 49 0; -#X connect 3 0 5 0; -#X connect 4 0 6 0; -#X connect 5 0 7 1; -#X connect 6 0 7 2; -#X connect 7 0 13 0; -#X connect 7 1 14 0; -#X connect 8 0 9 0; -#X connect 10 0 15 0; -#X connect 11 0 12 0; -#X connect 13 0 8 0; -#X connect 14 0 11 0; -#X connect 15 0 7 0; -#X connect 16 0 3 0; diff --git a/help/pause.gif b/help/pause.gif deleted file mode 100644 index 684f755..0000000 Binary files a/help/pause.gif and /dev/null differ diff --git a/help/play.gif b/help/play.gif deleted file mode 100644 index 10ae809..0000000 Binary files a/help/play.gif and /dev/null differ diff --git a/help/playy.gif b/help/playy.gif deleted file mode 100644 index c710c7e..0000000 Binary files a/help/playy.gif and /dev/null differ diff --git a/help/popen-help.pd b/help/popen-help.pd deleted file mode 100644 index e37d8e9..0000000 --- a/help/popen-help.pd +++ /dev/null @@ -1,68 +0,0 @@ -#N canvas 0 195 644 383 10; -#X obj 0 0 cnv 8 100 60 empty empty popen 10 20 1 18 -262144 -1109 -0; -#X text 13 362 (c) Moonix: Antoine Rousseau 2003; -#X msg 31 74 open process; -#X text 12 57 open: popen for writing; -#X msg 240 76 ropen process; -#X text 221 59 ropen: popen for reading; -#X msg 466 76 close; -#X text 428 60 close (quit) current process; -#X text 108 13 processus in/out (linux only); -#X text 108 26 DANGEROUS: deadlocks are easy!!!!; -#N canvas 0 0 850 359 example 0; -#X obj 458 194 popen; -#X msg 516 167 close; -#X obj 82 311 popen; -#X msg 151 261 close; -#X msg 76 190 list cat to where you want; -#X msg 24 145 open cat > /tmp/tmp_fifo; -#X msg 431 138 ropen cat /tmp/tmp_fifo; -#X obj 38 89 system; -#X msg 38 67 mkfifo /tmp/tmp_fifo; -#X obj 76 258 symbol \;; -#X obj 76 236 t b a; -#X symbolatom 433 284 0 0 0 0 - - -; -#X text 10 17 example: fifo read/write. RESPECT THE NUMBERS for commands -!; -#X text 430 120 3: open for reading; -#X msg 92 213 list Caution not to lock your computer...; -#X text 517 183 6: close reading process; -#X obj 433 260 l2s; -#X obj 458 227 print ropen; -#X text 76 173 4: write to fifo (as many times you want); -#X text 36 46 1: create the fifo (if not done); -#X text 147 244 5: close writing process FIRST; -#X text 23 125 2: open the fifo for writing FIRST; -#X text 503 248 Caution: popen/ropen waits for a " \; "; -#X text 565 260 to send its buffer (pd style).; -#X connect 0 0 17 0; -#X connect 0 0 16 0; -#X connect 1 0 0 0; -#X connect 3 0 2 0; -#X connect 4 0 10 0; -#X connect 5 0 2 0; -#X connect 6 0 0 0; -#X connect 8 0 7 0; -#X connect 9 0 2 0; -#X connect 10 0 9 0; -#X connect 10 1 2 0; -#X connect 14 0 10 0; -#X connect 16 0 11 0; -#X restore 19 161 pd example; -#X obj 31 109 popen; -#X text 20 191 Remarks:; -#X text 46 204 The danger here comes from the fact processes lauched -by; -#X text 47 215 popen runs concurrently with pd: if they are blocking -\, pd; -#X text 46 228 is blocking too. Very dangerous if pd has real-time -priority: it blocks all the sytem. You have to switch off the computer... -; -#X text 47 267 It's much safer to use netsend/netreceive in conjonction -with pdsend/pdreceive.; -#X obj 206 333 system; -#X text 46 297 You can use "at now" to lauch programs totally independantly -from Pd:; -#X msg 206 313 echo xclock -display 0:0 | at now; -#X connect 19 0 17 0; diff --git a/help/readsfv~-help.pd b/help/readsfv~-help.pd deleted file mode 100644 index 5870912..0000000 --- a/help/readsfv~-help.pd +++ /dev/null @@ -1,60 +0,0 @@ -#N canvas 117 77 546 422 10; -#X obj 0 0 cnv 8 100 60 empty empty readsfv~ 10 20 1 18 -262144 -1109 -0; -#X text 4 400 (c) Moonix: Antoine Rousseau 2003; -#X obj 124 367 dac~; -#X obj 132 331 readsfv~; -#X obj 132 188 delay 20; -#X msg 132 207 start; -#X msg 193 207 1; -#X obj 132 158 bng 15 250 50 0 empty empty play -25 4 0 8 -24198 -1 --1; -#X obj 183 351 s replay; -#X obj 132 60 r replay; -#X obj 159 284 symbol; -#X msg 159 304 open \$1; -#X msg 229 283 symbol /usr/local/lib/pd/doc/sound/bell.aiff; -#X msg 229 262 symbol ../../sound/bell.aiff; -#X msg 47 298 speed \$1; -#X obj 266 239 openpanel; -#X obj 266 220 bng 15 250 50 0 empty empty open 0 -6 1 8 -195568 -1 --1; -#X obj 132 126 spigot; -#X obj 169 109 tgl 15 1 empty empty loop 0 -6 1 8 -241291 -1 -1 1 1 -; -#X obj 47 58 vsl 15 128 0.08 8 1 0 empty empty speed 0 -8 1 8 -260818 --1 -1 6965 1; -#X obj 1 57 init 1; -#X obj 47 278 f; -#X text 171 207 (or; -#X text 220 207 ); -#X obj 57 253 b; -#X obj 113 106 del 100; -#X text 129 8 read a big soundfile in direct-to-disk mode; -#X text 131 20 at variable speed.; -#X text 230 104 read manual of; -#X text 390 103 for more details...; -#X obj 335 102 readsf~; -#X connect 3 0 2 0; -#X connect 3 0 2 1; -#X connect 3 1 8 0; -#X connect 4 0 5 0; -#X connect 5 0 3 0; -#X connect 5 0 24 0; -#X connect 7 0 4 0; -#X connect 7 0 10 0; -#X connect 9 0 25 0; -#X connect 10 0 11 0; -#X connect 11 0 3 0; -#X connect 12 0 10 1; -#X connect 13 0 10 1; -#X connect 14 0 3 0; -#X connect 15 0 10 1; -#X connect 16 0 15 0; -#X connect 17 0 7 0; -#X connect 18 0 17 1; -#X connect 19 0 21 0; -#X connect 20 0 19 0; -#X connect 21 0 14 0; -#X connect 24 0 21 0; -#X connect 25 0 17 0; diff --git a/help/rec.gif b/help/rec.gif deleted file mode 100644 index d49b027..0000000 Binary files a/help/rec.gif and /dev/null differ diff --git a/help/relativepath-help.pd b/help/relativepath-help.pd deleted file mode 100644 index b056f4a..0000000 --- a/help/relativepath-help.pd +++ /dev/null @@ -1,13 +0,0 @@ -#N canvas 14 323 660 379 10; -#X text 17 352 (c) Antoine Rousseau 2004; -#X obj 33 108 absolutepath; -#X symbolatom 33 131 0 0 0; -#X msg 33 51 symbol absolutepath.pd; -#X obj 33 220 relativepath; -#X symbolatom 33 245 0 0 0; -#X text 14 6 absolutepath / relativepath : use filenames relatively -to the patch's path.; -#X connect 1 0 2 0; -#X connect 2 0 4 0; -#X connect 3 0 1 0; -#X connect 4 0 5 0; diff --git a/help/s2f-help.pd b/help/s2f-help.pd deleted file mode 100644 index 2192924..0000000 --- a/help/s2f-help.pd +++ /dev/null @@ -1,18 +0,0 @@ -#N canvas 106 74 492 266 10; -#X obj 0 0 cnv 8 100 60 empty empty s2f 10 20 1 18 -262144 -1109 0 -; -#X text 1 244 (c) Moonix: Antoine Rousseau 2003; -#X text 129 8 symbol to float converter; -#X obj 197 159 s2f; -#X floatatom 197 184 0 0 0; -#X symbolatom 197 142 0 0 0; -#X obj 345 105 makesymbol %s; -#X msg 48 84 symbol 0.0003125foo; -#X msg 197 85 symbol 54.123e-3bar; -#X msg 345 85 13.25; -#X connect 3 0 4 0; -#X connect 5 0 3 0; -#X connect 6 0 5 0; -#X connect 7 0 5 0; -#X connect 8 0 5 0; -#X connect 9 0 6 0; diff --git a/help/sarray-help.pd b/help/sarray-help.pd deleted file mode 100644 index 157d245..0000000 --- a/help/sarray-help.pd +++ /dev/null @@ -1,93 +0,0 @@ -#N canvas 158 412 745 484 10; -#X obj 0 0 cnv 8 100 60 empty empty sarray 10 20 1 18 -262144 -1109 -0; -#X text 2 467 (c) Moonix: Antoine Rousseau 2003; -#X msg 74 275 1; -#X msg 103 275 2; -#X msg 131 275 3; -#X symbolatom 139 356 10 0 0; -#X msg 533 269 reset; -#X text 109 12 shared array of symbols; -#X obj 47 146 sarray foo 8; -#X text 23 48 1) set the length; -#X msg 47 71 setlen 10; -#X text 236 43 2) set the nth element; -#X msg 266 85 set 2 two; -#X msg 274 106 set 3 three; -#X obj 258 169 sarray foo; -#X msg 129 110 print; -#X msg 44 299 get \$1; -#X obj 44 320 sarray foo; -#X obj 44 339 route bang; -#X msg 159 275 4; -#X obj 44 359 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X msg 44 275 0; -#X text 12 256 3) get the nth symbol (first:0); -#X obj 533 289 sarray foo; -#X text 1 376 (bang when empty); -#X text 298 252 4) dump the whole array; -#X obj 299 379 sarray foo; -#X msg 299 272 dump; -#X obj 299 400 print dump; -#X msg 334 325 dump _null_; -#X msg 334 345 dump *?!; -#X text 315 298 specify a default symbol; -#X text 329 309 for empty elements; -#X obj 472 175 sarray foo; -#X text 494 85 specify a default symbol; -#X text 494 97 for empty elements; -#X msg 294 147 print; -#X msg 428 146 print; -#X text 531 251 6) clear the sarray; -#X msg 578 269 print; -#X text 6 165 args: sarray name [length]; -#X text 258 193 args: set [empty_symbol] first_index sym1 [sym2 [sym3...]]] -; -#X text 286 425 args: dump [empty_symbol]; -#X msg 258 61 set 0 zero; -#X text 453 43 3) set many elements; -#X text 533 134 ...erase one element; -#X msg 281 127 set 4 four; -#X msg 57 93 setlen 4; -#X msg 534 149 set _niet_ 3 _niet_; -#X msg 499 113 set _ 0 zero un _ trois _ cinq; -#X msg 472 60 set 0 zero ein zwei drei; -#X text 528 328 7) switch to another array; -#X obj 523 370 sarray foo2 4; -#X msg 523 351 set 0 zero2 one2 two2 three2; -#X obj 528 442 sarray; -#X msg 528 402 print; -#X msg 577 403 setarray foo; -#X msg 577 422 setarray foo2; -#X connect 2 0 16 0; -#X connect 3 0 16 0; -#X connect 4 0 16 0; -#X connect 6 0 23 0; -#X connect 10 0 8 0; -#X connect 12 0 14 0; -#X connect 13 0 14 0; -#X connect 15 0 8 0; -#X connect 16 0 17 0; -#X connect 17 0 18 0; -#X connect 18 0 20 0; -#X connect 18 1 5 0; -#X connect 19 0 16 0; -#X connect 21 0 16 0; -#X connect 26 0 28 0; -#X connect 27 0 26 0; -#X connect 29 0 26 0; -#X connect 30 0 26 0; -#X connect 36 0 14 0; -#X connect 37 0 33 0; -#X connect 39 0 23 0; -#X connect 43 0 14 0; -#X connect 46 0 14 0; -#X connect 47 0 8 0; -#X connect 48 0 33 0; -#X connect 49 0 33 0; -#X connect 50 0 33 0; -#X connect 53 0 52 0; -#X connect 55 0 54 0; -#X connect 56 0 54 0; -#X connect 57 0 54 0; diff --git a/help/saww.gif b/help/saww.gif deleted file mode 100644 index 32997ad..0000000 Binary files a/help/saww.gif and /dev/null differ diff --git a/help/sfread2~-help.pd b/help/sfread2~-help.pd deleted file mode 100644 index ad8ae16..0000000 --- a/help/sfread2~-help.pd +++ /dev/null @@ -1,60 +0,0 @@ -#N canvas 38 250 582 490 10; -#X obj 0 0 cnv 8 100 60 empty empty sfread2~ 10 20 1 18 -262144 -1109 -0; -#X text 2 459 (c) Moonix: Antoine Rousseau 2003; -#X text 66 390 Change "mlockall(MCL_FUTURE)" with "mlockall(MCL_CURRENT) -; -#X obj 155 262 sfread2~ 2; -#X msg 155 202 open \$1; -#X obj 19 151 bng 15 250 50 0 empty empty play 20 8 1 8 -24198 -1 -1 -; -#X msg 278 225 loop \$1; -#X obj 278 207 tgl 15 1 empty empty loop 20 8 0 8 -241291 -1 -1 1 1 -; -#X obj 57 103 tgl 15 1 empty empty interpolation 20 8 1 8 -257472 -1 --1 1 1; -#X msg 57 121 interp \$1; -#X obj 458 181 vsl 15 128 -8 8 0 0 empty empty speed 0 -8 1 8 -260818 --1 -1 7144 1; -#X text 135 12 soundfile reader at variable speed (possibly negative) -\, whith 4-point interpolation and loop.; -#X obj 154 296 dac~; -#X obj 155 92 openpanel; -#X obj 155 72 bng 15 250 50 0 empty empty open 0 -6 1 8 -166441 -1 --1; -#X obj 18 179 bng 15 250 50 0 empty empty stop 20 8 1 8 -1 -1 -1; -#X msg 18 196 0; -#X obj 148 339 sfread~; -#X text 43 341 read manual of; -#X text 202 339 for more details...; -#X text 235 159 resets sound to position; -#X text 234 148 start position in samples; -#X msg 238 174 index 20000; -#X obj 497 177 loadbang; -#X msg 497 196 1; -#X msg 261 99 symbol /usr/local/lib/pd/doc/sound/voice.wav; -#X msg 261 78 symbol ../../sound/voice.wav; -#X text 66 414 If not \, the whole file will be loaded in memory when -opened (use of C function mmap()).; -#X text 66 401 in s_linux.c... SORRY \, I mean in s_inter.c (since -0.37...); -#X text 59 378 CAUTION: you should hack pd sources to have d-t-d working. -; -#X connect 3 0 12 0; -#X connect 3 1 12 1; -#X connect 4 0 3 0; -#X connect 5 0 3 0; -#X connect 6 0 3 0; -#X connect 7 0 6 0; -#X connect 8 0 9 0; -#X connect 9 0 3 0; -#X connect 10 0 3 1; -#X connect 13 0 4 0; -#X connect 14 0 13 0; -#X connect 15 0 16 0; -#X connect 16 0 3 0; -#X connect 22 0 3 0; -#X connect 23 0 24 0; -#X connect 24 0 10 0; -#X connect 25 0 4 0; -#X connect 26 0 4 0; diff --git a/help/sin.gif b/help/sin.gif deleted file mode 100644 index c84ad79..0000000 Binary files a/help/sin.gif and /dev/null differ diff --git a/help/sinw.gif b/help/sinw.gif deleted file mode 100644 index 8bedc66..0000000 Binary files a/help/sinw.gif and /dev/null differ diff --git a/help/slist-help.pd b/help/slist-help.pd deleted file mode 100644 index f499120..0000000 --- a/help/slist-help.pd +++ /dev/null @@ -1,61 +0,0 @@ -#N canvas 459 312 690 375 10; -#X obj 0 0 cnv 8 100 60 empty empty slist 10 20 1 18 -262144 -1109 -0; -#X text 3 354 (c) Moonix: Antoine Rousseau 2003; -#X text 109 12 shared list of symbols \, with a "find" feature; -#X obj 80 107 slist foo; -#X obj 261 100 slist foo; -#X text 24 55 1) fill the slist; -#X msg 261 79 len; -#X text 260 58 2) get the slist length; -#X floatatom 319 121 5 0 0; -#X obj 480 106 slist foo; -#X msg 451 79 1; -#X msg 480 79 2; -#X msg 508 79 3; -#X symbolatom 509 127 10 0 0; -#X obj 157 218 slist foo; -#X text 448 59 3) get the nth symbol (first:1); -#X msg 21 189 find boo; -#X msg 225 189 find bar; -#X floatatom 157 242 5 0 0; -#X msg 91 189 find bee; -#X msg 157 189 find baa; -#X obj 548 212 slist foo; -#X text 21 168 4) find the index of a symbol (0 = not found); -#X msg 548 192 reset; -#X msg 144 77 add baa; -#X msg 26 77 add boo \, add bee; -#X obj 378 223 slist foo; -#X text 364 169 5) print to console; -#X text 546 171 6) clear the slist; -#X msg 378 203 print; -#X text 383 184 (debug); -#X obj 256 318 slist foo2; -#X text 256 271 7) switch to another slist; -#X obj 476 345 slist; -#X msg 503 296 setlist foo; -#X msg 503 318 setlist foo2; -#X msg 460 296 print; -#X msg 256 297 add boo2 \, add bee2 \, add baa2; -#X msg 212 297 print; -#X connect 4 2 8 0; -#X connect 6 0 4 0; -#X connect 9 1 13 0; -#X connect 10 0 9 0; -#X connect 11 0 9 0; -#X connect 12 0 9 0; -#X connect 14 0 18 0; -#X connect 16 0 14 0; -#X connect 17 0 14 0; -#X connect 19 0 14 0; -#X connect 20 0 14 0; -#X connect 23 0 21 0; -#X connect 24 0 3 0; -#X connect 25 0 3 0; -#X connect 29 0 26 0; -#X connect 34 0 33 0; -#X connect 35 0 33 0; -#X connect 36 0 33 0; -#X connect 37 0 31 0; -#X connect 38 0 31 0; diff --git a/help/squarew.gif b/help/squarew.gif deleted file mode 100644 index 3e689c7..0000000 Binary files a/help/squarew.gif and /dev/null differ diff --git a/help/ssaw~-help.pd b/help/ssaw~-help.pd deleted file mode 100644 index 25903d1..0000000 --- a/help/ssaw~-help.pd +++ /dev/null @@ -1,21 +0,0 @@ -#N canvas 106 74 492 266 10; -#X obj 0 0 cnv 8 100 60 empty empty ssaw 10 20 1 18 -262144 -1109 0 -; -#X text 8 243 (c) Moonix: Antoine Rousseau 2004; -#X obj 162 103 ssaw~ 440; -#X obj 163 149 *~; -#X obj 162 77 mtof; -#X floatatom 161 57 5 0 0 0 - - -; -#X floatatom 207 77 0 0 0 0 - - -; -#X obj 197 128 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 --1 -1 0 1; -#X obj 159 193 dac~; -#X text 124 19 sweet sawtooth generator; -#X text 121 32 (not to much aliasing below 10kHz); -#X connect 2 0 3 0; -#X connect 3 0 8 0; -#X connect 3 0 8 1; -#X connect 4 0 6 0; -#X connect 4 0 2 0; -#X connect 5 0 4 0; -#X connect 7 0 3 1; diff --git a/help/tabdump2-help.pd b/help/tabdump2-help.pd deleted file mode 100644 index b69458c..0000000 --- a/help/tabdump2-help.pd +++ /dev/null @@ -1,31 +0,0 @@ -#N canvas 21 53 496 358 10; -#X obj 13 21 tabdump2; -#X obj 187 37 tabdump; -#X text 22 332 (c) Antoine Rousseau 2004; -#X text 104 21 dump the contents of a table as a list; -#X text 104 37 like zexy's; -#X text 244 38 but with min/max dumping limits.; -#N canvas 0 0 450 300 graph5 0; -#X array \$0-array 10 float 0; -#X coords 0 1 9 0 100 80 1; -#X restore 330 71 graph; -#X obj 17 132 s \$0-array; -#X msg 17 112 0 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9; -#X obj 17 92 loadbang; -#X obj 34 243 tabdump2 \$0-array; -#X obj 34 269 l2s; -#X symbolatom 34 293 0 0 0 0 - - -; -#X obj 258 204 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X msg 22 204 dump 0 5; -#X msg 95 203 dump 5 10; -#X text 18 177 dump N M: from N to (M-1); -#X msg 174 203 dump 5 6; -#X connect 8 0 7 0; -#X connect 9 0 8 0; -#X connect 10 0 11 0; -#X connect 11 0 12 0; -#X connect 13 0 10 0; -#X connect 14 0 10 0; -#X connect 15 0 10 0; -#X connect 17 0 10 0; diff --git a/help/tabenv-help.pd b/help/tabenv-help.pd deleted file mode 100644 index cb719d0..0000000 --- a/help/tabenv-help.pd +++ /dev/null @@ -1,25 +0,0 @@ -#N canvas 205 155 534 360 10; -#X text 22 332 (c) Antoine Rousseau 2001; -#X obj 21 19 tabenv; -#X text 78 21 A envelope follower for table (not in real-time).; -#X text 35 65 args: arrayname [computation_num_points [output_period]] -; -#X text 147 151 change the array; -#X msg 64 181 reset; -#X msg 64 152 set Array1; -#X obj 64 255 tabenv Array0; -#X floatatom 64 283 5 0 0; -#X msg 64 209 0 44100; -#X text 125 209 compute 1 sec from the beginning; -#X text 126 181 reset the computation buffers; -#X obj 258 86 env~; -#X text 294 85 ); -#X text 217 86 (like; -#X text 151 84 ); -#X text 47 86 (like; -#X obj 90 86 tabplay~; -#X text 79 38 (in fact it's a mix between tabplay and env~); -#X connect 5 0 7 0; -#X connect 6 0 7 0; -#X connect 7 0 8 0; -#X connect 9 0 7 0; diff --git a/help/tabreadl-help.pd b/help/tabreadl-help.pd deleted file mode 100644 index feebabe..0000000 --- a/help/tabreadl-help.pd +++ /dev/null @@ -1,26 +0,0 @@ -#N canvas 502 181 672 415 10; -#X obj 10 11 tabreadl; -#X text 22 332 (c) Antoine Rousseau 2004; -#X floatatom 15 173 0 0 0; -#X floatatom 15 278 0 0 0; -#N canvas 0 0 450 300 graph1 0; -#X array \$0-array 10 float 0; -#X coords 0 0 10 10 250 200 1; -#X restore 362 179 graph; -#X text 60 276 output = array99[index]; -#X text 34 50 click here to initialize; -#X text 159 236 creation argument; -#X text 155 254 gives array name; -#X text 137 204 change array name; -#X msg 25 204 set \$0-array99; -#X msg 33 65 resize 10 \, bounds 0 0 10 10 \, xlabel -0.5 0 1 2 3 4 -5 6 7 8 9 10 \, ylabel -1 0 1 2 3 4 5 6 7 8 9 10 \, 0 1 4 2 8 5 6 1 -4 2 8; -#X obj 34 139 s \$0-array; -#X text 110 8 - linear interpolating read from a table; -#X text 46 174 index(float); -#X obj 15 245 tabreadl \$0-array; -#X connect 2 0 15 0; -#X connect 10 0 15 0; -#X connect 11 0 12 0; -#X connect 15 0 3 0; diff --git a/help/tabsort-help.pd b/help/tabsort-help.pd deleted file mode 100644 index 805f12a..0000000 --- a/help/tabsort-help.pd +++ /dev/null @@ -1,32 +0,0 @@ -#N canvas 118 208 534 360 10; -#X text 22 332 (c) Antoine Rousseau 2001; -#X floatatom 39 303 5 0 0 0 - - -; -#X obj 21 19 tabsort; -#X text 20 58 args: source_table dest_table; -#N canvas 0 0 450 300 graph29 0; -#X array source 10 float 1; -#A 0 -0.0571429 -0.985715 -0.942858 -0.857143 -0.757143 -0.542857 -0.171429 -0.528571 0.842858 0.914287; -#X coords 0 1 9 -1 200 140 1; -#X restore 51 92 graph; -#N canvas 0 0 450 300 graph29 0; -#X array dest 10 float 1; -#A 0 9 8 7 0 6 5 4 3 2 1; -#X coords 0 10 9 0 200 140 1; -#X restore 304 89 graph; -#X obj 39 282 tabsort source dest; -#X msg 39 262 10; -#X text 79 12 write to dest_table the indices of source_table's elements -sorted by decreasing order (biggest first); -#X text 38 248 sort the n first elements; -#X obj 304 264 tabread dest; -#X obj 304 285 tabread source; -#X floatatom 304 246 5 0 0 0 - - -; -#X floatatom 304 305 5 0 0 0 - - -; -#X text 347 244 try it!; -#X text 300 321 it should decrease with input; -#X connect 6 0 1 0; -#X connect 7 0 6 0; -#X connect 10 0 11 0; -#X connect 11 0 13 0; -#X connect 12 0 10 0; diff --git a/help/tabsort2-help.pd b/help/tabsort2-help.pd deleted file mode 100644 index 4f4e29a..0000000 --- a/help/tabsort2-help.pd +++ /dev/null @@ -1,84 +0,0 @@ -#N canvas 133 15 811 538 10; -#X floatatom 62 381 5 0 0 0 - - -; -#N canvas 0 0 450 300 graph29 0; -#X array source1 100 float 1; -#A 0 -0.0428565 -0.0571422 0.085715 0.228572 0.442858 0.657144 0.871429 -1.08572 1.22857 1.51429 1.72857 1.94286 2.22857 2.37143 2.58571 2.72857 -2.87143 2.94286 3.15714 3.3 3.3 3.44286 3.58571 3.65714 3.72857 3.8 -3.94286 4.01429 4.08571 4.22857 4.3 4.13929 3.97857 3.81786 3.51429 -3.22857 2.8 2.37143 2.3 2.3 2.3 2.37143 2.44286 2.51429 2.51429 2.58572 -2.55 2.37143 2.22857 1.94286 1.72857 1.58572 1.44286 1.44286 1.37144 -1.37144 1.37144 1.44286 1.44286 1.44286 1.44286 1.51429 1.51429 1.58572 -1.65714 1.65714 1.70476 1.75238 1.8 1.87143 2.01429 2.15714 2.22857 -4.58572 4.94286 5.22857 5.44286 5.58572 5.58572 5.39524 5.20477 5.01429 -4.82381 4.63334 4.44286 4.25238 4.06191 3.8 3.72857 3.65715 3.65715 -3.58572 3.58572 4.15715 4.51429 4.58572 4.72858 4.87143 5.08572 5.44286 -; -#X coords 0 10 99 0 200 140 1; -#X restore 60 133 graph; -#N canvas 0 0 450 300 graph29 0; -#X array dest 100 float 0; -#X coords 0 100 99 0 200 140 1; -#X restore 547 129 graph; -#X obj 10 8 tabsort2; -#X text 75 9 2 dimensionnal sort.; -#X text 24 99 args: source_table1 source_table2 dest_table; -#X text 248 8 write to dest_table the indices of the first N source_table1's -elements sorted by decreasing order (biggest first) \, then sort the -"columns" of sqrt(N) indices decreasingly according to their values -in source_table2 (is it clear?).; -#N canvas 0 0 450 300 graph29 0; -#X array source2 100 float 1; -#A 0 7.71429 7.64286 7.64286 7.57143 7.5 7.35714 7.21428 6.92857 6.57143 -6 5.71428 5.57143 5.21428 4.5 4.35714 4.28571 4.28571 4.28571 4.28571 -4.28571 4.42857 4.57143 4.64285 4.78571 4.92857 5.14285 5.35714 5.71428 -6 6.21428 6.42857 6.57143 6.64286 6.64286 6.64286 6.64286 6.57143 6.57143 -6.42857 6.35714 6.28571 6.14286 5.92857 5.78571 5.64286 5.42857 7.85714 -7.92857 8.42857 8.71428 8.92857 8.92857 8.92857 8.92857 8.85714 8.78571 -8.78571 8.78571 8.5 8.28571 8.07143 7.5 7.28571 6.85714 6.57143 5.78571 -5.5 5.21428 4.78571 4.64286 4.64286 4.78571 4.92857 5.07143 5.21428 -5.42857 5.57143 5.71428 5.92857 6.28571 6.5 6.85714 7.14286 7.35714 -7.64286 7.71429 7.78572 7.85714 7.85714 7.85714 7.71429 7.64286 7.5 -7.35714 7.14286 7.07143 7 6.85714 4.5 -0.342857; -#X coords 0 10 99 0 200 140 1; -#X restore 311 131 graph; -#X msg 62 340 100; -#X obj 62 360 tabsort2 source1 source2 dest; -#X obj 500 416 tabread dest; -#X obj 452 362 * 10; -#X obj 500 391 +; -#X floatatom 451 346 5 0 9 0 - - -; -#X obj 528 361 t b f; -#X floatatom 528 344 5 0 9 0 - - -; -#X floatatom 407 485 0 0 0 0 - - -; -#X obj 407 465 tabread source1; -#X obj 557 467 tabread source2; -#X floatatom 557 487 0 0 0 0 - - -; -#X floatatom 527 393 5 0 0 0 - - -; -#X text 433 328 x(columns); -#X text 521 327 y(lines); -#X text 403 504 decrease with x; -#X text 555 505 decrease with y; -#X text 49 305 1) Sort it:; -#X text 381 304 2) Try it:; -#X text 8 520 (c) Antoine Rousseau 2002; -#X floatatom 603 441 5 0 0 0 - - -; -#X text 604 416 index of sources; -#X text 606 426 elements; -#X text 28 396 output=sqrt(N)=the width/height; -#X text 28 410 of the destination "square".; -#X text 61 326 sort the N first elements; -#X connect 8 0 9 0; -#X connect 9 0 0 0; -#X connect 10 0 17 0; -#X connect 10 0 18 0; -#X connect 10 0 28 0; -#X connect 11 0 12 0; -#X connect 12 0 10 0; -#X connect 12 0 20 0; -#X connect 13 0 11 0; -#X connect 14 0 12 0; -#X connect 14 1 12 1; -#X connect 15 0 14 0; -#X connect 17 0 16 0; -#X connect 18 0 19 0; diff --git a/image-help.pd b/image-help.pd new file mode 100644 index 0000000..12a5e9f --- /dev/null +++ b/image-help.pd @@ -0,0 +1,104 @@ +#N canvas 150 138 585 548 10; +#X obj 0 0 cnv 8 100 60 empty empty image 20 20 1 18 -262144 -1109 +0; +#X text 14 510 (c) moonix: Antoine Rousseau 2004; +#X text 118 15 image viewer; +#X text 79 33 usage: image image_symbol [type]; +#X text 97 48 if type=0 (or absent) \, image_symbol is a file.; +#X text 444 63 see "load" and "set"; +#X text 98 63 if type=1 \, image_symbol means a pre-loaded image \; +; +#X text 248 510 \, but it's a hack of Gunter Geiger's image...; +#X obj 112 134 cnv 15 80 40 empty empty empty 20 12 0 14 -1 -66577 +0; +#X obj 122 148 image play.gif 0; +#X obj 348 216 cnv 15 20 20 empty empty empty 20 12 0 14 -1 -66577 +0; +#X obj 372 197 t a; +#X msg 424 105 open play.gif; +#X msg 425 125 open playy.gif; +#X msg 424 144 open rec.gif; +#X msg 424 162 open pause.gif; +#X msg 424 180 open sinw.gif; +#X msg 425 198 open squarew.gif; +#X msg 425 215 open saww.gif; +#X obj 360 227 image play.gif 0; +#X obj 136 148 image rec.gif 0; +#X obj 152 148 image pause.gif 0; +#X obj 185 144 image sinw.gif 0; +#X obj 185 156 image squarew.gif 0; +#X obj 185 168 image saww.gif 0; +#N canvas 183 192 77 40 /SUBPATCH/ 0; +#X obj 87 205 t a; +#X msg 127 127 open sinw.gif; +#X msg 146 150 open squarew.gif; +#X msg 165 171 open saww.gif; +#X obj -1 0 tgl 40 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; +#X obj 0 1 cnv 15 40 40 empty empty empty 20 12 0 14 -1 -66577 0; +#X obj 26 20 image sinw.gif 0; +#X obj 127 84 i; +#X obj 153 85 + 1; +#X obj 179 85 mod 3; +#X obj 127 105 sel 0 1 2; +#X obj 127 63 b; +#X connect 1 0 0 0; +#X connect 2 0 0 0; +#X connect 3 0 0 0; +#X connect 4 0 11 0; +#X connect 7 0 8 0; +#X connect 7 0 10 0; +#X connect 8 0 9 0; +#X connect 9 0 7 1; +#X connect 10 0 1 0; +#X connect 10 1 2 0; +#X connect 10 2 3 0; +#X connect 11 0 7 0; +#X coords 0 0 1 1 40 40 1; +#X restore 246 133 pd; +#X text 241 118 click !; +#X obj 65 348 t f f; +#X obj 65 410 pack s s; +#X msg 65 430 load \$1 \$2; +#X msg 295 397 set \$1; +#X obj 298 304 hsl 128 15 0 63 0 0 empty empty empty -2 -6 0 8 -262144 +-1 -1 0 1; +#X obj 295 326 i; +#X obj 202 446 image d15 1; +#X obj 295 349 change; +#X obj 65 370 makesymbol d%s; +#X obj 95 390 makesymbol d/d%s.gif; +#X obj 295 376 makesymbol d%s; +#X text 6 253 For animations \, it's beter to preload images:; +#X obj 402 377 loadbang; +#X msg 402 397 open rec.gif; +#X text 95 274 1: load img_sym file; +#X text 291 287 2: set img_sym; +#X text 270 443 rem: when a img_symbol is loaded \, it; +#X text 305 455 can be used in any image object.; +#X text 17 94 ONLY GIF FILES ACCEPTED !! (because of Tk...); +#X msg 62 276 64; +#X obj 63 299 until; +#X obj 64 325 float; +#X obj 101 325 + 1; +#X connect 12 0 11 0; +#X connect 13 0 11 0; +#X connect 14 0 11 0; +#X connect 15 0 11 0; +#X connect 16 0 11 0; +#X connect 17 0 11 0; +#X connect 18 0 11 0; +#X connect 27 0 35 0; +#X connect 27 1 36 0; +#X connect 28 0 29 0; +#X connect 31 0 32 0; +#X connect 32 0 34 0; +#X connect 34 0 37 0; +#X connect 35 0 28 0; +#X connect 36 0 28 1; +#X connect 37 0 30 0; +#X connect 39 0 40 0; +#X connect 46 0 47 0; +#X connect 47 0 48 0; +#X connect 48 0 27 0; +#X connect 48 0 49 0; +#X connect 49 0 48 1; diff --git a/makecolor-help.pd b/makecolor-help.pd new file mode 100644 index 0000000..ac52e81 --- /dev/null +++ b/makecolor-help.pd @@ -0,0 +1,18 @@ +#N canvas 36 264 527 298 10; +#X text 27 268 (c) Antoine Rousseau 2001; +#X obj 18 27 makecolor; +#X text 91 22 A color-symbol builder \, transforming RGB values in +one hexa symbol.; +#X obj 161 149 makecolor; +#X symbolatom 161 186 10 0 0; +#X floatatom 144 85 5 0 0; +#X floatatom 190 85 5 0 0; +#X floatatom 235 86 5 0 0; +#X obj 161 127 b; +#X connect 3 0 4 0; +#X connect 5 0 3 0; +#X connect 6 0 3 1; +#X connect 6 0 8 0; +#X connect 7 0 3 2; +#X connect 7 0 8 0; +#X connect 8 0 3 0; diff --git a/mknob-help.pd b/mknob-help.pd new file mode 100644 index 0000000..90f4fb2 --- /dev/null +++ b/mknob-help.pd @@ -0,0 +1,53 @@ +#N canvas 19 167 677 325 10; +#X obj 0 0 cnv 8 100 60 empty empty mknob 20 20 1 18 -262144 -1109 +0; +#X floatatom 55 149 5 0 0 0 - - -; +#X floatatom 55 68 5 0 0 0 - - -; +#X text 104 208 Just an adaptation of musil's slider.; +#X obj 138 224 hsl 128 15 0 127 0 0 empty empty empty -2 -6 0 8 -262144 +-1 -1 0 1; +#X text 103 222 See:; +#X msg 3 107 set \$1; +#X floatatom 190 114 5 0 0 0 - - -; +#X obj 190 95 r foo-snd; +#X floatatom 190 60 5 0 0 0 - - -; +#X obj 190 76 s foo-rcv; +#X text 135 12 gui-round-knob; +#X text 2 302 (c) moonix: Antoine Rousseau 2003; +#X obj 149 57 mknob 25 100 0 100 0 0 foo-snd foo-rcv empty -2 -6 192 +8 -225271 -1 -1 0 1; +#X obj 55 85 mknob 30 100 0 127 0 0 empty empty empty -2 -6 0 8 -241291 +-24198 -1 0 1; +#X obj 55 126 mknob 15 100 127 0 0 0 empty empty empty -2 -6 0 8 -258699 +-24198 -1 0 1; +#X text 306 40 "mouse" parameter sets mouse; +#X text 309 50 excursion for full range.; +#X text 309 62 Set it with "size" parameter:; +#X obj 398 201 mknob 25 -1 0 127 0 0 empty empty empty -2 -6 0 8 -262144 +-1 -1 0 1; +#X msg 369 96 size 25 300; +#X msg 398 119 size 25 10; +#X text 452 96 low sensibility; +#X text 474 120 high sens; +#X text 494 142 default; +#X msg 413 141 size 25 100; +#X text 497 164 angular control; +#X msg 427 165 size 25 0; +#X text 518 187 full angular control; +#X msg 443 188 size 25 -1; +#X text 273 253 Note: there is in the sources a patch named mknob.pd.tk.diff +to add (in pd.tk) mknob in the Pd "Put" menu \, and to give the hotkey +"Alt-k" to it. It will only work for Pd0.37 \, but it can help to do +the modif by hand for another version.; +#X connect 2 0 14 0; +#X connect 6 0 14 0; +#X connect 8 0 7 0; +#X connect 9 0 10 0; +#X connect 14 0 15 0; +#X connect 15 0 6 0; +#X connect 15 0 1 0; +#X connect 20 0 19 0; +#X connect 21 0 19 0; +#X connect 25 0 19 0; +#X connect 27 0 19 0; +#X connect 29 0 19 0; diff --git a/moonlib-meta.pd b/moonlib-meta.pd new file mode 100644 index 0000000..b065669 --- /dev/null +++ b/moonlib-meta.pd @@ -0,0 +1,7 @@ +#N canvas 10 10 200 200 10; +#N canvas 20 20 420 300 META 0; +#X text 10 10 META this is a prototype of a libdir meta file; +#X text 10 30 NAME moonlib; +#X text 10 50 AUTHOR Antoine Rousseau; +#X text 10 70 VERSION 0.2; +#X restore 10 10 pd META; diff --git a/panvol~-help.pd b/panvol~-help.pd new file mode 100644 index 0000000..f7ad351 --- /dev/null +++ b/panvol~-help.pd @@ -0,0 +1,34 @@ +#N canvas 117 381 340 290 10; +#X obj 0 0 cnv 8 100 60 empty empty panvol~ 10 20 1 18 -262144 -1109 +0; +#X text 3 269 (c) Moonix: Antoine Rousseau 2003; +#X text 132 12 pan & volume; +#X obj 138 69 hsl 60 10 -45 45 0 0 empty empty pan -2 -6 0 8 -262144 +-1 -1 2950 1; +#X obj 238 61 vsl 10 60 0 1 0 0 empty empty vol 0 -8 0 8 -262144 -1 +-1 5900 1; +#X floatatom 135 85 5 0 0; +#X floatatom 238 127 5 0 0; +#X obj 113 141 panvol~; +#X obj 94 190 unsig~ 100; +#X floatatom 94 210 5 0 0; +#X obj 60 85 osc~ 440; +#X obj 173 190 unsig~ 100; +#X floatatom 173 210 5 0 0; +#X obj 94 170 envrms~; +#X obj 173 170 envrms~; +#X obj 60 104 *~ 2; +#X msg 174 49 0; +#X connect 3 0 5 0; +#X connect 4 0 6 0; +#X connect 5 0 7 1; +#X connect 6 0 7 2; +#X connect 7 0 13 0; +#X connect 7 1 14 0; +#X connect 8 0 9 0; +#X connect 10 0 15 0; +#X connect 11 0 12 0; +#X connect 13 0 8 0; +#X connect 14 0 11 0; +#X connect 15 0 7 0; +#X connect 16 0 3 0; diff --git a/pause.gif b/pause.gif new file mode 100644 index 0000000..684f755 Binary files /dev/null and b/pause.gif differ diff --git a/play.gif b/play.gif new file mode 100644 index 0000000..10ae809 Binary files /dev/null and b/play.gif differ diff --git a/playy.gif b/playy.gif new file mode 100644 index 0000000..c710c7e Binary files /dev/null and b/playy.gif differ diff --git a/popen-help.pd b/popen-help.pd new file mode 100644 index 0000000..e37d8e9 --- /dev/null +++ b/popen-help.pd @@ -0,0 +1,68 @@ +#N canvas 0 195 644 383 10; +#X obj 0 0 cnv 8 100 60 empty empty popen 10 20 1 18 -262144 -1109 +0; +#X text 13 362 (c) Moonix: Antoine Rousseau 2003; +#X msg 31 74 open process; +#X text 12 57 open: popen for writing; +#X msg 240 76 ropen process; +#X text 221 59 ropen: popen for reading; +#X msg 466 76 close; +#X text 428 60 close (quit) current process; +#X text 108 13 processus in/out (linux only); +#X text 108 26 DANGEROUS: deadlocks are easy!!!!; +#N canvas 0 0 850 359 example 0; +#X obj 458 194 popen; +#X msg 516 167 close; +#X obj 82 311 popen; +#X msg 151 261 close; +#X msg 76 190 list cat to where you want; +#X msg 24 145 open cat > /tmp/tmp_fifo; +#X msg 431 138 ropen cat /tmp/tmp_fifo; +#X obj 38 89 system; +#X msg 38 67 mkfifo /tmp/tmp_fifo; +#X obj 76 258 symbol \;; +#X obj 76 236 t b a; +#X symbolatom 433 284 0 0 0 0 - - -; +#X text 10 17 example: fifo read/write. RESPECT THE NUMBERS for commands +!; +#X text 430 120 3: open for reading; +#X msg 92 213 list Caution not to lock your computer...; +#X text 517 183 6: close reading process; +#X obj 433 260 l2s; +#X obj 458 227 print ropen; +#X text 76 173 4: write to fifo (as many times you want); +#X text 36 46 1: create the fifo (if not done); +#X text 147 244 5: close writing process FIRST; +#X text 23 125 2: open the fifo for writing FIRST; +#X text 503 248 Caution: popen/ropen waits for a " \; "; +#X text 565 260 to send its buffer (pd style).; +#X connect 0 0 17 0; +#X connect 0 0 16 0; +#X connect 1 0 0 0; +#X connect 3 0 2 0; +#X connect 4 0 10 0; +#X connect 5 0 2 0; +#X connect 6 0 0 0; +#X connect 8 0 7 0; +#X connect 9 0 2 0; +#X connect 10 0 9 0; +#X connect 10 1 2 0; +#X connect 14 0 10 0; +#X connect 16 0 11 0; +#X restore 19 161 pd example; +#X obj 31 109 popen; +#X text 20 191 Remarks:; +#X text 46 204 The danger here comes from the fact processes lauched +by; +#X text 47 215 popen runs concurrently with pd: if they are blocking +\, pd; +#X text 46 228 is blocking too. Very dangerous if pd has real-time +priority: it blocks all the sytem. You have to switch off the computer... +; +#X text 47 267 It's much safer to use netsend/netreceive in conjonction +with pdsend/pdreceive.; +#X obj 206 333 system; +#X text 46 297 You can use "at now" to lauch programs totally independantly +from Pd:; +#X msg 206 313 echo xclock -display 0:0 | at now; +#X connect 19 0 17 0; diff --git a/readsfv~-help.pd b/readsfv~-help.pd new file mode 100644 index 0000000..5870912 --- /dev/null +++ b/readsfv~-help.pd @@ -0,0 +1,60 @@ +#N canvas 117 77 546 422 10; +#X obj 0 0 cnv 8 100 60 empty empty readsfv~ 10 20 1 18 -262144 -1109 +0; +#X text 4 400 (c) Moonix: Antoine Rousseau 2003; +#X obj 124 367 dac~; +#X obj 132 331 readsfv~; +#X obj 132 188 delay 20; +#X msg 132 207 start; +#X msg 193 207 1; +#X obj 132 158 bng 15 250 50 0 empty empty play -25 4 0 8 -24198 -1 +-1; +#X obj 183 351 s replay; +#X obj 132 60 r replay; +#X obj 159 284 symbol; +#X msg 159 304 open \$1; +#X msg 229 283 symbol /usr/local/lib/pd/doc/sound/bell.aiff; +#X msg 229 262 symbol ../../sound/bell.aiff; +#X msg 47 298 speed \$1; +#X obj 266 239 openpanel; +#X obj 266 220 bng 15 250 50 0 empty empty open 0 -6 1 8 -195568 -1 +-1; +#X obj 132 126 spigot; +#X obj 169 109 tgl 15 1 empty empty loop 0 -6 1 8 -241291 -1 -1 1 1 +; +#X obj 47 58 vsl 15 128 0.08 8 1 0 empty empty speed 0 -8 1 8 -260818 +-1 -1 6965 1; +#X obj 1 57 init 1; +#X obj 47 278 f; +#X text 171 207 (or; +#X text 220 207 ); +#X obj 57 253 b; +#X obj 113 106 del 100; +#X text 129 8 read a big soundfile in direct-to-disk mode; +#X text 131 20 at variable speed.; +#X text 230 104 read manual of; +#X text 390 103 for more details...; +#X obj 335 102 readsf~; +#X connect 3 0 2 0; +#X connect 3 0 2 1; +#X connect 3 1 8 0; +#X connect 4 0 5 0; +#X connect 5 0 3 0; +#X connect 5 0 24 0; +#X connect 7 0 4 0; +#X connect 7 0 10 0; +#X connect 9 0 25 0; +#X connect 10 0 11 0; +#X connect 11 0 3 0; +#X connect 12 0 10 1; +#X connect 13 0 10 1; +#X connect 14 0 3 0; +#X connect 15 0 10 1; +#X connect 16 0 15 0; +#X connect 17 0 7 0; +#X connect 18 0 17 1; +#X connect 19 0 21 0; +#X connect 20 0 19 0; +#X connect 21 0 14 0; +#X connect 24 0 21 0; +#X connect 25 0 17 0; diff --git a/readsfv~.c b/readsfv~.c index 195175b..fc9c54f 100644 --- a/readsfv~.c +++ b/readsfv~.c @@ -21,13 +21,12 @@ for Windows if someone were willing to find a Pthreads package for it. */ Antoine Rousseau */ -#ifdef UNIX -#include -#include -#endif #include #ifdef _WIN32 #include +#else +#include +#include #endif #include #include diff --git a/rec.gif b/rec.gif new file mode 100644 index 0000000..d49b027 Binary files /dev/null and b/rec.gif differ diff --git a/relativepath-help.pd b/relativepath-help.pd new file mode 100644 index 0000000..b056f4a --- /dev/null +++ b/relativepath-help.pd @@ -0,0 +1,13 @@ +#N canvas 14 323 660 379 10; +#X text 17 352 (c) Antoine Rousseau 2004; +#X obj 33 108 absolutepath; +#X symbolatom 33 131 0 0 0; +#X msg 33 51 symbol absolutepath.pd; +#X obj 33 220 relativepath; +#X symbolatom 33 245 0 0 0; +#X text 14 6 absolutepath / relativepath : use filenames relatively +to the patch's path.; +#X connect 1 0 2 0; +#X connect 2 0 4 0; +#X connect 3 0 1 0; +#X connect 4 0 5 0; diff --git a/s2f-help.pd b/s2f-help.pd new file mode 100644 index 0000000..2192924 --- /dev/null +++ b/s2f-help.pd @@ -0,0 +1,18 @@ +#N canvas 106 74 492 266 10; +#X obj 0 0 cnv 8 100 60 empty empty s2f 10 20 1 18 -262144 -1109 0 +; +#X text 1 244 (c) Moonix: Antoine Rousseau 2003; +#X text 129 8 symbol to float converter; +#X obj 197 159 s2f; +#X floatatom 197 184 0 0 0; +#X symbolatom 197 142 0 0 0; +#X obj 345 105 makesymbol %s; +#X msg 48 84 symbol 0.0003125foo; +#X msg 197 85 symbol 54.123e-3bar; +#X msg 345 85 13.25; +#X connect 3 0 4 0; +#X connect 5 0 3 0; +#X connect 6 0 5 0; +#X connect 7 0 5 0; +#X connect 8 0 5 0; +#X connect 9 0 6 0; diff --git a/sarray-help.pd b/sarray-help.pd new file mode 100644 index 0000000..157d245 --- /dev/null +++ b/sarray-help.pd @@ -0,0 +1,93 @@ +#N canvas 158 412 745 484 10; +#X obj 0 0 cnv 8 100 60 empty empty sarray 10 20 1 18 -262144 -1109 +0; +#X text 2 467 (c) Moonix: Antoine Rousseau 2003; +#X msg 74 275 1; +#X msg 103 275 2; +#X msg 131 275 3; +#X symbolatom 139 356 10 0 0; +#X msg 533 269 reset; +#X text 109 12 shared array of symbols; +#X obj 47 146 sarray foo 8; +#X text 23 48 1) set the length; +#X msg 47 71 setlen 10; +#X text 236 43 2) set the nth element; +#X msg 266 85 set 2 two; +#X msg 274 106 set 3 three; +#X obj 258 169 sarray foo; +#X msg 129 110 print; +#X msg 44 299 get \$1; +#X obj 44 320 sarray foo; +#X obj 44 339 route bang; +#X msg 159 275 4; +#X obj 44 359 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X msg 44 275 0; +#X text 12 256 3) get the nth symbol (first:0); +#X obj 533 289 sarray foo; +#X text 1 376 (bang when empty); +#X text 298 252 4) dump the whole array; +#X obj 299 379 sarray foo; +#X msg 299 272 dump; +#X obj 299 400 print dump; +#X msg 334 325 dump _null_; +#X msg 334 345 dump *?!; +#X text 315 298 specify a default symbol; +#X text 329 309 for empty elements; +#X obj 472 175 sarray foo; +#X text 494 85 specify a default symbol; +#X text 494 97 for empty elements; +#X msg 294 147 print; +#X msg 428 146 print; +#X text 531 251 6) clear the sarray; +#X msg 578 269 print; +#X text 6 165 args: sarray name [length]; +#X text 258 193 args: set [empty_symbol] first_index sym1 [sym2 [sym3...]]] +; +#X text 286 425 args: dump [empty_symbol]; +#X msg 258 61 set 0 zero; +#X text 453 43 3) set many elements; +#X text 533 134 ...erase one element; +#X msg 281 127 set 4 four; +#X msg 57 93 setlen 4; +#X msg 534 149 set _niet_ 3 _niet_; +#X msg 499 113 set _ 0 zero un _ trois _ cinq; +#X msg 472 60 set 0 zero ein zwei drei; +#X text 528 328 7) switch to another array; +#X obj 523 370 sarray foo2 4; +#X msg 523 351 set 0 zero2 one2 two2 three2; +#X obj 528 442 sarray; +#X msg 528 402 print; +#X msg 577 403 setarray foo; +#X msg 577 422 setarray foo2; +#X connect 2 0 16 0; +#X connect 3 0 16 0; +#X connect 4 0 16 0; +#X connect 6 0 23 0; +#X connect 10 0 8 0; +#X connect 12 0 14 0; +#X connect 13 0 14 0; +#X connect 15 0 8 0; +#X connect 16 0 17 0; +#X connect 17 0 18 0; +#X connect 18 0 20 0; +#X connect 18 1 5 0; +#X connect 19 0 16 0; +#X connect 21 0 16 0; +#X connect 26 0 28 0; +#X connect 27 0 26 0; +#X connect 29 0 26 0; +#X connect 30 0 26 0; +#X connect 36 0 14 0; +#X connect 37 0 33 0; +#X connect 39 0 23 0; +#X connect 43 0 14 0; +#X connect 46 0 14 0; +#X connect 47 0 8 0; +#X connect 48 0 33 0; +#X connect 49 0 33 0; +#X connect 50 0 33 0; +#X connect 53 0 52 0; +#X connect 55 0 54 0; +#X connect 56 0 54 0; +#X connect 57 0 54 0; diff --git a/saww.gif b/saww.gif new file mode 100644 index 0000000..32997ad Binary files /dev/null and b/saww.gif differ diff --git a/sfread2~-help.pd b/sfread2~-help.pd new file mode 100644 index 0000000..ad8ae16 --- /dev/null +++ b/sfread2~-help.pd @@ -0,0 +1,60 @@ +#N canvas 38 250 582 490 10; +#X obj 0 0 cnv 8 100 60 empty empty sfread2~ 10 20 1 18 -262144 -1109 +0; +#X text 2 459 (c) Moonix: Antoine Rousseau 2003; +#X text 66 390 Change "mlockall(MCL_FUTURE)" with "mlockall(MCL_CURRENT) +; +#X obj 155 262 sfread2~ 2; +#X msg 155 202 open \$1; +#X obj 19 151 bng 15 250 50 0 empty empty play 20 8 1 8 -24198 -1 -1 +; +#X msg 278 225 loop \$1; +#X obj 278 207 tgl 15 1 empty empty loop 20 8 0 8 -241291 -1 -1 1 1 +; +#X obj 57 103 tgl 15 1 empty empty interpolation 20 8 1 8 -257472 -1 +-1 1 1; +#X msg 57 121 interp \$1; +#X obj 458 181 vsl 15 128 -8 8 0 0 empty empty speed 0 -8 1 8 -260818 +-1 -1 7144 1; +#X text 135 12 soundfile reader at variable speed (possibly negative) +\, whith 4-point interpolation and loop.; +#X obj 154 296 dac~; +#X obj 155 92 openpanel; +#X obj 155 72 bng 15 250 50 0 empty empty open 0 -6 1 8 -166441 -1 +-1; +#X obj 18 179 bng 15 250 50 0 empty empty stop 20 8 1 8 -1 -1 -1; +#X msg 18 196 0; +#X obj 148 339 sfread~; +#X text 43 341 read manual of; +#X text 202 339 for more details...; +#X text 235 159 resets sound to position; +#X text 234 148 start position in samples; +#X msg 238 174 index 20000; +#X obj 497 177 loadbang; +#X msg 497 196 1; +#X msg 261 99 symbol /usr/local/lib/pd/doc/sound/voice.wav; +#X msg 261 78 symbol ../../sound/voice.wav; +#X text 66 414 If not \, the whole file will be loaded in memory when +opened (use of C function mmap()).; +#X text 66 401 in s_linux.c... SORRY \, I mean in s_inter.c (since +0.37...); +#X text 59 378 CAUTION: you should hack pd sources to have d-t-d working. +; +#X connect 3 0 12 0; +#X connect 3 1 12 1; +#X connect 4 0 3 0; +#X connect 5 0 3 0; +#X connect 6 0 3 0; +#X connect 7 0 6 0; +#X connect 8 0 9 0; +#X connect 9 0 3 0; +#X connect 10 0 3 1; +#X connect 13 0 4 0; +#X connect 14 0 13 0; +#X connect 15 0 16 0; +#X connect 16 0 3 0; +#X connect 22 0 3 0; +#X connect 23 0 24 0; +#X connect 24 0 10 0; +#X connect 25 0 4 0; +#X connect 26 0 4 0; diff --git a/sin.gif b/sin.gif new file mode 100644 index 0000000..c84ad79 Binary files /dev/null and b/sin.gif differ diff --git a/sinw.gif b/sinw.gif new file mode 100644 index 0000000..8bedc66 Binary files /dev/null and b/sinw.gif differ diff --git a/slist-help.pd b/slist-help.pd new file mode 100644 index 0000000..f499120 --- /dev/null +++ b/slist-help.pd @@ -0,0 +1,61 @@ +#N canvas 459 312 690 375 10; +#X obj 0 0 cnv 8 100 60 empty empty slist 10 20 1 18 -262144 -1109 +0; +#X text 3 354 (c) Moonix: Antoine Rousseau 2003; +#X text 109 12 shared list of symbols \, with a "find" feature; +#X obj 80 107 slist foo; +#X obj 261 100 slist foo; +#X text 24 55 1) fill the slist; +#X msg 261 79 len; +#X text 260 58 2) get the slist length; +#X floatatom 319 121 5 0 0; +#X obj 480 106 slist foo; +#X msg 451 79 1; +#X msg 480 79 2; +#X msg 508 79 3; +#X symbolatom 509 127 10 0 0; +#X obj 157 218 slist foo; +#X text 448 59 3) get the nth symbol (first:1); +#X msg 21 189 find boo; +#X msg 225 189 find bar; +#X floatatom 157 242 5 0 0; +#X msg 91 189 find bee; +#X msg 157 189 find baa; +#X obj 548 212 slist foo; +#X text 21 168 4) find the index of a symbol (0 = not found); +#X msg 548 192 reset; +#X msg 144 77 add baa; +#X msg 26 77 add boo \, add bee; +#X obj 378 223 slist foo; +#X text 364 169 5) print to console; +#X text 546 171 6) clear the slist; +#X msg 378 203 print; +#X text 383 184 (debug); +#X obj 256 318 slist foo2; +#X text 256 271 7) switch to another slist; +#X obj 476 345 slist; +#X msg 503 296 setlist foo; +#X msg 503 318 setlist foo2; +#X msg 460 296 print; +#X msg 256 297 add boo2 \, add bee2 \, add baa2; +#X msg 212 297 print; +#X connect 4 2 8 0; +#X connect 6 0 4 0; +#X connect 9 1 13 0; +#X connect 10 0 9 0; +#X connect 11 0 9 0; +#X connect 12 0 9 0; +#X connect 14 0 18 0; +#X connect 16 0 14 0; +#X connect 17 0 14 0; +#X connect 19 0 14 0; +#X connect 20 0 14 0; +#X connect 23 0 21 0; +#X connect 24 0 3 0; +#X connect 25 0 3 0; +#X connect 29 0 26 0; +#X connect 34 0 33 0; +#X connect 35 0 33 0; +#X connect 36 0 33 0; +#X connect 37 0 31 0; +#X connect 38 0 31 0; diff --git a/squarew.gif b/squarew.gif new file mode 100644 index 0000000..3e689c7 Binary files /dev/null and b/squarew.gif differ diff --git a/ssaw~-help.pd b/ssaw~-help.pd new file mode 100644 index 0000000..25903d1 --- /dev/null +++ b/ssaw~-help.pd @@ -0,0 +1,21 @@ +#N canvas 106 74 492 266 10; +#X obj 0 0 cnv 8 100 60 empty empty ssaw 10 20 1 18 -262144 -1109 0 +; +#X text 8 243 (c) Moonix: Antoine Rousseau 2004; +#X obj 162 103 ssaw~ 440; +#X obj 163 149 *~; +#X obj 162 77 mtof; +#X floatatom 161 57 5 0 0 0 - - -; +#X floatatom 207 77 0 0 0 0 - - -; +#X obj 197 128 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 +-1 -1 0 1; +#X obj 159 193 dac~; +#X text 124 19 sweet sawtooth generator; +#X text 121 32 (not to much aliasing below 10kHz); +#X connect 2 0 3 0; +#X connect 3 0 8 0; +#X connect 3 0 8 1; +#X connect 4 0 6 0; +#X connect 4 0 2 0; +#X connect 5 0 4 0; +#X connect 7 0 3 1; diff --git a/tabdump2-help.pd b/tabdump2-help.pd new file mode 100644 index 0000000..b69458c --- /dev/null +++ b/tabdump2-help.pd @@ -0,0 +1,31 @@ +#N canvas 21 53 496 358 10; +#X obj 13 21 tabdump2; +#X obj 187 37 tabdump; +#X text 22 332 (c) Antoine Rousseau 2004; +#X text 104 21 dump the contents of a table as a list; +#X text 104 37 like zexy's; +#X text 244 38 but with min/max dumping limits.; +#N canvas 0 0 450 300 graph5 0; +#X array \$0-array 10 float 0; +#X coords 0 1 9 0 100 80 1; +#X restore 330 71 graph; +#X obj 17 132 s \$0-array; +#X msg 17 112 0 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9; +#X obj 17 92 loadbang; +#X obj 34 243 tabdump2 \$0-array; +#X obj 34 269 l2s; +#X symbolatom 34 293 0 0 0 0 - - -; +#X obj 258 204 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X msg 22 204 dump 0 5; +#X msg 95 203 dump 5 10; +#X text 18 177 dump N M: from N to (M-1); +#X msg 174 203 dump 5 6; +#X connect 8 0 7 0; +#X connect 9 0 8 0; +#X connect 10 0 11 0; +#X connect 11 0 12 0; +#X connect 13 0 10 0; +#X connect 14 0 10 0; +#X connect 15 0 10 0; +#X connect 17 0 10 0; diff --git a/tabenv-help.pd b/tabenv-help.pd new file mode 100644 index 0000000..cb719d0 --- /dev/null +++ b/tabenv-help.pd @@ -0,0 +1,25 @@ +#N canvas 205 155 534 360 10; +#X text 22 332 (c) Antoine Rousseau 2001; +#X obj 21 19 tabenv; +#X text 78 21 A envelope follower for table (not in real-time).; +#X text 35 65 args: arrayname [computation_num_points [output_period]] +; +#X text 147 151 change the array; +#X msg 64 181 reset; +#X msg 64 152 set Array1; +#X obj 64 255 tabenv Array0; +#X floatatom 64 283 5 0 0; +#X msg 64 209 0 44100; +#X text 125 209 compute 1 sec from the beginning; +#X text 126 181 reset the computation buffers; +#X obj 258 86 env~; +#X text 294 85 ); +#X text 217 86 (like; +#X text 151 84 ); +#X text 47 86 (like; +#X obj 90 86 tabplay~; +#X text 79 38 (in fact it's a mix between tabplay and env~); +#X connect 5 0 7 0; +#X connect 6 0 7 0; +#X connect 7 0 8 0; +#X connect 9 0 7 0; diff --git a/tabreadl-help.pd b/tabreadl-help.pd new file mode 100644 index 0000000..feebabe --- /dev/null +++ b/tabreadl-help.pd @@ -0,0 +1,26 @@ +#N canvas 502 181 672 415 10; +#X obj 10 11 tabreadl; +#X text 22 332 (c) Antoine Rousseau 2004; +#X floatatom 15 173 0 0 0; +#X floatatom 15 278 0 0 0; +#N canvas 0 0 450 300 graph1 0; +#X array \$0-array 10 float 0; +#X coords 0 0 10 10 250 200 1; +#X restore 362 179 graph; +#X text 60 276 output = array99[index]; +#X text 34 50 click here to initialize; +#X text 159 236 creation argument; +#X text 155 254 gives array name; +#X text 137 204 change array name; +#X msg 25 204 set \$0-array99; +#X msg 33 65 resize 10 \, bounds 0 0 10 10 \, xlabel -0.5 0 1 2 3 4 +5 6 7 8 9 10 \, ylabel -1 0 1 2 3 4 5 6 7 8 9 10 \, 0 1 4 2 8 5 6 1 +4 2 8; +#X obj 34 139 s \$0-array; +#X text 110 8 - linear interpolating read from a table; +#X text 46 174 index(float); +#X obj 15 245 tabreadl \$0-array; +#X connect 2 0 15 0; +#X connect 10 0 15 0; +#X connect 11 0 12 0; +#X connect 15 0 3 0; diff --git a/tabsort-help.pd b/tabsort-help.pd new file mode 100644 index 0000000..805f12a --- /dev/null +++ b/tabsort-help.pd @@ -0,0 +1,32 @@ +#N canvas 118 208 534 360 10; +#X text 22 332 (c) Antoine Rousseau 2001; +#X floatatom 39 303 5 0 0 0 - - -; +#X obj 21 19 tabsort; +#X text 20 58 args: source_table dest_table; +#N canvas 0 0 450 300 graph29 0; +#X array source 10 float 1; +#A 0 -0.0571429 -0.985715 -0.942858 -0.857143 -0.757143 -0.542857 -0.171429 +0.528571 0.842858 0.914287; +#X coords 0 1 9 -1 200 140 1; +#X restore 51 92 graph; +#N canvas 0 0 450 300 graph29 0; +#X array dest 10 float 1; +#A 0 9 8 7 0 6 5 4 3 2 1; +#X coords 0 10 9 0 200 140 1; +#X restore 304 89 graph; +#X obj 39 282 tabsort source dest; +#X msg 39 262 10; +#X text 79 12 write to dest_table the indices of source_table's elements +sorted by decreasing order (biggest first); +#X text 38 248 sort the n first elements; +#X obj 304 264 tabread dest; +#X obj 304 285 tabread source; +#X floatatom 304 246 5 0 0 0 - - -; +#X floatatom 304 305 5 0 0 0 - - -; +#X text 347 244 try it!; +#X text 300 321 it should decrease with input; +#X connect 6 0 1 0; +#X connect 7 0 6 0; +#X connect 10 0 11 0; +#X connect 11 0 13 0; +#X connect 12 0 10 0; diff --git a/tabsort2-help.pd b/tabsort2-help.pd new file mode 100644 index 0000000..4f4e29a --- /dev/null +++ b/tabsort2-help.pd @@ -0,0 +1,84 @@ +#N canvas 133 15 811 538 10; +#X floatatom 62 381 5 0 0 0 - - -; +#N canvas 0 0 450 300 graph29 0; +#X array source1 100 float 1; +#A 0 -0.0428565 -0.0571422 0.085715 0.228572 0.442858 0.657144 0.871429 +1.08572 1.22857 1.51429 1.72857 1.94286 2.22857 2.37143 2.58571 2.72857 +2.87143 2.94286 3.15714 3.3 3.3 3.44286 3.58571 3.65714 3.72857 3.8 +3.94286 4.01429 4.08571 4.22857 4.3 4.13929 3.97857 3.81786 3.51429 +3.22857 2.8 2.37143 2.3 2.3 2.3 2.37143 2.44286 2.51429 2.51429 2.58572 +2.55 2.37143 2.22857 1.94286 1.72857 1.58572 1.44286 1.44286 1.37144 +1.37144 1.37144 1.44286 1.44286 1.44286 1.44286 1.51429 1.51429 1.58572 +1.65714 1.65714 1.70476 1.75238 1.8 1.87143 2.01429 2.15714 2.22857 +4.58572 4.94286 5.22857 5.44286 5.58572 5.58572 5.39524 5.20477 5.01429 +4.82381 4.63334 4.44286 4.25238 4.06191 3.8 3.72857 3.65715 3.65715 +3.58572 3.58572 4.15715 4.51429 4.58572 4.72858 4.87143 5.08572 5.44286 +; +#X coords 0 10 99 0 200 140 1; +#X restore 60 133 graph; +#N canvas 0 0 450 300 graph29 0; +#X array dest 100 float 0; +#X coords 0 100 99 0 200 140 1; +#X restore 547 129 graph; +#X obj 10 8 tabsort2; +#X text 75 9 2 dimensionnal sort.; +#X text 24 99 args: source_table1 source_table2 dest_table; +#X text 248 8 write to dest_table the indices of the first N source_table1's +elements sorted by decreasing order (biggest first) \, then sort the +"columns" of sqrt(N) indices decreasingly according to their values +in source_table2 (is it clear?).; +#N canvas 0 0 450 300 graph29 0; +#X array source2 100 float 1; +#A 0 7.71429 7.64286 7.64286 7.57143 7.5 7.35714 7.21428 6.92857 6.57143 +6 5.71428 5.57143 5.21428 4.5 4.35714 4.28571 4.28571 4.28571 4.28571 +4.28571 4.42857 4.57143 4.64285 4.78571 4.92857 5.14285 5.35714 5.71428 +6 6.21428 6.42857 6.57143 6.64286 6.64286 6.64286 6.64286 6.57143 6.57143 +6.42857 6.35714 6.28571 6.14286 5.92857 5.78571 5.64286 5.42857 7.85714 +7.92857 8.42857 8.71428 8.92857 8.92857 8.92857 8.92857 8.85714 8.78571 +8.78571 8.78571 8.5 8.28571 8.07143 7.5 7.28571 6.85714 6.57143 5.78571 +5.5 5.21428 4.78571 4.64286 4.64286 4.78571 4.92857 5.07143 5.21428 +5.42857 5.57143 5.71428 5.92857 6.28571 6.5 6.85714 7.14286 7.35714 +7.64286 7.71429 7.78572 7.85714 7.85714 7.85714 7.71429 7.64286 7.5 +7.35714 7.14286 7.07143 7 6.85714 4.5 -0.342857; +#X coords 0 10 99 0 200 140 1; +#X restore 311 131 graph; +#X msg 62 340 100; +#X obj 62 360 tabsort2 source1 source2 dest; +#X obj 500 416 tabread dest; +#X obj 452 362 * 10; +#X obj 500 391 +; +#X floatatom 451 346 5 0 9 0 - - -; +#X obj 528 361 t b f; +#X floatatom 528 344 5 0 9 0 - - -; +#X floatatom 407 485 0 0 0 0 - - -; +#X obj 407 465 tabread source1; +#X obj 557 467 tabread source2; +#X floatatom 557 487 0 0 0 0 - - -; +#X floatatom 527 393 5 0 0 0 - - -; +#X text 433 328 x(columns); +#X text 521 327 y(lines); +#X text 403 504 decrease with x; +#X text 555 505 decrease with y; +#X text 49 305 1) Sort it:; +#X text 381 304 2) Try it:; +#X text 8 520 (c) Antoine Rousseau 2002; +#X floatatom 603 441 5 0 0 0 - - -; +#X text 604 416 index of sources; +#X text 606 426 elements; +#X text 28 396 output=sqrt(N)=the width/height; +#X text 28 410 of the destination "square".; +#X text 61 326 sort the N first elements; +#X connect 8 0 9 0; +#X connect 9 0 0 0; +#X connect 10 0 17 0; +#X connect 10 0 18 0; +#X connect 10 0 28 0; +#X connect 11 0 12 0; +#X connect 12 0 10 0; +#X connect 12 0 20 0; +#X connect 13 0 11 0; +#X connect 14 0 12 0; +#X connect 14 1 12 1; +#X connect 15 0 14 0; +#X connect 17 0 16 0; +#X connect 18 0 19 0; diff --git a/wac-help.pd b/wac-help.pd new file mode 100644 index 0000000..1a885e6 --- /dev/null +++ b/wac-help.pd @@ -0,0 +1,4 @@ +#N canvas 840 624 450 300 10; +#X obj 178 120 wac; +#X text 122 188 placeholder help patch; +#X text 113 52 wacom graphire on serial port only; -- cgit v1.2.1