mapping-0.2.1/0000755000076500007650000000000012030356755011631 5ustar hanshansmapping-0.2.1/LICENSE.txt0000644000076500007650000004325412025365515013462 0ustar hanshans GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Lesser General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program 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. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. mapping-0.2.1/Makefile0000644000076500007650000003005212030356733013265 0ustar hanshans## Pd library template version 1.0.3 # For instructions on how to use this template, see: # http://puredata.info/docs/developer/MakefileTemplate LIBRARY_NAME = mapping # add your .c source files, one object per file, to the SOURCES # variable, help files will be included automatically SOURCES = # list all pd objects (i.e. myobject.pd) files here, and their helpfiles will # be included automatically PDOBJECTS = amplitude_n.pd autoscale.pd breakpoint.pd breakpoint_smooth.pd buttongate.pd bytemask.pd cartesian2spherical.pd center_point.pd circular.pd circular_seat.pd circular_sigmoid.pd correlation.pd cubic_seat.pd curve_draw.pd curve_exp.pd curve_fade.pd curve_graph.pd curve_log.pd curve.pd debounce.pd debytemask.pd degrees2mapping.pd delay_n.pd desegment.pd diff_n.pd disjoin.pd distance2d.pd distance_n.pd distance.pd downsample.pd elliptic.pd elliptic_seat.pd elliptic_sigmoid.pd env-.pd env.pd env+.pd exponential_curve.pd exponential_seat.pd exponential_sigmoid.pd fir.pd gaussian.pd hysteresis.pd iir.pd join.pd keygate.pd last_n.pd listto.pd local_max.pd local_min.pd logistic_sigmoid.pd lop.pd mapping2degrees.pd mapping2midi.pd mapping2radians.pd max_n.pd mean_n.pd median_3.pd median_5.pd median_7.pd median_n.pd median.pd midi2mapping.pd min_n.pd multi_slider.pd nl.pd notescale.pd one2four.pd one2three.pd one2two.pd oscillo.pd pmattractor_2d.pd pmattractor_3d.pd pmcloud_1d.pd pmcloud_2d.pd pmcloud_3d.pd pmcube_3d.pd pmfilter_2d.pd pmfilter_3d.pd pmfilter.pd pmmulti_stable_2d.pd pmopen_string_1d.pd pmrepulsor_1d.pd pmrepulsor_2d.pd pmrepulsor_3d.pd pmrigid_open_string_2d.pd pmrigid_string_2d.pd pmsquare_2d.pd pmstring_1d.pd polar2cartesian.pd polar.pd quadratic.pd quartic.pd radians2mapping.pd rec_play.pd resample.pd reverse.pd rnd-stat.pd segment.pd sigmoide.pd simplified_cubic_seat.pd simplified_quadratic.pd sinusoid.pd smooth_double.pd smooth.pd smooth_triple.pd speedlimiter-.pd speedlimiter.pd speedlimiter+.pd spherical2cartesian.pd spiral.pd split_n.pd stepper.pd stream_check.pd test_n.pd threshold_max.pd threshold.pd timeroll.pd tolist.pd track_max.pd track_min.pd upsample.pd variance.pd vector.pd wave_loop.pd wave.pd # example patches and related files, in the 'examples' subfolder EXAMPLES = mouse_instrument.pd paf.control.pd # manuals and related files, in the 'manual' subfolder MANUAL = # if you want to include any other files in the source and binary tarballs, # list them here. This can be anything from header files, test patches, # documentation, etc. README.txt and LICENSE.txt are required and therefore # automatically included EXTRA_DIST = TODO #------------------------------------------------------------------------------# # # things you might need to edit if you are using other C libraries # #------------------------------------------------------------------------------# CFLAGS = -DPD -I"$(PD_INCLUDE)" -Wall -W -g LDFLAGS = LIBS = #------------------------------------------------------------------------------# # # you shouldn't need to edit anything below here, if we did it right :) # #------------------------------------------------------------------------------# # get library version from meta file LIBRARY_VERSION = $(shell sed -n 's|^\#X text [0-9][0-9]* [0-9][0-9]* VERSION \(.*\);|\1|p' $(LIBRARY_NAME)-meta.pd) CFLAGS += -DVERSION='"$(LIBRARY_VERSION)"' PD_INCLUDE = $(PD_PATH)/include # where to install the library, overridden below depending on platform prefix = /usr/local libdir = $(prefix)/lib pkglibdir = $(libdir)/pd-externals objectsdir = $(pkglibdir) INSTALL = install INSTALL_PROGRAM = $(INSTALL) -p -m 644 INSTALL_DATA = $(INSTALL) -p -m 644 INSTALL_DIR = $(INSTALL) -p -m 755 -d ALLSOURCES := $(SOURCES) $(SOURCES_android) $(SOURCES_cygwin) $(SOURCES_macosx) \ $(SOURCES_iphoneos) $(SOURCES_linux) $(SOURCES_windows) DISTDIR=$(LIBRARY_NAME)-$(LIBRARY_VERSION) ORIGDIR=pd-$(LIBRARY_NAME)_$(LIBRARY_VERSION) UNAME := $(shell uname -s) ifeq ($(UNAME),Darwin) CPU := $(shell uname -p) ifeq ($(CPU),arm) # iPhone/iPod Touch SOURCES += $(SOURCES_iphoneos) EXTENSION = pd_darwin OS = iphoneos PD_PATH = /Applications/Pd-extended.app/Contents/Resources 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 DISTBINDIR=$(DISTDIR)-$(OS) else # Mac OS X SOURCES += $(SOURCES_macosx) EXTENSION = pd_darwin OS = macosx PD_PATH = /Applications/Pd-extended.app/Contents/Resources OPT_CFLAGS = -ftree-vectorize -ftree-vectorizer-verbose=2 -fast # build universal 32-bit on 10.4 and 32/64 on newer ifeq ($(shell uname -r | sed 's|\([0-9][0-9]*\)\.[0-9][0-9]*\.[0-9][0-9]*|\1|'), 8) FAT_FLAGS = -arch ppc -arch i386 -mmacosx-version-min=10.4 else FAT_FLAGS = -arch ppc -arch i386 -arch x86_64 -mmacosx-version-min=10.4 SOURCES += $(SOURCES_iphoneos) endif 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 DISTBINDIR=$(DISTDIR)-$(OS) # install into ~/Library/Pd on Mac OS X since /usr/local isn't used much pkglibdir=$(HOME)/Library/Pd endif endif ifeq ($(UNAME),Linux) CPU := $(shell uname -m) SOURCES += $(SOURCES_linux) EXTENSION = pd_linux OS = linux PD_PATH = /usr 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 DISTBINDIR=$(DISTDIR)-$(OS)-$(shell uname -m) endif ifeq (CYGWIN,$(findstring CYGWIN,$(UNAME))) CPU := $(shell uname -m) SOURCES += $(SOURCES_cygwin) EXTENSION = dll OS = cygwin PD_PATH = $(cygpath $(PROGRAMFILES))/pd OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer CFLAGS += LDFLAGS += -Wl,--export-dynamic -shared -L"$(PD_PATH)/src" -L"$(PD_PATH)/bin" LIBS += -lc -lpd STRIP = strip --strip-unneeded -R .note -R .comment DISTBINDIR=$(DISTDIR)-$(OS) endif ifeq (MINGW,$(findstring MINGW,$(UNAME))) CPU := $(shell uname -m) SOURCES += $(SOURCES_windows) EXTENSION = dll OS = windows PD_PATH = $(shell cd "$(PROGRAMFILES)"/pd && pwd) OPT_CFLAGS = -O3 -funroll-loops -fomit-frame-pointer CFLAGS += -mms-bitfields 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 DISTBINDIR=$(DISTDIR)-$(OS) endif # in case somebody manually set the HELPPATCHES above HELPPATCHES ?= $(SOURCES:.c=-help.pd) $(PDOBJECTS:.pd=-help.pd) CFLAGS += $(OPT_CFLAGS) .PHONY = install libdir_install single_install install-doc install-exec install-examples install-manual clean dist etags $(LIBRARY_NAME) 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-manual $(INSTALL_DIR) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) $(INSTALL_DATA) $(LIBRARY_NAME)-meta.pd \ $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) test -z "$(strip $(SOURCES))" || (\ $(INSTALL_PROGRAM) $(SOURCES:.c=.$(EXTENSION)) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) && \ $(STRIP) $(addprefix $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/,$(SOURCES:.c=.$(EXTENSION)))) test -z "$(strip $(PDOBJECTS))" || \ $(INSTALL_DATA) $(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_PROGRAM) $(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) $(PDOBJECTS))" || \ $(INSTALL_DATA) $(HELPPATCHES) \ $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME) $(INSTALL_DATA) README.txt $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/README.txt $(INSTALL_DATA) LICENSE.txt $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/LICENSE.txt install-examples: test -z "$(strip $(EXAMPLES))" || \ $(INSTALL_DIR) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/examples && \ for file in $(EXAMPLES); do \ $(INSTALL_DATA) examples/$$file $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/examples; \ done install-manual: test -z "$(strip $(MANUAL))" || \ $(INSTALL_DIR) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/manual && \ for file in $(MANUAL); do \ $(INSTALL_DATA) manual/$$file $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/manual; \ done clean: -rm -f -- $(SOURCES:.c=.o) $(SOURCES_LIB:.c=.o) -rm -f -- $(SOURCES:.c=.$(EXTENSION)) -rm -f -- $(LIBRARY_NAME).o -rm -f -- $(LIBRARY_NAME).$(EXTENSION) distclean: clean -rm -f -- $(DISTBINDIR).tar.gz -rm -rf -- $(DISTBINDIR) -rm -f -- $(DISTDIR).tar.gz -rm -rf -- $(DISTDIR) -rm -f -- $(ORIGDIR).tar.gz -rm -rf -- $(ORIGDIR) $(DISTBINDIR): $(INSTALL_DIR) $(DISTBINDIR) libdir: all $(DISTBINDIR) $(INSTALL_DATA) $(LIBRARY_NAME)-meta.pd $(DISTBINDIR) $(INSTALL_DATA) $(SOURCES) $(DISTBINDIR) $(INSTALL_DATA) $(HELPPATCHES) $(DISTBINDIR) test -z "$(strip $(EXTRA_DIST))" || \ $(INSTALL_DATA) $(EXTRA_DIST) $(DISTBINDIR) # tar --exclude-vcs -czpf $(DISTBINDIR).tar.gz $(DISTBINDIR) $(DISTDIR): $(INSTALL_DIR) $(DISTDIR) $(ORIGDIR): $(INSTALL_DIR) $(ORIGDIR) dist: $(DISTDIR) $(INSTALL_DATA) Makefile $(DISTDIR) $(INSTALL_DATA) README.txt $(DISTDIR) $(INSTALL_DATA) LICENSE.txt $(DISTDIR) $(INSTALL_DATA) $(LIBRARY_NAME)-meta.pd $(DISTDIR) test -z "$(strip $(ALLSOURCES))" || \ $(INSTALL_DATA) $(ALLSOURCES) $(DISTDIR) test -z "$(strip $(PDOBJECTS))" || \ $(INSTALL_DATA) $(PDOBJECTS) $(DISTDIR) test -z "$(strip $(HELPPATCHES))" || \ $(INSTALL_DATA) $(HELPPATCHES) $(DISTDIR) test -z "$(strip $(EXTRA_DIST))" || \ $(INSTALL_DATA) $(EXTRA_DIST) $(DISTDIR) test -z "$(strip $(EXAMPLES))" || \ $(INSTALL_DIR) $(DISTDIR)/examples && \ for file in $(EXAMPLES); do \ $(INSTALL_DATA) examples/$$file $(DISTDIR)/examples; \ done test -z "$(strip $(MANUAL))" || \ $(INSTALL_DIR) $(DISTDIR)/manual && \ for file in $(MANUAL); do \ $(INSTALL_DATA) manual/$$file $(DISTDIR)/manual; \ done tar --exclude-vcs -czpf $(DISTDIR).tar.gz $(DISTDIR) # make a Debian source package dpkg-source: debclean make distclean dist mv $(DISTDIR) $(ORIGDIR) tar --exclude-vcs -czpf ../$(ORIGDIR).orig.tar.gz $(ORIGDIR) rm -f -- $(DISTDIR).tar.gz rm -rf -- $(DISTDIR) $(ORIGDIR) cd .. && dpkg-source -b $(LIBRARY_NAME) etags: etags *.h $(SOURCES) ../../pd/src/*.[ch] /usr/include/*.h /usr/include/*/*.h showsetup: @echo "CFLAGS: $(CFLAGS)" @echo "LDFLAGS: $(LDFLAGS)" @echo "LIBS: $(LIBS)" @echo "PD_INCLUDE: $(PD_INCLUDE)" @echo "PD_PATH: $(PD_PATH)" @echo "objectsdir: $(objectsdir)" @echo "LIBRARY_NAME: $(LIBRARY_NAME)" @echo "LIBRARY_VERSION: $(LIBRARY_VERSION)" @echo "SOURCES: $(SOURCES)" @echo "PDOBJECTS: $(PDOBJECTS)" @echo "ALLSOURCES: $(ALLSOURCES)" @echo "UNAME: $(UNAME)" @echo "CPU: $(CPU)" @echo "pkglibdir: $(pkglibdir)" @echo "DISTDIR: $(DISTDIR)" @echo "ORIGDIR: $(ORIGDIR)" mapping-0.2.1/README.txt0000644000076500007650000000050710755130731013325 0ustar hanshans This is the beginnings of the "mapping" library, which is a combination of efforts of Cyrille Henry and Hans-Christoph Steiner. It draws from the hid_* classes, ds_/datastream classes, and the La-Kitchen classes for working with sensors. These classes are for creatively mapping data to something that you want to control. mapping-0.2.1/TODO0000644000076500007650000000406710755130732012325 0ustar hanshans______________________________________________________________________________ = curves review all curves in accordance with the paper - [curve_table] or [curve_graph]? ______________________________________________________________________________ = spread/segment/seglet Make [collect] and [distribute], which are like [segment] and [desegment]. Perhaps it should be called [seglet] and [deseglet] ______________________________________________________________________________ = one->many something like [segment]? or [seglet]? ______________________________________________________________________________ = - check out behavior of [curve_power] and [curve_root] if non-integers are used as arguments on in the right inlets - merge ds_ list objects with abstractions/footils/list-abs - http://www.fredrikolofsson.com/pages/code-pd.html check out f0.smooth and f0.smooth2 (single/double exponential smoothing) -track down Golan Levin's curve algorithm page ______________________________________________________________________________ = figure out whole degree issue - should degree conversion also change rotation direction and 0 point? The degrees on a compass rotate the opposite direction of radians. The 0 point of a compass is due north, with radians, its right/due east. - [hid_polar] should take an argument (in degrees?) which specifies where the 0 is on the circle ========= smoothing algorithms http://www.chem.uoa.gr/applets/AppletSmooth/Appl_Smooth2.html http://www.nist.gov/dads/ ______________________________________________________________________________ = mapping object ideas [hid2midi] [midi2hid] midi value + bend <-> hid - use MIDI pitch and bend data for values in between MIDI notes? object for Fletcher-Munson Equal-loudness contours median average object [infinitepot] for use with a [knob] or any single axis that could be infinite. [hid_debounce] peak finder object "kalman filters" Curves!! http://www.2dcurves.com ______________________________________________________________________________ lot's more physical model mapping-0.2.1/amplitude_n-help.pd0000644000076500007650000000215112030356733015400 0ustar hanshans#N canvas 1 53 612 509 10; #X floatatom 85 92 5 -20 127 0 - - -; #X text 86 74 data; #X msg 92 117 0; #X floatatom 310 225 5 0 0 0 - - -; #X floatatom 382 177 5 0 0 0 - - -; #X text 430 175 size: n (n>=2); #X obj 85 172 f; #X text 51 32 amplitude_n return the amplitude covered by the last n (n>1) values; #X msg 120 117 1; #X msg 153 117 0.5; #X obj 86 251 timeroll; #X obj 297 251 timeroll; #X obj 296 198 amplitude_n 5; #X obj 85 224 clip 0 1; #N canvas 463 111 494 344 META 0; #X text 12 155 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 95 INLET_1 float; #X text 12 115 OUTLET_0 float; #X text 12 135 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 45 DESCRIPTION return the amplitude covered by the last n (n>1) values; #X text 12 75 INLET_0 float; #X text 12 5 KEYWORDS control abstraction; #X restore 555 477 pd META; #X connect 0 0 6 0; #X connect 2 0 6 0; #X connect 4 0 12 1; #X connect 6 0 12 0; #X connect 6 0 13 0; #X connect 8 0 6 0; #X connect 9 0 6 0; #X connect 12 0 3 0; #X connect 12 0 11 0; #X connect 13 0 10 0; mapping-0.2.1/amplitude_n.pd0000644000076500007650000000052510755130731014455 0ustar hanshans#N canvas 45 191 288 291 10; #X obj 71 44 inlet; #X obj 71 178 -; #X obj 71 104 t f f; #X obj 230 44 inlet; #X obj 71 214 outlet; #X obj 71 137 max_n \$1; #X obj 158 137 min_n \$1; #X connect 0 0 2 0; #X connect 1 0 4 0; #X connect 2 0 5 0; #X connect 2 1 6 0; #X connect 3 0 5 1; #X connect 3 0 6 1; #X connect 5 0 1 0; #X connect 6 0 1 1; mapping-0.2.1/autoscale-help.pd0000644000076500007650000000625012030356733015063 0ustar hanshans#N canvas 1 53 458 627 10; #X floatatom 26 63 5 0 0 0 - - -; #X floatatom 26 127 0 0 0 0 - - -; #X obj 2 -10 cnv 15 450 20 empty empty autoscale 2 11 1 18 -233017 -66577 0; #X text 18 15 [autoscale] scales a stream of numbers based on an output range set as arguments \, and an input range which is set dynamically. ; #X floatatom 150 127 0 0 0 0 - - -; #X floatatom 297 127 0 0 0 0 - - -; #X obj 213 58 hsl 128 15 0 127 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X floatatom 136 349 5 0 0 0 - - -; #X obj 161 402 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X msg 186 347 reset; #X text 13 162 If you use [autoscale] with no arguments \, then the output range defaults to 0-1.; #X msg 239 347 bang; #X text 14 192 You can also set the output min and max using the 2nd and 3rd inlets:; #X obj 295 347 tgl 15 1 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1; #X text 14 308 The [reset( message or banging the 4th inlet resets the stored max and min to zero. 0 disables the auto-tracking \, 1 re-enables it:; #X floatatom 81 476 5 0 0 0 - - -; #X obj 130 593 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X obj 300 503 tgl 15 1 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1; #X obj 215 550 pack float float; #X msg 148 471 save; #X msg 215 571 set load \$1 \$2; #X msg 150 494 load 1 11; #X msg 323 502 bang; #X floatatom 158 287 7 0 0 0 - - -; #X obj 135 215 hsl 128 15 0 127 0 0 empty empty empty -2 -8 0 10 -262144 -1 -1 0 1; #X obj 297 97 autoscale -4095 4095; #X obj 150 97 autoscale -0.01 0.01; #X obj 158 265 autoscale; #X obj 158 379 autoscale; #X obj 26 97 autoscale; #X obj 127 527 autoscale 0 1 ______________; #X obj 231 234 nbx 3 16 -1e+37 1e+37 0 1 empty empty max 40 8 0 10 -228856 -1 -1 1 256; #X obj 171 234 nbx 3 16 -1e+37 1e+37 0 1 empty empty min 40 8 0 10 -228856 -1 -1 0 256; #N canvas 462 82 494 344 META 0; #X text 12 235 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 45 DESCRIPTION scale a stream of numbers based on an output range set as arguments \, and an input range set dynamically; #X text 12 75 INLET_0 float reset save load; #X text 12 95 INLET_1 float; #X text 12 115 INLET_2 float; #X text 12 135 INLET_3 float bang; #X text 12 155 OUTLET_0 float; #X text 12 175 OUTLET_1 float; #X text 12 195 OUTLET_2 float; #X text 12 215 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 5 KEYWORDS control abstraction; #X restore 402 587 pd META; #X text 16 424 The dump message allows "autoscale" to output the min and max of the input data. this allow user to save this data in order to load the same callibration with a loadbang :; #X connect 0 0 29 0; #X connect 6 0 25 0; #X connect 6 0 26 0; #X connect 7 0 28 0; #X connect 9 0 28 0; #X connect 11 0 28 3; #X connect 13 0 28 3; #X connect 15 0 30 0; #X connect 17 0 30 3; #X connect 18 0 20 0; #X connect 19 0 30 0; #X connect 20 0 21 0; #X connect 21 0 30 0; #X connect 22 0 30 3; #X connect 24 0 27 0; #X connect 25 0 5 0; #X connect 26 0 4 0; #X connect 27 0 23 0; #X connect 28 0 8 0; #X connect 29 0 1 0; #X connect 30 0 16 0; #X connect 30 1 18 0; #X connect 30 2 18 1; #X connect 31 0 27 2; #X connect 32 0 27 1; mapping-0.2.1/autoscale.pd0000644000076500007650000000755112030356733014142 0ustar hanshans#N canvas 53 331 702 488 10; #X obj 35 20 inlet; #X obj 184 424 outlet; #X obj 184 321 expr (($f1 - $f2) * (($f5 - $f4) / ($f3 - $f2))) + $f4 ; #X text 2 446 (C) Copyright 2004 Hans-Christoph Steiner ; #X text 219 461 released under the GNU GPL; #X text 417 458 $Author: eighthave $; #X obj 398 20 inlet; #X obj 499 20 inlet; #X text 365 6 output min; #X text 466 6 output max; #X text 74 21 data to be scaled; #X obj 552 20 inlet reset; #N canvas 692 157 484 377 output 0; #X obj 6 23 inlet; #X obj 294 25 inlet; #X obj 6 330 outlet; #X obj 177 333 outlet; #X text 62 330 min; #X text 48 24 min; #X text 340 27 max; #X text 225 333 max; #X obj 38 53 loadbang; #X obj 6 276 expr if ($f1 == $f2 \, 0 \, $f1) \; if ($f1 == $f2 \, 1 \, $f2); #X text 153 71 [float_argument] doesn't output 0 on; #X text 156 81 bang \, so send the 0 here.; #X obj 26 185 purepd/float_argument \$1 0; #X obj 39 243 trigger bang float; #X obj 38 76 trigger bang bang; #X obj 204 185 purepd/float_argument \$2 1; #X floatatom 215 208 5 0 0 0 - - -; #X floatatom 36 208 5 0 0 0 - - -; #X msg 207 163 bang; #X obj 48 102 float \$1; #X obj 48 123 select 0; #X obj 93 144 bang; #X msg 48 144 0; #X text 124 110 since Pd inits unused vars to 0 \, [float_argument] uses 0 to mean no argument for \$1. But we need 0 \, so we have to set up this extra test.; #X connect 0 0 9 0; #X connect 1 0 13 0; #X connect 8 0 14 0; #X connect 9 0 2 0; #X connect 9 1 3 0; #X connect 12 0 9 0; #X connect 12 0 17 0; #X connect 13 0 9 0; #X connect 13 1 9 1; #X connect 14 0 12 0; #X connect 14 0 19 0; #X connect 14 1 15 0; #X connect 15 0 9 1; #X connect 15 0 16 0; #X connect 18 0 15 0; #X connect 19 0 20 0; #X connect 20 0 22 0; #X connect 20 1 21 0; #X connect 21 0 12 0; #X connect 22 0 12 0; #X restore 418 263 pd output range; #N canvas 463 201 389 220 track 0; #X obj 168 22 inlet; #X obj 38 135 outlet; #X obj 279 22 inlet; #X obj 168 135 outlet; #X obj 38 22 inlet; #X obj 38 108 mapping/track_min; #X obj 168 108 mapping/track_max; #X connect 0 0 6 0; #X connect 2 0 5 2; #X connect 2 0 6 2; #X connect 4 0 5 0; #X connect 5 0 1 0; #X connect 6 0 3 0; #X restore 263 290 pd track changes; #N canvas 634 182 466 316 gate 0; #X obj 74 268 outlet; #X obj 316 266 outlet; #X obj 323 37 inlet; #X msg 345 175 0; #X msg 374 175 1; #X obj 77 204 spigot 1; #X obj 316 204 spigot 0; #X msg 105 175 0; #X msg 134 175 1; #X obj 243 70 select 1 0; #X obj 76 39 route float; #X obj 76 15 inlet; #X connect 2 0 9 0; #X connect 3 0 6 1; #X connect 4 0 6 1; #X connect 5 0 0 0; #X connect 6 0 1 0; #X connect 7 0 5 1; #X connect 8 0 5 1; #X connect 9 0 3 0; #X connect 9 0 8 0; #X connect 9 1 4 0; #X connect 9 1 7 0; #X connect 10 0 5 0; #X connect 10 0 6 0; #X connect 11 0 10 0; #X restore 184 81 pd gate; #X obj 552 39 route float bang; #X obj 247 424 outlet; #X obj 310 424 outlet; #X obj 247 398 f; #X obj 310 399 f; #X text 417 445 $Revision: 1.6 $$Date: 2006-12-24 06:06:41 $; #X text 264 135 track mode; #X text 356 136 run mode; #X obj 46 224 unpack float float; #X obj 35 347 trigger bang bang; #X obj 35 60 route save load reset; #X obj 362 153 float; #X obj 184 153 trigger float float float; #X obj 46 198 trigger list bang bang; #X msg 197 222 0; #X connect 0 0 25 0; #X connect 2 0 1 0; #X connect 6 0 12 0; #X connect 7 0 12 1; #X connect 11 0 15 0; #X connect 12 0 2 3; #X connect 12 1 2 4; #X connect 13 0 2 1; #X connect 13 0 18 1; #X connect 13 1 2 2; #X connect 13 1 19 1; #X connect 14 0 27 0; #X connect 14 1 26 0; #X connect 15 0 14 1; #X connect 15 1 13 2; #X connect 18 0 16 0; #X connect 19 0 17 0; #X connect 23 0 13 0; #X connect 23 1 13 1; #X connect 24 0 18 0; #X connect 24 1 19 0; #X connect 25 0 24 0; #X connect 25 1 28 0; #X connect 25 2 13 2; #X connect 25 3 14 0; #X connect 26 0 2 0; #X connect 27 0 2 0; #X connect 27 1 13 0; #X connect 27 2 13 1; #X connect 28 0 23 0; #X connect 28 1 13 2; #X connect 28 2 29 0; #X connect 29 0 14 1; mapping-0.2.1/breakpoint-help.pd0000644000076500007650000001306512030356733015243 0ustar hanshans#N canvas 1 53 531 444 10; #X declare -lib mapping -lib ggee; #X obj 384 32 import mapping ggee; #X obj 5 2 cnv 15 500 20 empty empty breakpoint 2 11 1 18 -233017 -66577 0; #X msg 471 2 pddp; #X text 304 393 released under the GNU GPL; #X text 82 358 For more info:; #X floatatom 25 127 8 0 0 0 - - -; #X floatatom 25 288 8 0 0 0 - - -; #X obj 28 305 hsl 200 20 0 1 0 0 empty empty curved_output 22 11 1 12 -262144 -1 -1 0 1; #X obj 28 101 hsl 200 20 0 1 0 0 empty empty raw_input 22 11 1 12 -261681 -1 -1 0 1; #N canvas 273 69 474 407 draw_array 0; #X msg 54 82 bang; #X obj 54 133 until; #X text 85 82 start; #X obj 54 155 f; #X obj 83 155 + 1; #X obj 54 43 loadbang; #X obj 54 210 trigger float float; #X obj 127 157 select 0; #X obj 66 343 tabwrite \$0-curve; #X obj 139 53 trigger bang float; #X obj 83 177 mod 200; #X obj 54 254 / 200; #X text 96 254 mapping output range: 0 to 1; #N canvas 0 22 461 369 receive 0; #X obj 253 33 receive \$0-y; #X obj 253 57 moses; #X obj 280 78 moses 201; #X obj 331 99 bang; #X msg 331 120 200; #X obj 238 98 bang; #X msg 238 119 0; #X obj 91 56 moses; #X obj 118 77 moses 201; #X obj 169 98 bang; #X msg 169 119 200; #X obj 76 97 bang; #X msg 76 118 0; #X obj 91 32 receive \$0-x; #X obj 117 289 receive \$0-x-slider; #X floatatom 118 312 5 0 0 0 - - -; #X floatatom 279 313 5 0 0 0 - - -; #X obj 280 290 receive \$0-y-slider; #X obj 118 169 / 200; #X obj 280 170 / 200; #X obj 118 249 send \$0-x-slider-receive; #X obj 280 250 send \$0-y-slider-receive; #X msg 281 193 1 \$1; #X obj 280 221 -; #X connect 0 0 1 0; #X connect 1 0 5 0; #X connect 1 1 2 0; #X connect 2 0 19 0; #X connect 2 1 3 0; #X connect 3 0 4 0; #X connect 4 0 19 0; #X connect 5 0 6 0; #X connect 6 0 19 0; #X connect 7 0 11 0; #X connect 7 1 8 0; #X connect 8 0 18 0; #X connect 8 1 9 0; #X connect 9 0 10 0; #X connect 10 0 18 0; #X connect 11 0 12 0; #X connect 12 0 18 0; #X connect 13 0 7 0; #X connect 14 0 15 0; #X connect 17 0 16 0; #X connect 18 0 20 0; #X connect 19 0 22 0; #X connect 22 0 23 0; #X connect 23 0 21 0; #X restore 265 348 pd receive from gcanvas; #X obj 138 9 receive \$0-x-slider; #X obj 293 12 receive \$0-y-slider; #X obj 294 50 trigger bang float; #X obj 54 280 breakpoint; #X obj 54 108 cyclone/speedlim 100; #X connect 0 0 18 0; #X connect 1 0 3 0; #X connect 3 0 4 0; #X connect 3 0 6 0; #X connect 4 0 10 0; #X connect 5 0 0 0; #X connect 6 0 11 0; #X connect 6 1 8 1; #X connect 7 0 1 1; #X connect 9 0 0 0; #X connect 9 1 17 1; #X connect 10 0 3 1; #X connect 10 0 7 0; #X connect 11 0 17 0; #X connect 14 0 9 0; #X connect 15 0 16 0; #X connect 16 0 0 0; #X connect 16 1 17 2; #X connect 17 0 8 0; #X connect 18 0 1 0; #X restore 387 71 pd draw_array; #X obj 158 167 hsl 50 15 0 1 0 1 \$0-y-slider \$0-y-slider-receive y 5 9 0 11 -204800 -1 -1 2352 0; #X floatatom 165 186 7 0 0 0 - - -; #X obj 334 359 pddp/open mapping-about; #X text 37 392 (C) Copyright 2007 Free Software Foundation; #X obj 282 103 gcanvas 200 200; #N canvas 0 22 450 300 (subpatch) 0; #X array \$0-curve 200 float 0; #X coords 0 1 199 0 200 200 1; #X restore 282 103 graph; #X obj 282 308 send \$0-x; #X obj 424 307 send \$0-y; #X obj 74 167 hsl 50 15 0 1 0 1 \$0-x-slider \$0-x-slider-receive x 5 9 0 11 -232576 -1 -1 3700 0; #X floatatom 80 187 7 0 0 0 - - -; #X text 17 39 This object curves the input range using a double-linear interpolator with two control parameters.; #X obj 25 217 breakpoint; #N canvas 1 53 461 638 usage 0; #X floatatom 153 34 5 0 1 0 - - -; #X obj 153 58 t b f; #X floatatom 224 33 5 0 0 0 - - -; #X obj 224 57 t b f; #X obj 91 58 loadbang; #N canvas 0 22 454 304 float 0; #X obj 71 23 inlet; #X obj 48 191 outlet; #X obj 150 22 inlet; #X obj 71 93 list prepend; #X obj 71 118 list; #X obj 48 141 list; #X obj 48 166 list trim; #X obj 150 45 t b b; #X msg 150 70 list; #X connect 0 0 3 0; #X connect 2 0 7 0; #X connect 3 0 4 0; #X connect 4 0 3 1; #X connect 4 0 5 1; #X connect 5 0 6 0; #X connect 6 0 1 0; #X connect 7 0 8 0; #X connect 7 1 5 0; #X connect 8 0 3 1; #X restore 91 168 pd float to list ___________; #N canvas 0 22 450 300 generate 0; #X obj 55 38 inlet; #X msg 55 65 0; #X obj 55 91 f; #X obj 55 164 + 1; #X obj 55 137 t f f; #X obj 85 192 outlet; #X obj 148 192 outlet; #X obj 148 166 t b; #X obj 85 164 / 100; #X obj 55 114 moses 101; #X connect 0 0 1 0; #X connect 1 0 2 0; #X connect 2 0 9 0; #X connect 3 0 2 0; #X connect 4 0 3 0; #X connect 4 1 8 0; #X connect 7 0 6 0; #X connect 8 0 5 0; #X connect 9 0 4 0; #X connect 9 1 7 0; #X restore 91 89 pd generate list ___________; #X obj 92 198 multi_slider 100; #X obj 91 114 breakpoint 0.3 0.5 _____; #X obj 91 142 nl 1 ________________; #X connect 0 0 1 0; #X connect 1 0 6 0; #X connect 1 1 8 1; #X connect 2 0 3 0; #X connect 3 0 6 0; #X connect 3 1 9 1; #X connect 4 0 6 0; #X connect 5 0 7 0; #X connect 6 0 8 0; #X connect 6 1 5 1; #X connect 8 0 9 0; #X connect 9 0 5 0; #X restore 197 359 pd usage example; #N canvas 464 140 494 344 META 0; #X text 12 175 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 95 INLET_1 float; #X text 12 135 OUTLET_0 float; #X text 12 155 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 75 INLET_0 float; #X text 12 45 DESCRIPTION curve the input range using a double-linear interpolator with two control parameters; #X text 12 115 INLET_2 float; #X text 12 5 KEYWORDS control abstraction; #X restore 479 417 pd META; #X connect 5 0 21 0; #X connect 6 0 7 0; #X connect 8 0 5 0; #X connect 10 0 11 0; #X connect 10 0 21 2; #X connect 14 0 16 0; #X connect 14 1 17 0; #X connect 18 0 19 0; #X connect 18 0 21 1; #X connect 21 0 6 0; mapping-0.2.1/breakpoint.pd0000644000076500007650000000134610755130731014314 0ustar hanshans#N canvas 463 193 492 454 10; #X obj 62 10 inlet; #X obj 327 9 inlet; #X obj 106 405 outlet; #X obj 240 10 loadbang; #X obj 167 9 inlet; #X obj 167 50 purepd/float_argument \$1; #X obj 327 50 purepd/float_argument \$2; #X obj 74 113 moses; #X obj 167 84 moses 1; #X obj 167 105 + 1e-06; #X text 217 91 prevent divide by 0; #X obj 232 279 expr $f3 + ((1-$f3)/(1-$f2))*($f1-$f2); #X obj 61 280 expr ($f3/$f2) * $f1; #X connect 0 0 7 0; #X connect 1 0 6 0; #X connect 3 0 5 0; #X connect 3 0 6 0; #X connect 4 0 5 0; #X connect 5 0 7 1; #X connect 5 0 8 0; #X connect 6 0 11 2; #X connect 6 0 12 2; #X connect 7 0 12 0; #X connect 7 1 11 0; #X connect 8 0 9 0; #X connect 9 0 12 1; #X connect 9 0 11 1; #X connect 11 0 2 0; #X connect 12 0 2 0; mapping-0.2.1/breakpoint_smooth-help.pd0000644000076500007650000001013312030356733016625 0ustar hanshans#N canvas 1 53 536 456 10; #X declare -lib mapping -lib ggee; #X obj 384 32 import mapping ggee; #X obj 5 2 cnv 15 500 20 empty empty breakpoint_smooth 2 11 1 18 -233017 -66577 0; #X msg 471 2 pddp; #X text 304 393 released under the GNU GPL; #X text 179 362 For more info:; #X floatatom 25 127 8 0 0 0 - - -; #X floatatom 25 288 8 0 0 0 - - -; #X obj 28 305 hsl 200 20 0 1 0 0 empty empty curved_output 22 11 1 12 -262144 -1 -1 0 1; #X obj 28 101 hsl 200 20 0 1 0 0 empty empty raw_input 22 11 1 12 -261681 -1 -1 0 1; #N canvas 273 69 474 407 draw_array 0; #X msg 54 82 bang; #X obj 54 133 until; #X text 85 82 start; #X obj 54 155 f; #X obj 83 155 + 1; #X obj 54 43 loadbang; #X obj 54 210 trigger float float; #X obj 127 157 select 0; #X obj 66 343 tabwrite \$0-curve; #X obj 139 53 trigger bang float; #X obj 83 177 mod 200; #X obj 54 254 / 200; #X text 96 254 mapping output range: 0 to 1; #N canvas 0 22 461 369 receive 0; #X obj 253 33 receive \$0-y; #X obj 253 57 moses; #X obj 280 78 moses 201; #X obj 331 99 bang; #X msg 331 120 200; #X obj 238 98 bang; #X msg 238 119 0; #X obj 91 56 moses; #X obj 118 77 moses 201; #X obj 169 98 bang; #X msg 169 119 200; #X obj 76 97 bang; #X msg 76 118 0; #X obj 91 32 receive \$0-x; #X obj 117 289 receive \$0-x-slider; #X floatatom 118 312 5 0 0 0 - - -; #X floatatom 279 313 5 0 0 0 - - -; #X obj 280 290 receive \$0-y-slider; #X obj 118 169 / 200; #X obj 280 170 / 200; #X obj 118 249 send \$0-x-slider-receive; #X obj 280 250 send \$0-y-slider-receive; #X msg 281 193 1 \$1; #X obj 280 221 -; #X connect 0 0 1 0; #X connect 1 0 5 0; #X connect 1 1 2 0; #X connect 2 0 19 0; #X connect 2 1 3 0; #X connect 3 0 4 0; #X connect 4 0 19 0; #X connect 5 0 6 0; #X connect 6 0 19 0; #X connect 7 0 11 0; #X connect 7 1 8 0; #X connect 8 0 18 0; #X connect 8 1 9 0; #X connect 9 0 10 0; #X connect 10 0 18 0; #X connect 11 0 12 0; #X connect 12 0 18 0; #X connect 13 0 7 0; #X connect 14 0 15 0; #X connect 17 0 16 0; #X connect 18 0 20 0; #X connect 19 0 22 0; #X connect 22 0 23 0; #X connect 23 0 21 0; #X restore 265 348 pd receive from gcanvas; #X obj 138 9 receive \$0-x-slider; #X obj 293 12 receive \$0-y-slider; #X obj 294 50 trigger bang float; #X obj 54 280 breakpoint_smooth; #X obj 54 108 cyclone/speedlim 100; #X connect 0 0 18 0; #X connect 1 0 3 0; #X connect 3 0 4 0; #X connect 3 0 6 0; #X connect 4 0 10 0; #X connect 5 0 0 0; #X connect 6 0 11 0; #X connect 6 1 8 1; #X connect 7 0 1 1; #X connect 9 0 0 0; #X connect 9 1 17 1; #X connect 10 0 3 1; #X connect 10 0 7 0; #X connect 11 0 17 0; #X connect 14 0 9 0; #X connect 15 0 16 0; #X connect 16 0 0 0; #X connect 16 1 17 2; #X connect 17 0 8 0; #X connect 18 0 1 0; #X restore 387 71 pd draw_array; #X obj 158 167 hsl 50 15 0 1 0 0 \$0-y-slider \$0-y-slider-receive y 5 9 0 11 -204800 -1 -1 0 0; #X floatatom 165 186 7 0 0 0 - - -; #X obj 283 360 pddp/open mapping-about; #X text 37 392 (C) Copyright 2007 Free Software Foundation; #X obj 282 103 gcanvas 200 200; #N canvas 0 22 450 300 (subpatch) 0; #X array \$0-curve 200 float 0; #X coords 0 1 199 0 200 200 1; #X restore 282 103 graph; #X obj 282 308 send \$0-x; #X obj 424 307 send \$0-y; #X obj 74 167 hsl 50 15 0 1 0 0 \$0-x-slider \$0-x-slider-receive x 5 9 0 11 -232576 -1 -1 0 0; #X floatatom 80 187 7 0 0 0 - - -; #X text 17 39 This object curves the input range using a double-linear interpolator with two control parameters.; #X obj 25 217 breakpoint_smooth; #N canvas 467 227 494 344 META 0; #X text 12 175 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 95 INLET_1 float; #X text 12 135 OUTLET_0 float; #X text 12 155 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 75 INLET_0 float; #X text 12 115 INLET_2 float; #X text 12 45 DESCRIPTION curve the input range using a double-linear interpolator with two control parameters; #X text 12 5 KEYWORDS control abstraction; #X restore 481 426 pd META; #X connect 5 0 21 0; #X connect 6 0 7 0; #X connect 8 0 5 0; #X connect 10 0 11 0; #X connect 10 0 21 2; #X connect 14 0 16 0; #X connect 14 1 17 0; #X connect 18 0 19 0; #X connect 18 0 21 1; #X connect 21 0 6 0; mapping-0.2.1/breakpoint_smooth.pd0000644000076500007650000000254510755130731015707 0ustar hanshans#N canvas 408 22 535 556 12; #X obj 345 96 t b f; #X obj 43 353 pow; #X msg 385 286 1 \$1; #X obj 385 311 -; #X obj 43 246 moses; #X obj 43 325 /; #X obj 43 381 *; #X obj 80 323 /; #X msg 211 288 1 \$1; #X obj 211 313 -; #X obj 161 314 - 1; #X obj 161 342 * -1; #X obj 161 398 pow; #X obj 161 371 /; #X obj 161 422 *; #X obj 211 369 /; #X obj 161 446 * -1; #X obj 161 470 + 1; #X obj 43 518 outlet; #X obj 43 10 inlet; #X obj 160 12 inlet; #X obj 345 12 inlet; #X text 89 11 input; #X text 205 11 X; #X text 396 13 Y; #X obj 160 152 f; #X obj 250 30 loadbang; #X obj 157 70 purepd/float_argument \$1; #X obj 345 70 purepd/float_argument \$2; #X connect 0 0 25 0; #X connect 0 1 2 0; #X connect 0 1 6 1; #X connect 0 1 7 1; #X connect 1 0 6 0; #X connect 2 0 3 0; #X connect 3 0 14 1; #X connect 3 0 15 1; #X connect 4 0 5 0; #X connect 4 1 10 0; #X connect 5 0 1 0; #X connect 6 0 18 0; #X connect 7 0 1 1; #X connect 8 0 9 0; #X connect 9 0 15 0; #X connect 9 0 13 1; #X connect 10 0 11 0; #X connect 11 0 13 0; #X connect 12 0 14 0; #X connect 13 0 12 0; #X connect 14 0 16 0; #X connect 15 0 12 1; #X connect 16 0 17 0; #X connect 17 0 18 0; #X connect 19 0 4 0; #X connect 20 0 27 0; #X connect 21 0 28 0; #X connect 25 0 8 0; #X connect 25 0 7 0; #X connect 25 0 4 1; #X connect 25 0 5 1; #X connect 26 0 27 0; #X connect 26 0 28 0; #X connect 27 0 25 0; #X connect 28 0 0 0; mapping-0.2.1/buttongate-help.pd0000644000076500007650000000361212030356733015256 0ustar hanshans#N canvas 1 53 463 514 10; #X obj 5 2 cnv 15 450 20 empty empty buttongate 2 11 1 18 -233017 -66577 0; #X obj 160 287 bng 25 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 160 151 loadbang; #X msg 160 171 1; #X obj 160 199 metro 150; #X text 27 460 (C) Copyright 2004 Hans-Christoph Steiner ; #X text 244 474 released under the GNU GPL; #X obj 223 417 pddp/pddplink ../mapping-about.pd -text mapping-about ; #X text 114 418 For more info:; #X text 17 38 [buttongate] is a simple gate controlled by a HID button. You must specify the device and the button which controls the gate. The left inlet takes the data to be gated. The right inlet is for sending optional control messages to the HID.; #X obj 160 244 buttongate 0 btn_0; #X text 18 119 The first button on the first device controls this gate: ; #X text 15 237 data to be gated -->; #X text 292 237 <-- msgs to [hid]; #X obj 281 288 bng 25 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X msg 310 197 refresh; #X msg 299 176 open 2; #X text 39 294 button pressed->; #X text 310 293 <-- button released; #X text 23 348 Keyboard keys can also be used to control this object. You can get the [hid] keycode from here:; #X obj 324 368 ev_key-list; #X msg 422 3 pddp; #N canvas 466 198 494 344 META 0; #X text 12 175 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 155 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 45 DESCRIPTION return the amplitude covered by the last n (n>1) values; #X text 12 75 INLET_0 anything; #X text 12 95 INLET_1 open refresh; #X text 12 115 OUTLET_0 anything; #X text 12 135 OUTLET_1 anything; #X text 12 5 KEYWORDS control user_input abstraction; #X restore 413 489 pd META; #X connect 2 0 3 0; #X connect 3 0 4 0; #X connect 4 0 10 0; #X connect 10 0 1 0; #X connect 10 1 14 0; #X connect 15 0 10 1; #X connect 16 0 10 1; mapping-0.2.1/buttongate.pd0000644000076500007650000000200210755130731014320 0ustar hanshans#N canvas 367 43 525 408 10; #X obj 303 81 hid \$1; #X obj 303 24 inlet; #X obj 303 106 route key; #X obj 303 127 route \$2; #X obj 104 26 inlet; #X obj 104 295 outlet; #X obj 104 264 spigot; #X text 10 324 (C) Copyright 2004 Hans-Christoph Steiner ; #X text 226 340 released under the GNU GPL; #X text 16 371 $Author: eighthave $; #X text 16 388 $Date: 2006-01-29 08:12:33 $; #X text 16 354 $Revision: 1.1 $; #X obj 192 16 loadbang; #X obj 303 147 unpack f f; #X text 5 6 [buttongate]; #X obj 242 263 spigot; #X obj 242 295 outlet; #X obj 333 195 - 1; #X obj 333 215 abs; #X msg 192 50 0; #X msg 243 50 1; #X obj 303 168 t f f; #X connect 0 0 2 0; #X connect 1 0 0 0; #X connect 2 0 3 0; #X connect 3 0 13 0; #X connect 4 0 6 0; #X connect 4 0 15 0; #X connect 6 0 5 0; #X connect 12 0 19 0; #X connect 12 0 20 0; #X connect 13 0 21 0; #X connect 15 0 16 0; #X connect 17 0 18 0; #X connect 18 0 15 1; #X connect 19 0 6 1; #X connect 20 0 15 1; #X connect 20 0 0 0; #X connect 21 0 6 1; #X connect 21 1 17 0; mapping-0.2.1/bytemask-help.pd0000644000076500007650000000303712030356733014722 0ustar hanshans#N canvas 2 82 462 312 10; #X obj 156 94 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #X obj 173 94 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #X obj 190 94 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #X obj 207 94 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #X obj 224 94 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #X obj 241 94 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #X obj 258 94 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #X obj 275 94 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #X floatatom 195 171 5 0 0 0 - - -; #X text 108 34 generate a bitmask byte from 8 inlets; #X text 204 247 set also: [debytemask]; #X obj 195 135 bytemask; #N canvas 464 140 494 344 META 0; #X text 12 265 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 85 INLET_1 float; #X text 12 225 OUTLET_0 float; #X text 12 245 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 65 INLET_0 float; #X text 12 45 DESCRIPTION generate a bitmask byte from 8 inlets; #X text 12 105 INLET_2 float; #X text 12 125 INLET_3 float; #X text 12 145 INLET_4 float; #X text 12 165 INLET_5 float; #X text 12 185 INLET_6 float; #X text 12 205 INLET_7 float; #X text 12 5 KEYWORDS control abstraction; #X restore 407 284 pd META; #X connect 0 0 11 0; #X connect 1 0 11 1; #X connect 2 0 11 2; #X connect 3 0 11 3; #X connect 4 0 11 4; #X connect 5 0 11 5; #X connect 6 0 11 6; #X connect 7 0 11 7; #X connect 11 0 8 0; mapping-0.2.1/bytemask.pd0000644000076500007650000000274112030356733013775 0ustar hanshans#N canvas 385 66 618 381 10; #X obj 269 332 outlet; #X obj 269 279 float; #X obj 318 183 |; #X obj 111 239 -; #X obj 110 204 float; #X obj 110 184 trigger bang float; #X obj 231 204 &; #X obj 183 142 route 0 1; #X msg 36 56 \$1 1; #X msg 106 56 \$1 2; #X msg 176 56 \$1 4; #X msg 246 56 \$1 8; #X msg 316 56 \$1 16; #X msg 386 56 \$1 32; #X msg 456 56 \$1 64; #X msg 526 56 \$1 128; #X obj 36 15 inlet; #X obj 106 15 inlet; #X obj 176 15 inlet; #X obj 246 15 inlet; #X obj 316 15 inlet; #X obj 386 15 inlet; #X obj 456 15 inlet; #X obj 526 15 inlet; #X obj 36 35 change -1; #X obj 106 35 change -1; #X obj 176 35 change -1; #X obj 246 35 change -1; #X obj 316 35 change -1; #X obj 386 35 change -1; #X obj 456 35 change -1; #X obj 526 35 change -1; #X connect 1 0 2 1; #X connect 1 0 4 1; #X connect 1 0 6 1; #X connect 1 0 0 0; #X connect 2 0 1 0; #X connect 3 0 1 0; #X connect 4 0 3 0; #X connect 5 0 4 0; #X connect 5 1 6 0; #X connect 6 0 3 1; #X connect 7 0 5 0; #X connect 7 1 2 0; #X connect 8 0 7 0; #X connect 9 0 7 0; #X connect 10 0 7 0; #X connect 11 0 7 0; #X connect 12 0 7 0; #X connect 13 0 7 0; #X connect 14 0 7 0; #X connect 15 0 7 0; #X connect 16 0 24 0; #X connect 17 0 25 0; #X connect 18 0 26 0; #X connect 19 0 27 0; #X connect 20 0 28 0; #X connect 21 0 29 0; #X connect 22 0 30 0; #X connect 23 0 31 0; #X connect 24 0 8 0; #X connect 25 0 9 0; #X connect 26 0 10 0; #X connect 27 0 11 0; #X connect 28 0 12 0; #X connect 29 0 13 0; #X connect 30 0 14 0; #X connect 31 0 15 0; mapping-0.2.1/cartesian2spherical-help.pd0000644000076500007650000000370212030356733017030 0ustar hanshans#N canvas 2 82 503 419 10; #X text 75 37 convert spherical to cartesian coordinates; #X text 61 203 (r \, phi \, theta); #X text 61 144 (x \, y \, z); #X obj 277 122 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144 -1 -1 0 0; #X obj 218 102 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144 -1 -1 0 0; #X obj 160 72 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144 -1 -1 0 0; #X floatatom 164 93 5 0 0 0 - - -; #X floatatom 221 122 5 0 0 0 - - -; #X floatatom 282 141 5 0 0 0 - - -; #X obj 277 249 hsl 128 15 0 127 0 0 empty empty empty -2 -8 0 10 -262144 -1 -1 0 1; #X floatatom 225 204 5 0 0 0 - - -; #X floatatom 168 204 5 0 0 0 - - -; #X floatatom 285 204 5 0 0 0 - - -; #X obj 69 357 pddp/pddplink http://en.wikipedia.org/wiki/Spherical_coordinate_system ; #X obj 157 181 cartesian2spherical; #X obj 69 337 pddp/pddplink http://en.wikipedia.org/wiki/Cartesian_coordinate_system ; #X msg 134 124 bang; #X obj 249 159 t b f; #X obj 199 149 t b f; #X obj 5 2 cnv 15 450 20 empty empty cartesian2spherical 2 11 1 18 -233017 -66577 0; #X text 23 337 input:; #X text 17 357 output:; #N canvas 461 134 494 344 META 0; #X text 12 205 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 85 INLET_1 float; #X text 12 125 OUTLET_0 float; #X text 12 185 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 45 DESCRIPTION convert spherical to cartesian coordinates ; #X text 12 105 INLET_2 float; #X text 12 65 INLET_0 bang; #X text 12 145 OUTLET_1 float; #X text 12 165 OUTLET_2 float; #X text 12 5 KEYWORDS control conversion abstraction; #X restore 448 388 pd META; #X connect 3 0 8 0; #X connect 3 0 17 0; #X connect 4 0 7 0; #X connect 4 0 18 0; #X connect 5 0 6 0; #X connect 5 0 14 0; #X connect 14 0 11 0; #X connect 14 1 10 0; #X connect 14 2 12 0; #X connect 14 2 9 0; #X connect 16 0 14 0; #X connect 17 0 14 0; #X connect 17 1 14 2; #X connect 18 0 14 0; #X connect 18 1 14 1; mapping-0.2.1/cartesian2spherical.pd0000644000076500007650000000310712030356733016101 0ustar hanshans#N canvas 1 53 597 422 10; #X obj 107 89 purepd/float_argument \$1; #X obj 267 89 purepd/float_argument \$2; #X obj 427 89 purepd/float_argument \$3; #X obj 300 44 loadbang; #X obj 107 169 pack float float float; #X obj 107 190 trigger anything anything anything; #X obj 47 12 inlet x; #X obj 267 12 inlet y; #X obj 427 12 inlet z; #X obj 397 355 outlet theta; #X obj 207 355 outlet phi; #X text 275 167 $f1 = x; #X text 334 168 $f2 = y; #X text 392 169 $f3 = z; #X obj 397 278 expr atan($f2/$f1); #X obj 207 254 expr atan(sqrt(($f1*$f1) + ($f2*$f2))/$f3); #X obj 14 228 expr sqrt(($f1*$f1) + ($f2*$f2) + ($f3*$f3)); #X obj 397 329 mapping/radians2mapping; #X obj 207 329 mapping/radians2mapping; #X obj 14 355 outlet; #X text 142 375 output range on all outlets: 0 to 1; #X obj 171 148 - 1; #X obj 171 128 * 2; #X text 265 139 convert range to -1 to 1; #X obj 236 148 - 1; #X obj 236 128 * 2; #X obj 107 148 - 1; #X obj 107 128 * 2; #X obj 14 324 / 1.73205; #X text 390 397 released under the GNU GPL; #X text 43 397 (C) Copyright 2008 Hans-Christoph Steiner ; #X connect 0 0 27 0; #X connect 1 0 22 0; #X connect 2 0 25 0; #X connect 3 0 1 0; #X connect 3 0 2 0; #X connect 3 0 0 0; #X connect 4 0 5 0; #X connect 5 0 16 0; #X connect 5 1 15 0; #X connect 5 2 14 0; #X connect 6 0 27 0; #X connect 7 0 22 0; #X connect 8 0 25 0; #X connect 14 0 17 0; #X connect 15 0 18 0; #X connect 16 0 28 0; #X connect 17 0 9 0; #X connect 18 0 10 0; #X connect 21 0 4 1; #X connect 22 0 21 0; #X connect 24 0 4 2; #X connect 25 0 24 0; #X connect 26 0 4 0; #X connect 27 0 26 0; #X connect 28 0 19 0; mapping-0.2.1/center_point-help.pd0000644000076500007650000000260512030356733015574 0ustar hanshans#N canvas 1 53 490 363 10; #X obj 232 227 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X obj 133 110 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 0; #X obj 82 227 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X obj 130 165 center_point; #X obj 9 -4 cnv 15 450 20 empty empty center_point 2 11 1 18 -233017 -66577 0; #X text 285 306 released under the GNU GPL; #X text 16 306 (C) Copyright 2007 Free Software Foundation; #X text 22 39 Convert normal 0-to-1 data like you'd get from a joystick into a center point with two 0-to-1 ranges for either side of that center point.; #X floatatom 230 247 5 0 0 0 - - -; #X floatatom 79 248 5 0 0 0 - - -; #X floatatom 140 129 5 0 0 0 - - -; #N canvas 463 192 494 344 META 0; #X text 12 185 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 105 INLET_1 float; #X text 12 125 OUTLET_0 float; #X text 12 165 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 145 OUTLET_1 float; #X text 12 85 INLET_0 float; #X text 12 45 DESCRIPTION convert 0-to-1 data into a center point with two 0-to-1 ranges for either side of that center point; #X text 12 5 KEYWORDS control abstraction; #X restore 437 329 pd META; #X connect 0 0 8 0; #X connect 1 0 3 0; #X connect 1 0 10 0; #X connect 2 0 9 0; #X connect 3 0 2 0; #X connect 3 1 0 0; mapping-0.2.1/center_point.pd0000644000076500007650000000060012030356733014637 0ustar hanshans#N canvas 1 53 411 335 10; #X obj 65 27 inlet; #X obj 65 276 outlet; #X obj 212 276 outlet; #X obj 217 27 inlet; #X obj 217 89 purepd/float_argument \$1 0.5; #X obj 232 59 loadbang; #X obj 65 205 mapping/reverse; #X obj 65 178 mapping/disjoin; #X connect 0 0 7 0; #X connect 3 0 4 0; #X connect 4 0 7 1; #X connect 5 0 4 0; #X connect 6 0 1 0; #X connect 7 0 6 0; #X connect 7 1 2 0; mapping-0.2.1/circular-help.pd0000644000076500007650000000666412030356733014720 0ustar hanshans#N canvas 1 53 494 463 10; #X obj 5 2 cnv 15 450 20 empty empty circular 2 11 1 18 -233017 -66577 0; #X msg 422 3 pddp; #X text 273 392 released under the GNU GPL; #X text 148 361 For more info:; #X floatatom 15 127 8 0 0 0 - - -; #X floatatom 15 288 8 0 0 0 - - -; #X obj 18 305 hsl 200 20 0 1 0 0 empty empty curved_output 22 11 1 12 -262144 -1 -1 0 1; #X obj 18 101 hsl 200 20 0 1 0 0 empty empty raw_input 22 11 1 12 -261681 -1 -1 0 1; #N canvas 144 55 490 423 draw_array 0; #X msg 54 82 bang; #X obj 54 133 until; #X text 85 82 start; #X obj 54 155 f; #X obj 83 155 + 1; #X obj 54 43 loadbang; #X obj 54 210 trigger float float; #X obj 127 157 select 0; #X obj 53 343 tabwrite \$0-curve; #X obj 139 53 trigger bang float; #X obj 83 177 mod 200; #X obj 54 237 / 200; #X text 96 237 mapping output range: 0 to 1; #N canvas 0 22 461 369 receive 0; #X obj 253 33 receive \$0-y; #X obj 253 57 moses; #X obj 280 78 moses 201; #X obj 331 99 bang; #X msg 331 120 200; #X obj 238 98 bang; #X msg 238 119 0; #X obj 91 56 moses; #X obj 118 77 moses 201; #X obj 169 98 bang; #X msg 169 119 200; #X obj 76 97 bang; #X msg 76 118 0; #X obj 91 32 receive \$0-x; #X obj 117 289 receive \$0-x-slider; #X floatatom 118 312 5 0 0 0 - - -; #X floatatom 279 313 5 0 0 0 - - -; #X obj 280 290 receive \$0-y-slider; #X obj 118 169 / 200; #X obj 280 170 / 200; #X obj 118 249 send \$0-x-slider-receive; #X obj 280 250 send \$0-y-slider-receive; #X msg 281 193 1 \$1; #X obj 280 221 -; #X connect 0 0 1 0; #X connect 1 0 5 0; #X connect 1 1 2 0; #X connect 2 0 19 0; #X connect 2 1 3 0; #X connect 3 0 4 0; #X connect 4 0 19 0; #X connect 5 0 6 0; #X connect 6 0 19 0; #X connect 7 0 11 0; #X connect 7 1 8 0; #X connect 8 0 18 0; #X connect 8 1 9 0; #X connect 9 0 10 0; #X connect 10 0 18 0; #X connect 11 0 12 0; #X connect 12 0 18 0; #X connect 13 0 7 0; #X connect 14 0 15 0; #X connect 17 0 16 0; #X connect 18 0 20 0; #X connect 19 0 22 0; #X connect 22 0 23 0; #X connect 23 0 21 0; #X restore 265 348 pd receive from gcanvas; #X obj 138 9 receive \$0-x-slider; #X obj 54 106 cyclone/speedlim 100; #X obj 53 293 circular; #X connect 0 0 15 0; #X connect 1 0 3 0; #X connect 3 0 4 0; #X connect 3 0 6 0; #X connect 4 0 10 0; #X connect 5 0 0 0; #X connect 6 0 11 0; #X connect 6 1 8 1; #X connect 7 0 1 1; #X connect 9 0 0 0; #X connect 10 0 3 1; #X connect 10 0 7 0; #X connect 11 0 16 0; #X connect 14 0 9 0; #X connect 15 0 1 0; #X connect 16 0 8 0; #X restore 367 71 pd draw_array; #X obj 252 359 pddp/open mapping-about; #X text 6 391 (C) Copyright 2007 Free Software Foundation; #X obj 15 207 circular; #X obj 262 103 gcanvas 200 200; #N canvas 0 22 450 300 (subpatch) 0; #X array \$0-curve 200 float 0; #X coords 0 1 199 0 200 200 1; #X restore 262 103 graph; #X obj 262 308 send \$0-x; #X obj 404 307 send \$0-y; #X text 17 39 This object curves the input range using a double-circular seat controlled by one parameter.; #N canvas 498 82 494 344 META 0; #X text 12 135 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 95 OUTLET_0 float; #X text 12 115 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 75 INLET_0 float; #X text 12 5 KEYWORDS control abstraction; #X text 12 45 DESCRIPTION curve the input range using a double-circular seat controlled by one parameter; #X restore 442 431 pd META; #X connect 4 0 11 0; #X connect 5 0 6 0; #X connect 7 0 4 0; #X connect 11 0 5 0; #X connect 12 0 14 0; #X connect 12 1 15 0; mapping-0.2.1/circular.pd0000644000076500007650000000023612030356733013757 0ustar hanshans#N canvas 1 53 599 452 10; #X obj 62 10 inlet; #X obj 195 405 outlet; #X obj 65 172 expr 1 - sqrt(1 - pow($f1 \, 2)); #X connect 0 0 2 0; #X connect 2 0 1 0; mapping-0.2.1/circular_seat-help.pd0000644000076500007650000000732712030356733015731 0ustar hanshans#N canvas 1 53 490 451 10; #X obj 5 2 cnv 15 450 20 empty empty circular_seat 2 11 1 18 -233017 -66577 0; #X msg 422 3 pddp; #X text 273 392 released under the GNU GPL; #X text 148 361 For more info:; #X floatatom 15 127 8 0 0 0 - - -; #X floatatom 15 288 8 0 0 0 - - -; #X obj 18 305 hsl 200 20 0 1 0 0 empty empty curved_output 22 11 1 12 -262144 -1 -1 0 1; #X obj 18 101 hsl 200 20 0 1 0 0 empty empty raw_input 22 11 1 12 -261681 -1 -1 0 1; #N canvas 273 69 474 407 draw_array 0; #X msg 54 82 bang; #X obj 54 133 until; #X text 85 82 start; #X obj 54 155 f; #X obj 83 155 + 1; #X obj 54 43 loadbang; #X obj 54 210 trigger float float; #X obj 127 157 select 0; #X obj 53 343 tabwrite \$0-curve; #X obj 139 53 trigger bang float; #X obj 83 177 mod 200; #X obj 54 287 / 200; #X text 96 287 mapping output range: 0 to 1; #N canvas 0 22 461 369 receive 0; #X obj 253 33 receive \$0-y; #X obj 253 57 moses; #X obj 280 78 moses 201; #X obj 331 99 bang; #X msg 331 120 200; #X obj 238 98 bang; #X msg 238 119 0; #X obj 91 56 moses; #X obj 118 77 moses 201; #X obj 169 98 bang; #X msg 169 119 200; #X obj 76 97 bang; #X msg 76 118 0; #X obj 91 32 receive \$0-x; #X obj 117 289 receive \$0-x-slider; #X floatatom 118 312 5 0 0 0 - - -; #X floatatom 279 313 5 0 0 0 - - -; #X obj 280 290 receive \$0-y-slider; #X obj 118 169 / 200; #X obj 280 170 / 200; #X obj 118 249 send \$0-x-slider-receive; #X obj 280 250 send \$0-y-slider-receive; #X msg 281 193 1 \$1; #X obj 280 221 -; #X connect 0 0 1 0; #X connect 1 0 5 0; #X connect 1 1 2 0; #X connect 2 0 19 0; #X connect 2 1 3 0; #X connect 3 0 4 0; #X connect 4 0 19 0; #X connect 5 0 6 0; #X connect 6 0 19 0; #X connect 7 0 11 0; #X connect 7 1 8 0; #X connect 8 0 18 0; #X connect 8 1 9 0; #X connect 9 0 10 0; #X connect 10 0 18 0; #X connect 11 0 12 0; #X connect 12 0 18 0; #X connect 13 0 7 0; #X connect 14 0 15 0; #X connect 17 0 16 0; #X connect 18 0 20 0; #X connect 19 0 22 0; #X connect 22 0 23 0; #X connect 23 0 21 0; #X restore 265 348 pd receive from gcanvas; #X obj 138 9 receive \$0-x-slider; #X obj 53 313 circular_seat; #X obj 54 106 cyclone/speedlim 100; #X connect 0 0 16 0; #X connect 1 0 3 0; #X connect 3 0 4 0; #X connect 3 0 6 0; #X connect 4 0 10 0; #X connect 5 0 0 0; #X connect 6 0 11 0; #X connect 6 1 8 1; #X connect 7 0 1 1; #X connect 9 0 0 0; #X connect 9 1 15 1; #X connect 10 0 3 1; #X connect 10 0 7 0; #X connect 11 0 15 0; #X connect 14 0 9 0; #X connect 15 0 8 0; #X connect 16 0 1 0; #X restore 367 71 pd draw_array; #X obj 252 359 pddp/open mapping-about; #X text 6 391 (C) Copyright 2007 Free Software Foundation; #X obj 15 217 circular_seat; #X obj 262 103 gcanvas 200 200; #N canvas 0 22 450 300 (subpatch) 0; #X array \$0-curve 200 float 0; #X coords 0 1 199 0 200 200 1; #X restore 262 103 graph; #X obj 262 308 send \$0-x; #X obj 404 307 send \$0-y; #X obj 111 167 hsl 50 15 0 1 0 0 \$0-x-slider \$0-x-slider-receive x 5 9 0 11 -232576 -1 -1 0 0; #X floatatom 117 187 7 0 0 0 - - -; #X text 17 39 This object curves the input range using a double-circular seat controlled by one parameter.; #X text 15 71 (click in the gray area to play); #N canvas 498 82 494 344 META 0; #X text 12 155 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 115 OUTLET_0 float; #X text 12 135 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 75 INLET_0 float; #X text 12 5 KEYWORDS control abstraction; #X text 12 45 DESCRIPTION curve the input range using a double-circular seat controlled by one parameter; #X text 12 95 INLET_1 float; #X restore 433 419 pd META; #X connect 4 0 11 0; #X connect 5 0 6 0; #X connect 7 0 4 0; #X connect 11 0 5 0; #X connect 12 0 14 0; #X connect 12 1 15 0; #X connect 16 0 11 1; #X connect 16 0 17 0; mapping-0.2.1/circular_seat.pd0000644000076500007650000000077712030356733015005 0ustar hanshans#N canvas 1 53 595 448 10; #X obj 62 10 inlet; #X obj 195 405 outlet; #X obj 240 10 loadbang; #X obj 167 9 inlet; #X obj 167 50 purepd/float_argument \$1; #X obj 131 114 moses; #X obj 14 208 expr sqrt(pow($f2 \, 2) - pow($f1 - $f2 \, 2)); #X obj 273 208 expr 1 - sqrt(pow(1 - $f2 \, 2) - pow($f1 - $f2 \, 2)) ; #X connect 0 0 5 0; #X connect 2 0 4 0; #X connect 3 0 4 0; #X connect 4 0 5 1; #X connect 4 0 6 1; #X connect 4 0 7 1; #X connect 5 0 6 0; #X connect 5 1 7 0; #X connect 6 0 1 0; #X connect 7 0 1 0; mapping-0.2.1/circular_sigmoid-help.pd0000644000076500007650000000734112030356733016424 0ustar hanshans#N canvas 1 53 486 452 10; #X obj 5 2 cnv 15 450 20 empty empty circular_sigmoid 2 11 1 18 -233017 -66577 0; #X msg 422 3 pddp; #X text 273 392 released under the GNU GPL; #X text 148 361 For more info:; #X floatatom 15 127 8 0 0 0 - - -; #X floatatom 15 288 8 0 0 0 - - -; #X obj 18 305 hsl 200 20 0 1 0 0 empty empty curved_output 22 11 1 12 -262144 -1 -1 0 1; #X obj 18 101 hsl 200 20 0 1 0 0 empty empty raw_input 22 11 1 12 -261681 -1 -1 0 1; #N canvas 273 69 470 403 draw_array 0; #X msg 54 82 bang; #X obj 54 133 until; #X text 85 82 start; #X obj 54 155 f; #X obj 83 155 + 1; #X obj 54 43 loadbang; #X obj 54 210 trigger float float; #X obj 127 157 select 0; #X obj 53 343 tabwrite \$0-curve; #X obj 139 53 trigger bang float; #X obj 83 177 mod 200; #X obj 54 287 / 200; #X text 96 287 mapping output range: 0 to 1; #N canvas 0 22 461 369 receive 0; #X obj 253 33 receive \$0-y; #X obj 253 57 moses; #X obj 280 78 moses 201; #X obj 331 99 bang; #X msg 331 120 200; #X obj 238 98 bang; #X msg 238 119 0; #X obj 91 56 moses; #X obj 118 77 moses 201; #X obj 169 98 bang; #X msg 169 119 200; #X obj 76 97 bang; #X msg 76 118 0; #X obj 91 32 receive \$0-x; #X obj 117 289 receive \$0-x-slider; #X floatatom 118 312 5 0 0 0 - - -; #X floatatom 279 313 5 0 0 0 - - -; #X obj 280 290 receive \$0-y-slider; #X obj 118 169 / 200; #X obj 280 170 / 200; #X obj 118 249 send \$0-x-slider-receive; #X obj 280 250 send \$0-y-slider-receive; #X msg 281 193 1 \$1; #X obj 280 221 -; #X connect 0 0 1 0; #X connect 1 0 5 0; #X connect 1 1 2 0; #X connect 2 0 19 0; #X connect 2 1 3 0; #X connect 3 0 4 0; #X connect 4 0 19 0; #X connect 5 0 6 0; #X connect 6 0 19 0; #X connect 7 0 11 0; #X connect 7 1 8 0; #X connect 8 0 18 0; #X connect 8 1 9 0; #X connect 9 0 10 0; #X connect 10 0 18 0; #X connect 11 0 12 0; #X connect 12 0 18 0; #X connect 13 0 7 0; #X connect 14 0 15 0; #X connect 17 0 16 0; #X connect 18 0 20 0; #X connect 19 0 22 0; #X connect 22 0 23 0; #X connect 23 0 21 0; #X restore 265 348 pd receive from gcanvas; #X obj 138 9 receive \$0-x-slider; #X obj 54 108 cyclone/speedlim 100; #X obj 53 313 circular_sigmoid; #X connect 0 0 15 0; #X connect 1 0 3 0; #X connect 3 0 4 0; #X connect 3 0 6 0; #X connect 4 0 10 0; #X connect 5 0 0 0; #X connect 6 0 11 0; #X connect 6 1 8 1; #X connect 7 0 1 1; #X connect 9 0 0 0; #X connect 9 1 16 1; #X connect 10 0 3 1; #X connect 10 0 7 0; #X connect 11 0 16 0; #X connect 14 0 9 0; #X connect 15 0 1 0; #X connect 16 0 8 0; #X restore 367 71 pd draw_array; #X obj 252 359 pddp/open mapping-about; #X text 6 391 (C) Copyright 2007 Free Software Foundation; #X obj 262 103 gcanvas 200 200; #N canvas 0 22 450 300 (subpatch) 0; #X array \$0-curve 200 float 0; #X coords 0 1 199 0 200 200 1; #X restore 262 103 graph; #X obj 262 308 send \$0-x; #X obj 404 307 send \$0-y; #X obj 111 167 hsl 50 15 0 1 0 0 \$0-x-slider \$0-x-slider-receive x 5 9 0 11 -232576 -1 -1 0 0; #X floatatom 117 187 7 0 0 0 - - -; #X text 17 39 This object curves the input range using a double-circular seat controlled by one parameter.; #X text 15 71 (click in the gray area to play); #X obj 15 217 circular_sigmoid; #N canvas 465 169 494 344 META 0; #X text 12 155 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 95 INLET_1 float; #X text 12 115 OUTLET_0 float; #X text 12 135 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 75 INLET_0 float; #X text 12 5 KEYWORDS control abstraction; #X text 12 45 DESCRIPTION curve the input range using a double-circular seat controlled by one parameter; #X restore 430 423 pd META; #X connect 4 0 19 0; #X connect 5 0 6 0; #X connect 7 0 4 0; #X connect 11 0 13 0; #X connect 11 1 14 0; #X connect 15 0 16 0; #X connect 15 0 19 1; #X connect 19 0 5 0; mapping-0.2.1/circular_sigmoid.pd0000644000076500007650000000076312030356733015477 0ustar hanshans#N canvas 1 53 599 459 10; #X obj 62 10 inlet; #X obj 195 405 outlet; #X obj 240 10 loadbang; #X obj 167 9 inlet; #X obj 167 50 purepd/float_argument \$1; #X obj 131 114 moses; #X obj 14 208 expr $f2 - sqrt($f2*$f2 - $f1*$f1); #X obj 235 207 expr $f2 + sqrt(pow(1 - $f2 \, 2) - pow($f1 - 1 \, 2)) ; #X connect 0 0 5 0; #X connect 2 0 4 0; #X connect 3 0 4 0; #X connect 4 0 5 1; #X connect 4 0 6 1; #X connect 4 0 7 1; #X connect 5 0 6 0; #X connect 5 1 7 0; #X connect 6 0 1 0; #X connect 7 0 1 0; mapping-0.2.1/correlation-help.pd0000644000076500007650000000454612030356733015432 0ustar hanshans#N canvas 1 53 833 405 10; #X text 267 23 correlation of 2 diferents streams; #X obj 49 192 resample 20; #X obj 49 219 t f f; #X obj 49 114 metro 500; #X obj 49 143 random 100; #X floatatom 49 294 5 0 0 0 - - -; #X obj 49 89 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #X obj 49 259 correlation 20; #X obj 229 192 resample 20; #X obj 229 219 t f f; #X obj 229 113 metro 500; #X obj 229 141 random 100; #X floatatom 229 295 5 0 0 0 - - -; #X obj 229 89 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #X obj 229 260 correlation 20; #X obj 380 142 random 100; #X floatatom 380 295 5 0 0 0 - - -; #X obj 380 88 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #X obj 380 260 correlation 20; #X obj 473 142 random 100; #X obj 380 113 metro 50; #X obj 595 187 resample 20; #X obj 595 211 t f f; #X obj 595 112 metro 500; #X obj 595 137 random 100; #X obj 595 161 / 100; #X floatatom 625 326 5 0 0 0 - - -; #X obj 595 87 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #X obj 625 301 correlation 20; #X obj 718 254 * -0.3; #X obj 718 277 + 2; #X obj 49 167 / 100; #X obj 229 165 / 100; #X obj 380 166 / 100; #X obj 473 166 / 100; #X text 281 44 0 = no correlation \, 1 ou -1 = high correlation; #N canvas 541 232 494 344 META 0; #X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 85 INLET_1 float; #X text 12 105 OUTLET_0 float; #X text 12 125 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 65 INLET_0 float; #X text 12 5 KEYWORDS control abstraction; #X text 12 45 DESCRIPTION correlation of 2 diferents streams; #X restore 773 376 pd META; #X connect 1 0 2 0; #X connect 2 0 7 0; #X connect 2 1 7 1; #X connect 3 0 4 0; #X connect 4 0 31 0; #X connect 6 0 3 0; #X connect 7 0 5 0; #X connect 8 0 9 0; #X connect 9 0 14 1; #X connect 9 1 14 0; #X connect 10 0 11 0; #X connect 11 0 32 0; #X connect 13 0 10 0; #X connect 14 0 12 0; #X connect 15 0 33 0; #X connect 17 0 20 0; #X connect 18 0 16 0; #X connect 19 0 34 0; #X connect 20 0 15 0; #X connect 20 0 19 0; #X connect 21 0 22 0; #X connect 22 0 29 0; #X connect 22 1 28 0; #X connect 23 0 24 0; #X connect 24 0 25 0; #X connect 25 0 21 0; #X connect 27 0 23 0; #X connect 28 0 26 0; #X connect 29 0 30 0; #X connect 30 0 28 1; #X connect 31 0 1 0; #X connect 32 0 8 0; #X connect 33 0 18 0; #X connect 34 0 18 1; mapping-0.2.1/correlation.pd0000644000076500007650000000207012030356733014472 0ustar hanshans#N canvas 1 53 685 660 10; #X obj 28 22 inlet; #X obj 28 439 outlet; #X obj 284 24 inlet; #X obj 28 223 *; #X obj 28 398 /; #X obj 30 178 t f f f; #X obj 52 201 *; #X obj 377 225 *; #X obj 377 199 t f f; #X obj 221 281 *; #X obj 221 304 sqrt; #X obj 29 259 mean_n \$1; #X obj 222 255 mean_n \$1; #X obj 377 249 mean_n \$1; #X obj 299 119 mean_n \$1; #X obj 269 96 t f f; #X obj 270 144 -; #X obj 57 122 mean_n \$1; #X obj 27 99 t f f; #X obj 28 147 -; #X obj 270 67 f; #X obj 29 49 t f b; #X connect 0 0 21 0; #X connect 2 0 20 1; #X connect 3 0 11 0; #X connect 4 0 1 0; #X connect 5 0 3 0; #X connect 5 1 6 0; #X connect 5 2 6 1; #X connect 6 0 12 0; #X connect 7 0 13 0; #X connect 8 0 7 0; #X connect 8 1 7 1; #X connect 9 0 10 0; #X connect 10 0 4 1; #X connect 11 0 4 0; #X connect 12 0 9 0; #X connect 13 0 9 1; #X connect 14 0 16 1; #X connect 15 0 16 0; #X connect 15 1 14 0; #X connect 16 0 8 0; #X connect 16 0 3 1; #X connect 17 0 19 1; #X connect 18 0 19 0; #X connect 18 1 17 0; #X connect 19 0 5 0; #X connect 20 0 15 0; #X connect 21 0 18 0; #X connect 21 1 20 0; mapping-0.2.1/cubic_seat-help.pd0000644000076500007650000001013012030356733015174 0ustar hanshans#N canvas 1 53 567 455 12; #X declare -lib mapping -lib ggee; #X obj 418 32 import mapping ggee; #X obj 5 2 cnv 15 550 20 empty empty cubic_seat 2 11 1 18 -233017 -66577 0; #X msg 516 2 pddp; #X text 313 393 released under the GNU GPL; #X text 263 356 For more info:; #X floatatom 35 127 8 0 0 0 - - -; #X floatatom 35 278 8 0 0 0 - - -; #X obj 38 305 hsl 200 20 0 1 0 0 empty empty curved_output 22 11 1 12 -262144 -1 -1 0 1; #X obj 38 101 hsl 200 20 0 1 0 0 empty empty raw_input 22 11 1 12 -261681 -1 -1 0 1; #X obj 168 167 hsl 50 15 0 1 0 1 \$0-y-slider \$0-y-slider-receive y 5 9 0 11 -204800 -1 -1 2720 0; #X floatatom 175 186 7 0 0 0 - - -; #X obj 362 356 pddp/open mapping-about; #X text 0 393 (C) Copyright 2007 Free Software Foundation; #X obj 74 167 hsl 50 15 0 1 0 1 \$0-x-slider \$0-x-slider-receive x 5 9 0 11 -232576 -1 -1 1984 0; #X floatatom 80 187 7 0 0 0 - - -; #X text 6 33 This object curves the input range using cubic curves that meet at the specified point \, forming a seat.; #X obj 35 247 cubic_seat; #N canvas 273 69 478 411 draw_array 0; #X msg 54 82 bang; #X obj 54 133 until; #X text 85 82 start; #X obj 54 155 f; #X obj 83 155 + 1; #X obj 54 43 loadbang; #X obj 54 210 trigger float float; #X obj 127 157 select 0; #X obj 66 343 tabwrite \$0-curve; #X obj 139 53 trigger bang float; #X obj 83 177 mod 200; #X obj 54 254 / 200; #X text 96 254 mapping output range: 0 to 1; #N canvas 0 22 461 369 receive 0; #X obj 253 33 receive \$0-y; #X obj 253 57 moses; #X obj 280 78 moses 201; #X obj 331 99 bang; #X msg 331 120 200; #X obj 238 98 bang; #X msg 238 119 0; #X obj 91 56 moses; #X obj 118 77 moses 201; #X obj 169 98 bang; #X msg 169 119 200; #X obj 76 97 bang; #X msg 76 118 0; #X obj 91 32 receive \$0-x; #X obj 117 289 receive \$0-x-slider; #X floatatom 118 312 5 0 0 0 - - -; #X floatatom 279 313 5 0 0 0 - - -; #X obj 280 290 receive \$0-y-slider; #X obj 118 169 / 200; #X obj 280 170 / 200; #X obj 118 249 send \$0-x-slider-receive; #X obj 280 250 send \$0-y-slider-receive; #X msg 281 193 1 \$1; #X obj 280 221 -; #X connect 0 0 1 0; #X connect 1 0 5 0; #X connect 1 1 2 0; #X connect 2 0 19 0; #X connect 2 1 3 0; #X connect 3 0 4 0; #X connect 4 0 19 0; #X connect 5 0 6 0; #X connect 6 0 19 0; #X connect 7 0 11 0; #X connect 7 1 8 0; #X connect 8 0 18 0; #X connect 8 1 9 0; #X connect 9 0 10 0; #X connect 10 0 18 0; #X connect 11 0 12 0; #X connect 12 0 18 0; #X connect 13 0 7 0; #X connect 14 0 15 0; #X connect 17 0 16 0; #X connect 18 0 20 0; #X connect 19 0 22 0; #X connect 22 0 23 0; #X connect 23 0 21 0; #X restore 265 348 pd receive from gcanvas; #X obj 138 9 receive \$0-x-slider; #X obj 293 12 receive \$0-y-slider; #X obj 294 50 trigger bang float; #X obj 54 108 cyclone/speedlim 100; #X obj 54 280 cubic_seat; #X connect 0 0 17 0; #X connect 1 0 3 0; #X connect 3 0 4 0; #X connect 3 0 6 0; #X connect 4 0 10 0; #X connect 5 0 0 0; #X connect 6 0 11 0; #X connect 6 1 8 1; #X connect 7 0 1 1; #X connect 9 0 0 0; #X connect 9 1 18 1; #X connect 10 0 3 1; #X connect 10 0 7 0; #X connect 11 0 18 0; #X connect 14 0 9 0; #X connect 15 0 16 0; #X connect 16 0 0 0; #X connect 16 1 18 2; #X connect 17 0 1 0; #X connect 18 0 8 0; #X restore 409 71 pd draw_array; #X obj 304 103 gcanvas 200 200; #N canvas 0 22 450 300 (subpatch) 0; #X array \$0-curve 200 float 0; #X coords 0 1 199 0 200 200 1; #X restore 304 103 graph; #X obj 304 308 send \$0-x; #X obj 446 307 send \$0-y; #N canvas 473 250 494 344 META 0; #X text 12 185 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 105 INLET_1 float; #X text 12 145 OUTLET_0 float; #X text 12 165 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 85 INLET_0 float; #X text 12 5 KEYWORDS control abstraction; #X text 12 125 INLET_2 float; #X text 12 45 DESCRIPTION curve the input range using cubic curves that meet at the specified point \, forming a seat.; #X restore 506 418 pd META; #X connect 5 0 16 0; #X connect 6 0 7 0; #X connect 8 0 5 0; #X connect 9 0 10 0; #X connect 9 0 16 2; #X connect 13 0 14 0; #X connect 13 0 16 1; #X connect 16 0 6 0; #X connect 18 0 20 0; #X connect 18 1 21 0; mapping-0.2.1/cubic_seat.pd0000644000076500007650000000146312030356733014257 0ustar hanshans#N canvas 1 53 589 471 12; #X obj 42 10 inlet; #X obj 349 13 inlet; #X obj 106 405 outlet; #X obj 220 10 loadbang; #X obj 147 9 inlet; #X obj 147 50 purepd/float_argument \$1; #X obj 349 54 purepd/float_argument \$2; #X obj 42 113 moses; #X obj 147 97 moses 1; #X obj 147 121 + 1e-06; #X text 202 106 prevent divide by 0; #X obj 7 199 expr $f3 - $f3*pow(1 - $f1/$f2 \, 3); #X obj 152 275 expr $f3 + (1 - $f3) * pow(($f1 - $f2) / (1 - $f2) \, 3); #X obj 349 121 float; #X connect 0 0 7 0; #X connect 1 0 6 0; #X connect 3 0 5 0; #X connect 3 0 6 0; #X connect 4 0 5 0; #X connect 5 0 7 1; #X connect 5 0 8 0; #X connect 6 0 13 0; #X connect 7 0 11 0; #X connect 7 1 12 0; #X connect 8 0 9 0; #X connect 9 0 11 1; #X connect 9 0 12 1; #X connect 11 0 2 0; #X connect 12 0 2 0; #X connect 13 0 11 2; #X connect 13 0 12 2; mapping-0.2.1/curve-help.pd0000644000076500007650000000466112030356733014233 0ustar hanshans#N canvas 1 53 472 470 10; #X obj 5 2 cnv 15 450 20 empty empty curve 2 11 1 18 -233017 -66577 0; #X msg 422 3 pddp; #X text 27 390 (C) Copyright 2004 Hans-Christoph Steiner ; #X text 244 404 released under the GNU GPL; #X text 158 361 For more info:; #X floatatom 25 157 8 0 0 0 - - -; #X floatatom 25 228 8 0 0 0 - - -; #X obj 28 245 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -262144 -1 -1 0 1; #X obj 28 137 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -261681 -1 -1 0 1; #N canvas 0 22 450 300 (subpatch) 0; #X array \$0-curve 200 float 0; #X coords 0 1 199 0 200 200 1; #X restore 254 92 graph; #N canvas 786 75 427 417 draw_array 0; #X msg 54 82 bang; #X obj 54 103 until; #X text 85 82 start; #X obj 54 125 f; #X obj 83 125 + 1; #X obj 54 43 loadbang; #X obj 54 180 trigger float float; #X obj 127 127 select 0; #X obj 53 313 tabwrite \$0-curve; #X obj 138 9 inlet; #X obj 153 32 send \$0-to-numbox; #X obj 139 53 trigger bang float; #X obj 83 147 mod 200; #X obj 54 257 / 200; #X text 96 257 mapping output range: 0 to 1; #X obj 53 283 mapping/curve; #X connect 0 0 1 0; #X connect 1 0 3 0; #X connect 3 0 4 0; #X connect 3 0 6 0; #X connect 4 0 12 0; #X connect 5 0 0 0; #X connect 6 0 13 0; #X connect 6 1 8 1; #X connect 7 0 1 1; #X connect 9 0 10 0; #X connect 9 0 11 0; #X connect 11 0 0 0; #X connect 11 1 15 1; #X connect 12 0 3 1; #X connect 12 0 7 0; #X connect 13 0 15 0; #X connect 15 0 8 0; #X restore 127 207 pd draw_array; #X text 286 301 related objects:; #X obj 117 166 hsl 128 15 -1 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 0; #X floatatom 192 184 7 0 0 0 - #0-to-numbox -; #X obj 259 319 sinusoid; #X obj 25 207 mapping/curve; #X obj 262 359 pddp/open mapping-about; #X text 17 39 This object generates a curve based on a -1 to 1 argument range.; #X obj 342 320 curve_power; #X obj 342 338 curve_log; #X obj 259 338 curve_exp; #N canvas 464 140 494 344 META 0; #X text 12 155 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 95 INLET_1 float; #X text 12 115 OUTLET_0 float; #X text 12 135 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 75 INLET_0 float; #X text 12 5 KEYWORDS control abstraction; #X text 12 45 DESCRIPTION generate a curve based on a -1 to 1 argument range.; #X restore 411 435 pd META; #X connect 5 0 15 0; #X connect 6 0 7 0; #X connect 8 0 5 0; #X connect 12 0 10 0; #X connect 12 0 15 1; #X connect 15 0 6 0; mapping-0.2.1/curve.pd0000644000076500007650000000136212030356733013300 0ustar hanshans#N canvas 1 53 472 434 10; #X obj 106 325 pow 1; #X obj 62 10 inlet; #X obj 257 9 inlet; #X obj 106 405 outlet; #X obj 271 243 exp; #X msg 287 177 2; #X obj 287 198 log; #X obj 271 221 *; #X obj 62 248 moses 0; #X obj 62 283 * -1; #X obj 62 325 pow 1; #X obj 62 352 * -1; #X obj 299 10 loadbang; #X obj 257 155 t f b; #X obj 257 50 purepd/float_argument \$1; #X obj 257 119 * 10; #X connect 0 0 3 0; #X connect 1 0 8 0; #X connect 2 0 14 0; #X connect 4 0 0 1; #X connect 4 0 10 1; #X connect 5 0 6 0; #X connect 6 0 7 1; #X connect 7 0 4 0; #X connect 8 0 9 0; #X connect 8 1 0 0; #X connect 9 0 10 0; #X connect 10 0 11 0; #X connect 11 0 3 0; #X connect 12 0 14 0; #X connect 13 0 7 0; #X connect 13 1 5 0; #X connect 14 0 15 0; #X connect 15 0 13 0; mapping-0.2.1/curve_draw-help.pd0000644000076500007650000000153212030356733015242 0ustar hanshans#N canvas 1 53 394 367 10; #X floatatom 33 119 5 -1 1 0 - - -; #X floatatom 34 280 9 0 0 0 - - -; #X obj 34 144 curve_draw test 100; #X text 125 15 draw the in / out relation; #X text 31 51 arg 1 : name of the file to save the curve; #X text 31 64 arg 2 : size of the table; #X text 85 125 input (0 to 1); #X text 107 277 out (0 to 1); #X text 50 320 The mapping curve is symetric. i.e f(-x)=-f(x); #N canvas 465 169 494 344 META 0; #X text 12 125 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 85 OUTLET_0 float; #X text 12 105 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 65 INLET_0 float; #X text 12 5 KEYWORDS control abstraction GUI; #X text 12 45 DESCRIPTION draw the in / out relation; #X restore 355 338 pd META; #X connect 0 0 2 0; #X connect 2 0 1 0; mapping-0.2.1/curve_draw.pd0000644000076500007650000000402712030356733014316 0ustar hanshans#N canvas 1 53 635 480 10; #N canvas 0 0 450 300 (subpatch) 0; #X array \$0-array 100 float 1; #A 0 -1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0; #X coords 0 1 99 -1 100 100 1; #X restore 200 130 graph; #X obj 303 130 bng 15 250 50 0 empty empty empty 17 7 0 10 -258113 -1 -1; #X text 320 128 save; #X obj 303 148 bng 15 250 50 0 empty empty empty 17 7 0 10 -4034 -1 -1; #X text 320 149 load; #X obj 303 381 getdir 1; #X obj 368 50 loadbang; #X obj 148 306 tabread \$0-array; #X obj 387 271 s \$0-array; #X msg 387 250 resize \$1; #X obj 387 96 \$2; #X msg 387 177 100; #X obj 357 290 getdir 1; #X obj 109 57 inlet; #X obj 109 257 *; #X obj 387 218 f; #X obj 109 460 outlet; #X obj 148 327 + 1; #X obj 148 347 / 2; #X obj 109 279 moses 0; #X obj 109 366 tabread \$0-array; #X obj 109 387 + 1; #X obj 109 407 / 2; #X obj 109 305 * -1; #X obj 109 437 * -1; #X obj 407 313 symbol \$1; #X obj 357 339 pack s s; #X obj 303 400 pack s s; #X obj 426 180 min 100; #X obj 303 446 s \$0-array; #X msg 357 358 write \$1/\$2.txt; #X msg 303 419 read \$1/\$2.txt; #X obj 368 73 t b b b; #X obj 387 123 i; #X obj 387 157 moses 0.5; #X connect 1 0 12 0; #X connect 3 0 5 0; #X connect 5 0 27 0; #X connect 6 0 32 0; #X connect 7 0 17 0; #X connect 9 0 8 0; #X connect 10 0 33 0; #X connect 11 0 15 0; #X connect 12 0 26 0; #X connect 13 0 14 0; #X connect 14 0 19 0; #X connect 15 0 9 0; #X connect 15 0 14 1; #X connect 17 0 18 0; #X connect 18 0 16 0; #X connect 19 0 23 0; #X connect 19 1 7 0; #X connect 20 0 21 0; #X connect 21 0 22 0; #X connect 22 0 24 0; #X connect 23 0 20 0; #X connect 24 0 16 0; #X connect 25 0 26 1; #X connect 25 0 27 1; #X connect 26 0 30 0; #X connect 27 0 31 0; #X connect 28 0 15 0; #X connect 30 0 29 0; #X connect 31 0 29 0; #X connect 32 0 3 0; #X connect 32 1 10 0; #X connect 32 2 25 0; #X connect 33 0 34 0; #X connect 34 0 11 0; #X connect 34 1 28 0; #X coords 0 -1 1 1 150 130 1 200 100; mapping-0.2.1/curve_exp-help.pd0000644000076500007650000000412112030356733015076 0ustar hanshans#N canvas 1 53 476 357 10; #X obj 5 2 cnv 15 450 20 empty empty curve_exp 2 11 1 18 -233017 -66577 0; #X msg 422 3 pddp; #X text 27 300 (C) Copyright 2004 Hans-Christoph Steiner ; #X text 244 314 released under the GNU GPL; #X text 98 271 For more info:; #X obj 202 269 pddp/pddplink ../all_about_curve_mapping.pd -text all_about_curve_mapping ; #X floatatom 25 123 8 0 0 0 - - -; #X floatatom 25 184 8 0 0 0 - - -; #X obj 28 201 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -262144 -1 -1 0 1; #X obj 28 103 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -261681 -1 -1 0 1; #N canvas 0 22 450 300 (subpatch) 0; #X array curve_exp 100 float 0; #X coords 0 1 99 0 100 100 1; #X restore 321 111 graph; #N canvas 266 69 331 321 draw_array 0; #X msg 57 52 bang; #X obj 57 73 until; #X text 88 52 start; #X obj 57 95 f; #X obj 86 95 + 1; #X obj 132 97 sel 0; #X obj 86 117 mod 100; #X obj 57 150 t f f; #X obj 94 177 s array_index; #X obj 170 262 r array_index; #X obj 57 13 loadbang; #X obj 57 207 / 100; #X text 99 207 mapping output range: 0 to 1; #X obj 56 283 tabwrite curve_exp; #X obj 56 233 curve_exp; #X connect 0 0 1 0; #X connect 1 0 3 0; #X connect 3 0 4 0; #X connect 3 0 7 0; #X connect 4 0 6 0; #X connect 5 0 1 1; #X connect 6 0 3 1; #X connect 6 0 5 0; #X connect 7 0 11 0; #X connect 7 1 8 0; #X connect 9 0 13 1; #X connect 10 0 0 0; #X connect 11 0 14 0; #X connect 14 0 13 0; #X restore 321 78 pd draw_array; #X text 17 39 This object maps the input range to a exponential curve \, the inverse of a logarithmic curve.; #N canvas 479 225 494 344 META 0; #X text 12 135 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 95 OUTLET_0 float; #X text 12 115 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 75 INLET_0 float; #X text 12 5 KEYWORDS control abstraction; #X text 12 45 DESCRIPTION map the input range to a exponential curve \, the inverse of a logarithmic curve.; #X restore 420 327 pd META; #X obj 25 153 curve_exp; #X connect 6 0 14 0; #X connect 7 0 8 0; #X connect 9 0 6 0; #X connect 14 0 7 0; mapping-0.2.1/curve_exp.pd0000644000076500007650000000112212030356733014146 0ustar hanshans#N canvas 1 53 511 337 10; #X obj 37 25 inlet; #X obj 37 262 outlet; #X obj 38 63 moses 0; #X obj 22 189 * -1; #X obj 22 168 dbtorms; #X obj 22 142 * 100; #X obj 83 142 * 100; #X obj 83 169 dbtorms; #X text 85 25 input range: -1 to 1; #X text 93 262 output range: -1 to 1; #X text 248 296 released under the GNU GPL; #X text 31 282 (C) Copyright 2006 Hans-Christoph Steiner ; #X obj 22 116 * -1; #X connect 0 0 2 0; #X connect 2 0 12 0; #X connect 2 1 6 0; #X connect 3 0 1 0; #X connect 4 0 3 0; #X connect 5 0 4 0; #X connect 6 0 7 0; #X connect 7 0 1 0; #X connect 12 0 5 0; mapping-0.2.1/curve_fade-help.pd0000644000076500007650000000314412030356733015205 0ustar hanshans#N canvas 2 82 649 503 10; #X obj 18 168 line; #X obj 18 262 timeroll; #X obj 18 189 resample 20; #X text 377 154 utilisation example :; #X obj 376 180 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1; #X obj 376 222 line; #X obj 376 308 vsl 15 128 0 1 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 545 303 vsl 15 128 0 1 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X text 439 304 better than :; #X text 332 283 smooth fade in and out; #X obj 18 210 curve_fade; #X obj 376 246 curve_fade; #X msg 18 144 0 \, 1 5000; #X msg 376 199 \$1 3000; #X text 148 10 This object input and output range is 0-1; #N canvas 465 169 494 344 META 0; #X text 12 135 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 95 OUTLET_0 float; #X text 12 115 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 75 INLET_0 float; #X text 12 5 KEYWORDS control abstraction; #X text 12 45 DESCRIPTION perform a non-linearity to allow the continuity of the diferenciate of the signal; #X restore 589 473 pd META; #X text 144 30 It performs a non-linearity in order to allow the continuity of the diferenciate of the signal (assuming the input signal is a ramp from 0 to 1). The shape of this non-linearity is a 3d order polygone ; #X text 144 92 This object is useful when natural fade in or fade out is neaded. (same result can be acheived with the line3 external); #X connect 0 0 2 0; #X connect 2 0 10 0; #X connect 4 0 13 0; #X connect 5 0 7 0; #X connect 5 0 11 0; #X connect 10 0 1 0; #X connect 11 0 6 0; #X connect 12 0 0 0; #X connect 13 0 5 0; mapping-0.2.1/curve_fade.pd0000644000076500007650000000050010755130731014250 0ustar hanshans#N canvas 0 0 450 300 10; #X obj 32 14 inlet; #X obj 32 177 outlet; #X obj 32 40 t f f f; #X obj 32 66 *; #X obj 32 135 *; #X obj 76 66 * -2; #X obj 76 93 + 3; #X connect 0 0 2 0; #X connect 2 0 3 0; #X connect 2 1 3 1; #X connect 2 2 5 0; #X connect 3 0 4 0; #X connect 4 0 1 0; #X connect 5 0 6 0; #X connect 6 0 4 1; mapping-0.2.1/curve_graph-help.pd0000644000076500007650000000271112030356733015406 0ustar hanshans#N canvas 1 53 495 470 10; #X obj 5 2 cnv 15 450 20 empty empty curve_graph 2 11 1 18 -233017 -66577 0; #X msg 422 3 pddp; #X text 27 410 (C) Copyright 2004 Hans-Christoph Steiner ; #X text 244 424 released under the GNU GPL; #X text 98 381 For more info:; #X obj 202 379 pddp/pddplink ../all_about_curve_mapping.pd -text all_about_curve_mapping ; #X msg 19 150 reset; #X floatatom 95 163 5 0 0 0 - - -; #X floatatom 94 314 5 0 0 0 - - -; #X obj 97 331 hsl 250 15 0 1 0 0 empty empty empty 22 8 1 12 -262144 -1 -1 0 1; #X obj 98 143 hsl 250 15 0 1 0 0 empty empty empty 22 8 1 12 -261681 -1 -1 0 1; #X obj 94 187 curve_graph; #X text 18 33 This object allows you to draw an arbitrary curve \, which is then applied to the input range. To change the curve \, click anywhere on the black diagonal line and start dragging.; #X text 19 86 There are 100 points in [curve_graph] \, each one pixel in size.; #N canvas 464 140 494 344 META 0; #X text 12 135 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 95 OUTLET_0 float; #X text 12 115 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 75 INLET_0 float; #X text 12 45 DESCRIPTION draw an arbitrary curve \, which is then applied to the input range; #X text 12 5 KEYWORDS control abstraction GUI; #X restore 441 442 pd META; #X connect 6 0 11 0; #X connect 7 0 11 0; #X connect 8 0 9 0; #X connect 10 0 7 0; #X connect 11 0 8 0; mapping-0.2.1/curve_graph.pd0000644000076500007650000000210110755130731014451 0ustar hanshans#N canvas 606 208 100 116 10; #X obj 103 188 inlet; #N canvas 0 22 466 316 graph5 0; #X array \$0_ 100 float 2; #X coords 0 1 100 0 100 100 1; #X restore 0 16 graph; #X obj 198 378 outlet; #X text 238 311 gives a range of 0-100; #X text 245 379 output range 0 to 1; #X text 79 167 [hid_graph]; #X obj 198 310 * 100; #X text 143 190 input range: 0 to 1; #X obj 103 237 route reset; #X obj 75 380 f; #X obj 45 380 +; #X msg 89 348 0; #X msg 45 348 1; #X obj 45 464 / 100; #X obj 45 441 trigger f f; #X obj 21 278 trigger bang bang; #X msg 21 303 100; #X obj 21 322 until; #X obj 198 333 tabread \$0_; #X obj 45 496 tabwrite \$0_; #X obj -7 229 loadbang; #X connect 0 0 8 0; #X connect 6 0 18 0; #X connect 8 0 15 0; #X connect 8 1 6 0; #X connect 9 0 10 1; #X connect 10 0 14 0; #X connect 10 0 9 0; #X connect 11 0 9 1; #X connect 11 0 10 1; #X connect 12 0 10 0; #X connect 13 0 19 0; #X connect 14 0 13 0; #X connect 14 1 19 1; #X connect 15 0 16 0; #X connect 15 1 11 0; #X connect 16 0 17 0; #X connect 17 0 12 0; #X connect 18 0 2 0; #X connect 20 0 15 0; #X coords 0 0 1 1 100 116 1; mapping-0.2.1/curve_log-help.pd0000644000076500007650000000401112030356733015061 0ustar hanshans#N canvas 1 53 484 375 10; #X obj 5 2 cnv 15 450 20 empty empty curve_log 2 11 1 18 -233017 -66577 0; #X msg 422 3 pddp; #X floatatom 25 123 8 0 0 0 - - -; #X floatatom 25 184 8 0 0 0 - - -; #X obj 28 201 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -262144 -1 -1 0 1; #X obj 28 103 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -261681 -1 -1 0 1; #N canvas 0 22 450 300 (subpatch) 0; #X array curve_log 100 float 0; #X coords 0 1 99 0 100 100 1; #X restore 321 111 graph; #N canvas 266 69 347 337 draw_array 0; #X msg 57 52 bang; #X obj 57 73 until; #X text 88 52 start; #X obj 57 95 f; #X obj 86 95 + 1; #X obj 86 117 mod 100; #X obj 57 150 t f f; #X obj 94 177 s array_index; #X obj 170 262 r array_index; #X obj 57 13 loadbang; #X obj 56 283 tabwrite curve_log; #X obj 132 97 select 0; #X obj 57 217 / 100; #X text 100 217 mapping output range: 0 to 1; #X obj 56 243 curve_log; #X connect 0 0 1 0; #X connect 1 0 3 0; #X connect 3 0 4 0; #X connect 3 0 6 0; #X connect 4 0 5 0; #X connect 5 0 3 1; #X connect 5 0 11 0; #X connect 6 0 12 0; #X connect 6 1 7 0; #X connect 8 0 10 1; #X connect 9 0 0 0; #X connect 11 0 1 1; #X connect 12 0 14 0; #X connect 14 0 10 0; #X restore 321 78 pd draw_array; #X text 17 40 This object maps the input range to a logarithmic curve. Humans perceive pitch and amplitude on a logarithmic scale.; #X text 11 294 (C) Copyright 2006-2007 Free Software Foundation; #X text 234 309 released under the GNU GPLv3 or later; #X obj 25 153 curve_log; #N canvas 464 140 494 344 META 0; #X text 12 135 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 95 OUTLET_0 float; #X text 12 115 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 75 INLET_0 float; #X text 12 5 KEYWORDS control abstraction; #X text 12 45 DESCRIPTION map the input range to a logarithmic curve. Humans perceive pitch and amplitude on a logarithmic scale.; #X restore 436 344 pd META; #X connect 2 0 11 0; #X connect 3 0 4 0; #X connect 5 0 2 0; #X connect 11 0 3 0; mapping-0.2.1/curve_log.pd0000644000076500007650000000202712030356733014140 0ustar hanshans#N canvas 1 53 443 381 10; #X obj 31 8 inlet; #X obj 216 110 moses 0; #X obj 30 124 abs; #X text 79 8 input range: -1 to 1; #X text 170 282 output range: -1 to 1; #X text 8 310 (C) Copyright 2006-2007 Free Software Foundation; #X text 199 327 released under the GNU GPLv3 or later; #X obj 87 168 log; #X obj 122 149 log; #X msg 121 125 10; #X obj 122 169 * 2; #X obj 87 190 +; #X obj 87 214 /; #X obj 30 145 moses 0.01; #X obj 31 30 trigger float float; #X obj 121 104 loadbang; #X obj 87 255 *; #X obj 87 281 outlet; #X obj 255 131 bang; #X obj 216 131 bang; #X msg 255 151 1; #X msg 216 151 -1; #X connect 0 0 14 0; #X connect 1 0 19 0; #X connect 1 1 18 0; #X connect 2 0 13 0; #X connect 7 0 11 0; #X connect 8 0 10 0; #X connect 9 0 8 0; #X connect 10 0 11 1; #X connect 10 0 12 1; #X connect 11 0 12 0; #X connect 12 0 16 0; #X connect 13 0 16 0; #X connect 13 1 7 0; #X connect 14 0 2 0; #X connect 14 1 1 0; #X connect 15 0 9 0; #X connect 16 0 17 0; #X connect 18 0 20 0; #X connect 19 0 21 0; #X connect 20 0 16 1; #X connect 21 0 16 1; mapping-0.2.1/debounce-help.pd0000644000076500007650000000271112030356733014665 0ustar hanshans#N canvas 1 53 470 540 10; #X obj 2 2 cnv 15 450 20 empty empty debounce 2 11 1 18 -233017 -66577 0; #X msg 418 3 pddp; #X text 234 467 released under the GNU GPL; #X text 18 499 $Author: nusmuk $; #X text 17 453 (C) Copyright 2005 Hans-Christoph Steiner ; #X obj 122 78 bng 15 250 50 0 empty empty empty 0 -6 0 8 -24198 -1 -1; #X obj 123 102 t b b; #X obj 123 142 delay; #X obj 63 121 bang; #X msg 85 78 stop; #X obj 123 171 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 123 228 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 123 198 debounce 2000; #X obj 152 122 random 1000; #X text 17 486 $Revision: 1.2 $$Date: 2006-11-10 15:43:46 $; #X text 26 388 Every input is converted to a "bang".; #N canvas 465 169 494 344 META 0; #X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 85 INLET_1 float; #X text 12 125 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 45 DESCRIPTION remove bangs if they arrive too fast; #X text 12 65 INLET_0 anything; #X text 12 105 OUTLET_0 bang; #X text 12 5 KEYWORDS control abstraction filter; #X restore 413 507 pd META; #X text 26 366 Debounce removes bangs if they arrive too fast.; #X connect 5 0 6 0; #X connect 6 0 7 0; #X connect 6 1 13 0; #X connect 7 0 8 0; #X connect 7 0 10 0; #X connect 8 0 6 0; #X connect 9 0 7 0; #X connect 10 0 12 0; #X connect 12 0 11 0; #X connect 13 0 7 1; mapping-0.2.1/debounce.pd0000644000076500007650000000057212030356733013742 0ustar hanshans#N canvas 1 53 705 322 10; #X obj 27 43 inlet; #X obj 27 264 outlet; #X obj 27 82 spigot 1; #X msg 160 158 0; #X msg 161 208 1; #X obj 161 183 delay \$1; #X obj 213 43 inlet; #X obj 27 119 t a b b; #X connect 0 0 2 0; #X connect 2 0 7 0; #X connect 3 0 2 1; #X connect 4 0 2 1; #X connect 5 0 4 0; #X connect 6 0 5 1; #X connect 7 0 1 0; #X connect 7 1 5 0; #X connect 7 2 3 0; mapping-0.2.1/debytemask-help.pd0000644000076500007650000000470112030356733015232 0ustar hanshans#N canvas 1 53 481 306 10; #X declare -lib mapping; #X obj 368 8 import mapping; #X obj 243 44 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #X obj 260 44 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #X obj 277 44 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #X obj 294 44 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #X obj 311 44 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #X obj 328 44 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #X obj 345 44 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #X obj 362 44 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #X floatatom 283 121 5 0 0 0 - - -; #X text 11 84 generate a bitmask byte from 8 inlets; #X obj 282 85 bytemask; #X obj 283 159 debytemask; #X obj 253 204 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X obj 270 204 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X obj 287 204 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 4; #X obj 304 204 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 8; #X obj 321 204 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 16; #X obj 338 204 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 32; #X obj 355 204 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 64; #X obj 372 204 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 128; #X text 17 160 decode a bitmask bask into 8 outlets; #X text 42 251 these objects do not output unless there is a change ; #N canvas 465 169 494 344 META 0; #X text 12 265 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 245 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 5 KEYWORDS control abstraction; #X text 12 45 DESCRIPTION decode a bitmask bask into 8 outlets; #X text 12 65 INLET_0 float; #X text 12 85 OUTLET_0 float; #X text 12 105 OUTLET_1 float; #X text 12 125 OUTLET_2 float; #X text 12 145 OUTLET_3 float; #X text 12 165 OUTLET_4 float; #X text 12 185 OUTLET_5 float; #X text 12 205 OUTLET_6 float; #X text 12 225 OUTLET_7 float; #X restore 421 277 pd META; #X connect 1 0 11 0; #X connect 2 0 11 1; #X connect 3 0 11 2; #X connect 4 0 11 3; #X connect 5 0 11 4; #X connect 6 0 11 5; #X connect 7 0 11 6; #X connect 8 0 11 7; #X connect 9 0 12 0; #X connect 11 0 9 0; #X connect 12 0 13 0; #X connect 12 1 14 0; #X connect 12 2 15 0; #X connect 12 3 16 0; #X connect 12 4 17 0; #X connect 12 5 18 0; #X connect 12 6 19 0; #X connect 12 7 20 0; mapping-0.2.1/debytemask.pd0000644000076500007650000000274212030356733014307 0ustar hanshans#N canvas 1 53 440 232 10; #X obj 22 130 & 1; #X obj 72 129 & 2; #X obj 122 129 & 4; #X obj 172 129 & 8; #X obj 222 129 & 16; #X obj 272 129 & 32; #X obj 322 129 & 64; #X obj 372 129 & 128; #X obj 22 190 outlet; #X obj 72 190 outlet; #X obj 122 190 outlet; #X obj 172 190 outlet; #X obj 222 190 outlet; #X obj 272 190 outlet; #X obj 322 190 outlet; #X obj 372 190 outlet; #X obj 22 150 change -1; #X obj 72 150 change -1; #X obj 122 150 change -1; #X obj 172 150 change -1; #X obj 222 150 change -1; #X obj 272 150 change -1; #X obj 322 150 change -1; #X obj 372 150 change -1; #X obj 322 170 == 64; #X obj 272 170 == 32; #X obj 222 170 == 16; #X obj 172 170 == 8; #X obj 122 170 == 4; #X obj 72 170 == 2; #X obj 372 170 == 128; #X obj 22 66 trigger float float float float float float float float ; #X obj 22 22 inlet; #X connect 0 0 16 0; #X connect 1 0 17 0; #X connect 2 0 18 0; #X connect 3 0 19 0; #X connect 4 0 20 0; #X connect 5 0 21 0; #X connect 6 0 22 0; #X connect 7 0 23 0; #X connect 16 0 8 0; #X connect 17 0 29 0; #X connect 18 0 28 0; #X connect 19 0 27 0; #X connect 20 0 26 0; #X connect 21 0 25 0; #X connect 22 0 24 0; #X connect 23 0 30 0; #X connect 24 0 14 0; #X connect 25 0 13 0; #X connect 26 0 12 0; #X connect 27 0 11 0; #X connect 28 0 10 0; #X connect 29 0 9 0; #X connect 30 0 15 0; #X connect 31 0 0 0; #X connect 31 1 1 0; #X connect 31 2 2 0; #X connect 31 3 3 0; #X connect 31 4 4 0; #X connect 31 5 5 0; #X connect 31 6 6 0; #X connect 31 7 7 0; #X connect 32 0 31 0; mapping-0.2.1/degrees2mapping-help.pd0000644000076500007650000000253712030356733016163 0ustar hanshans#N canvas 1 53 487 327 10; #X obj 5 2 cnv 15 450 20 empty empty degrees2mapping 2 11 1 18 -233017 -66577 0; #X msg 422 3 pddp; #X text 254 269 released under the GNU GPL; #X text 185 228 For more info:; #X obj 289 226 pddp/pddplink ../mapping-about.pd -text mapping-about ; #X text 40 254 (C) Copyright 2005 Hans-Christoph Steiner ; #X text 300 168 related objects:; #X obj 352 184 radians2mapping; #X floatatom 56 203 7 0 0 1 - - -; #X obj 59 103 hsl 300 15 0 360 0 0 empty empty degrees 6 7 1 10 -262131 -1 -1 0 0; #X floatatom 82 133 5 0 0 0 - - -; #X text 26 34 This object converts numbers from the mapping range (0 to 1) to radians (-pi to pi) with the 0's lining up in the same place. ; #X obj 296 204 mapping2degrees; #X obj 56 168 degrees2mapping; #X obj 240 184 mapping2radians; #N canvas 466 198 494 344 META 0; #X text 12 135 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 115 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 75 INLET_0 float; #X text 12 95 OUTLET_0 float; #X text 12 5 KEYWORDS control abstraction conversion; #X text 12 45 DESCRIPTION convert numbers from the mapping range (0 to 1) to radians (-pi to pi) with 0's lining up in the same place; #X restore 433 300 pd META; #X connect 9 0 10 0; #X connect 9 0 13 0; #X connect 13 0 8 0; mapping-0.2.1/degrees2mapping.pd0000644000076500007650000000130412030356733015224 0ustar hanshans#N canvas 1 53 444 356 10; #X obj 88 30 inlet; #X obj 89 264 outlet; #X text 232 311 released under the GNU GPL; #X text 15 297 (C) Copyright 2005 Hans-Christoph Steiner ; #X text 143 264 output range: 0 to 360 \, 0 = north/top; #X text 19 9 [deg2hid]; #X text 129 28 input range: 0 to 360 \, 0 = east/right; #X obj 88 170 / 360; #X text 162 108 % is an int operation; #X text 169 126 this saves accuracy; #X obj 89 121 % 3.6e+07; #X obj 89 142 / 100000; #X obj 89 100 * 100000; #X obj 45 210 moses 0; #X obj 45 230 + 1; #X connect 0 0 12 0; #X connect 7 0 13 0; #X connect 10 0 11 0; #X connect 11 0 7 0; #X connect 12 0 10 0; #X connect 13 0 14 0; #X connect 13 1 1 0; #X connect 14 0 1 0; mapping-0.2.1/delay_n-help.pd0000644000076500007650000000103712030356733014514 0ustar hanshans#N canvas 1 53 661 510 10; #X obj 40 36 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 1; #X obj 268 221 pipe 500; #X obj 138 260 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 1; #X obj 268 263 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 1; #X obj 40 176 resample 25; #X obj 138 219 delay_n 20; #X obj 40 262 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 1; #X connect 0 0 4 0; #X connect 1 0 3 0; #X connect 4 0 1 0; #X connect 4 0 5 0; #X connect 4 0 6 0; #X connect 5 0 2 0; mapping-0.2.1/delay_n.pd0000644000076500007650000000055712030356733013574 0ustar hanshans#N canvas 1 53 661 510 10; #X obj 160 88 t f b; #X obj 159 50 inlet; #X obj 49 52 inlet; #X obj 92 189 outlet; #X obj 49 131 list split \$1; #X obj 48 86 list; #X obj 92 156 route float; #X connect 0 0 4 1; #X connect 0 1 5 1; #X connect 1 0 0 0; #X connect 2 0 5 0; #X connect 4 0 5 1; #X connect 4 1 6 0; #X connect 4 2 5 1; #X connect 5 0 4 0; #X connect 6 0 3 0; mapping-0.2.1/desegment-help.pd0000644000076500007650000000300512030356733015051 0ustar hanshans#N canvas 1 53 676 322 10; #X obj 66 28 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X obj 199 28 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X obj 332 28 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X obj 465 28 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X obj 62 248 hsl 527 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X msg 331 138 2; #X msg 392 137 6; #X msg 361 137 4; #X floatatom 74 50 5 0 0 0 - - -; #X floatatom 210 50 5 0 0 0 - - -; #X floatatom 339 49 5 0 0 0 - - -; #X floatatom 472 50 5 0 0 0 - - -; #X floatatom 46 271 5 0 0 0 - - -; #X obj 242 166 desegment 4; #X msg 56 76 0 \$1; #X msg 190 71 1 \$1; #X msg 331 70 2 \$1; #X msg 462 69 3 \$1; #N canvas 467 227 494 344 META 0; #X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 125 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 105 OUTLET_0 float; #X text 12 45 DESCRIPTION; #X text 12 5 KEYWORDS control abstraction; #X text 12 65 INLET_0 list; #X text 12 85 INLET_1 float; #X restore 622 295 pd META; #X connect 0 0 8 0; #X connect 0 0 14 0; #X connect 1 0 9 0; #X connect 1 0 15 0; #X connect 2 0 10 0; #X connect 2 0 16 0; #X connect 3 0 11 0; #X connect 3 0 17 0; #X connect 4 0 12 0; #X connect 5 0 13 1; #X connect 6 0 13 1; #X connect 7 0 13 1; #X connect 13 0 4 0; #X connect 14 0 13 0; #X connect 15 0 13 0; #X connect 16 0 13 0; #X connect 17 0 13 0; mapping-0.2.1/desegment.pd0000644000076500007650000000060412030356733014125 0ustar hanshans#N canvas 1 53 426 336 10; #X obj 21 15 inlet; #X obj 127 279 outlet; #X obj 198 81 purepd/float_argument \$1 1; #X obj 198 15 inlet; #X obj 231 44 loadbang; #X obj 21 113 unpack float float; #X obj 126 184 +; #X obj 127 224 /; #X connect 0 0 5 0; #X connect 2 0 7 1; #X connect 3 0 2 0; #X connect 4 0 2 0; #X connect 5 0 6 0; #X connect 5 1 6 1; #X connect 6 0 7 0; #X connect 7 0 1 0; mapping-0.2.1/diff_n-help.pd0000644000076500007650000000145312030356733014330 0ustar hanshans#N canvas 1 53 468 358 10; #X obj 63 47 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 0; #X floatatom 63 301 5 0 0 0 - - -; #X obj 63 218 resample 30; #X obj 63 265 diff_n 5; #X obj 5 2 cnv 15 450 20 empty empty diff_n 2 11 1 18 -233017 -66577 0; #N canvas 468 256 494 344 META 0; #X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 125 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 105 OUTLET_0 float; #X text 12 5 KEYWORDS control abstraction; #X text 12 85 INLET_1 float; #X text 12 45 DESCRIPTION differentiate of the input; #X text 12 65 INLET_0 float; #X restore 411 327 pd META; #X text 145 64 differentiate of the input; #X connect 0 0 2 0; #X connect 2 0 3 0; #X connect 3 0 1 0; mapping-0.2.1/diff_n.pd0000644000076500007650000000042212030356733013375 0ustar hanshans#N canvas 1 53 294 362 10; #X obj 59 49 inlet; #X obj 59 184 outlet; #X obj 175 93 inlet; #X obj 59 93 t f f; #X obj 59 152 -; #X obj 89 119 delay_n \$1; #X connect 0 0 3 0; #X connect 2 0 5 1; #X connect 3 0 4 0; #X connect 3 1 5 0; #X connect 4 0 1 0; #X connect 5 0 4 1; mapping-0.2.1/disjoin-help.pd0000644000076500007650000000247412030356733014546 0ustar hanshans#N canvas 1 53 440 577 10; #X obj 61 58 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 1; #X obj 62 219 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 1; #X obj 148 219 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 1; #X floatatom 69 356 5 0 0 0 - - -; #X floatatom 154 358 5 0 0 0 - - -; #X floatatom 88 169 5 0 0 0 - - -; #X obj 62 388 join 0.5; #X obj 61 430 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 1; #X floatatom 93 434 5 0 0 0 - - -; #X obj 62 196 disjoin 0.5; #X text 16 16 split a range into two. The input and output ranges are always 0-to-1.; #N canvas 467 227 494 344 META 0; #X text 12 175 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 155 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 75 INLET_0 float; #X text 12 115 OUTLET_0 float; #X text 12 5 KEYWORDS control abstraction; #X text 12 45 DESCRIPTION split a range into two. The input and output ranges are always 0-to-1; #X text 12 95 INLET_1 float; #X text 12 135 OUTLET_1 float; #X restore 380 545 pd META; #X connect 0 0 5 0; #X connect 0 0 9 0; #X connect 1 0 3 0; #X connect 1 0 6 0; #X connect 2 0 4 0; #X connect 2 0 6 1; #X connect 6 0 7 0; #X connect 6 0 8 0; #X connect 9 0 1 0; #X connect 9 1 2 0; mapping-0.2.1/disjoin.pd0000644000076500007650000000223112030356733013607 0ustar hanshans#N canvas 1 53 578 431 10; #X obj 176 17 inlet; #X obj 150 381 outlet; #X obj 240 381 outlet; #X obj 240 316 / 1; #X msg 391 232 1; #X obj 250 17 inlet; #X obj 292 17 loadbang; #X obj 391 256 -; #X obj 240 294 -; #X obj 150 292 /; #X obj 176 80 moses; #X obj 391 210 trigger bang float; #X text 259 66 default to splitting down the middle (0.5); #X obj 288 212 purepd/once; #X obj 60 211 purepd/once; #X obj 255 45 purepd/float_argument \$1 0.5; #X obj 60 231 bang; #X obj 288 232 bang; #X msg 60 252 1; #X msg 288 252 0; #X obj 203 121 trigger 0 0 0; #X obj 113 121 trigger 0 0 0; #X connect 0 0 10 0; #X connect 3 0 2 0; #X connect 4 0 7 0; #X connect 5 0 15 0; #X connect 6 0 15 0; #X connect 7 0 3 1; #X connect 8 0 3 0; #X connect 9 0 1 0; #X connect 10 0 21 0; #X connect 10 1 20 0; #X connect 11 0 4 0; #X connect 11 1 7 1; #X connect 13 0 17 0; #X connect 14 0 16 0; #X connect 15 0 8 1; #X connect 15 0 9 1; #X connect 15 0 10 1; #X connect 15 0 11 0; #X connect 16 0 18 0; #X connect 17 0 19 0; #X connect 18 0 1 0; #X connect 19 0 2 0; #X connect 20 0 14 0; #X connect 20 1 8 0; #X connect 20 2 13 1; #X connect 21 0 14 1; #X connect 21 1 9 0; #X connect 21 2 13 0; mapping-0.2.1/distance-help.pd0000644000076500007650000000224312030356733014673 0ustar hanshans#N canvas 1 53 463 447 10; #X obj 132 232 distance 0.3; #X obj 132 260 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 1; #X obj 132 69 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -204786 -1 -1 0 0; #X floatatom 141 204 5 0 0 0 - - -; #X obj 204 202 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 10 -204800 -1 -1 0 0; #X floatatom 218 222 5 0 0 0 - - -; #X text 154 149 <-- the argument "0.3" sets the point here; #X floatatom 142 397 5 0 0 0 - - -; #X obj 5 2 cnv 15 450 20 empty empty distance 2 11 1 18 -233017 -66577 0; #X text 17 34 Measure the distance from a point and a stream; #N canvas 466 198 494 344 META 0; #X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 105 OUTLET_0 float; #X text 12 125 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 5 KEYWORDS control abstraction; #X text 12 45 DESCRIPTION measure the distance from a point and a stream ; #X text 12 65 INLET_0 float; #X text 12 85 INLET_1 float; #X restore 406 416 pd META; #X connect 0 0 1 0; #X connect 1 0 7 0; #X connect 2 0 0 0; #X connect 2 0 3 0; #X connect 4 0 5 0; #X connect 4 0 0 1; mapping-0.2.1/distance.pd0000644000076500007650000000032112030356733013740 0ustar hanshans#N canvas 1 53 450 300 10; #X obj 80 47 inlet; #X obj 150 49 inlet; #X obj 80 129 abs; #X obj 80 195 outlet; #X obj 80 95 - \$1; #X connect 0 0 4 0; #X connect 1 0 4 1; #X connect 2 0 3 0; #X connect 4 0 2 0; mapping-0.2.1/distance2d-help.pd0000644000076500007650000000274012030356733015123 0ustar hanshans#N canvas 1 53 466 619 10; #X obj 54 461 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 1; #X obj 54 86 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 1; #X floatatom 175 377 5 0 0 0 - - -; #X obj 54 423 distance2d 0.3 0.5; #X obj 175 398 pack f f; #X floatatom 226 377 5 0 0 0 - - -; #X text 126 19 distance from a point and a stream in 2d; #X obj 75 86 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 1; #X obj 54 268 pack f f; #X obj 75 233 t b f; #X obj 121 59 gcanvas 100 100; #X obj 121 169 / 100; #X obj 214 171 / 100; #X obj 121 195 pack f f; #X obj 175 237 gcanvas 100 100; #X obj 175 347 / 100; #X obj 268 349 / 100; #N canvas 464 140 494 344 META 0; #X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 105 OUTLET_0 float; #X text 12 125 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 5 KEYWORDS control abstraction; #X text 12 45 DESCRIPTION distance from a point and a stream in 2d ; #X text 12 65 INLET_0 list; #X text 12 85 INLET_1 list; #X restore 372 585 pd META; #X connect 1 0 8 0; #X connect 2 0 4 0; #X connect 3 0 0 0; #X connect 4 0 3 1; #X connect 5 0 4 1; #X connect 7 0 9 0; #X connect 8 0 3 0; #X connect 9 0 8 0; #X connect 9 1 8 1; #X connect 10 0 11 0; #X connect 10 1 12 0; #X connect 11 0 13 0; #X connect 12 0 13 1; #X connect 13 0 3 0; #X connect 14 0 15 0; #X connect 14 1 16 0; #X connect 15 0 2 0; #X connect 16 0 5 0; mapping-0.2.1/distance2d.pd0000644000076500007650000000116312030356733014173 0ustar hanshans#N canvas 1 53 450 505 10; #X obj 80 47 inlet; #X obj 91 285 outlet; #X obj 80 80 unpack f f; #X obj 216 44 inlet; #X obj 216 77 unpack f f; #X obj 144 180 t f f; #X obj 143 205 *; #X obj 82 177 t f f; #X obj 81 202 *; #X obj 89 238 +; #X obj 92 263 sqrt; #X obj 84 151 - \$1; #X obj 144 152 - \$2; #X connect 0 0 2 0; #X connect 2 0 11 0; #X connect 2 1 12 0; #X connect 3 0 4 0; #X connect 4 0 11 1; #X connect 4 1 12 1; #X connect 5 0 6 0; #X connect 5 1 6 1; #X connect 6 0 9 1; #X connect 7 0 8 0; #X connect 7 1 8 1; #X connect 8 0 9 0; #X connect 9 0 10 0; #X connect 10 0 1 0; #X connect 11 0 7 0; #X connect 12 0 5 0; mapping-0.2.1/distance_n-help.pd0000644000076500007650000000266412030356733015217 0ustar hanshans#N canvas 1 53 553 614 10; #X obj 54 428 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 1; #X obj 54 96 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 1; #X obj 76 97 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 1; #X obj 76 244 t b f; #X obj 54 390 distance_n; #X msg 119 365 0.3 0.3 0.5 0.4; #X obj 119 342 loadbang; #X obj 54 279 pack f f f f; #X obj 116 97 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 1; #X obj 116 244 t b f; #X obj 156 97 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 1; #X obj 156 244 t b f; #X text 126 29 distance from a point and a stream in nd; #X text 173 53 n is the min size of the list send on the inlets; #N canvas 467 227 494 344 META 0; #X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 105 OUTLET_0 float; #X text 12 125 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 5 KEYWORDS control abstraction; #X text 12 45 DESCRIPTION distance from a point and a stream in nd ; #X text 12 65 INLET_0 list; #X text 12 85 INLET_1 list; #X restore 493 583 pd META; #X connect 1 0 7 0; #X connect 2 0 3 0; #X connect 3 0 7 0; #X connect 3 1 7 1; #X connect 4 0 0 0; #X connect 5 0 4 1; #X connect 6 0 5 0; #X connect 7 0 4 0; #X connect 8 0 9 0; #X connect 9 0 7 0; #X connect 9 1 7 2; #X connect 10 0 11 0; #X connect 11 0 7 0; #X connect 11 1 7 3; mapping-0.2.1/distance_n.pd0000644000076500007650000000450012030356733014260 0ustar hanshans#N canvas 1 53 450 424 10; #N canvas 640 117 487 367 drip-two-lists 0; #X obj 64 243 outlet; #X obj 64 57 inlet; #X obj 157 240 outlet; #X obj 225 242 outlet; #X obj 321 95 inlet; #X text 272 240 End; #X obj 64 156 t a b; #N canvas 0 0 533 407 drip 0; #X obj 64 206 list split 1; #X obj 64 123 until; #X obj 64 181 list append; #X obj 194 206 bang; #X text 146 90 First store list \, then start the loop; #X text 163 118 "until" bangs its output until told to stop by a "bang" to its right inlet.; #X text 182 160 Store the remaining list.; #X text 239 205 third outlet of "split" tells us to stop.; #X obj 64 243 outlet; #X obj 64 57 inlet; #X text 237 44 From list-help.pd; #X obj 143 243 outlet; #X obj 64 86 t b a; #X connect 0 0 8 0; #X connect 0 1 2 1; #X connect 0 2 3 0; #X connect 0 2 11 0; #X connect 1 0 2 0; #X connect 2 0 0 0; #X connect 3 0 1 1; #X connect 9 0 12 0; #X connect 12 0 1 0; #X connect 12 1 2 1; #X restore 64 122 pd drip; #N canvas 0 0 533 407 dripslow 0; #X obj 87 232 list split 1; #X obj 87 207 list append; #X obj 87 283 outlet; #X obj 87 83 inlet; #X obj 166 283 outlet; #X obj 159 81 inlet; #X obj 87 118 b; #X text 202 82 list; #X text 42 83 bang; #X text 210 283 EOL; #X text 28 282 element; #X obj 166 253 b; #X connect 0 0 2 0; #X connect 0 1 1 1; #X connect 0 2 11 0; #X connect 1 0 0 0; #X connect 3 0 6 0; #X connect 5 0 1 1; #X connect 6 0 1 0; #X connect 11 0 4 0; #X restore 158 191 pd dripslow; #X connect 1 0 7 0; #X connect 4 0 8 1; #X connect 6 0 0 0; #X connect 6 1 8 0; #X connect 7 0 6 0; #X connect 7 1 3 0; #X connect 8 0 2 0; #X restore 133 139 pd drip-two-lists; #X obj 113 27 inlet; #X obj 287 20 inlet; #X obj 133 167 -; #X obj 133 195 t f f; #X obj 133 224 *; #X obj 134 278 f; #X obj 133 256 +; #X msg 196 197 0; #X obj 118 300 f; #X obj 119 325 sqrt; #X obj 118 349 outlet; #X msg 313 61 1 2 3 5 7 8; #X msg 134 62 1 2 3 4 5 6; #X obj 246 99 list; #X obj 115 98 t b a b b; #X connect 0 0 3 0; #X connect 0 1 3 1; #X connect 1 0 15 0; #X connect 2 0 14 1; #X connect 3 0 4 0; #X connect 4 0 5 0; #X connect 4 1 5 1; #X connect 5 0 7 0; #X connect 6 0 7 1; #X connect 6 0 9 1; #X connect 7 0 6 0; #X connect 8 0 7 1; #X connect 9 0 10 0; #X connect 10 0 11 0; #X connect 12 0 14 1; #X connect 13 0 15 0; #X connect 14 0 0 1; #X connect 15 0 9 0; #X connect 15 1 0 0; #X connect 15 2 8 0; #X connect 15 3 14 0; mapping-0.2.1/downsample-help.pd0000644000076500007650000000153112030356733015251 0ustar hanshans#N canvas 1 53 364 324 10; #X floatatom 43 52 5 0 0 0 - - -; #X floatatom 43 257 5 0 0 0 - - -; #X obj 84 168 t b b; #X obj 84 195 timer; #X floatatom 84 221 5 0 0 0 - - -; #X obj 43 77 resample 30; #X obj 43 108 downsample 3; #X text 120 25 output 1 over n data.; #N canvas 377 119 494 344 META 0; #X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 125 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 45 DESCRIPTION output 1 over n data; #X text 12 65 INLET_0 anything; #X text 12 85 INLET_1 float; #X text 12 105 OUTLET_0 anything; #X text 12 5 KEYWORDS control abstraction filter; #X restore 284 282 pd META; #X connect 0 0 5 0; #X connect 2 0 3 0; #X connect 2 1 3 1; #X connect 3 0 4 0; #X connect 5 0 6 0; #X connect 6 0 2 0; #X connect 6 0 1 0; mapping-0.2.1/downsample.pd0000644000076500007650000000063212030356733014324 0ustar hanshans#N canvas 1 53 444 426 10; #X obj 51 52 inlet; #X obj 51 267 outlet; #X obj 104 51 inlet; #X obj 51 110 t f b; #X obj 81 134 f; #X obj 81 157 + 1; #X obj 81 180 % \$1; #X obj 51 236 spigot; #X obj 81 205 == 0; #X connect 0 0 3 0; #X connect 2 0 6 1; #X connect 3 0 7 0; #X connect 3 1 4 0; #X connect 4 0 5 0; #X connect 5 0 6 0; #X connect 6 0 4 1; #X connect 6 0 8 0; #X connect 7 0 1 0; #X connect 8 0 7 1; mapping-0.2.1/elliptic-help.pd0000644000076500007650000001005412030356733014705 0ustar hanshans#N canvas 1 53 567 449 12; #X declare -lib mapping -lib ggee; #X obj 418 32 import mapping ggee; #X obj 5 2 cnv 15 550 20 empty empty elliptic 2 11 1 18 -233017 -66577 0; #X msg 516 2 pddp; #X text 313 393 released under the GNU GPL; #X text 263 356 For more info:; #X floatatom 35 127 8 0 0 0 - - -; #X floatatom 35 278 8 0 0 0 - - -; #X obj 38 305 hsl 200 20 0 1 0 0 empty empty curved_output 22 11 1 12 -262144 -1 -1 0 1; #X obj 38 101 hsl 200 20 0 1 0 0 empty empty raw_input 22 11 1 12 -261681 -1 -1 0 1; #X obj 168 167 hsl 50 15 0 1 0 1 \$0-y-slider \$0-y-slider-receive y 5 9 0 11 -204800 -1 -1 2720 0; #X floatatom 175 186 7 0 0 0 - - -; #X obj 362 356 pddp/open mapping-about; #X text 0 393 (C) Copyright 2007 Free Software Foundation; #X obj 74 167 hsl 50 15 0 1 0 1 \$0-x-slider \$0-x-slider-receive x 5 9 0 11 -232576 -1 -1 1984 0; #X floatatom 80 187 7 0 0 0 - - -; #X text 6 33 This object curves the input range using two ellipses that meet at the specified point.; #X obj 35 247 elliptic; #N canvas 273 69 478 411 draw_array 0; #X msg 54 82 bang; #X obj 54 133 until; #X text 85 82 start; #X obj 54 155 f; #X obj 83 155 + 1; #X obj 54 43 loadbang; #X obj 54 210 trigger float float; #X obj 127 157 select 0; #X obj 66 343 tabwrite \$0-curve; #X obj 139 53 trigger bang float; #X obj 83 177 mod 200; #X obj 54 254 / 200; #X text 96 254 mapping output range: 0 to 1; #N canvas 0 22 461 369 receive 0; #X obj 253 33 receive \$0-y; #X obj 253 57 moses; #X obj 280 78 moses 201; #X obj 331 99 bang; #X msg 331 120 200; #X obj 238 98 bang; #X msg 238 119 0; #X obj 91 56 moses; #X obj 118 77 moses 201; #X obj 169 98 bang; #X msg 169 119 200; #X obj 76 97 bang; #X msg 76 118 0; #X obj 91 32 receive \$0-x; #X obj 117 289 receive \$0-x-slider; #X floatatom 118 312 5 0 0 0 - - -; #X floatatom 279 313 5 0 0 0 - - -; #X obj 280 290 receive \$0-y-slider; #X obj 118 169 / 200; #X obj 280 170 / 200; #X obj 118 249 send \$0-x-slider-receive; #X obj 280 250 send \$0-y-slider-receive; #X msg 281 193 1 \$1; #X obj 280 221 -; #X connect 0 0 1 0; #X connect 1 0 5 0; #X connect 1 1 2 0; #X connect 2 0 19 0; #X connect 2 1 3 0; #X connect 3 0 4 0; #X connect 4 0 19 0; #X connect 5 0 6 0; #X connect 6 0 19 0; #X connect 7 0 11 0; #X connect 7 1 8 0; #X connect 8 0 18 0; #X connect 8 1 9 0; #X connect 9 0 10 0; #X connect 10 0 18 0; #X connect 11 0 12 0; #X connect 12 0 18 0; #X connect 13 0 7 0; #X connect 14 0 15 0; #X connect 17 0 16 0; #X connect 18 0 20 0; #X connect 19 0 22 0; #X connect 22 0 23 0; #X connect 23 0 21 0; #X restore 265 348 pd receive from gcanvas; #X obj 138 9 receive \$0-x-slider; #X obj 293 12 receive \$0-y-slider; #X obj 294 50 trigger bang float; #X obj 54 108 cyclone/speedlim 100; #X obj 54 280 elliptic; #X connect 0 0 17 0; #X connect 1 0 3 0; #X connect 3 0 4 0; #X connect 3 0 6 0; #X connect 4 0 10 0; #X connect 5 0 0 0; #X connect 6 0 11 0; #X connect 6 1 8 1; #X connect 7 0 1 1; #X connect 9 0 0 0; #X connect 9 1 18 1; #X connect 10 0 3 1; #X connect 10 0 7 0; #X connect 11 0 18 0; #X connect 14 0 9 0; #X connect 15 0 16 0; #X connect 16 0 0 0; #X connect 16 1 18 2; #X connect 17 0 1 0; #X connect 18 0 8 0; #X restore 409 71 pd draw_array; #X obj 304 103 gcanvas 200 200; #N canvas 0 22 450 300 (subpatch) 0; #X array \$0-curve 200 float 0; #X coords 0 1 199 0 200 200 1; #X restore 304 103 graph; #X obj 304 308 send \$0-x; #X obj 446 307 send \$0-y; #N canvas 464 140 494 344 META 0; #X text 12 175 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 95 INLET_1 float; #X text 12 135 OUTLET_0 float; #X text 12 155 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 75 INLET_0 float; #X text 12 5 KEYWORDS control abstraction; #X text 12 45 DESCRIPTION curve the input range using two ellipses that meet at the specified point; #X text 12 115 INLET_2 float; #X restore 503 418 pd META; #X connect 5 0 16 0; #X connect 6 0 7 0; #X connect 8 0 5 0; #X connect 9 0 10 0; #X connect 9 0 16 2; #X connect 13 0 14 0; #X connect 13 0 16 1; #X connect 16 0 6 0; #X connect 18 0 20 0; #X connect 18 1 21 0; mapping-0.2.1/elliptic.pd0000644000076500007650000000254312030356733013763 0ustar hanshans#N canvas 1 53 535 556 12; #X obj 345 96 t b f; #X obj 43 353 pow; #X msg 385 286 1 \$1; #X obj 385 311 -; #X obj 43 246 moses; #X obj 43 325 /; #X obj 43 381 *; #X obj 80 323 /; #X msg 211 288 1 \$1; #X obj 211 313 -; #X obj 161 314 - 1; #X obj 161 342 * -1; #X obj 161 398 pow; #X obj 161 371 /; #X obj 161 422 *; #X obj 211 369 /; #X obj 161 446 * -1; #X obj 161 470 + 1; #X obj 43 518 outlet; #X obj 43 10 inlet; #X obj 160 12 inlet; #X obj 345 12 inlet; #X text 89 11 input; #X text 205 11 X; #X text 396 13 Y; #X obj 160 152 f; #X obj 250 30 loadbang; #X obj 157 70 purepd/float_argument \$1; #X obj 345 70 purepd/float_argument \$2; #X connect 0 0 25 0; #X connect 0 1 2 0; #X connect 0 1 6 1; #X connect 0 1 7 1; #X connect 1 0 6 0; #X connect 2 0 3 0; #X connect 3 0 14 1; #X connect 3 0 15 1; #X connect 4 0 5 0; #X connect 4 1 10 0; #X connect 5 0 1 0; #X connect 6 0 18 0; #X connect 7 0 1 1; #X connect 8 0 9 0; #X connect 9 0 15 0; #X connect 9 0 13 1; #X connect 10 0 11 0; #X connect 11 0 13 0; #X connect 12 0 14 0; #X connect 13 0 12 0; #X connect 14 0 16 0; #X connect 15 0 12 1; #X connect 16 0 17 0; #X connect 17 0 18 0; #X connect 19 0 4 0; #X connect 20 0 27 0; #X connect 21 0 28 0; #X connect 25 0 8 0; #X connect 25 0 7 0; #X connect 25 0 4 1; #X connect 25 0 5 1; #X connect 26 0 27 0; #X connect 26 0 28 0; #X connect 27 0 25 0; #X connect 28 0 0 0; mapping-0.2.1/elliptic_seat-help.pd0000644000076500007650000001012312030356733015716 0ustar hanshans#N canvas 1 53 522 449 10; #X declare -lib mapping -lib ggee; #X obj 386 30 import mapping ggee; #X obj 5 2 cnv 15 500 20 empty empty elliptic_seat 2 11 1 18 -233017 -66577 0; #X msg 471 2 pddp; #X text 304 393 released under the GNU GPL; #X text 235 359 For more info:; #X floatatom 25 127 8 0 0 0 - - -; #X floatatom 25 288 8 0 0 0 - - -; #X obj 28 305 hsl 200 20 0 1 0 0 empty empty curved_output 22 11 1 12 -262144 -1 -1 0 1; #X obj 28 101 hsl 200 20 0 1 0 0 empty empty raw_input 22 11 1 12 -261681 -1 -1 0 1; #X obj 158 167 hsl 50 15 0 1 0 1 \$0-y-slider \$0-y-slider-receive y 5 9 0 11 -204800 -1 -1 3308 0; #X floatatom 165 186 7 0 0 0 - - -; #X obj 334 359 pddp/open mapping-about; #X text 37 392 (C) Copyright 2007 Free Software Foundation; #X obj 74 167 hsl 50 15 0 1 0 1 \$0-x-slider \$0-x-slider-receive x 5 9 0 11 -232576 -1 -1 3553 0; #X floatatom 80 187 7 0 0 0 - - -; #X text 17 39 This object curves the input range using a double-linear interpolator with two control parameters.; #X obj 25 217 elliptic_seat; #N canvas 273 69 478 411 draw_array 0; #X msg 54 82 bang; #X obj 54 133 until; #X text 85 82 start; #X obj 54 155 f; #X obj 83 155 + 1; #X obj 54 43 loadbang; #X obj 54 210 trigger float float; #X obj 127 157 select 0; #X obj 66 343 tabwrite \$0-curve; #X obj 139 53 trigger bang float; #X obj 83 177 mod 200; #X obj 54 254 / 200; #X text 96 254 mapping output range: 0 to 1; #N canvas 0 22 461 369 receive 0; #X obj 253 33 receive \$0-y; #X obj 253 57 moses; #X obj 280 78 moses 201; #X obj 331 99 bang; #X msg 331 120 200; #X obj 238 98 bang; #X msg 238 119 0; #X obj 91 56 moses; #X obj 118 77 moses 201; #X obj 169 98 bang; #X msg 169 119 200; #X obj 76 97 bang; #X msg 76 118 0; #X obj 91 32 receive \$0-x; #X obj 117 289 receive \$0-x-slider; #X floatatom 118 312 5 0 0 0 - - -; #X floatatom 279 313 5 0 0 0 - - -; #X obj 280 290 receive \$0-y-slider; #X obj 118 169 / 200; #X obj 280 170 / 200; #X obj 118 249 send \$0-x-slider-receive; #X obj 280 250 send \$0-y-slider-receive; #X msg 281 193 1 \$1; #X obj 280 221 -; #X connect 0 0 1 0; #X connect 1 0 5 0; #X connect 1 1 2 0; #X connect 2 0 19 0; #X connect 2 1 3 0; #X connect 3 0 4 0; #X connect 4 0 19 0; #X connect 5 0 6 0; #X connect 6 0 19 0; #X connect 7 0 11 0; #X connect 7 1 8 0; #X connect 8 0 18 0; #X connect 8 1 9 0; #X connect 9 0 10 0; #X connect 10 0 18 0; #X connect 11 0 12 0; #X connect 12 0 18 0; #X connect 13 0 7 0; #X connect 14 0 15 0; #X connect 17 0 16 0; #X connect 18 0 20 0; #X connect 19 0 22 0; #X connect 22 0 23 0; #X connect 23 0 21 0; #X restore 265 348 pd receive from gcanvas; #X obj 138 9 receive \$0-x-slider; #X obj 293 12 receive \$0-y-slider; #X obj 294 50 trigger bang float; #X obj 54 108 cyclone/speedlim 100; #X obj 54 280 elliptic_seat; #X connect 0 0 17 0; #X connect 1 0 3 0; #X connect 3 0 4 0; #X connect 3 0 6 0; #X connect 4 0 10 0; #X connect 5 0 0 0; #X connect 6 0 11 0; #X connect 6 1 8 1; #X connect 7 0 1 1; #X connect 9 0 0 0; #X connect 9 1 18 1; #X connect 10 0 3 1; #X connect 10 0 7 0; #X connect 11 0 18 0; #X connect 14 0 9 0; #X connect 15 0 16 0; #X connect 16 0 0 0; #X connect 16 1 18 2; #X connect 17 0 1 0; #X connect 18 0 8 0; #X restore 387 71 pd draw_array; #X obj 282 103 gcanvas 200 200; #N canvas 0 22 450 300 (subpatch) 0; #X array \$0-curve 200 float 0; #X coords 0 1 199 0 200 200 1; #X restore 282 103 graph; #X obj 282 308 send \$0-x; #X obj 424 307 send \$0-y; #N canvas 466 198 494 344 META 0; #X text 12 175 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 95 INLET_1 float; #X text 12 135 OUTLET_0 float; #X text 12 155 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 75 INLET_0 float; #X text 12 5 KEYWORDS control abstraction; #X text 12 115 INLET_2 float; #X text 12 45 DESCRIPTION curve the input range using a double-linear interpolator with two control parameters; #X restore 463 420 pd META; #X connect 5 0 16 0; #X connect 6 0 7 0; #X connect 8 0 5 0; #X connect 9 0 10 0; #X connect 9 0 16 2; #X connect 13 0 14 0; #X connect 13 0 16 1; #X connect 16 0 6 0; #X connect 18 0 20 0; #X connect 18 1 21 0; mapping-0.2.1/elliptic_seat.pd0000644000076500007650000000146312030356733014777 0ustar hanshans#N canvas 1 53 573 455 10; #X obj 62 10 inlet; #X obj 327 9 inlet; #X obj 106 405 outlet; #X obj 240 10 loadbang; #X obj 167 9 inlet; #X obj 167 50 purepd/float_argument \$1; #X obj 327 50 purepd/float_argument \$2; #X obj 74 113 moses; #X obj 167 97 moses 1; #X obj 167 118 + 1e-06; #X text 217 104 prevent divide by 0; #X obj 7 199 expr ($f3/$f2) * sqrt(pow($f2 \, 2) - pow($f1 - $f2 \, 2)); #X obj 152 275 expr 1 - ( (1 - $f3)/(1 - $f2) * sqrt(pow(1 - $f2 \, 2) - pow($f1 - $f2 \, 2)) ); #X connect 0 0 7 0; #X connect 1 0 6 0; #X connect 3 0 5 0; #X connect 3 0 6 0; #X connect 4 0 5 0; #X connect 5 0 7 1; #X connect 5 0 8 0; #X connect 6 0 11 2; #X connect 6 0 12 2; #X connect 7 0 11 0; #X connect 7 1 12 0; #X connect 8 0 9 0; #X connect 9 0 11 1; #X connect 9 0 12 1; #X connect 11 0 2 0; #X connect 12 0 2 0; mapping-0.2.1/elliptic_sigmoid-help.pd0000644000076500007650000001013412030356733016417 0ustar hanshans#N canvas 1 53 519 453 10; #X declare -lib mapping -lib ggee; #X obj 386 30 import mapping ggee; #X obj 5 2 cnv 15 500 20 empty empty elliptic_sigmoid 2 11 1 18 -233017 -66577 0; #X msg 471 2 pddp; #X text 304 393 released under the GNU GPL; #X text 235 359 For more info:; #X floatatom 25 127 8 0 0 0 - - -; #X floatatom 25 288 8 0 0 0 - - -; #X obj 28 305 hsl 200 20 0 1 0 0 empty empty curved_output 22 11 1 12 -262144 -1 -1 0 1; #X obj 28 101 hsl 200 20 0 1 0 0 empty empty raw_input 22 11 1 12 -261681 -1 -1 0 1; #X obj 158 167 hsl 50 15 0 1 0 1 \$0-y-slider \$0-y-slider-receive y 5 9 0 11 -204800 -1 -1 1421 0; #X floatatom 165 186 7 0 0 0 - - -; #X obj 334 359 pddp/open mapping-about; #X text 37 392 (C) Copyright 2007 Free Software Foundation; #X obj 74 167 hsl 50 15 0 1 0 1 \$0-x-slider \$0-x-slider-receive x 5 9 0 11 -232576 -1 -1 2744 0; #X floatatom 80 187 7 0 0 0 - - -; #X text 17 39 This object curves the input range using a double-linear interpolator with two control parameters.; #X obj 25 217 elliptic_sigmoid; #N canvas 273 69 478 411 draw_array 0; #X msg 54 82 bang; #X obj 54 133 until; #X text 85 82 start; #X obj 54 155 f; #X obj 83 155 + 1; #X obj 54 43 loadbang; #X obj 54 210 trigger float float; #X obj 127 157 select 0; #X obj 66 343 tabwrite \$0-curve; #X obj 139 53 trigger bang float; #X obj 83 177 mod 200; #X obj 54 254 / 200; #X text 96 254 mapping output range: 0 to 1; #N canvas 0 22 461 369 receive 0; #X obj 253 33 receive \$0-y; #X obj 253 57 moses; #X obj 280 78 moses 201; #X obj 331 99 bang; #X msg 331 120 200; #X obj 238 98 bang; #X msg 238 119 0; #X obj 91 56 moses; #X obj 118 77 moses 201; #X obj 169 98 bang; #X msg 169 119 200; #X obj 76 97 bang; #X msg 76 118 0; #X obj 91 32 receive \$0-x; #X obj 117 289 receive \$0-x-slider; #X floatatom 118 312 5 0 0 0 - - -; #X floatatom 279 313 5 0 0 0 - - -; #X obj 280 290 receive \$0-y-slider; #X obj 118 169 / 200; #X obj 280 170 / 200; #X obj 118 249 send \$0-x-slider-receive; #X obj 280 250 send \$0-y-slider-receive; #X msg 281 193 1 \$1; #X obj 280 221 -; #X connect 0 0 1 0; #X connect 1 0 5 0; #X connect 1 1 2 0; #X connect 2 0 19 0; #X connect 2 1 3 0; #X connect 3 0 4 0; #X connect 4 0 19 0; #X connect 5 0 6 0; #X connect 6 0 19 0; #X connect 7 0 11 0; #X connect 7 1 8 0; #X connect 8 0 18 0; #X connect 8 1 9 0; #X connect 9 0 10 0; #X connect 10 0 18 0; #X connect 11 0 12 0; #X connect 12 0 18 0; #X connect 13 0 7 0; #X connect 14 0 15 0; #X connect 17 0 16 0; #X connect 18 0 20 0; #X connect 19 0 22 0; #X connect 22 0 23 0; #X connect 23 0 21 0; #X restore 265 348 pd receive from gcanvas; #X obj 138 9 receive \$0-x-slider; #X obj 293 12 receive \$0-y-slider; #X obj 294 50 trigger bang float; #X obj 54 108 cyclone/speedlim 100; #X obj 54 280 elliptic_sigmoid; #X connect 0 0 17 0; #X connect 1 0 3 0; #X connect 3 0 4 0; #X connect 3 0 6 0; #X connect 4 0 10 0; #X connect 5 0 0 0; #X connect 6 0 11 0; #X connect 6 1 8 1; #X connect 7 0 1 1; #X connect 9 0 0 0; #X connect 9 1 18 1; #X connect 10 0 3 1; #X connect 10 0 7 0; #X connect 11 0 18 0; #X connect 14 0 9 0; #X connect 15 0 16 0; #X connect 16 0 0 0; #X connect 16 1 18 2; #X connect 17 0 1 0; #X connect 18 0 8 0; #X restore 387 71 pd draw_array; #X obj 282 103 gcanvas 200 200; #N canvas 0 22 450 300 (subpatch) 0; #X array \$0-curve 200 float 0; #X coords 0 1 199 0 200 200 1; #X restore 282 103 graph; #X obj 282 308 send \$0-x; #X obj 424 307 send \$0-y; #N canvas 467 227 494 344 META 0; #X text 12 175 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 95 INLET_1 float; #X text 12 135 OUTLET_0 float; #X text 12 155 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 75 INLET_0 float; #X text 12 5 KEYWORDS control abstraction; #X text 12 115 INLET_2 float; #X text 12 45 DESCRIPTION curve the input range using a double-linear interpolator with two control parameters; #X restore 459 420 pd META; #X connect 5 0 16 0; #X connect 6 0 7 0; #X connect 8 0 5 0; #X connect 9 0 10 0; #X connect 9 0 16 2; #X connect 13 0 14 0; #X connect 13 0 16 1; #X connect 16 0 6 0; #X connect 18 0 20 0; #X connect 18 1 21 0; mapping-0.2.1/elliptic_sigmoid.pd0000644000076500007650000000146712030356733015502 0ustar hanshans#N canvas 1 53 565 447 10; #X obj 62 10 inlet; #X obj 327 9 inlet; #X obj 106 405 outlet; #X obj 240 10 loadbang; #X obj 167 9 inlet; #X obj 167 50 purepd/float_argument \$1; #X obj 327 50 purepd/float_argument \$2; #X obj 74 113 moses; #X obj 167 97 moses 1; #X obj 167 118 + 1e-06; #X text 217 104 prevent divide by 0; #X obj 7 199 expr $f3 * (1 - (sqrt(pow($f2 \, 2) - pow($f1 \, 2)) / $f2)); #X obj 152 275 expr $f3 + ( ((1 - $f3)/(1 - $f2)) * sqrt(pow(1 - $f2 \, 2) - pow($f1 - 1 \, 2)) ); #X connect 0 0 7 0; #X connect 1 0 6 0; #X connect 3 0 5 0; #X connect 3 0 6 0; #X connect 4 0 5 0; #X connect 5 0 7 1; #X connect 5 0 8 0; #X connect 6 0 11 2; #X connect 6 0 12 2; #X connect 7 0 11 0; #X connect 7 1 12 0; #X connect 8 0 9 0; #X connect 9 0 11 1; #X connect 9 0 12 1; #X connect 11 0 2 0; #X connect 12 0 2 0; mapping-0.2.1/env+-help.pd0000644000076500007650000000163512030356733013750 0ustar hanshans#N canvas 1 53 606 528 10; #X obj 253 362 timeroll; #X obj 46 162 random 1000; #X obj 46 136 metro 30; #X obj 46 112 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #X obj 46 363 timeroll; #X obj 72 112 loadbang; #X obj 253 253 env+ 110; #X obj 46 191 / 1000; #N canvas 468 256 494 344 META 0; #X text 12 165 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 125 OUTLET_0 float; #X text 12 145 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 65 INLET_0 float; #X text 12 5 KEYWORDS control abstraction; #X text 12 85 INLET_1 bang; #X text 12 105 INLET_2 float; #X text 12 45 DESCRIPTION positive envelope follower; #X restore 547 496 pd META; #X text 131 26 positive envelope follower; #X connect 1 0 7 0; #X connect 2 0 1 0; #X connect 3 0 2 0; #X connect 5 0 2 0; #X connect 6 0 0 0; #X connect 7 0 4 0; #X connect 7 0 6 0; mapping-0.2.1/env+.pd0000644000076500007650000000164312030356733013021 0ustar hanshans#N canvas 1 53 294 499 10; #X obj 59 42 inlet; #X obj 80 431 outlet; #X obj 80 348 +; #X obj 128 324 + 1; #X obj 130 42 inlet; #X obj 128 185 1; #X obj 90 69 loadbang; #X obj 130 160 /; #X msg 130 139 1 \$1; #X obj 90 90 \$1; #X obj 90 112 sel 0; #X obj 90 373 / 2; #X obj 80 324 * 1; #X obj 59 218 moses; #X obj 100 264 f; #X obj 80 405 t f f; #X obj 56 134 t f f; #X obj 99 242 b; #X msg 99 286 \$1 0; #X obj 225 41 inlet; #X connect 0 0 16 0; #X connect 2 0 11 0; #X connect 2 0 15 0; #X connect 3 0 11 1; #X connect 4 0 8 0; #X connect 5 0 3 0; #X connect 5 0 12 1; #X connect 6 0 9 0; #X connect 7 0 5 0; #X connect 8 0 7 0; #X connect 9 0 10 0; #X connect 10 1 8 0; #X connect 11 0 2 1; #X connect 12 0 2 0; #X connect 13 0 12 0; #X connect 13 1 17 0; #X connect 14 0 18 0; #X connect 15 0 1 0; #X connect 15 1 13 1; #X connect 16 0 13 0; #X connect 16 1 14 1; #X connect 17 0 14 0; #X connect 18 0 2 0; #X connect 19 0 2 1; mapping-0.2.1/env--help.pd0000644000076500007650000000157612030356733013756 0ustar hanshans#N canvas 1 53 537 542 10; #X obj 266 362 timeroll; #X obj 42 162 random 1000; #X obj 42 136 metro 30; #X obj 42 112 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #X obj 43 365 timeroll; #X obj 68 112 loadbang; #X obj 265 264 env- 80; #X obj 42 187 / 1000; #N canvas 465 169 494 344 META 0; #X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 105 OUTLET_0 float; #X text 12 125 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 65 INLET_0 float; #X text 12 5 KEYWORDS control abstraction; #X text 12 45 DESCRIPTION negative envelope follower; #X text 12 85 INLET_1 bang; #X restore 503 495 pd META; #X text 130 26 negative envelope follower; #X connect 1 0 7 0; #X connect 2 0 1 0; #X connect 3 0 2 0; #X connect 5 0 2 0; #X connect 6 0 0 0; #X connect 7 0 4 0; #X connect 7 0 6 0; mapping-0.2.1/env-.pd0000644000076500007650000000157112030356733013023 0ustar hanshans#N canvas 1 53 294 499 10; #X obj 59 42 inlet; #X obj 80 431 outlet; #X obj 80 348 +; #X obj 128 324 + 1; #X obj 130 42 inlet; #X obj 128 185 1; #X obj 90 69 loadbang; #X obj 130 160 /; #X msg 130 139 1 \$1; #X obj 90 90 \$1; #X obj 90 112 sel 0; #X obj 80 373 / 2; #X obj 80 324 * 1; #X obj 59 218 moses; #X obj 49 271 f; #X obj 80 405 t f f; #X obj 56 134 t f f; #X obj 48 249 b; #X msg 48 293 \$1 0; #X connect 0 0 16 0; #X connect 2 0 11 0; #X connect 3 0 11 1; #X connect 4 0 8 0; #X connect 5 0 3 0; #X connect 5 0 12 1; #X connect 6 0 9 0; #X connect 7 0 5 0; #X connect 8 0 7 0; #X connect 9 0 10 0; #X connect 10 1 8 0; #X connect 11 0 2 1; #X connect 11 0 15 0; #X connect 12 0 2 0; #X connect 13 0 17 0; #X connect 13 1 12 0; #X connect 14 0 18 0; #X connect 15 0 1 0; #X connect 15 1 13 1; #X connect 16 0 13 0; #X connect 16 1 14 1; #X connect 17 0 14 0; #X connect 18 0 2 0; mapping-0.2.1/env-help.pd0000644000076500007650000000205412030356733013671 0ustar hanshans#N canvas 1 53 579 471 10; #X obj 267 297 timeroll; #X obj 43 97 random 1000; #X obj 43 71 metro 30; #X obj 43 47 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #X obj 43 300 timeroll; #X obj 69 47 loadbang; #X obj 267 241 env 80; #X text 284 5 envelope follower; #X floatatom 73 166 5 0 0 0 - - -; #X obj 43 126 / 1000; #X obj 43 187 * 0.5; #X floatatom 59 215 5 0 0 0 - - -; #X obj 43 233 + 0; #N canvas 466 198 494 344 META 0; #X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 105 OUTLET_0 float; #X text 12 125 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 65 INLET_0 float; #X text 12 5 KEYWORDS control abstraction; #X text 12 85 INLET_1 bang; #X text 12 45 DESCRIPTION envelope follower; #X restore 517 441 pd META; #X connect 1 0 9 0; #X connect 2 0 1 0; #X connect 3 0 2 0; #X connect 5 0 2 0; #X connect 6 0 0 0; #X connect 8 0 10 1; #X connect 9 0 10 0; #X connect 10 0 6 0; #X connect 10 0 12 0; #X connect 11 0 12 1; #X connect 12 0 4 0; mapping-0.2.1/env.pd0000644000076500007650000000054512030356733012746 0ustar hanshans#N canvas 1 53 294 499 10; #X obj 59 42 inlet; #X obj 80 431 outlet; #X obj 130 42 inlet; #X obj 90 132 t f f; #X obj 91 218 -; #X obj 78 164 env+ \$1; #X obj 131 165 env- \$1; #X connect 0 0 3 0; #X connect 2 0 5 1; #X connect 2 0 6 1; #X connect 2 0 7 0; #X connect 3 0 5 0; #X connect 3 1 6 0; #X connect 4 0 1 0; #X connect 5 0 4 0; #X connect 6 0 4 1; mapping-0.2.1/examples/0000755000076500007650000000000012030356755013447 5ustar hanshansmapping-0.2.1/examples/mouse_instrument.pd0000644000076500007650000000363111440267023017410 0ustar hanshans#N canvas 382 22 691 642 12; #X declare -lib mapping; #X obj 532 14 import mapping; #X obj 33 363 hsl 128 15 0 127 0 0 empty empty empty -2 -8 0 10 -262144 -1 -1 0 1; #X obj 65 390 hsl 128 15 0 127 0 0 empty empty empty -2 -8 0 10 -262144 -1 -1 0 1; #X obj 259 440 hsl 128 15 0 127 0 0 empty empty empty -2 -8 0 10 -262144 -1 -1 0 1; #X obj 310 592 dac~; #X text 321 7 pddp/dsp; #X obj 388 9 pddp/dsp; #X obj 35 490 paf.control; #X obj 181 13 tgl 15 0 empty empty empty 17 7 0 10 -204786 -1 -1 0 1; #X obj 181 83 route button motion; #X obj 245 110 route x y; #X obj 197 162 autoscale; #X floatatom 202 185 5 0 0 0 - - -; #X obj 275 165 autoscale; #X floatatom 280 188 5 0 0 0 - - -; #X obj 30 280 notescale 60 80; #X obj 322 549 *~; #X obj 340 523 line~; #X obj 507 342 pack 0 50; #X obj 497 291 exponential_curve 0.7; #X floatatom 294 459 5 0 0 0 - - -; #X obj 241 332 notescale 40 70; #X obj 245 288 disjoin 0.9; #X obj 353 332 notescale 70 100; #X msg 587 341 \$1 50; #X obj 498 377 pddp/print; #X floatatom 78 414 5 0 0 0 - - -; #X obj 79 333 notescale 75 95; #X obj 81 309 circular_sigmoid 0.6; #X obj 35 235 stepper 20 0.3; #X obj 181 51 hcs/cursor; #X text 122 489 <-- the synthesizer; #X text 76 8 start here -->; #X text 8 34 then move your mouse!; #X connect 1 0 7 0; #X connect 2 0 7 1; #X connect 2 0 26 0; #X connect 3 0 7 2; #X connect 3 0 20 0; #X connect 7 0 16 0; #X connect 8 0 30 0; #X connect 9 1 10 0; #X connect 10 0 11 0; #X connect 10 1 13 0; #X connect 11 0 12 0; #X connect 11 0 28 0; #X connect 11 0 29 0; #X connect 13 0 14 0; #X connect 14 0 19 0; #X connect 14 0 22 0; #X connect 15 0 1 0; #X connect 16 0 4 0; #X connect 16 0 4 1; #X connect 17 0 16 1; #X connect 18 0 17 0; #X connect 18 0 25 0; #X connect 19 0 18 0; #X connect 19 0 24 0; #X connect 21 0 3 0; #X connect 22 0 21 0; #X connect 22 1 23 0; #X connect 23 0 3 0; #X connect 27 0 2 0; #X connect 28 0 27 0; #X connect 29 0 15 0; #X connect 30 0 9 0; mapping-0.2.1/examples/paf.control.pd0000644000076500007650000001200311440266637016220 0ustar hanshans#N canvas 742 43 605 628 12; #X obj 90 423 cos~; #X obj 90 400 *~; #X obj 133 423 cos~; #X obj 188 368 wrap~; #X obj 152 368 -~; #X obj 133 400 +~; #X obj 126 453 -~; #X obj 146 485 *~; #X obj 108 485 +~; #X obj 152 336 samphold~; #X floatatom 152 136 4 0 127 0 - - -; #X obj 152 203 line~; #X obj 152 180 pack 0 50; #X obj 43 279 phasor~; #X floatatom 43 185 4 0 127 0 - - -; #X text 34 146 fundamental; #X floatatom 350 199 4 0 127 0 - - -; #X obj 350 270 line~; #X obj 261 399 *~; #X obj 350 247 pack 0 50; #N canvas 94 264 600 388 make-table 0; #X msg 81 44 bang; #X obj 81 73 t b b; #X obj 159 142 f; #X obj 197 142 + 1; #X msg 175 112 0; #X obj 81 102 until; #X obj 161 177 t f f; #X obj 76 306 tabwrite bell-curve; #X obj 52 270 expr exp(-$f1*$f1); #X obj 63 168 sel 199; #X obj 51 241 expr ($f1-100)/25; #N canvas 0 22 450 300 (subpatch) 0; #X array bell-curve 200 float 1; #A 0 1.12535e-07 1.54727e-07 2.12059e-07 2.89706e-07 3.94519e-07 5.35535e-07 7.24633e-07 9.77371e-07 1.31404e-06 1.76105e-06 2.35258e-06 3.13275e-06 4.15832e-06 5.50199e-06 7.25659e-06 9.54016e-06 1.25023e-05 1.63317e-05 2.1266e-05 2.76026e-05 3.57128e-05 4.60584e-05 5.92113e-05 7.58768e-05 9.69224e-05 0.00012341 0.000156634 0.000198167 0.000249912 0.000314163 0.000393669 0.000491721 0.000612231 0.000759842 0.000940028 0.00115923 0.00142498 0.00174605 0.00213263 0.00259648 0.00315111 0.00381201 0.00459678 0.0055254 0.0066204 0.00790705 0.0094136 0.0111714 0.013215 0.0155826 0.0183156 0.0214592 0.0250621 0.0291763 0.0338573 0.0391639 0.0451575 0.0519019 0.0594631 0.0679081 0.0773047 0.0877205 0.0992216 0.111872 0.125732 0.140858 0.1573 0.1751 0.194291 0.214896 0.236928 0.260383 0.285247 0.311486 0.339053 0.367879 0.397882 0.428956 0.46098 0.493812 0.527292 0.561244 0.595473 0.62977 0.663916 0.697676 0.730811 0.763074 0.794216 0.823987 0.852144 0.878447 0.902668 0.924595 0.944027 0.960789 0.974725 0.985703 0.99362 0.998401 1 0.998401 0.99362 0.985703 0.974725 0.960789 0.944027 0.924595 0.902668 0.878447 0.852144 0.823987 0.794216 0.763074 0.730811 0.697676 0.663916 0.62977 0.595473 0.561244 0.527292 0.493812 0.46098 0.428956 0.397882 0.367879 0.339053 0.311486 0.285247 0.260383 0.236928 0.214896 0.194291 0.1751 0.1573 0.140858 0.125732 0.111872 0.0992216 0.0877205 0.0773047 0.0679081 0.0594631 0.0519019 0.0451575 0.0391639 0.0338573 0.0291763 0.0250621 0.0214592 0.0183156 0.0155826 0.013215 0.0111714 0.0094136 0.00790705 0.0066204 0.0055254 0.00459678 0.00381201 0.00315111 0.00259648 0.00213263 0.00174605 0.00142498 0.00115923 0.000940028 0.000759842 0.000612231 0.000491721 0.000393669 0.000314163 0.000249912 0.000198167 0.000156634 0.00012341 9.69224e-05 7.58768e-05 5.92113e-05 4.60584e-05 3.57128e-05 2.76026e-05 2.1266e-05 1.63317e-05 1.25023e-05 9.54016e-06 7.25659e-06 5.50199e-06 4.15832e-06 3.13275e-06 2.35258e-06 1.76105e-06 1.31404e-06 9.77371e-07 7.24633e-07 5.35535e-07 3.94519e-07 2.89706e-07 2.12059e-07 1.54727e-07; #X coords 0 1 199 0 200 140 1; #X restore 342 85 graph; #X connect 0 0 1 0; #X connect 1 0 5 0; #X connect 1 1 4 0; #X connect 2 0 3 0; #X connect 2 0 6 0; #X connect 2 0 9 0; #X connect 3 0 2 1; #X connect 4 0 2 1; #X connect 5 0 2 0; #X connect 6 0 10 0; #X connect 6 1 7 1; #X connect 8 0 7 0; #X connect 9 0 5 1; #X connect 10 0 8 0; #X restore 499 462 pd make-table; #X obj 261 373 cos~; #X obj 261 348 -~ 0.25; #X obj 261 425 +~ 100; #X obj 261 448 tabread4~ bell-curve; #X obj 147 514 *~; #X text 293 473 waveshaper; #X obj 43 209 mtof; #X obj 174 228 expr 1/$f1; #X obj 152 156 mtof; #X text 147 113 freq.; #X obj 152 252 *~; #X text 348 172 bandwidth; #X obj 350 221 mtof; #X obj 350 306 *~; #X obj 350 330 *~ 25; #X text 390 305 divide by fundamental; #X text 408 329 range for table; #X text 327 424 offset to middle of table; #X text 159 274 C.F. relative; #X text 160 290 to fundamental; #X text 32 161 (MIDI units); #X text 183 512 ring mod; #X obj 261 323 *~ 0.5; #X obj 43 74 inlet; #X obj 353 76 inlet; #X obj 154 76 inlet; #X obj 148 590 outlet~; #X text 37 51 fundamental; #X text 196 73 center freq; #X text 398 75 bandwidth; #X text 41 11 used for mouse_instrument.pd \, take from doc/3.audio.examples/F13.paf.control.pd ; #X connect 0 0 6 1; #X connect 0 0 8 0; #X connect 1 0 5 0; #X connect 1 0 0 0; #X connect 2 0 6 0; #X connect 3 0 4 1; #X connect 3 0 7 1; #X connect 4 0 1 1; #X connect 5 0 2 0; #X connect 6 0 7 0; #X connect 7 0 8 1; #X connect 8 0 25 0; #X connect 9 0 4 0; #X connect 9 0 3 0; #X connect 10 0 29 0; #X connect 11 0 31 0; #X connect 12 0 11 0; #X connect 13 0 9 1; #X connect 13 0 1 0; #X connect 13 0 5 1; #X connect 13 0 43 0; #X connect 14 0 27 0; #X connect 16 0 33 0; #X connect 17 0 34 0; #X connect 18 0 23 0; #X connect 19 0 17 0; #X connect 21 0 18 0; #X connect 22 0 21 0; #X connect 23 0 24 0; #X connect 24 0 25 1; #X connect 25 0 47 0; #X connect 27 0 28 0; #X connect 27 0 13 0; #X connect 28 0 31 1; #X connect 28 0 34 1; #X connect 29 0 12 0; #X connect 31 0 9 0; #X connect 33 0 19 0; #X connect 34 0 35 0; #X connect 35 0 18 1; #X connect 43 0 22 0; #X connect 44 0 14 0; #X connect 45 0 16 0; #X connect 46 0 10 0; mapping-0.2.1/exponential_curve-help.pd0000644000076500007650000000735212030356733016641 0ustar hanshans#N canvas 1 53 502 454 10; #X obj 5 -3 cnv 15 450 20 empty empty exponential_curve 2 11 1 18 -233017 -66577 0; #X msg 422 -2 pddp; #X text 283 387 released under the GNU GPL; #X text 158 356 For more info:; #X floatatom 25 122 8 0 0 0 - - -; #X floatatom 25 283 8 0 0 0 - - -; #X obj 28 300 hsl 200 20 0 1 0 0 empty empty curved_output 22 11 1 12 -262144 -1 -1 0 1; #X obj 28 96 hsl 200 20 0 1 0 0 empty empty raw_input 22 11 1 12 -261681 -1 -1 0 1; #N canvas 273 69 474 407 draw_array 0; #X msg 54 82 bang; #X obj 54 133 until; #X text 85 82 start; #X obj 54 155 f; #X obj 83 155 + 1; #X obj 54 43 loadbang; #X obj 54 210 trigger float float; #X obj 127 157 select 0; #X obj 53 343 tabwrite \$0-curve; #X obj 139 53 trigger bang float; #X obj 83 177 mod 200; #X obj 54 287 / 200; #X text 96 287 mapping output range: 0 to 1; #N canvas 0 22 461 369 receive 0; #X obj 253 33 receive \$0-y; #X obj 253 57 moses; #X obj 280 78 moses 201; #X obj 331 99 bang; #X msg 331 120 200; #X obj 238 98 bang; #X msg 238 119 0; #X obj 91 56 moses; #X obj 118 77 moses 201; #X obj 169 98 bang; #X msg 169 119 200; #X obj 76 97 bang; #X msg 76 118 0; #X obj 91 32 receive \$0-x; #X obj 117 289 receive \$0-x-slider; #X floatatom 118 312 5 0 0 0 - - -; #X floatatom 279 313 5 0 0 0 - - -; #X obj 280 290 receive \$0-y-slider; #X obj 118 169 / 200; #X obj 280 170 / 200; #X obj 118 249 send \$0-x-slider-receive; #X obj 280 250 send \$0-y-slider-receive; #X msg 281 193 1 \$1; #X obj 280 221 -; #X connect 0 0 1 0; #X connect 1 0 5 0; #X connect 1 1 2 0; #X connect 2 0 19 0; #X connect 2 1 3 0; #X connect 3 0 4 0; #X connect 4 0 19 0; #X connect 5 0 6 0; #X connect 6 0 19 0; #X connect 7 0 11 0; #X connect 7 1 8 0; #X connect 8 0 18 0; #X connect 8 1 9 0; #X connect 9 0 10 0; #X connect 10 0 18 0; #X connect 11 0 12 0; #X connect 12 0 18 0; #X connect 13 0 7 0; #X connect 14 0 15 0; #X connect 17 0 16 0; #X connect 18 0 20 0; #X connect 19 0 22 0; #X connect 22 0 23 0; #X connect 23 0 21 0; #X restore 265 348 pd receive from gcanvas; #X obj 138 9 receive \$0-x-slider; #X obj 54 108 cyclone/speedlim 100; #X obj 53 313 exponential_curve; #X connect 0 0 15 0; #X connect 1 0 3 0; #X connect 3 0 4 0; #X connect 3 0 6 0; #X connect 4 0 10 0; #X connect 5 0 0 0; #X connect 6 0 11 0; #X connect 6 1 8 1; #X connect 7 0 1 1; #X connect 9 0 0 0; #X connect 9 1 16 1; #X connect 10 0 3 1; #X connect 10 0 7 0; #X connect 11 0 16 0; #X connect 14 0 9 0; #X connect 15 0 1 0; #X connect 16 0 8 0; #X restore 377 66 pd draw_array; #X obj 262 354 pddp/open mapping-about; #X text 16 386 (C) Copyright 2007 Free Software Foundation; #X obj 272 98 gcanvas 200 200; #N canvas 0 22 450 300 (subpatch) 0; #X array \$0-curve 200 float 0; #X coords 0 1 199 0 200 200 1; #X restore 272 98 graph; #X obj 272 303 send \$0-x; #X obj 414 302 send \$0-y; #X obj 127 163 hsl 50 15 0 1 0 0 \$0-x-slider \$0-x-slider-receive x 5 9 0 11 -232576 -1 -1 0 0; #X floatatom 133 183 7 0 0 0 - - -; #X text 17 34 This object curves the input range using a double-exponential seat controlled by one parameter.; #X obj 25 212 exponential_curve; #X text 15 71 (click in the gray area to play); #N canvas 465 169 494 344 META 0; #X text 12 155 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 95 INLET_1 float; #X text 12 115 OUTLET_0 float; #X text 12 135 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 75 INLET_0 float; #X text 12 5 KEYWORDS control abstraction; #X text 12 45 DESCRIPTION curve the input range using a double-exponential seat controlled by one parameter; #X restore 440 420 pd META; #X connect 4 0 18 0; #X connect 5 0 6 0; #X connect 7 0 4 0; #X connect 11 0 13 0; #X connect 11 1 14 0; #X connect 15 0 16 0; #X connect 15 0 18 1; #X connect 18 0 5 0; mapping-0.2.1/exponential_curve.pd0000644000076500007650000000265212030356733015711 0ustar hanshans#N canvas 1 53 428 451 10; #X obj 26 4 inlet; #X obj 150 396 outlet; #X obj 220 10 loadbang; #X obj 147 9 inlet; #X obj 147 50 purepd/float_argument \$1; #X obj 147 96 moses 0.5; #X obj 147 292 * 2; #X obj 132 313 pow; #X obj 263 177 - 0.5; #X obj 263 201 * 2; #X obj 250 313 pow; #X obj 147 74 moses 1; #X obj 264 248 -; #X msg 263 226 1 \$1; #X obj 265 291 /; #X msg 265 271 1 \$1; #N canvas 0 22 433 306 pick 0; #X obj 306 39 inlet; #X obj 306 67 bang; #X obj 226 38 inlet; #X obj 226 66 bang; #X msg 213 89 1; #X msg 242 89 0; #X msg 293 90 0; #X msg 322 90 1; #X obj 20 39 inlet; #X obj 249 196 spigot; #X obj 110 194 spigot; #X obj 109 249 outlet; #X obj 248 245 outlet; #X connect 0 0 1 0; #X connect 1 0 6 0; #X connect 1 0 7 0; #X connect 2 0 3 0; #X connect 3 0 4 0; #X connect 3 0 5 0; #X connect 4 0 10 1; #X connect 5 0 9 1; #X connect 6 0 10 1; #X connect 7 0 9 1; #X connect 8 0 10 0; #X connect 8 0 9 0; #X connect 9 0 12 0; #X connect 10 0 11 0; #X restore 26 158 pd pick algorithm; #X text 196 75 constrain to <1; #X connect 0 0 16 0; #X connect 2 0 4 0; #X connect 3 0 4 0; #X connect 4 0 11 0; #X connect 5 0 6 0; #X connect 5 0 16 1; #X connect 5 1 8 0; #X connect 5 1 16 2; #X connect 6 0 7 1; #X connect 7 0 1 0; #X connect 8 0 9 0; #X connect 9 0 13 0; #X connect 10 0 1 0; #X connect 11 0 5 0; #X connect 12 0 15 0; #X connect 13 0 12 0; #X connect 14 0 10 1; #X connect 15 0 14 0; #X connect 16 0 7 0; #X connect 16 1 10 0; mapping-0.2.1/exponential_seat-help.pd0000644000076500007650000000735012030356733016447 0ustar hanshans#N canvas 1 53 506 469 10; #X obj 5 2 cnv 15 450 20 empty empty exponential_seat 2 11 1 18 -233017 -66577 0; #X msg 422 3 pddp; #X text 283 392 released under the GNU GPL; #X text 158 361 For more info:; #X floatatom 25 127 8 0 0 0 - - -; #X floatatom 25 288 8 0 0 0 - - -; #X obj 28 305 hsl 200 20 0 1 0 0 empty empty curved_output 22 11 1 12 -262144 -1 -1 0 1; #X obj 28 101 hsl 200 20 0 1 0 0 empty empty raw_input 22 11 1 12 -261681 -1 -1 0 1; #N canvas 273 69 470 403 draw_array 0; #X msg 54 82 bang; #X obj 54 133 until; #X text 85 82 start; #X obj 54 155 f; #X obj 83 155 + 1; #X obj 54 43 loadbang; #X obj 54 210 trigger float float; #X obj 127 157 select 0; #X obj 53 343 tabwrite \$0-curve; #X obj 139 53 trigger bang float; #X obj 83 177 mod 200; #X obj 54 287 / 200; #X text 96 287 mapping output range: 0 to 1; #N canvas 0 22 461 369 receive 0; #X obj 253 33 receive \$0-y; #X obj 253 57 moses; #X obj 280 78 moses 201; #X obj 331 99 bang; #X msg 331 120 200; #X obj 238 98 bang; #X msg 238 119 0; #X obj 91 56 moses; #X obj 118 77 moses 201; #X obj 169 98 bang; #X msg 169 119 200; #X obj 76 97 bang; #X msg 76 118 0; #X obj 91 32 receive \$0-x; #X obj 117 289 receive \$0-x-slider; #X floatatom 118 312 5 0 0 0 - - -; #X floatatom 279 313 5 0 0 0 - - -; #X obj 280 290 receive \$0-y-slider; #X obj 118 169 / 200; #X obj 280 170 / 200; #X obj 118 249 send \$0-x-slider-receive; #X obj 280 250 send \$0-y-slider-receive; #X msg 281 193 1 \$1; #X obj 280 221 -; #X connect 0 0 1 0; #X connect 1 0 5 0; #X connect 1 1 2 0; #X connect 2 0 19 0; #X connect 2 1 3 0; #X connect 3 0 4 0; #X connect 4 0 19 0; #X connect 5 0 6 0; #X connect 6 0 19 0; #X connect 7 0 11 0; #X connect 7 1 8 0; #X connect 8 0 18 0; #X connect 8 1 9 0; #X connect 9 0 10 0; #X connect 10 0 18 0; #X connect 11 0 12 0; #X connect 12 0 18 0; #X connect 13 0 7 0; #X connect 14 0 15 0; #X connect 17 0 16 0; #X connect 18 0 20 0; #X connect 19 0 22 0; #X connect 22 0 23 0; #X connect 23 0 21 0; #X restore 265 348 pd receive from gcanvas; #X obj 138 9 receive \$0-x-slider; #X obj 54 108 cyclone/speedlim 100; #X obj 53 313 exponential_seat; #X connect 0 0 15 0; #X connect 1 0 3 0; #X connect 3 0 4 0; #X connect 3 0 6 0; #X connect 4 0 10 0; #X connect 5 0 0 0; #X connect 6 0 11 0; #X connect 6 1 8 1; #X connect 7 0 1 1; #X connect 9 0 0 0; #X connect 9 1 16 1; #X connect 10 0 3 1; #X connect 10 0 7 0; #X connect 11 0 16 0; #X connect 14 0 9 0; #X connect 15 0 1 0; #X connect 16 0 8 0; #X restore 377 71 pd draw_array; #X obj 262 359 pddp/open mapping-about; #X text 16 391 (C) Copyright 2007 Free Software Foundation; #X obj 25 217 exponential_seat; #X obj 272 103 gcanvas 200 200; #N canvas 0 22 450 300 (subpatch) 0; #X array \$0-curve 200 float 0; #X coords 0 1 199 0 200 200 1; #X restore 272 103 graph; #X obj 272 308 send \$0-x; #X obj 414 307 send \$0-y; #X obj 121 167 hsl 50 15 0 1 0 0 \$0-x-slider \$0-x-slider-receive x 5 9 0 11 -232576 -1 -1 0 0; #X floatatom 127 187 7 0 0 0 - - -; #X text 17 39 This object curves the input range using a double-exponential seat controlled by one parameter.; #X text 15 71 (click in the gray area to play); #N canvas 464 140 494 344 META 0; #X text 12 155 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 95 INLET_1 float; #X text 12 115 OUTLET_0 float; #X text 12 135 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 75 INLET_0 float; #X text 12 5 KEYWORDS control abstraction; #X text 12 45 DESCRIPTION curve the input range using a double-exponential seat controlled by one parameter; #X restore 449 436 pd META; #X connect 4 0 11 0; #X connect 5 0 6 0; #X connect 7 0 4 0; #X connect 11 0 5 0; #X connect 12 0 14 0; #X connect 12 1 15 0; #X connect 16 0 11 1; #X connect 16 0 17 0; mapping-0.2.1/exponential_seat.pd0000644000076500007650000000106312030356733015514 0ustar hanshans#N canvas 1 53 496 458 10; #X obj 62 10 inlet; #X obj 106 405 outlet; #X obj 240 10 loadbang; #X obj 167 9 inlet; #X obj 167 50 purepd/float_argument \$1; #X obj 62 114 moses 0.5; #X obj 246 245 expr 1 - pow(2*(1-$f1) \, 1-$f2) / 2; #X obj 38 245 expr pow(2 * $f1 \, 1 - $f2) / 2; #X obj 246 195 moses 1; #X msg 285 217 1; #X connect 0 0 5 0; #X connect 2 0 4 0; #X connect 3 0 4 0; #X connect 4 0 6 1; #X connect 4 0 7 1; #X connect 5 0 7 0; #X connect 5 1 8 0; #X connect 6 0 1 0; #X connect 7 0 1 0; #X connect 8 0 6 0; #X connect 8 1 9 0; #X connect 9 0 6 0; mapping-0.2.1/exponential_sigmoid-help.pd0000644000076500007650000000736412030356733017153 0ustar hanshans#N canvas 1 53 494 448 10; #X obj 5 2 cnv 15 450 20 empty empty exponential_sigmoid 2 11 1 18 -233017 -66577 0; #X msg 422 3 pddp; #X text 283 392 released under the GNU GPL; #X text 158 361 For more info:; #X floatatom 25 127 8 0 0 0 - - -; #X floatatom 25 288 8 0 0 0 - - -; #X obj 28 305 hsl 200 20 0 1 0 0 empty empty curved_output 22 11 1 12 -262144 -1 -1 0 1; #X obj 28 101 hsl 200 20 0 1 0 0 empty empty raw_input 22 11 1 12 -261681 -1 -1 0 1; #N canvas 273 69 470 403 draw_array 0; #X msg 54 82 bang; #X obj 54 133 until; #X text 85 82 start; #X obj 54 155 f; #X obj 83 155 + 1; #X obj 54 43 loadbang; #X obj 54 210 trigger float float; #X obj 127 157 select 0; #X obj 53 343 tabwrite \$0-curve; #X obj 139 53 trigger bang float; #X obj 83 177 mod 200; #X obj 54 287 / 200; #X text 96 287 mapping output range: 0 to 1; #N canvas 0 22 461 369 receive 0; #X obj 253 33 receive \$0-y; #X obj 253 57 moses; #X obj 280 78 moses 201; #X obj 331 99 bang; #X msg 331 120 200; #X obj 238 98 bang; #X msg 238 119 0; #X obj 91 56 moses; #X obj 118 77 moses 201; #X obj 169 98 bang; #X msg 169 119 200; #X obj 76 97 bang; #X msg 76 118 0; #X obj 91 32 receive \$0-x; #X obj 117 289 receive \$0-x-slider; #X floatatom 118 312 5 0 0 0 - - -; #X floatatom 279 313 5 0 0 0 - - -; #X obj 280 290 receive \$0-y-slider; #X obj 118 169 / 200; #X obj 280 170 / 200; #X obj 118 249 send \$0-x-slider-receive; #X obj 280 250 send \$0-y-slider-receive; #X msg 281 193 1 \$1; #X obj 280 221 -; #X connect 0 0 1 0; #X connect 1 0 5 0; #X connect 1 1 2 0; #X connect 2 0 19 0; #X connect 2 1 3 0; #X connect 3 0 4 0; #X connect 4 0 19 0; #X connect 5 0 6 0; #X connect 6 0 19 0; #X connect 7 0 11 0; #X connect 7 1 8 0; #X connect 8 0 18 0; #X connect 8 1 9 0; #X connect 9 0 10 0; #X connect 10 0 18 0; #X connect 11 0 12 0; #X connect 12 0 18 0; #X connect 13 0 7 0; #X connect 14 0 15 0; #X connect 17 0 16 0; #X connect 18 0 20 0; #X connect 19 0 22 0; #X connect 22 0 23 0; #X connect 23 0 21 0; #X restore 265 348 pd receive from gcanvas; #X obj 138 9 receive \$0-x-slider; #X obj 54 108 cyclone/speedlim 100; #X obj 53 313 exponential_sigmoid; #X connect 0 0 15 0; #X connect 1 0 3 0; #X connect 3 0 4 0; #X connect 3 0 6 0; #X connect 4 0 10 0; #X connect 5 0 0 0; #X connect 6 0 11 0; #X connect 6 1 8 1; #X connect 7 0 1 1; #X connect 9 0 0 0; #X connect 9 1 16 1; #X connect 10 0 3 1; #X connect 10 0 7 0; #X connect 11 0 16 0; #X connect 14 0 9 0; #X connect 15 0 1 0; #X connect 16 0 8 0; #X restore 377 71 pd draw_array; #X obj 262 359 pddp/open mapping-about; #X text 16 391 (C) Copyright 2007 Free Software Foundation; #X obj 25 217 exponential_sigmoid; #X obj 272 103 gcanvas 200 200; #N canvas 0 22 450 300 (subpatch) 0; #X array \$0-curve 200 float 0; #X coords 0 1 199 0 200 200 1; #X restore 272 103 graph; #X obj 272 308 send \$0-x; #X obj 414 307 send \$0-y; #X obj 139 167 hsl 50 15 0 1 0 1 \$0-x-slider \$0-x-slider-receive x 5 9 0 11 -232576 -1 -1 4900 0; #X floatatom 145 187 7 0 0 0 - - -; #X text 17 39 This object curves the input range using a double-exponential seat controlled by one parameter.; #X text 15 71 (click in the gray area to play); #N canvas 466 198 494 344 META 0; #X text 12 155 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 95 INLET_1 float; #X text 12 115 OUTLET_0 float; #X text 12 135 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 75 INLET_0 float; #X text 12 5 KEYWORDS control abstraction; #X text 12 45 DESCRIPTION curve the input range using a double-exponential seat controlled by one parameter; #X restore 435 419 pd META; #X connect 4 0 11 0; #X connect 5 0 6 0; #X connect 7 0 4 0; #X connect 11 0 5 0; #X connect 12 0 14 0; #X connect 12 1 15 0; #X connect 16 0 11 1; #X connect 16 0 17 0; mapping-0.2.1/exponential_sigmoid.pd0000644000076500007650000000137412030356733016220 0ustar hanshans#N canvas 1 53 433 390 10; #X obj 62 10 inlet; #X obj 95 355 outlet; #X obj 240 10 loadbang; #X obj 167 9 inlet; #X obj 167 50 purepd/float_argument \$1; #X obj 62 84 moses 0.5; #X obj 14 248 expr pow(2*$f1 \, 1/$f2)/2; #X obj 200 246 expr 1 - (pow(2*(1-$f1) \, 1/$f2)/2); #X obj 167 97 bang; #X obj 167 77 moses 1e-06; #X msg 167 118 1e-06; #X text 272 98 constrain to >0; #X obj 200 195 moses 1; #X msg 239 217 1; #X connect 0 0 5 0; #X connect 2 0 4 0; #X connect 3 0 4 0; #X connect 4 0 9 0; #X connect 5 0 6 0; #X connect 5 1 12 0; #X connect 6 0 1 0; #X connect 7 0 1 0; #X connect 8 0 10 0; #X connect 9 0 8 0; #X connect 9 1 7 1; #X connect 9 1 6 1; #X connect 10 0 6 1; #X connect 10 0 7 1; #X connect 12 0 7 0; #X connect 12 1 13 0; #X connect 13 0 7 0; mapping-0.2.1/fir-help.pd0000644000076500007650000000227312030356733013664 0ustar hanshans#N canvas 2 53 630 490 10; #X declare -lib iemmatrix; #X obj 174 76 loadbang; #X text 97 58 data; #X obj 93 161 t f f; #X msg 102 128 0; #X msg 185 127 0.2 0.2 0.2 0.2 0.2; #X msg 132 128 1; #X msg 174 98 0.4 0.3 0.1 0.1 0.1; #X obj 93 248 timeroll 10; #X obj 345 247 timeroll 10; #X obj 123 187 fir 5; #X obj 77 10 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 1; #X obj 116 423 pddp/pddplink http://www.dspguru.com/info/faqs/firfaq.htm ; #X text 67 407 For more info on FIR:; #X text 183 188 the argument is the number of co-efficients; #X text 328 112 these are a list of co-efficients; #N canvas 464 140 494 344 META 0; #X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 105 OUTLET_0 float; #X text 12 125 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 65 INLET_0 float; #X text 12 5 KEYWORDS control abstraction filter; #X text 12 45 DESCRIPTION; #X text 12 85 INLET_1 list; #X restore 573 459 pd META; #X connect 0 0 6 0; #X connect 2 0 7 0; #X connect 2 1 9 0; #X connect 3 0 2 0; #X connect 4 0 9 1; #X connect 5 0 2 0; #X connect 6 0 9 1; #X connect 9 0 8 0; #X connect 10 0 2 0; mapping-0.2.1/fir.pd0000644000076500007650000000120512030356733012730 0ustar hanshans#N canvas 1 53 462 394 10; #X declare -lib iemmatrix; #X obj 324 9 import iemmatrix; #X obj 158 59 inlet; #X text 206 58 liste coef filtre; #X text 72 34 flux donnees; #X obj 85 57 inlet; #X obj 85 207 mtx_.*; #X obj 85 298 outlet; #X obj 85 241 mtx_mean; #X obj 158 178 list trim; #X obj 85 155 list trim; #X obj 158 155 list prepend matrix \$1 1; #X obj 85 126 list prepend matrix \$1 1; #X obj 85 269 * \$1; #X obj 85 100 last_n \$1; #X connect 1 0 10 0; #X connect 4 0 13 0; #X connect 5 0 7 0; #X connect 7 0 12 0; #X connect 8 0 5 1; #X connect 9 0 5 0; #X connect 10 0 8 0; #X connect 11 0 9 0; #X connect 12 0 6 0; #X connect 13 0 11 0; mapping-0.2.1/gaussian-help.pd0000644000076500007650000000273512030356733014721 0ustar hanshans#N canvas 1 53 618 523 10; #X floatatom 184 227 5 0 0 0 - - -; #X obj 91 289 tolist; #X obj 92 321 multi_slider 100; #X floatatom 137 227 5 0 0 0 - - -; #X obj 91 256 gaussian 0.1 0.5; #N canvas 573 129 450 300 generate 0; #X obj 54 122 f; #X obj 53 150 + 1; #X obj 52 174 moses 100; #X obj 58 213 t f f; #X msg 52 89 -1; #X obj 116 214 bang; #X obj 86 244 / 100; #X obj 72 62 loadbang; #X obj 49 34 inlet; #X obj 83 270 outlet; #X obj 140 270 outlet; #X connect 0 0 1 0; #X connect 1 0 2 0; #X connect 2 0 3 0; #X connect 2 1 5 0; #X connect 3 0 0 0; #X connect 3 1 6 0; #X connect 4 0 0 0; #X connect 5 0 10 0; #X connect 6 0 9 0; #X connect 7 0 4 0; #X connect 8 0 4 0; #X restore 91 198 pd generate list; #X obj 91 170 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X text 271 17 generate a gausian curve; #X text 236 50 i nead to check the corect equation of this one.; #N canvas 464 140 494 344 META 0; #X text 12 165 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 85 INLET_1 float; #X text 12 125 OUTLET_0 float; #X text 12 145 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 65 INLET_0 float; #X text 12 5 KEYWORDS control abstraction; #X text 12 45 DESCRIPTION generate a Gaussian curve; #X text 12 105 INLET_2 float; #X restore 556 491 pd META; #X connect 0 0 4 2; #X connect 1 0 2 0; #X connect 3 0 4 1; #X connect 4 0 1 0; #X connect 5 0 4 0; #X connect 5 1 1 1; #X connect 6 0 5 0; mapping-0.2.1/gaussian.pd0000644000076500007650000000065412030356733013771 0ustar hanshans#N canvas 1 53 450 300 10; #X obj 65 26 inlet; #X obj 277 22 inlet; #X obj 65 218 * -1; #X obj 65 244 exp; #X obj 65 124 *; #X obj 65 91 t f f; #X obj 65 271 outlet; #X obj 65 187 / \$2; #X obj 65 63 - \$1; #X obj 142 20 inlet; #X connect 0 0 8 0; #X connect 1 0 7 1; #X connect 2 0 3 0; #X connect 3 0 6 0; #X connect 4 0 7 0; #X connect 5 0 4 0; #X connect 5 1 4 1; #X connect 7 0 2 0; #X connect 8 0 5 0; #X connect 9 0 8 1; mapping-0.2.1/hysteresis-help.pd0000644000076500007650000000135112030356733015302 0ustar hanshans#N canvas 1 53 382 458 10; #X obj 30 61 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 1; #X obj 30 255 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 1; #X obj 30 218 hysteresis 0.2; #X text 84 28 add hysteresys to input data; #N canvas 465 169 494 344 META 0; #X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 85 INLET_1 float; #X text 12 105 OUTLET_0 float; #X text 12 125 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 65 INLET_0 float; #X text 12 5 KEYWORDS control abstraction; #X text 12 45 DESCRIPTION add hysteresys to input data; #X restore 320 421 pd META; #X connect 0 0 2 0; #X connect 2 0 1 0; mapping-0.2.1/hysteresis.pd0000644000076500007650000000110712030356733014353 0ustar hanshans#N canvas 1 53 266 359 10; #X obj 117 144 moses 0; #X obj 87 92 t f f; #X obj 117 121 -; #X obj 87 251 -; #X obj 133 304 outlet; #X obj 87 66 inlet; #X obj 117 167 * -1; #X obj 117 211 * -1; #X obj 133 277 f; #X obj 117 189 min \$1; #X obj 161 211 min \$1; #X obj 198 67 inlet; #X connect 0 0 6 0; #X connect 0 1 10 0; #X connect 1 0 3 0; #X connect 1 1 2 0; #X connect 2 0 0 0; #X connect 3 0 8 0; #X connect 5 0 1 0; #X connect 6 0 9 0; #X connect 7 0 3 1; #X connect 8 0 2 1; #X connect 8 0 4 0; #X connect 9 0 7 0; #X connect 10 0 3 1; #X connect 11 0 9 1; #X connect 11 0 10 1; mapping-0.2.1/iir-help.pd0000644000076500007650000000262712030356733013672 0ustar hanshans#N canvas 1 53 683 513 10; #X floatatom 266 204 5 0 0 0 - - -; #X text 22 11 data; #X obj 27 172 t f f; #X msg 67 100 0; #X msg 68 121 1; #X obj 441 294 timeroll; #X obj 235 294 timeroll; #X obj 234 234 iir 5; #X obj 27 294 timeroll; #X obj 27 30 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 1; #X text 504 276 high-pass; #X text 240 276 low-pass; #X text 83 441 original; #X text 67 467 For more info on IIR:; #X obj 116 483 pddp/pddplink http://www.dspguru.com/info/faqs/iirfaq.htm ; #X text 89 27 [iir] computes a infinite impulse response low-pass filter. ; #X msg 234 124 reset; #X msg 242 147 reset 10; #X text 293 126 reset internal state; #X text 313 145 reset internal state to a specific value; #N canvas 466 198 494 344 META 0; #X text 12 175 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 95 INLET_1 float; #X text 12 115 OUTLET_0 float; #X text 12 155 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 5 KEYWORDS control abstraction; #X text 12 45 DESCRIPTION compute a infinite impulse response low-pass filter; #X text 12 75 INLET_0 float reset; #X text 12 135 OUTLET_1 float; #X restore 622 484 pd META; #X connect 0 0 7 1; #X connect 2 0 8 0; #X connect 2 1 7 0; #X connect 3 0 2 0; #X connect 4 0 2 0; #X connect 7 0 6 0; #X connect 7 1 5 0; #X connect 9 0 2 0; #X connect 16 0 7 0; #X connect 17 0 7 0; mapping-0.2.1/iir.pd0000644000076500007650000000175312030356733012743 0ustar hanshans#N canvas 1 53 413 448 10; #X obj 18 40 inlet; #X obj 159 396 outlet; #X obj 159 247 +; #X obj 230 240 + 1; #X obj 230 46 inlet; #X obj 230 183 1; #X obj 190 69 loadbang; #X obj 230 160 /; #X msg 230 139 1 \$1; #X obj 190 90 \$1; #X obj 190 112 sel 0; #X obj 159 285 / 2; #X obj 159 223 * 1; #X obj 246 348 -; #X obj 159 186 t f f; #X obj 159 315 t f f; #X obj 245 399 outlet; #X obj 245 373 * -1; #X obj 18 62 route float reset; #X obj 76 86 route float; #X msg 150 108 0; #X connect 0 0 18 0; #X connect 2 0 11 0; #X connect 3 0 11 1; #X connect 4 0 8 0; #X connect 5 0 3 0; #X connect 5 0 12 1; #X connect 6 0 9 0; #X connect 7 0 5 0; #X connect 8 0 7 0; #X connect 9 0 10 0; #X connect 10 1 8 0; #X connect 11 0 2 1; #X connect 11 0 15 0; #X connect 12 0 2 0; #X connect 13 0 17 0; #X connect 14 0 12 0; #X connect 14 1 13 1; #X connect 15 0 1 0; #X connect 15 1 13 0; #X connect 17 0 16 0; #X connect 18 0 14 0; #X connect 18 1 19 0; #X connect 19 0 2 1; #X connect 19 1 20 0; #X connect 20 0 2 1; mapping-0.2.1/join-help.pd0000644000076500007650000000200012030356733014027 0ustar hanshans#N canvas 1 53 435 566 10; #X obj 82 37 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 1; #X obj 82 208 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 1; #X obj 161 208 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 1; #X obj 82 399 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 1; #X floatatom 197 342 5 0 0 0 - - -; #X obj 82 175 disjoin 0.3; #X obj 82 368 join 0.3; #N canvas 467 227 494 344 META 0; #X text 12 165 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 85 INLET_1 float; #X text 12 125 OUTLET_0 float; #X text 12 145 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 5 KEYWORDS control abstraction; #X text 12 65 INLET_0 float reset; #X text 12 105 INLET_2 float; #X text 12 45 DESCRIPTION; #X restore 371 529 pd META; #X connect 0 0 5 0; #X connect 1 0 6 0; #X connect 2 0 6 1; #X connect 4 0 6 2; #X connect 5 0 1 0; #X connect 5 1 2 0; #X connect 6 0 3 0; mapping-0.2.1/join.pd0000644000076500007650000000107312030356733013112 0ustar hanshans#N canvas 2 53 323 296 10; #X obj 32 14 inlet; #X obj 78 14 inlet; #X obj 32 245 outlet; #X obj 145 91 t b f; #X msg 145 113 1; #X obj 78 169 *; #X obj 135 15 inlet; #X obj 177 15 loadbang; #X obj 32 149 *; #X obj 78 210 +; #X obj 145 137 -; #X obj 135 55 purepd/float_argument \$1; #X connect 0 0 8 0; #X connect 1 0 5 0; #X connect 3 0 4 0; #X connect 3 1 10 1; #X connect 4 0 10 0; #X connect 5 0 9 0; #X connect 6 0 11 0; #X connect 7 0 11 0; #X connect 8 0 2 0; #X connect 9 0 2 0; #X connect 10 0 5 1; #X connect 11 0 3 0; #X connect 11 0 8 1; #X connect 11 0 9 1; mapping-0.2.1/keygate-help.pd0000644000076500007650000000315412030356733014534 0ustar hanshans#N canvas 1 53 462 494 10; #X obj 5 2 cnv 15 450 20 empty empty keygate 2 11 1 18 -233017 -66577 0; #X obj 160 257 bng 25 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 160 121 loadbang; #X msg 160 141 1; #X obj 160 169 metro 150; #X text 33 416 (C) Copyright 2004 Hans-Christoph Steiner ; #X text 250 430 released under the GNU GPL; #X obj 237 369 pddp/pddplink ../mapping-about.pd -text mapping-about ; #X text 128 370 For more info:; #X text 15 207 data to be gated -->; #X obj 281 258 bng 25 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 40 300 keyname; #X symbolatom 84 320 10 0 0 0 - - -; #X text 162 320 <-- check here for the keyname symbol; #X obj 160 214 keygate f; #X text 17 38 [keygate] is a simple gate controlled by a keyboard. You must specify the name of the key which controls the gate. The left inlet takes the data to be gated.; #X text 18 89 The "f" key on the any keyboard controls this gate:; #X text 310 263 <-- key released; #X text 41 264 key pressed -->; #X msg 422 3 pddp; #N canvas 464 140 494 344 META 0; #X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 125 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 5 KEYWORDS control abstraction user_input; #X text 12 45 DESCRIPTION a simple gate controlled by a keyboard; #X text 12 65 INLET_0 anything; #X text 12 85 OUTLET_0 anything; #X text 12 105 OUTLET_1 ANYTHING; #X restore 410 461 pd META; #X connect 2 0 3 0; #X connect 3 0 4 0; #X connect 4 0 14 0; #X connect 11 1 12 0; #X connect 14 0 1 0; #X connect 14 1 10 0; mapping-0.2.1/keygate.pd0000644000076500007650000000202512030356733013602 0ustar hanshans#N canvas 1 53 530 481 10; #X obj 44 36 inlet; #X obj 44 365 outlet; #X obj 44 334 spigot; #X text 109 401 (C) Copyright 2004 Hans-Christoph Steiner ; #X text 326 415 released under the GNU GPL; #X text 16 444 $Author: eighthave $; #X text 16 461 $Date: 2006-01-29 08:12:33 $; #X text 16 427 $Revision: 1.1 $; #X obj 132 26 loadbang; #X text 5 6 [keygate]; #X obj 182 333 spigot; #X obj 182 365 outlet; #X obj 273 204 - 1; #X obj 273 224 abs; #X obj 236 27 keyname; #X msg 132 60 0; #X msg 183 60 1; #X obj 243 181 t f f; #X obj 243 157 f; #X obj 243 107 sel \$1; #X obj 243 86 symbol; #X obj 236 57 trigger bang float; #X connect 0 0 2 0; #X connect 0 0 10 0; #X connect 2 0 1 0; #X connect 8 0 15 0; #X connect 8 0 16 0; #X connect 10 0 11 0; #X connect 12 0 13 0; #X connect 13 0 10 1; #X connect 14 0 21 0; #X connect 14 1 20 1; #X connect 15 0 2 1; #X connect 16 0 10 1; #X connect 17 0 2 1; #X connect 17 1 12 0; #X connect 18 0 17 0; #X connect 19 0 18 0; #X connect 20 0 19 0; #X connect 21 0 20 0; #X connect 21 1 18 1; mapping-0.2.1/last_n-help.pd0000644000076500007650000000031311213555040014347 0ustar hanshans#N canvas 649 496 268 257 10; #X floatatom 40 56 5 0 0 0 - - -; #X floatatom 112 77 5 0 0 0 - - -; #X obj 40 155 print; #X obj 40 99 last_n 5; #X connect 0 0 3 0; #X connect 1 0 3 1; #X connect 3 0 2 0; mapping-0.2.1/last_n.pd0000644000076500007650000000112010755130731013424 0ustar hanshans#N canvas 417 318 723 395 10; #X floatatom 356 89 5 0 0 2 change-size - -; #X obj 326 112 t f b; #X text 378 110 first reset (b) \, then set new length (f).; #X text 311 195 Right outlet is responsible to first fill the list ; #X text 322 217 Left outlet then only lets the smaller list pass.; #X obj 180 183 list; #X obj 326 54 inlet; #X obj 180 149 inlet; #X obj 180 302 outlet; #X obj 180 228 list split \$1; #X connect 0 0 1 0; #X connect 1 0 9 1; #X connect 1 1 5 1; #X connect 5 0 9 0; #X connect 6 0 1 0; #X connect 7 0 5 0; #X connect 9 0 5 1; #X connect 9 0 8 0; #X connect 9 2 5 1; mapping-0.2.1/listto-help.pd0000644000076500007650000000201212030356733014411 0ustar hanshans#N canvas 1 53 469 354 10; #X obj 60 211 listto; #X msg 60 92 1 2 3 4; #X obj 60 276 print list; #X obj 97 236 print end; #X text 45 49 separate a list into a stream of atoms; #X text 166 237 outputs a bang at the end of the list; #X msg 75 113 list uno dos tres quatro; #X msg 75 168 one two three four; #X text 191 168 must be a "list" \, so this doesn't work; #X obj 5 2 cnv 15 450 20 empty empty listto 2 11 1 18 -233017 -66577 0; #N canvas 464 140 494 344 META 0; #X text 12 155 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 135 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 45 DESCRIPTION return the amplitude covered by the last n (n>1) values; #X text 12 5 KEYWORDS control abstraction list_op; #X text 12 75 INLET_0 anything; #X text 12 95 INLET_1 float symbol pointer; #X text 12 115 OUTLET_0 bang; #X restore 410 324 pd META; #X connect 0 0 2 0; #X connect 0 1 3 0; #X connect 1 0 0 0; #X connect 6 0 0 0; #X connect 7 0 0 0; mapping-0.2.1/listto.pd0000644000076500007650000000070212030356733013467 0ustar hanshans#N canvas 1 53 408 313 10; #X obj 25 18 inlet; #X obj 55 271 outlet; #X obj 330 269 outlet; #X obj 25 46 t b a; #X obj 55 230 list split 1; #X obj 55 154 until; #X obj 55 185 list append; #X obj 55 115 t b l; #X obj 170 186 bang; #X connect 0 0 3 0; #X connect 3 0 2 0; #X connect 3 1 7 0; #X connect 4 0 1 0; #X connect 4 1 6 1; #X connect 4 2 8 0; #X connect 5 0 6 0; #X connect 6 0 4 0; #X connect 7 0 5 0; #X connect 7 1 6 1; #X connect 8 0 5 1; mapping-0.2.1/local_max-help.pd0000644000076500007650000000133012030356733015034 0ustar hanshans#N canvas 1 53 457 282 10; #X floatatom 22 86 5 0 0 0 - - -; #X floatatom 22 133 5 0 0 0 - - -; #X obj 22 109 local_max; #X text 49 27 give the value of every local maximum whenever there is a change in direction.; #N canvas 466 198 494 344 META 0; #X text 12 135 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 115 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 95 OUTLET_0 float; #X text 12 75 INLET_0 float; #X text 12 45 DESCRIPTION give the value of every local maximum whenever there is a change in direction; #X text 12 5 KEYWORDS control abstraction filter; #X restore 400 257 pd META; #X connect 0 0 2 0; #X connect 2 0 1 0; mapping-0.2.1/local_max.pd0000644000076500007650000000072212030356733014112 0ustar hanshans#N canvas 1 53 302 364 10; #X obj 50 244 f; #X obj 25 101 t f f; #X obj 50 139 -; #X obj 50 218 sel 0; #X obj 67 100 f; #X obj 25 62 t f f b; #X obj 50 191 change; #X obj 50 279 outlet; #X obj 25 22 inlet; #X obj 50 165 >= 0; #X connect 0 0 7 0; #X connect 1 0 2 1; #X connect 1 1 2 0; #X connect 2 0 9 0; #X connect 3 0 0 0; #X connect 4 0 0 1; #X connect 5 0 1 0; #X connect 5 1 4 1; #X connect 5 2 4 0; #X connect 6 0 3 0; #X connect 8 0 5 0; #X connect 9 0 6 0; mapping-0.2.1/local_min-help.pd0000644000076500007650000000146612030356733015044 0ustar hanshans#N canvas 1 53 456 277 10; #X floatatom 48 102 5 0 0 0 - - -; #X floatatom 48 151 5 0 0 0 - - -; #X obj 48 125 local_min; #X obj 30 151 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X text 54 39 gives the value of every local minimum whenever there is a change in direction; #N canvas 467 227 494 344 META 0; #X text 12 135 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 115 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 95 OUTLET_0 float; #X text 12 75 INLET_0 float; #X text 12 5 KEYWORDS control abstraction filter; #X text 12 45 DESCRIPTION gives the value of every local minimum whenever there is a change in direction; #X restore 391 246 pd META; #X connect 0 0 2 0; #X connect 2 0 1 0; #X connect 2 0 3 0; mapping-0.2.1/local_min.pd0000644000076500007650000000072012030356733014106 0ustar hanshans#N canvas 1 53 250 310 10; #X obj 78 218 f; #X obj 53 69 t f f; #X obj 78 107 -; #X obj 78 192 sel 0; #X obj 94 69 f; #X obj 53 44 t f f b; #X obj 78 166 change; #X obj 78 243 outlet; #X obj 53 16 inlet; #X obj 78 140 <= 0; #X connect 0 0 7 0; #X connect 1 0 2 1; #X connect 1 1 2 0; #X connect 2 0 9 0; #X connect 3 0 0 0; #X connect 4 0 0 1; #X connect 5 0 1 0; #X connect 5 1 4 1; #X connect 5 2 4 0; #X connect 6 0 3 0; #X connect 8 0 5 0; #X connect 9 0 6 0; mapping-0.2.1/logistic_sigmoid-help.pd0000644000076500007650000000674612030356733016445 0ustar hanshans#N canvas 68 110 477 406 10; #X obj 5 2 cnv 15 450 20 empty empty logistic_sigmoid 2 11 1 18 -233017 -66577 0; #X msg 422 3 pddp; #X text 283 352 released under the GNU GPL; #X floatatom 25 127 8 0 0 0 - - -; #X floatatom 25 288 8 0 0 0 - - -; #X obj 28 305 hsl 200 20 0 1 0 0 empty empty curved_output 22 11 1 12 -262144 -1 -1 0 1; #X obj 28 101 hsl 200 20 0 1 0 0 empty empty raw_input 22 11 1 12 -261681 -1 -1 0 1; #N canvas 273 69 474 407 draw_array 0; #X msg 54 82 bang; #X obj 54 133 until; #X text 85 82 start; #X obj 54 155 f; #X obj 83 155 + 1; #X obj 54 43 loadbang; #X obj 54 210 trigger float float; #X obj 127 157 select 0; #X obj 53 343 tabwrite \$0-curve; #X obj 139 53 trigger bang float; #X obj 83 177 mod 200; #X obj 54 287 / 200; #X text 96 287 mapping output range: 0 to 1; #N canvas 739 87 465 373 receive 0; #X obj 253 33 receive \$0-y; #X obj 253 57 moses; #X obj 280 78 moses 201; #X obj 331 99 bang; #X msg 331 120 200; #X obj 238 98 bang; #X msg 238 119 0; #X obj 91 56 moses; #X obj 118 77 moses 201; #X obj 169 98 bang; #X msg 169 119 200; #X obj 76 97 bang; #X msg 76 118 0; #X obj 91 32 receive \$0-x; #X obj 118 169 / 200; #X obj 280 170 / 200; #X obj 118 249 send \$0-x-slider-receive; #X obj 280 250 send \$0-y-slider-receive; #X msg 281 193 1 \$1; #X obj 280 221 -; #X connect 0 0 1 0; #X connect 1 0 5 0; #X connect 1 1 2 0; #X connect 2 0 15 0; #X connect 2 1 3 0; #X connect 3 0 4 0; #X connect 4 0 15 0; #X connect 5 0 6 0; #X connect 6 0 15 0; #X connect 7 0 11 0; #X connect 7 1 8 0; #X connect 8 0 14 0; #X connect 8 1 9 0; #X connect 9 0 10 0; #X connect 10 0 14 0; #X connect 11 0 12 0; #X connect 12 0 14 0; #X connect 13 0 7 0; #X connect 14 0 16 0; #X connect 15 0 18 0; #X connect 18 0 19 0; #X connect 19 0 17 0; #X restore 265 348 pd receive from gcanvas; #X obj 138 9 receive \$0-x-slider; #X obj 54 108 cyclone/speedlim 100; #X obj 53 313 logistic_sigmoid; #X connect 0 0 15 0; #X connect 1 0 3 0; #X connect 3 0 4 0; #X connect 3 0 6 0; #X connect 4 0 10 0; #X connect 5 0 0 0; #X connect 6 0 11 0; #X connect 6 1 8 1; #X connect 7 0 1 1; #X connect 9 0 0 0; #X connect 9 1 16 1; #X connect 10 0 3 1; #X connect 10 0 7 0; #X connect 11 0 16 0; #X connect 14 0 9 0; #X connect 15 0 1 0; #X connect 16 0 8 0; #X restore 377 71 pd draw_array; #X text 16 351 (C) Copyright 2007 Free Software Foundation; #X obj 25 217 logistic_sigmoid; #X obj 139 167 hsl 50 15 0 1 0 1 \$0-x-slider \$0-x-slider-receive x 5 9 0 11 -232576 -1 -1 2916 0; #X floatatom 145 187 7 0 0 0 - - -; #X text 17 39 This object curves the input range using a double-exponential seat controlled by one parameter.; #X text 15 71 (click in the gray area to play); #N canvas 468 256 494 344 META 0; #X text 12 155 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 135 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 115 OUTLET_0 float; #X text 12 75 INLET_0 float; #X text 12 5 KEYWORDS control abstraction; #X text 12 45 DESCRIPTION curve the input range using a double-exponential seat controlled by one parameter; #X text 12 95 INLET_1 float; #X restore 414 372 pd META; #X obj 258 108 gcanvas 200 200; #N canvas 0 22 450 300 (subpatch) 0; #X array \$0-curve 200 float 0; #X coords 0 1 199 0 200 200 1; #X restore 258 108 graph; #X obj 258 313 send \$0-x; #X obj 400 312 send \$0-y; #X connect 3 0 9 0; #X connect 4 0 5 0; #X connect 6 0 3 0; #X connect 9 0 4 0; #X connect 10 0 9 1; #X connect 10 0 11 0; #X connect 15 0 17 0; #X connect 15 1 18 0; mapping-0.2.1/logistic_sigmoid.pd0000644000076500007650000000227212030356733015505 0ustar hanshans#N canvas 1 53 610 403 10; #X obj 42 10 inlet; #X obj 168 349 outlet; #X obj 426 21 loadbang; #X obj 353 20 inlet; #X obj 353 61 purepd/float_argument \$1; #X obj 353 113 expr 1/(1-$f1) - 1; #X obj 353 158 expr 1 / (1 + exp($f1)); #X text 340 157 B; #X text 340 111 a; #X text 28 177 A; #X obj 42 175 expr 1 / (1 + exp(0 - (($f1 - 0.5) * $f2 * 2))); #X obj 407 191 expr 1 / (1 + exp(0 - $f1)); #X text 395 191 C; #X obj 168 292 expr ($f1 - $f2)/($f3 - $f2); #N canvas 0 22 466 316 constrain 0; #X obj 71 17 inlet; #X obj 107 229 outlet; #X obj 71 169 bang; #X text 151 169 constrain to >0; #X obj 71 149 moses 0.0001; #X msg 71 190 0.0001; #X obj 71 66 moses 1; #X text 120 66 constraing to <1; #X obj 110 86 bang; #X msg 110 107 0.9999; #X connect 0 0 6 0; #X connect 2 0 5 0; #X connect 4 0 2 0; #X connect 4 1 1 0; #X connect 5 0 1 0; #X connect 6 0 4 0; #X connect 6 1 8 0; #X connect 8 0 9 0; #X connect 9 0 4 0; #X restore 353 89 pd constrain to 0 ; #X text 300 168 related objects:; #X obj 240 184 radians2mapping; #X obj 352 184 degrees2mapping; #X floatatom 69 185 7 0 0 1 degrees - -; #X obj 72 85 hsl 128 15 0 1 0 0 empty empty mapping 6 7 1 10 -262131 -1 -1 0 0; #X floatatom 95 115 5 0 0 0 - - -; #X text 26 34 This object converts numbers from the mapping range (0 to 1) to degrees (0 to 360) with the 0 being north.; #X obj 298 205 mapping2radians; #X obj 69 150 mapping2degrees; #N canvas 464 140 494 344 META 0; #X text 12 135 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 95 OUTLET_0 float; #X text 12 115 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 75 INLET_0 float; #X text 12 45 DESCRIPTION convert numbers from the mapping range (0 to 1) to degrees (0 to 360) with the 0 being north; #X text 12 5 KEYWORDS control abstraction conversion; #X restore 429 297 pd META; #X connect 10 0 11 0; #X connect 10 0 14 0; #X connect 14 0 9 0; mapping-0.2.1/mapping2degrees.pd0000644000076500007650000000157012030356733015231 0ustar hanshans#N canvas 1 53 448 360 10; #X obj 88 30 inlet; #X obj 89 264 outlet; #X obj 88 56 min 1; #X obj 88 74 max 0; #X text 133 63 its a [hid] object \, so limit input range; #X text 232 311 released under the GNU GPL; #X text 15 297 (C) Copyright 2005 Hans-Christoph Steiner ; #X text 129 28 input range: 0 to 1 \, 0 = east/right; #X text 143 264 output range: 0 to 360 \, 0 = north/top; #X obj 88 100 * 360; #X text 162 189 % is an int operation; #X text 169 207 this saves accuracy; #X obj 88 148 abs; #X obj 88 123 - 450; #X text 131 122 <- rotate zero to north; #X text 130 148 <- change direction of rotation; #X obj 89 202 % 3.6e+07; #X obj 89 223 / 100000; #X obj 89 181 * 100000; #X connect 0 0 2 0; #X connect 2 0 3 0; #X connect 3 0 9 0; #X connect 9 0 13 0; #X connect 12 0 18 0; #X connect 13 0 12 0; #X connect 16 0 17 0; #X connect 17 0 1 0; #X connect 18 0 16 0; mapping-0.2.1/mapping2midi-help.pd0000644000076500007650000000236212030356733015463 0ustar hanshans#N canvas 1 53 475 330 10; #X obj 5 2 cnv 15 450 20 empty empty mapping2midi 2 11 1 18 -233017 -66577 0; #X msg 422 3 pddp; #X text 254 269 released under the GNU GPL; #X text 185 228 For more info:; #X obj 289 226 pddp/pddplink ../mapping-about.pd -text mapping-about ; #X text 40 254 (C) Copyright 2005 Hans-Christoph Steiner ; #X text 294 161 related objects:; #X obj 234 181 radians2mapping; #X obj 346 181 degrees2mapping; #X floatatom 69 185 9 0 0 1 radians - -; #X obj 72 85 hsl 128 15 0 1 0 0 empty empty mapping 6 7 1 10 -262131 -1 -1 0 0; #X floatatom 95 115 5 0 0 0 - - -; #X text 26 34 This object converts numbers from the mapping range (0 to 1) to radians (-pi to pi) with the 0's lining up in the same place. ; #X obj 288 200 mapping2degrees; #X obj 69 150 mapping2midi; #N canvas 465 169 494 344 META 0; #X text 12 125 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 85 OUTLET_0 float; #X text 12 105 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 65 INLET_0 float; #X text 12 5 KEYWORDS control abstraction conversion; #X text 12 45 DESCRIPTION; #X restore 416 295 pd META; #X connect 10 0 11 0; #X connect 10 0 14 0; #X connect 14 0 9 0; mapping-0.2.1/mapping2midi.pd0000644000076500007650000000035212030356733014532 0ustar hanshans#N canvas 1 53 454 304 10; #X obj 132 34 inlet; #X obj 133 222 outlet; #X text 182 222 7 bit integer (0-127); #X text 182 35 0 to 1; #X obj 132 81 * 127; #X obj 133 117 int; #X connect 0 0 4 0; #X connect 4 0 5 0; #X connect 5 0 1 0; mapping-0.2.1/mapping2radians-help.pd0000644000076500007650000000254412030356733016164 0ustar hanshans#N canvas 1 53 475 336 10; #X obj 5 2 cnv 15 450 20 empty empty mapping2radians 2 11 1 18 -233017 -66577 0; #X msg 422 3 pddp; #X text 254 269 released under the GNU GPL; #X text 185 228 For more info:; #X obj 289 226 pddp/pddplink ../mapping-about.pd -text mapping-about ; #X text 40 254 (C) Copyright 2005 Hans-Christoph Steiner ; #X text 294 161 related objects:; #X obj 234 181 radians2mapping; #X obj 346 181 degrees2mapping; #X floatatom 69 185 9 0 0 1 radians - -; #X obj 72 85 hsl 128 15 0 1 0 0 empty empty mapping 6 7 1 10 -262131 -1 -1 0 0; #X floatatom 95 115 5 0 0 0 - - -; #X obj 69 150 mapping2radians; #X text 26 34 This object converts numbers from the mapping range (0 to 1) to radians (-pi to pi) with the 0's lining up in the same place. ; #X obj 288 200 mapping2degrees; #N canvas 466 198 494 344 META 0; #X text 12 135 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 95 OUTLET_0 float; #X text 12 115 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 75 INLET_0 float; #X text 12 5 KEYWORDS control abstraction conversion; #X text 12 45 DESCRIPTION convert numbers from the mapping range (0 to 1) to radians (-pi to pi) with 0's lining up in the same place; #X restore 413 304 pd META; #X connect 10 0 11 0; #X connect 10 0 12 0; #X connect 12 0 9 0; mapping-0.2.1/mapping2radians.pd0000644000076500007650000000115612030356733015234 0ustar hanshans#N canvas 1 53 474 347 10; #X obj 15 30 inlet; #X obj 16 264 outlet; #X obj 16 198 * 6.28318; #X obj 15 101 moses 0.5; #X obj 15 56 min 1; #X obj 15 74 max 0; #X obj 74 133 - 1; #X text 56 28 input range: 0 to 1; #X text 70 264 output range: -pi to pi; #X text 232 311 released under the GNU GPL; #X text 15 297 (C) Copyright 2005 Hans-Christoph Steiner ; #X text 60 63 this should be converted so it can handle out of range values \, using a mod and a div prolly.; #X connect 0 0 4 0; #X connect 2 0 1 0; #X connect 3 0 2 0; #X connect 3 1 6 0; #X connect 4 0 5 0; #X connect 5 0 3 0; #X connect 6 0 2 0; mapping-0.2.1/max_n-help.pd0000644000076500007650000000227412030356733014207 0ustar hanshans#N canvas 1 53 534 486 10; #X text 41 58 data; #X obj 40 155 t f f; #X msg 57 120 0; #X floatatom 271 249 5 0 0 0 - - -; #X floatatom 318 197 5 2 150 0 - - -; #X text 366 195 size: n (n>=2); #X text 51 32 min_n return the minimum from the last n (n>1) values ; #X msg 85 120 1; #X msg 118 120 0.5; #X obj 40 271 timeroll; #X obj 246 271 timeroll; #X obj 43 75 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 10 -262130 -1 -1 0 1; #X floatatom 48 96 5 0 0 0 - - -; #X obj 246 219 max_n 20; #X obj 5 2 cnv 15 450 20 empty empty max_n 2 11 1 18 -233017 -66577 0; #N canvas 468 256 494 344 META 0; #X text 12 125 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 85 OUTLET_0 float; #X text 12 105 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 65 INLET_0 float; #X text 12 5 KEYWORDS control abstraction conversion; #X text 12 45 DESCRIPTION return the maximum from the last n (n>1) values; #X restore 475 458 pd META; #X connect 1 0 9 0; #X connect 1 1 13 0; #X connect 2 0 1 0; #X connect 4 0 13 1; #X connect 7 0 1 0; #X connect 8 0 1 0; #X connect 11 0 12 0; #X connect 11 0 1 0; #X connect 13 0 3 0; #X connect 13 0 10 0; mapping-0.2.1/max_n.pd0000644000076500007650000000052412030356733013255 0ustar hanshans#N canvas 1 53 462 312 10; #X obj 64 57 inlet; #X obj 144 56 inlet; #X obj 64 179 maximum; #X obj 64 207 outlet; #X obj 144 120 max 2; #X obj 160 76 loadbang; #X obj 160 97 \$1; #X obj 64 149 last_n; #X connect 0 0 7 0; #X connect 1 0 4 0; #X connect 2 0 3 0; #X connect 4 0 7 1; #X connect 5 0 6 0; #X connect 6 0 4 0; #X connect 7 0 2 0; mapping-0.2.1/mean_n-help.pd0000644000076500007650000000240312030356733014334 0ustar hanshans#N canvas 1 53 821 556 10; #X obj 68 174 t f f; #X floatatom 338 197 5 0 0 0 - - -; #X text 333 174 order: n; #X text 49 37 Fir_mean_n computes a fir low pass mean filter of order n; #X obj 499 307 -; #X floatatom 68 126 5 0 1 0 - - -; #X obj 68 148 resample 30; #X obj 68 336 timeroll; #X obj 280 336 timeroll; #X obj 499 335 timeroll; #X obj 280 220 mean_n 25; #X msg 280 148 mode \$1; #X obj 280 125 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1; #X text 310 131 mode 1 : slow \, but accurate; #X text 310 115 mode 0 (defult) : fast but inanuracy can grow with time; #N canvas 497 278 494 344 META 0; #X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 105 OUTLET_0 float; #X text 12 125 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 5 KEYWORDS control abstraction filter; #X text 12 45 DESCRIPTION compute a fir low pass mean filter of order n; #X text 12 65 INLET_0 float mode; #X text 12 85 INLET_1 float; #X restore 761 521 pd META; #X connect 0 0 4 0; #X connect 0 0 7 0; #X connect 0 1 10 0; #X connect 1 0 10 1; #X connect 4 0 9 0; #X connect 5 0 6 0; #X connect 6 0 0 0; #X connect 10 0 4 1; #X connect 10 0 8 0; #X connect 11 0 10 0; #X connect 12 0 11 0; mapping-0.2.1/mean_n.pd0000644000076500007650000000323612030356733013413 0ustar hanshans#N canvas 1 53 477 444 10; #N canvas 0 0 450 300 mean1 0; #X obj 46 26 inlet; #X obj 125 26 inlet; #X obj 46 357 outlet; #X obj 62 190 list split 1; #X obj 101 213 list; #X obj 62 238 +; #X obj 62 263 f; #X obj 46 145 t b a b; #X msg 90 169 0; #X obj 46 290 f; #X obj 46 323 / \$1; #X obj 46 117 last_n \$1; #X connect 0 0 11 0; #X connect 1 0 10 1; #X connect 1 0 11 1; #X connect 3 0 5 0; #X connect 3 1 4 0; #X connect 4 0 3 0; #X connect 5 0 6 0; #X connect 6 0 5 1; #X connect 6 0 9 1; #X connect 7 0 9 0; #X connect 7 1 3 0; #X connect 7 2 8 0; #X connect 8 0 5 1; #X connect 9 0 10 0; #X connect 10 0 2 0; #X connect 11 0 7 0; #X restore 115 244 pd mean1; #N canvas 0 0 450 300 mean2 0; #X obj 60 12 inlet; #X obj 55 239 outlet; #X obj 85 119 delay_n \$1; #X obj 55 120 +; #X obj 55 145 -; #X obj 54 172 / \$1; #X obj 152 15 inlet; #X obj 59 37 t f f f; #X obj 55 202 t f f; #X msg 148 64 0; #X obj 151 37 t b f; #X connect 0 0 7 0; #X connect 2 0 4 1; #X connect 3 0 4 0; #X connect 4 0 3 1; #X connect 4 0 5 0; #X connect 5 0 8 0; #X connect 6 0 10 0; #X connect 7 0 3 0; #X connect 7 1 2 0; #X connect 8 0 1 0; #X connect 9 0 3 1; #X connect 9 0 4 1; #X connect 10 0 9 0; #X connect 10 1 2 1; #X connect 10 1 5 1; #X restore 202 245 pd mean2; #X obj 50 17 inlet; #X obj 50 45 route mode; #X obj 166 133 == 1; #X obj 253 134 == 0; #X obj 179 22 inlet; #X obj 115 305 outlet; #X obj 115 171 spigot 0; #X obj 202 173 spigot 1; #X connect 0 0 7 0; #X connect 1 0 7 0; #X connect 2 0 3 0; #X connect 3 0 4 0; #X connect 3 0 5 0; #X connect 3 1 8 0; #X connect 3 1 9 0; #X connect 4 0 8 1; #X connect 5 0 9 1; #X connect 6 0 0 1; #X connect 6 0 1 1; #X connect 8 0 0 0; #X connect 9 0 1 0; mapping-0.2.1/median-help.pd0000644000076500007650000000216012030356733014334 0ustar hanshans#N canvas 1 53 556 332 10; #X declare -lib zexy; #X declare -lib zexy; #X obj 16 105 cnv 15 60 60 empty empty empty 20 12 0 14 -258699 -66577 0; #X floatatom 22 220 5 0 0 0 - - -; #X text 326 235 )c( Alexandre Quessy 2006; #X msg 89 55 123 234 345 123 345 67; #X obj 390 203 zexy; #X text 324 203 Requires; #X obj 474 203 expr; #X text 436 203 and; #X text 328 249 Release under the GPL v2; #X text 125 139 Calculates the median of a list of floats.; #X text 127 103 [median]; #X msg 89 29 999 999 7 6 5 0 -99999; #X msg 88 4 0 67 68 67 69 67 1023; #X obj 22 115 median; #X text 131 250 See also; #X obj 199 247 median_n; #N canvas 463 53 494 344 META 0; #X text 12 125 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 85 OUTLET_0 float; #X text 12 105 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 5 KEYWORDS control abstraction; #X text 12 45 DESCRIPTION calculate the median of a list of floats ; #X text 12 65 INLET_0 list; #X restore 488 301 pd META; #X connect 3 0 13 0; #X connect 11 0 13 0; #X connect 12 0 13 0; #X connect 13 0 1 0; mapping-0.2.1/median.pd0000644000076500007650000000136012030356733013407 0ustar hanshans#N canvas 1 53 652 617 10; #X declare -lib zexy; #X obj 404 50 import zexy; #X obj 88 37 inlet; #X obj 117 321 list split 5; #X obj 159 490 list split 1; #X obj 159 550 outlet; #X obj 127 461 list split; #X obj 126 371 sort; #X obj 117 237 list append; #X obj 290 316 expr rint(($f1+1)/2)-1; #X text 329 585 )c( Alexandre Quessy 2006; #X text 214 547 median; #X obj 213 157 length; #X obj 175 93 t l l; #X text 86 12 inlet 1 : list of floats; #X obj 141 140 drip; #X connect 1 0 12 0; #X connect 2 0 6 0; #X connect 2 0 7 1; #X connect 2 2 7 1; #X connect 3 0 4 0; #X connect 5 1 3 0; #X connect 6 0 5 0; #X connect 7 0 2 0; #X connect 8 0 5 1; #X connect 11 0 2 1; #X connect 11 0 8 0; #X connect 12 0 14 0; #X connect 12 1 11 0; #X connect 14 0 7 0; mapping-0.2.1/median_3-help.pd0000644000076500007650000000122212030356733014554 0ustar hanshans#N canvas 1 53 711 500 12; #X floatatom 95 202 5 0 0 0 - - -; #X floatatom 95 264 5 0 0 0 - - -; #X obj 95 234 median_3; #X text 238 31 output the median value of the 3 last samples; #N canvas 492 275 494 344 META 0; #X text 12 125 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 85 OUTLET_0 float; #X text 12 105 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 65 INLET_0 float; #X text 12 45 DESCRIPTION output the median value of the 3 last samples ; #X text 12 5 KEYWORDS control abstraction; #X restore 631 463 pd META; #X connect 0 0 2 0; #X connect 2 0 1 0; mapping-0.2.1/median_3.pd0000644000076500007650000000175412030356733013640 0ustar hanshans#N canvas 1 53 799 525 10; #X obj 74 53 inlet; #X obj 111 435 outlet; #X obj 228 312 max; #X obj 168 285 min; #X obj 95 341 max; #X obj 111 368 min; #X text 341 167 on classe les 2 plus vieux nombres; #X text 339 184 du plus petit au plus grand; #X text 361 36 principe du median 3 : classer les 3 dernieres mesures de la plus petite valeur a la plus grande valeur et renvoyer la 2 ieme valeur (appelee mediane) de la liste (dans cette liste classee de 3 elements \, 1 est plus petit que la mediane et 1 est plus grand); #X text 332 300 Francis Bras; #X text 334 329 interface-z.com; #X obj 88 112 trigger float bang bang; #X obj 89 140 float; #X obj 167 191 float; #X obj 244 251 float; #X connect 0 0 11 0; #X connect 2 0 5 1; #X connect 3 0 4 1; #X connect 4 0 5 0; #X connect 5 0 1 0; #X connect 11 0 12 0; #X connect 11 1 13 0; #X connect 11 2 14 0; #X connect 12 0 4 0; #X connect 12 0 13 1; #X connect 13 0 3 0; #X connect 13 0 2 0; #X connect 13 0 14 1; #X connect 14 0 3 1; #X connect 14 0 2 1; mapping-0.2.1/median_5-help.pd0000644000076500007650000000121212030356733014555 0ustar hanshans#N canvas 1 53 711 500 12; #X floatatom 94 202 5 0 0 0 - - -; #X floatatom 94 264 5 0 0 0 - - -; #X obj 94 234 median_5; #X text 187 44 output median value of the last 5 samples; #N canvas 493 304 494 344 META 0; #X text 12 125 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 85 OUTLET_0 float; #X text 12 105 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 65 INLET_0 float; #X text 12 5 KEYWORDS control abstraction; #X text 12 45 DESCRIPTION output median value of the last 5 samples ; #X restore 642 467 pd META; #X connect 0 0 2 0; #X connect 2 0 1 0; mapping-0.2.1/median_5.pd0000644000076500007650000000354312030356733013640 0ustar hanshans#N canvas 1 53 711 500 12; #X obj 47 19 inlet; #X obj 133 172 max; #X obj 107 172 min; #X obj 81 312 min; #X obj 34 100 t f b b b b; #X obj 116 208 max; #X obj 78 236 min; #X obj 92 279 max; #X obj 134 236 max; #X obj 106 236 min; #X obj 120 279 max; #X obj 109 312 min; #X obj 96 379 min; #X obj 76 345 max; #X obj 95 422 outlet; #X text 137 312 max; #X text 54 312 min; #X text 175 315 les 2 extremes n ont plus d influence; #X obj 24 138 f; #X obj 51 138 f; #X obj 77 138 f; #X obj 103 138 f; #X obj 130 138 f; #X text 474 315 donc on ne les calcule pas; #X text 138 300 les 4 plus anciens classes; #X text 165 236 les 3 plus anciens classes du petit au grand; #X text 170 172 les deux plus anciens classes; #X text 145 351 il reste a tester la mesure la plus recente pour garder au final la valeur du milieu.; #X text 221 42 principe du median 5 : classer les 5 dernieres mesures de la plus petite valeur a la plus grande valeur et renvoyer la 3 ieme valeur (appelee mediane) de la liste (dans cette liste classee de 5 elements \, 2 sont plus petits que la mediane et 2 sont plus grands) ; #X text 470 426 Francis Bras; #X text 472 455 interface-z.com; #X connect 0 0 4 0; #X connect 1 0 9 1; #X connect 1 0 8 1; #X connect 2 0 6 1; #X connect 2 0 5 1; #X connect 3 0 13 1; #X connect 4 0 18 0; #X connect 4 1 19 0; #X connect 4 2 20 0; #X connect 4 3 21 0; #X connect 4 4 22 0; #X connect 5 0 9 0; #X connect 5 0 8 0; #X connect 6 0 7 1; #X connect 7 0 3 0; #X connect 7 0 10 0; #X connect 8 0 11 1; #X connect 9 0 3 1; #X connect 9 0 10 1; #X connect 10 0 11 0; #X connect 11 0 12 1; #X connect 12 0 14 0; #X connect 13 0 12 0; #X connect 18 0 13 0; #X connect 18 0 19 1; #X connect 19 0 7 0; #X connect 19 0 20 1; #X connect 20 0 5 0; #X connect 20 0 6 0; #X connect 20 0 21 1; #X connect 21 0 2 0; #X connect 21 0 1 0; #X connect 21 0 22 1; #X connect 22 0 2 1; #X connect 22 0 1 1; mapping-0.2.1/median_7-help.pd0000644000076500007650000000121212030356733014557 0ustar hanshans#N canvas 1 53 580 500 12; #X floatatom 95 202 5 0 0 0 - - -; #X floatatom 95 264 5 0 0 0 - - -; #X obj 95 234 median_7; #X text 131 39 output median value of the last 7 samples; #N canvas 494 333 494 344 META 0; #X text 12 125 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 85 OUTLET_0 float; #X text 12 105 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 65 INLET_0 float; #X text 12 5 KEYWORDS control abstraction; #X text 12 45 DESCRIPTION output median value of the last 7 samples ; #X restore 510 470 pd META; #X connect 0 0 2 0; #X connect 2 0 1 0; mapping-0.2.1/median_7.pd0000644000076500007650000000573012030356733013642 0ustar hanshans#N canvas 1 53 784 546 12; #X obj 36 18 inlet; #X obj 166 178 max; #X obj 139 178 min; #X obj 113 289 min; #X obj 125 205 max; #X obj 113 235 min; #X obj 97 263 max; #X obj 168 235 max; #X obj 140 235 min; #X obj 152 263 max; #X obj 141 289 min; #X obj 74 319 max; #X obj 103 471 outlet; #X obj 14 98 t f b b b b b b; #X obj 85 289 min; #X obj 169 289 max; #X obj 86 351 min; #X obj 128 319 max; #X obj 114 351 min; #X obj 157 319 max; #X obj 142 351 min; #X text 55 351 min; #X text 173 351 max; #X obj 103 381 max; #X obj 85 410 min; #X obj 132 381 max; #X obj 113 410 min; #X obj 73 446 max; #X obj 101 446 min; #X obj 0 132 f; #X obj 27 132 f; #X obj 54 132 f; #X obj 81 132 f; #X obj 108 132 f; #X obj 135 132 f; #X obj 162 132 f; #X text 197 177 les deux plus anciens classes; #X text 200 234 les 3 plus anciens classes du petit au grand; #X text 202 289 les 4 plus anciens classes du petit au grand; #X text 142 410 max1; #X text 178 410 max2; #X text 18 410 min1; #X text 53 410 min2; #X text 211 351 les 5 plus anciens classes du petit au grand; #X text 217 411 les 6 plus anciens classes du petit au grand; #X text 184 372 les 2 extremes n ont plus d influence donc on ne cherche pas a les identifier; #X text 184 426 les 4 extremes n ont plus d influence donc on ne calcule pas leur position relative et on ne les identifie pas; #X text 264 33 principe du median 7 : classer les 7 dernieres mesures de la plus petite valeur a la plus grande valeur et renvoyer la 4 ieme valeur (appelee mediane) de la liste (dans cette liste classee de 7 elements \, 3 sont plus petits que la mediane et 3 sont plus grands) ; #X text 535 463 Francis Bras; #X text 537 492 interface-z.com; #X connect 0 0 13 0; #X connect 1 0 8 1; #X connect 1 0 7 1; #X connect 2 0 5 1; #X connect 2 0 4 1; #X connect 3 0 16 1; #X connect 3 0 17 1; #X connect 4 0 8 0; #X connect 4 0 7 0; #X connect 5 0 6 1; #X connect 5 0 14 1; #X connect 6 0 3 0; #X connect 6 0 9 0; #X connect 7 0 10 1; #X connect 7 0 15 1; #X connect 8 0 3 1; #X connect 8 0 9 1; #X connect 9 0 10 0; #X connect 9 0 15 0; #X connect 10 0 18 1; #X connect 10 0 19 1; #X connect 11 0 16 0; #X connect 11 0 17 0; #X connect 13 0 29 0; #X connect 13 1 30 0; #X connect 13 2 31 0; #X connect 13 3 32 0; #X connect 13 4 33 0; #X connect 13 5 34 0; #X connect 13 6 35 0; #X connect 14 0 11 1; #X connect 15 0 20 1; #X connect 16 0 23 1; #X connect 17 0 18 0; #X connect 17 0 19 0; #X connect 18 0 24 1; #X connect 18 0 25 1; #X connect 19 0 20 0; #X connect 20 0 26 1; #X connect 23 0 24 0; #X connect 23 0 25 0; #X connect 24 0 27 1; #X connect 25 0 26 0; #X connect 26 0 28 1; #X connect 27 0 28 0; #X connect 28 0 12 0; #X connect 29 0 27 0; #X connect 29 0 30 1; #X connect 30 0 23 0; #X connect 30 0 31 1; #X connect 31 0 11 0; #X connect 31 0 32 1; #X connect 32 0 6 0; #X connect 32 0 14 0; #X connect 32 0 33 1; #X connect 33 0 4 0; #X connect 33 0 5 0; #X connect 33 0 34 1; #X connect 34 0 2 0; #X connect 34 0 1 0; #X connect 34 0 35 1; #X connect 35 0 2 1; #X connect 35 0 1 1; mapping-0.2.1/median_n-help.pd0000644000076500007650000000301212030356733014646 0ustar hanshans#N canvas 1 53 556 321 10; #X declare -lib zexy; #X declare -lib zexy; #X declare -lib zexy; #X obj 16 105 cnv 15 60 60 empty empty empty 20 12 0 14 -258699 -66577 0; #X floatatom 22 30 5 0 0 0 - - -; #X floatatom 22 220 5 0 0 0 - - -; #X text 112 93 Calculates the median of the last n numbers in a stream of numbers.; #X text 349 254 )c( Alexandre Quessy 2006; #X obj 414 225 zexy; #X text 348 225 Requires; #N canvas 0 0 342 294 more 0; #X obj 90 103 vsl 15 128 0 127 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 1; #X obj 267 103 vsl 15 128 0 127 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 1; #X text 71 66 Play with the left one.; #X obj 127 139 median_n 25; #X connect 0 0 3 0; #X connect 3 0 1 0; #X restore 117 172 pd more examples; #X obj 498 225 expr; #X text 460 225 and; #X text 352 268 Release under the GPL v2; #X obj 22 115 median_n 6; #X text 108 55 [median_n ]; #X text 112 119 Useful for discarding irrealistic values received from electronic sensors.; #X text 119 268 See also; #X obj 187 266 median; #N canvas 498 307 494 344 META 0; #X text 12 135 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 95 OUTLET_0 float; #X text 12 115 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 5 KEYWORDS control abstraction filter; #X text 12 45 DESCRIPTION calculate the median of the last n numbers in a stream of numbers; #X text 12 75 INLET_0 float; #X restore 502 294 pd META; #X connect 1 0 11 0; #X connect 11 0 2 0; mapping-0.2.1/median_n.pd0000644000076500007650000000143612030356733013730 0ustar hanshans#N canvas 1 53 652 617 10; #X declare -lib zexy; #X obj 468 16 import zexy; #X obj 88 37 inlet; #X obj 254 115 f \$1; #X obj 117 321 list split 5; #X obj 159 490 list split 1; #X obj 159 550 outlet; #X obj 255 85 loadbang; #X obj 342 86 inlet; #X obj 127 461 list split; #X obj 126 371 sort; #X obj 117 237 list append; #X obj 290 316 expr rint(($f1+1)/2)-1; #X text 329 585 )c( Alexandre Quessy 2006; #X text 203 59 arg/ inlet 2 : Number of values in the sample set of data.; #X text 86 12 inlet 1 : float; #X text 214 547 median; #X connect 1 0 10 0; #X connect 2 0 3 1; #X connect 2 0 11 0; #X connect 3 0 9 0; #X connect 3 0 10 1; #X connect 3 2 10 1; #X connect 4 0 5 0; #X connect 6 0 2 0; #X connect 7 0 2 0; #X connect 8 1 4 0; #X connect 9 0 8 0; #X connect 10 0 3 0; #X connect 11 0 8 1; mapping-0.2.1/midi2mapping-help.pd0000644000076500007650000000236312030356733015464 0ustar hanshans#N canvas 1 53 533 333 10; #X obj 5 2 cnv 15 450 20 empty empty midi2mapping 2 11 1 18 -233017 -66577 0; #X msg 422 3 pddp; #X text 254 269 released under the GNU GPL; #X text 144 228 For more info:; #X text 40 254 (C) Copyright 2005 Hans-Christoph Steiner ; #X text 254 186 related objects:; #X floatatom 69 195 5 0 0 1 mapping - -; #X obj 72 95 hsl 128 15 -3.14159 3.14159 0 0 empty empty midi 6 7 1 10 -262131 -1 -1 0 0; #X floatatom 95 125 9 0 0 0 - - -; #X obj 69 160 midi2mapping; #X text 21 35 This object converts numbers from radians (-pi to pi) to the mapping range (0 to 1) with the 0's lining up in the same place. ; #X obj 252 202 midi2mapping; #X obj 140 202 degrees2mapping; #X obj 248 226 pddp/pddplink ../mapping-about.pd -text mapping-about ; #X obj 365 202 mapping2degrees; #N canvas 464 82 494 344 META 0; #X text 12 125 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 85 OUTLET_0 float; #X text 12 105 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 45 DESCRIPTION; #X text 12 5 KEYWORDS control abstraction conversion; #X text 12 65 INLET_0 float; #X restore 480 297 pd META; #X connect 7 0 8 0; #X connect 7 0 9 0; #X connect 9 0 6 0; mapping-0.2.1/midi2mapping.pd0000644000076500007650000000026612030356733014536 0ustar hanshans#N canvas 1 53 391 303 10; #X obj 121 44 inlet; #X obj 121 243 outlet; #X text 179 47 0 to 127; #X text 183 242 0 to 1; #X obj 121 138 / 127; #X connect 0 0 4 0; #X connect 4 0 1 0; mapping-0.2.1/min_n-help.pd0000644000076500007650000000233212030356733014200 0ustar hanshans#N canvas 1 53 534 486 10; #X text 41 58 data; #X obj 40 155 t f f; #X msg 57 120 0; #X floatatom 271 249 5 0 0 0 - - -; #X floatatom 318 197 5 2 150 0 - - -; #X text 366 195 size: n (n>=2); #X text 51 32 min_n return the minimum from the last n (n>1) values ; #X msg 85 120 1; #X msg 118 120 0.5; #X obj 40 271 timeroll; #X obj 246 271 timeroll; #X obj 43 75 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 10 -262130 -1 -1 0 1; #X floatatom 48 96 5 0 0 0 - - -; #X obj 5 2 cnv 15 450 20 empty empty min_n 2 11 1 18 -233017 -66577 0; #X obj 246 219 min_n 20; #N canvas 465 111 494 344 META 0; #X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 105 OUTLET_0 float; #X text 12 125 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 5 KEYWORDS control abstraction conversion; #X text 12 65 INLET_0 float; #X text 12 45 DESCRIPTION return the minimum from the last n (n>1) values; #X text 12 85 INLET_1 float; #X restore 478 457 pd META; #X connect 1 0 9 0; #X connect 1 1 14 0; #X connect 2 0 1 0; #X connect 4 0 14 1; #X connect 7 0 1 0; #X connect 8 0 1 0; #X connect 11 0 12 0; #X connect 11 0 1 0; #X connect 14 0 3 0; #X connect 14 0 10 0; mapping-0.2.1/min_n.pd0000644000076500007650000000052312030356733013252 0ustar hanshans#N canvas 1 53 365 247 10; #X obj 64 175 outlet; #X obj 64 147 minimum; #X obj 64 27 inlet; #X obj 144 26 inlet; #X obj 144 89 max 2; #X obj 160 46 loadbang; #X obj 160 66 \$1; #X obj 64 118 last_n; #X connect 1 0 0 0; #X connect 2 0 7 0; #X connect 3 0 4 0; #X connect 4 0 7 1; #X connect 5 0 6 0; #X connect 6 0 4 0; #X connect 7 0 1 0; mapping-0.2.1/multi_slider-help.pd0000644000076500007650000000210212030356733015567 0ustar hanshans#N canvas 1 53 703 472 10; #X obj 36 -76 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 1; #X obj 36 64 last_n 30; #X obj 36 112 multi_slider 30; #X obj 244 -77 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 1; #X obj 244 111 multi_slider 3; #X obj 244 87 pack f f f; #X obj 276 57 t b f; #X obj 276 -77 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 1; #X obj 317 57 t b f; #X obj 317 -77 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 1; #N canvas 465 169 494 344 META 0; #X text 12 125 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 85 INLET_1 float; #X text 12 105 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 5 KEYWORDS control abstraction GUI; #X text 12 45 DESCRIPTION; #X text 12 65 INLET_0 list; #X restore 642 363 pd META; #X connect 0 0 1 0; #X connect 1 0 2 0; #X connect 3 0 5 0; #X connect 5 0 4 0; #X connect 6 0 5 0; #X connect 6 1 5 1; #X connect 7 0 6 0; #X connect 8 0 5 0; #X connect 8 1 5 2; #X connect 9 0 8 0; mapping-0.2.1/multi_slider.pd0000644000076500007650000000127112030356733014647 0ustar hanshans#N canvas 1 53 719 206 10; #N canvas 0 0 450 300 (subpatch) 0; #X array \$0-_ 2 float 2; #X coords 0 0.77 2 -0.01 200 100 1; #X restore 10 55 graph; #X obj 272 14 inlet; #X obj 388 13 inlet; #X obj 388 124 pack f \$0; #X obj 272 142 s \$0-_; #X msg 388 151 \; \$2-_ resize \$1; #X text 315 14 data; #X text 430 15 size of the array (default = 100); #X obj 272 72 list prepend 0; #X obj 418 78 \$1; #X obj 418 99 max 2; #X obj 418 55 loadbang; #X obj 11 29 cnv 15 198 125 empty empty empty 20 12 0 14 -262144 -66577 0; #X connect 1 0 8 0; #X connect 2 0 3 0; #X connect 3 0 5 0; #X connect 8 0 4 0; #X connect 9 0 10 0; #X connect 10 0 3 0; #X connect 11 0 9 0; #X coords 0 -1 1 1 200 145 1 10 10; mapping-0.2.1/nl-help.pd0000644000076500007650000000412612030356733013514 0ustar hanshans#N canvas 1 53 613 430 10; #X obj 54 58 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 1; #X obj 54 221 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 1; #X floatatom 98 177 5 0 0 0 - - -; #X floatatom 345 68 5 0 0 0 - - -; #X obj 345 92 t b f; #X obj 233 67 loadbang; #N canvas 0 0 450 300 float 0; #X obj 71 23 inlet; #X obj 48 191 outlet; #X obj 150 22 inlet; #X obj 71 93 list prepend; #X obj 71 118 list; #X obj 48 141 list; #X obj 48 166 list trim; #X obj 150 45 t b b; #X msg 150 70 list; #X connect 0 0 3 0; #X connect 2 0 7 0; #X connect 3 0 4 0; #X connect 4 0 3 1; #X connect 4 0 5 1; #X connect 5 0 6 0; #X connect 6 0 1 0; #X connect 7 0 8 0; #X connect 7 1 5 0; #X connect 8 0 3 1; #X restore 233 177 pd float to list ___________; #N canvas 0 0 450 300 generate 0; #X obj 55 38 inlet; #X msg 55 65 0; #X obj 55 91 f; #X obj 55 164 + 1; #X obj 55 137 t f f; #X obj 85 192 outlet; #X obj 148 192 outlet; #X obj 148 166 t b; #X obj 85 164 / 100; #X obj 55 114 moses 101; #X connect 0 0 1 0; #X connect 1 0 2 0; #X connect 2 0 9 0; #X connect 3 0 2 0; #X connect 4 0 3 0; #X connect 4 1 8 0; #X connect 7 0 6 0; #X connect 8 0 5 0; #X connect 9 0 4 0; #X connect 9 1 7 0; #X restore 233 118 pd generate list ___________; #X obj 233 92 delay 1000; #X obj 54 197 nl 1; #X obj 233 149 nl -1 ____________; #X obj 233 201 multi_slider 100; #N canvas 465 169 494 344 META 0; #X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 85 INLET_1 float; #X text 12 105 OUTLET_0 float; #X text 12 125 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 65 INLET_0 float; #X text 12 5 KEYWORDS control abstraction; #X text 12 45 DESCRIPTION XY relation of the non-linearity object; #X restore 551 402 pd META; #X text 273 364 XY relation of the non-linearity object; #X connect 0 0 9 0; #X connect 2 0 9 1; #X connect 3 0 4 0; #X connect 4 0 7 0; #X connect 4 1 10 1; #X connect 5 0 8 0; #X connect 6 0 11 0; #X connect 7 0 10 0; #X connect 7 1 6 1; #X connect 8 0 7 0; #X connect 9 0 1 0; #X connect 10 0 6 0; mapping-0.2.1/nl.pd0000644000076500007650000000152612030356733012567 0ustar hanshans#N canvas 1 53 450 476 10; #X obj 38 28 inlet; #X obj 38 143 moses 0; #X obj 38 168 abs; #X obj 38 216 * -1; #X obj 112 28 inlet; #X obj 38 191 pow 1; #X obj 82 191 pow 1; #X obj 38 287 outlet; #X obj 38 118 * 2; #X obj 38 94 - 0.5; #X obj 38 264 + 0.5; #X obj 38 240 / 2; #X obj 159 28 loadbang; #X obj 159 75 \$1; #X obj 159 146 exp; #X msg 189 76 2; #X obj 189 101 log; #X obj 159 124 *; #X obj 159 52 t b b; #X connect 0 0 9 0; #X connect 1 0 2 0; #X connect 1 1 6 0; #X connect 2 0 5 0; #X connect 3 0 11 0; #X connect 4 0 13 0; #X connect 5 0 3 0; #X connect 6 0 11 0; #X connect 8 0 1 0; #X connect 9 0 8 0; #X connect 10 0 7 0; #X connect 11 0 10 0; #X connect 12 0 18 0; #X connect 13 0 17 0; #X connect 14 0 6 1; #X connect 14 0 5 1; #X connect 15 0 16 0; #X connect 16 0 17 1; #X connect 17 0 14 0; #X connect 18 0 13 0; #X connect 18 1 15 0; mapping-0.2.1/notescale-help.pd0000644000076500007650000000374312030356733015064 0ustar hanshans#N canvas 1 53 464 489 10; #X floatatom 26 85 5 0 0 0 - - -; #X floatatom 26 160 0 0 0 0 - - -; #X obj 2 2 cnv 15 450 20 empty empty notescale 2 11 1 18 -233017 -66577 0; #X msg 418 3 pddp; #X floatatom 137 266 5 0 0 0 - - -; #X obj 140 330 hsl 128 15 0 127 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X text 17 393 (C) Copyright 2004 Hans-Christoph Steiner ; #X text 234 407 released under the GNU GPL; #X floatatom 150 160 0 0 0 0 - - -; #X floatatom 297 160 0 0 0 0 - - -; #X obj 213 83 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -225271 -1 -1 0 0; #X text 17 426 $Revision: 1.1 $$Date: 2006-01-29 08:12:33 $; #X text 18 439 $Author: eighthave $; #X obj 140 244 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262131 -1 -1 0 0; #X obj 26 130 notescale 30 60; #X floatatom 137 347 5 0 0 0 - - -; #X text 13 193 If you use [notescale] with no arguments \, then the output range defaults to 0-127.; #X floatatom 202 109 5 0 0 0 - - -; #X obj 26 105 / 100; #X text 18 35 [notescale] scales a stream of numbers to a MIDI note number. It takes an input range of 0 to 1 \, and outputs MIDI note numbers based on an output range set as arguments.; #X obj 137 297 notescale; #X obj 150 130 notescale 15 120; #X obj 297 130 notescale 24 48; #N canvas 466 198 494 344 META 0; #X text 12 165 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 85 INLET_1 float; #X text 12 125 OUTLET_0 float; #X text 12 145 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 65 INLET_0 float; #X text 12 5 KEYWORDS control abstraction MIDI; #X text 12 45 DESCRIPTION scale a stream of numbers to a MIDI note number; #X text 12 105 INLET_2 float; #X restore 408 455 pd META; #X connect 0 0 18 0; #X connect 4 0 20 0; #X connect 5 0 15 0; #X connect 10 0 17 0; #X connect 10 0 21 0; #X connect 10 0 22 0; #X connect 13 0 4 0; #X connect 14 0 1 0; #X connect 18 0 14 0; #X connect 20 0 5 0; #X connect 21 0 8 0; #X connect 22 0 9 0; mapping-0.2.1/notescale.pd0000644000076500007650000000141112030356733014124 0ustar hanshans#N canvas 1 53 563 324 10; #X obj 51 42 inlet; #X obj 51 233 outlet; #X obj 51 171 expr $f1 * ($f3 - $f2) + $f2; #X obj 189 61 loadbang; #X text 10 10 input range: 0 to 1; #X text 110 233 output range: MIDI note #s; #X obj 133 42 inlet; #X obj 304 42 inlet; #X text 172 42 0-127; #X text 343 41 0-127; #X obj 189 84 trigger bang bang; #X obj 133 110 purepd/float_argument \$1 0; #X obj 304 110 purepd/float_argument \$2 127; #X text 25 290 (C) Copyright 2007 Free Software Foundation; #X text 289 290 released under the GNU GPLv3 or later; #X obj 51 201 clip 0 127; #X connect 0 0 2 0; #X connect 2 0 15 0; #X connect 3 0 10 0; #X connect 6 0 11 0; #X connect 7 0 12 0; #X connect 10 0 11 0; #X connect 10 1 12 0; #X connect 11 0 2 1; #X connect 12 0 2 2; #X connect 15 0 1 0; mapping-0.2.1/one2four-help.pd0000644000076500007650000000630112030356733014637 0ustar hanshans#N canvas 1 53 633 528 10; #X obj 5 2 cnv 15 450 20 empty empty one2four 2 11 1 18 -233017 -66577 0; #X msg 422 3 pddp; #X floatatom 153 110 5 0 0 0 - - -; #X floatatom 23 186 5 0 0 0 - - -; #X obj 156 91 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X obj 26 203 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X floatatom 173 186 5 0 0 0 - - -; #X obj 176 203 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X floatatom 323 186 5 0 0 0 - - -; #X obj 326 203 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X text 280 473 released under the GNU GPL; #X floatatom 121 299 5 0 0 0 - - -; #X floatatom 23 416 5 0 0 0 - - -; #X obj 124 280 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X obj 26 433 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X floatatom 173 416 5 0 0 0 - - -; #X obj 176 433 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X floatatom 323 416 5 0 0 0 - - -; #X obj 326 433 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X text 16 473 (C) Copyright 2007 Free Software Foundation; #X text 21 243 You can set the breakpoint using the argument or the right inlet:; #X floatatom 226 346 5 0 0 0 - - -; #X obj 229 327 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X floatatom 173 326 5 0 0 0 - - -; #X obj 176 307 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X obj 153 145 one2four; #X text 18 28 Simple one-to-four mapping object. The first inlet is passed thru \, the range of the output data on the other inlets starts at the points in the input range specified as arguments or the cold inlets.; #X floatatom 473 186 5 0 0 0 - - -; #X obj 476 203 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X obj 132 381 one2four 0.1 0.2 0.3; #X floatatom 266 366 5 0 0 0 - - -; #X obj 269 347 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X floatatom 473 416 5 0 0 0 - - -; #X obj 476 433 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #N canvas 464 140 494 344 META 0; #X text 12 245 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 85 INLET_1 float; #X text 12 145 OUTLET_0 float; #X text 12 225 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 65 INLET_0 float; #X text 12 5 KEYWORDS control abstraction; #X text 12 45 DESCRIPTION simple one-to-four mapping object; #X text 12 105 INLET_2 float; #X text 12 125 INLET_3 float; #X text 12 165 OUTLET_1 float; #X text 12 185 OUTLET_2 float; #X text 12 205 OUTLET_3 float; #X restore 579 499 pd META; #X connect 2 0 25 0; #X connect 3 0 5 0; #X connect 4 0 2 0; #X connect 6 0 7 0; #X connect 8 0 9 0; #X connect 11 0 29 0; #X connect 12 0 14 0; #X connect 13 0 11 0; #X connect 15 0 16 0; #X connect 17 0 18 0; #X connect 21 0 29 2; #X connect 22 0 21 0; #X connect 23 0 29 1; #X connect 24 0 23 0; #X connect 25 0 3 0; #X connect 25 1 6 0; #X connect 25 2 8 0; #X connect 25 3 27 0; #X connect 27 0 28 0; #X connect 29 0 12 0; #X connect 29 1 15 0; #X connect 29 2 17 0; #X connect 29 3 32 0; #X connect 30 0 29 3; #X connect 31 0 30 0; #X connect 32 0 33 0; mapping-0.2.1/one2four.pd0000644000076500007650000000166712030356733013723 0ustar hanshans#N canvas 1 53 701 325 10; #X obj 26 19 inlet; #X obj 26 278 outlet; #X obj 137 279 outlet; #X obj 255 280 outlet; #X obj 26 154 one2two; #X obj 137 191 one2two; #X obj 86 28 inlet; #X obj 101 51 loadbang; #X obj 86 98 clip 0 1; #X obj 293 27 inlet; #X obj 308 50 loadbang; #X obj 293 97 clip 0 1; #X obj 371 280 outlet; #X obj 255 221 one2two; #X obj 501 27 inlet; #X obj 516 50 loadbang; #X obj 501 97 clip 0 1; #X obj 501 76 purepd/float_argument \$3 0.75; #X obj 293 76 purepd/float_argument \$2 0.5; #X obj 86 77 purepd/float_argument \$1 0.25; #X connect 0 0 4 0; #X connect 4 0 1 0; #X connect 4 1 5 0; #X connect 5 0 2 0; #X connect 5 1 13 0; #X connect 6 0 19 0; #X connect 7 0 19 0; #X connect 8 0 4 1; #X connect 9 0 18 0; #X connect 10 0 18 0; #X connect 11 0 5 1; #X connect 13 0 3 0; #X connect 13 1 12 0; #X connect 14 0 17 0; #X connect 15 0 17 0; #X connect 16 0 13 1; #X connect 17 0 16 0; #X connect 18 0 11 0; #X connect 19 0 8 0; mapping-0.2.1/one2three-help.pd0000644000076500007650000000521612030356733014777 0ustar hanshans#N canvas 1 53 481 529 10; #X obj 5 2 cnv 15 450 20 empty empty one2three 2 11 1 18 -233017 -66577 0; #X msg 422 3 pddp; #X floatatom 153 110 5 0 0 0 - - -; #X floatatom 23 186 5 0 0 0 - - -; #X obj 156 91 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X obj 26 203 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X floatatom 173 186 5 0 0 0 - - -; #X obj 176 203 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X floatatom 323 186 5 0 0 0 - - -; #X obj 326 203 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X text 18 28 Simple one-to-three mapping object. The first inlet is passed thru \, the range of the output data on the other inlet starts at the points in the input range specified as arugments.; #X text 280 473 released under the GNU GPL; #X floatatom 121 299 5 0 0 0 - - -; #X floatatom 23 416 5 0 0 0 - - -; #X obj 124 280 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X obj 26 433 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X floatatom 173 416 5 0 0 0 - - -; #X obj 176 433 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X floatatom 323 416 5 0 0 0 - - -; #X obj 326 433 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X text 16 473 (C) Copyright 2007 Free Software Foundation; #X text 21 243 You can set the breakpoint using the argument or the right inlet:; #X floatatom 226 356 5 0 0 0 - - -; #X obj 229 337 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X floatatom 173 336 5 0 0 0 - - -; #X obj 176 317 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X obj 153 145 one2three; #X obj 121 375 one2three 0.2 0.4; #N canvas 466 198 494 344 META 0; #X text 12 205 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 85 INLET_1 float; #X text 12 125 OUTLET_0 float; #X text 12 185 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 65 INLET_0 float; #X text 12 5 KEYWORDS control abstraction; #X text 12 105 INLET_2 float; #X text 12 145 OUTLET_1 float; #X text 12 165 OUTLET_2 float; #X text 12 45 DESCRIPTION simple one-to-three mapping object; #X restore 424 501 pd META; #X connect 2 0 26 0; #X connect 3 0 5 0; #X connect 4 0 2 0; #X connect 6 0 7 0; #X connect 8 0 9 0; #X connect 12 0 27 0; #X connect 13 0 15 0; #X connect 14 0 12 0; #X connect 16 0 17 0; #X connect 18 0 19 0; #X connect 22 0 27 2; #X connect 23 0 22 0; #X connect 24 0 27 1; #X connect 25 0 24 0; #X connect 26 0 3 0; #X connect 26 1 6 0; #X connect 26 2 8 0; #X connect 27 0 13 0; #X connect 27 1 16 0; #X connect 27 2 18 0; mapping-0.2.1/one2three.pd0000644000076500007650000000123212030356733014043 0ustar hanshans#N canvas 1 53 526 323 10; #X obj 26 19 inlet; #X obj 26 278 outlet; #X obj 137 279 outlet; #X obj 253 280 outlet; #X obj 26 154 one2two; #X obj 137 221 one2two; #X obj 85 28 inlet; #X obj 101 51 loadbang; #X obj 86 98 clip 0 1; #X obj 292 27 inlet; #X obj 308 50 loadbang; #X obj 293 97 clip 0 1; #X obj 293 76 purepd/float_argument \$2 0.666667; #X obj 86 77 purepd/float_argument \$1 0.333333; #X connect 0 0 4 0; #X connect 4 0 1 0; #X connect 4 1 5 0; #X connect 5 0 2 0; #X connect 5 1 3 0; #X connect 6 0 13 0; #X connect 7 0 13 0; #X connect 8 0 4 1; #X connect 9 0 12 0; #X connect 10 0 12 0; #X connect 11 0 5 1; #X connect 12 0 11 0; #X connect 13 0 8 0; mapping-0.2.1/one2two-help.pd0000644000076500007650000000414412030356733014500 0ustar hanshans#N canvas 1 53 496 515 10; #X obj 5 2 cnv 15 450 20 empty empty one2two 2 11 1 18 -233017 -66577 0; #X msg 422 3 pddp; #X text 273 457 released under the GNU GPL; #X floatatom 153 110 5 0 0 0 - - -; #X floatatom 83 186 5 0 0 0 - - -; #X obj 156 91 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 0; #X obj 86 203 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X floatatom 263 186 5 0 0 0 - - -; #X obj 266 203 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X text 18 28 Simple one-to-two mapping object. The first inlet is passed thru \, the range of the output data on the second inlet starts at the point in the input range specified as an arugment.; #X text 6 457 (C) Copyright 2007 Free Software Foundation; #X floatatom 143 303 5 0 0 0 - - -; #X floatatom 73 399 5 0 0 0 - - -; #X obj 146 284 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X obj 76 416 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X floatatom 253 399 5 0 0 0 - - -; #X obj 256 416 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X text 21 243 You can set the breakpoint using the argument or the right inlet:; #X floatatom 211 333 5 0 0 0 - - -; #X obj 214 314 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X obj 143 352 one2two 0.2; #X obj 153 139 one2two; #N canvas 467 227 494 344 META 0; #X text 12 165 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 85 INLET_1 float; #X text 12 105 OUTLET_0 float; #X text 12 145 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 65 INLET_0 float; #X text 12 5 KEYWORDS control abstraction; #X text 12 125 OUTLET_1 float; #X text 12 45 DESCRIPTION simple one-to-two mapping object; #X restore 433 484 pd META; #X connect 3 0 21 0; #X connect 4 0 6 0; #X connect 5 0 3 0; #X connect 7 0 8 0; #X connect 11 0 20 0; #X connect 12 0 14 0; #X connect 13 0 11 0; #X connect 15 0 16 0; #X connect 18 0 20 1; #X connect 19 0 18 0; #X connect 20 0 12 0; #X connect 20 1 15 0; #X connect 21 0 4 0; #X connect 21 1 7 0; mapping-0.2.1/one2two.pd0000644000076500007650000000203212030356733013544 0ustar hanshans#N canvas 1 53 578 426 10; #X obj 31 9 inlet; #X obj 31 343 outlet; #X obj 327 342 outlet; #X obj 327 284 /; #X obj 353 9 inlet; #X obj 369 32 loadbang; #X obj 354 58 purepd/float_argument \$1 0.5; #X obj 354 109 clip 0 1; #X obj 327 242 -; #X obj 388 234 mapping/reverse; #X obj 300 190 moses; #X obj 242 242 purepd/once; #X msg 242 281 0; #X obj 113 123 moses 0; #X obj 114 190 moses; #X obj 141 167 * -1; #X obj 354 82 abs; #X obj 114 234 +; #X floatatom 158 192 5 0 0 0 - - -; #X connect 0 0 1 0; #X connect 0 0 13 0; #X connect 3 0 2 0; #X connect 4 0 6 0; #X connect 5 0 6 0; #X connect 6 0 16 0; #X connect 7 0 8 1; #X connect 7 0 9 0; #X connect 7 0 10 1; #X connect 7 0 17 1; #X connect 7 0 15 0; #X connect 8 0 3 0; #X connect 9 0 3 1; #X connect 10 0 11 0; #X connect 10 1 8 0; #X connect 10 1 11 1; #X connect 11 0 12 0; #X connect 12 0 2 0; #X connect 13 0 14 0; #X connect 13 1 10 0; #X connect 14 0 17 0; #X connect 14 0 11 1; #X connect 14 1 11 0; #X connect 15 0 14 1; #X connect 15 0 18 0; #X connect 16 0 7 0; #X connect 17 0 3 0; mapping-0.2.1/oscillo-help.pd0000644000076500007650000000132312030356733014543 0ustar hanshans#N canvas 1 53 293 276 10; #X obj 5 6 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 1; #X floatatom 43 -78 5 0 0 0 - - -; #X text 89 -80 from 0 to 1; #X obj 43 -60 resample 30; #X obj 43 -10 oscillo; #N canvas 464 140 494 344 META 0; #X text 12 135 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 95 INLET_1 float; #X text 12 115 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 45 DESCRIPTION return the amplitude covered by the last n (n>1) values; #X text 12 75 INLET_0 float; #X text 12 5 KEYWORDS control abstraction GUI; #X restore 231 161 pd META; #X connect 0 0 3 0; #X connect 1 0 3 0; #X connect 3 0 4 0; mapping-0.2.1/oscillo.pd0000644000076500007650000000126612030356733013623 0ustar hanshans#N canvas 1 53 719 206 10; #N canvas 0 0 450 300 (subpatch) 0; #X array \$0-_ 100 float 2; #X coords 0 1 100 0 200 127 1; #X restore 10 28 graph; #X obj 272 14 inlet; #X obj 388 13 inlet; #X obj 388 100 pack f \$0; #X obj 272 142 s \$0-_; #X msg 388 127 \; \$2-_ resize \$1; #X text 315 14 data; #X obj 272 121 pack f f; #X text 430 15 size of the array (default = 100); #X obj 271 99 % 100; #X obj 272 57 f; #X obj 271 77 + 1; #X obj 272 36 t b f; #X connect 1 0 12 0; #X connect 2 0 3 0; #X connect 3 0 5 0; #X connect 7 0 4 0; #X connect 9 0 10 1; #X connect 10 0 11 0; #X connect 10 0 7 0; #X connect 11 0 9 0; #X connect 12 0 10 0; #X connect 12 1 7 1; #X coords 0 -1 1 1 200 145 2 10 10; mapping-0.2.1/pmattractor_2d-help.pd0000644000076500007650000000363512030356733016034 0ustar hanshans#N canvas 1 53 583 642 10; #X obj 161 38 vsl 15 128 -1 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 0; #X obj 64 370 unpack f f; #X obj 318 21 gcanvas 100 100; #X floatatom 213 325 5 0 0 0 - - -; #X floatatom 138 324 5 0 0 0 - - -; #X obj 65 488 timeroll; #X obj 64 441 min 1; #X obj 64 461 max 0; #X obj 318 129 - 50; #X obj 411 127 - 50; #X obj 64 394 + 1; #X obj 64 418 / 2; #X obj 318 151 / 100; #X obj 411 149 / 100; #X obj 212 38 vsl 15 128 -1 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 0; #X msg 318 220 grab \$1 \$2; #X obj 318 174 pack f f; #X obj 318 197 t l b; #X msg 348 268 0; #X msg 348 293 grab_on \$1; #X msg 161 190 force \$1 0; #X msg 212 212 force 0 \$1; #X obj 64 253 metro 50; #X obj 64 229 loadbang; #X obj 64 346 pmattractor_2d 0.3 0.3; #X obj 348 244 delay 200; #X msg 382 269 0.3; #N canvas 464 140 494 344 META 0; #X text 12 185 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 165 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 5 KEYWORDS control abstraction; #X text 12 45 DESCRIPTION; #X text 12 65 INLET_0 bang force grab grab_on; #X text 12 85 INLET_1 float; #X text 12 105 INLET_2 float; #X text 12 145 OUTLET_1; #X text 12 125 OUTLET_0 list; #X restore 523 613 pd META; #X connect 0 0 20 0; #X connect 1 0 10 0; #X connect 1 1 10 0; #X connect 2 0 8 0; #X connect 2 1 9 0; #X connect 3 0 24 2; #X connect 4 0 24 1; #X connect 6 0 7 0; #X connect 7 0 5 0; #X connect 8 0 12 0; #X connect 9 0 13 0; #X connect 10 0 11 0; #X connect 11 0 6 0; #X connect 12 0 16 0; #X connect 13 0 16 1; #X connect 14 0 21 0; #X connect 15 0 24 0; #X connect 16 0 17 0; #X connect 17 0 15 0; #X connect 17 1 26 0; #X connect 17 1 25 0; #X connect 18 0 19 0; #X connect 19 0 24 0; #X connect 20 0 24 0; #X connect 21 0 24 0; #X connect 22 0 24 0; #X connect 23 0 22 0; #X connect 24 0 1 0; #X connect 25 0 18 0; #X connect 26 0 19 0; mapping-0.2.1/pmattractor_2d.pd0000644000076500007650000000266512030356733015110 0ustar hanshans#N canvas 1 53 871 573 10; #X obj 46 21 inlet; #X obj 174 278 loadbang; #X obj 46 495 outlet; #X obj 174 304 pack \$1 \$2; #X obj 526 16 inlet; #X msg 526 115 setK lnk \$1; #X obj 619 17 inlet; #X msg 619 115 setD lnk \$1; #X msg 194 110 bang \, get massesPos out \, get massesForces out; #X obj 46 467 route out; #X obj 155 496 outlet; #X obj 155 467 route out; #X obj 46 443 route massesPosId massesForcesId; #X obj 46 421 msd2D; #X msg 145 89 forceX out \$1 \, forceY out \$2; #X obj 254 273 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X msg 174 330 reset \, mass border 0 1 -1 0 \, mass border 0 1 1 0 \, mass border 0 1 0 -1 \, mass border 0 1 0 1 \, mass out 1 1 0 0 \, link lnk border out \$1 \$2 \, mass grab 0 1 0 0 \, link lgrab out grab 0 0; #X obj 46 89 unpack f f; #X msg 46 113 posX grab \$1; #X msg 95 166 setK lgrab \$1; #X msg 111 135 posY grab \$1; #X obj 46 56 route grab grab_on force bang; #X connect 0 0 21 0; #X connect 1 0 3 0; #X connect 3 0 16 0; #X connect 4 0 5 0; #X connect 5 0 13 0; #X connect 6 0 7 0; #X connect 7 0 13 0; #X connect 8 0 13 0; #X connect 9 0 2 0; #X connect 11 0 10 0; #X connect 12 0 9 0; #X connect 12 1 11 0; #X connect 13 0 12 0; #X connect 14 0 13 0; #X connect 15 0 3 0; #X connect 16 0 13 0; #X connect 17 0 18 0; #X connect 17 1 20 0; #X connect 18 0 13 0; #X connect 19 0 13 0; #X connect 20 0 13 0; #X connect 21 0 17 0; #X connect 21 1 19 0; #X connect 21 2 14 0; #X connect 21 3 8 0; mapping-0.2.1/pmattractor_3d-help.pd0000644000076500007650000000412212030356733016025 0ustar hanshans#N canvas 1 53 642 641 10; #X floatatom 194 317 5 0 0 0 - - -; #X floatatom 119 316 5 0 0 0 - - -; #X obj 45 440 min 1; #X obj 45 460 max 0; #X obj 45 367 unpack f f f; #X obj 162 25 vsl 15 128 -1 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 0; #X obj 369 8 gcanvas 100 100; #X obj 369 116 - 50; #X obj 462 114 - 50; #X obj 369 138 / 100; #X obj 462 136 / 100; #X obj 213 25 vsl 15 128 -1 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 0; #X obj 369 161 pack f f; #X obj 369 184 t l b; #X msg 399 257 0; #X msg 399 282 grab_on \$1; #X obj 45 230 metro 50; #X obj 45 206 loadbang; #X obj 399 231 delay 200; #X msg 433 258 0.3; #X msg 369 207 grab \$1 \$2 0; #X obj 258 27 vsl 15 128 -1 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 0; #X msg 162 177 force \$1 0 0; #X msg 213 199 force 0 \$1 0; #X msg 259 230 force 0 0 \$1; #X obj 45 391 + 1; #X obj 45 415 / 2; #X obj 45 487 timeroll; #X obj 45 340 pmattractor_3d 0.3 0.3; #N canvas 465 169 494 344 META 0; #X text 12 185 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 165 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 5 KEYWORDS control abstraction; #X text 12 45 DESCRIPTION; #X text 12 65 INLET_0 bang force grab grab_on; #X text 12 85 INLET_1 float; #X text 12 105 INLET_2 float; #X text 12 145 OUTLET_1; #X text 12 125 OUTLET_0 list; #X restore 578 619 pd META; #X connect 0 0 28 2; #X connect 1 0 28 1; #X connect 2 0 3 0; #X connect 3 0 27 0; #X connect 4 0 25 0; #X connect 4 1 25 0; #X connect 4 2 25 0; #X connect 5 0 22 0; #X connect 6 0 7 0; #X connect 6 1 8 0; #X connect 7 0 9 0; #X connect 8 0 10 0; #X connect 9 0 12 0; #X connect 10 0 12 1; #X connect 11 0 23 0; #X connect 12 0 13 0; #X connect 13 0 20 0; #X connect 13 1 19 0; #X connect 13 1 18 0; #X connect 14 0 15 0; #X connect 15 0 28 0; #X connect 16 0 28 0; #X connect 17 0 16 0; #X connect 18 0 14 0; #X connect 19 0 15 0; #X connect 20 0 28 0; #X connect 21 0 24 0; #X connect 22 0 28 0; #X connect 23 0 28 0; #X connect 24 0 28 0; #X connect 25 0 26 0; #X connect 26 0 2 0; #X connect 28 0 4 0; mapping-0.2.1/pmattractor_3d.pd0000644000076500007650000000311612030356733015101 0ustar hanshans#N canvas 1 53 697 573 10; #X obj 31 34 inlet; #X obj 76 286 loadbang; #X obj 31 511 outlet; #X obj 76 312 pack \$1 \$2; #X obj 341 24 inlet; #X msg 341 71 setK lnk \$1; #X obj 434 25 inlet; #X msg 434 71 setD lnk \$1; #X msg 276 246 bang \, get massesPos out \, get massesForces out; #X obj 31 483 route out; #X obj 140 512 outlet; #X obj 140 484 route out; #X obj 31 459 route massesPosId massesForcesId; #X obj 156 281 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X msg 209 217 forceX out \$1 \, forceY out \$2 \, forceZ out \$3; #X obj 31 437 msd3D; #X msg 31 112 posX grab \$1; #X msg 145 192 setK lgrab \$1; #X msg 70 136 posY grab \$1; #X obj 31 55 route grab grab_on force bang; #X obj 31 88 unpack f f f; #X msg 111 159 posZ grab \$1; #X msg 76 338 reset \, mass border 0 1 -1 0 0 \, mass border 0 1 1 0 0 \, mass border 0 1 0 -1 0 \, mass border 0 1 0 1 0 \, mass border 0 1 0 0 1 \, mass border 0 1 0 0 -1 \, mass out 1 1 0 0 0 \, link lnk border out \$1 \$2 \, mass grab 0 1 0 0 0 \, link lgrab out grab 0 0; #X connect 0 0 19 0; #X connect 1 0 3 0; #X connect 3 0 22 0; #X connect 4 0 5 0; #X connect 5 0 15 0; #X connect 6 0 7 0; #X connect 7 0 15 0; #X connect 8 0 15 0; #X connect 9 0 2 0; #X connect 11 0 10 0; #X connect 12 0 9 0; #X connect 12 1 11 0; #X connect 13 0 3 0; #X connect 14 0 15 0; #X connect 15 0 12 0; #X connect 16 0 15 0; #X connect 17 0 15 0; #X connect 18 0 15 0; #X connect 19 0 20 0; #X connect 19 1 17 0; #X connect 19 2 14 0; #X connect 19 3 8 0; #X connect 20 0 16 0; #X connect 20 1 18 0; #X connect 20 2 21 0; #X connect 21 0 15 0; #X connect 22 0 15 0; mapping-0.2.1/pmcloud_1d-help.pd0000644000076500007650000000304012030356733015124 0ustar hanshans#N canvas 1 53 665 613 10; #X text 106 339 outlet 1 : position of masses; #X obj 38 451 gemhead; #X obj 38 369 t b l; #X obj 38 546 translateXYZ; #X obj 96 499 - 0.5; #X obj 249 490 gemwin; #X msg 249 438 create \, 1; #X msg 266 461 destroy; #X obj 54 395 loadbang; #X msg 54 418 0; #X obj 38 571 square 0.1; #X obj 89 203 gemhead; #X obj 89 227 b; #X obj 95 519 * 2; #X floatatom 87 286 5 0 0 0 - - -; #X floatatom 187 285 5 0 0 0 - - -; #X floatatom 137 286 5 0 0 0 - - -; #X msg 38 13 reset; #X msg 61 77 force 0.2; #X obj 89 252 f; #X obj 147 105 vsl 15 128 -1 1 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 38 307 pmcloud_1d 16 0.02 0.01; #N canvas 466 198 494 344 META 0; #X text 12 185 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 165 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 5 KEYWORDS control abstraction; #X text 12 45 DESCRIPTION; #X text 12 85 INLET_1 float; #X text 12 105 INLET_2 float; #X text 12 145 OUTLET_0 list; #X text 12 65 INLET_0 float force reset; #X text 12 125 INLET_3 float; #X restore 603 583 pd META; #X connect 1 0 3 0; #X connect 2 0 1 0; #X connect 2 1 4 0; #X connect 3 0 10 0; #X connect 4 0 13 0; #X connect 6 0 5 0; #X connect 7 0 5 0; #X connect 8 0 9 0; #X connect 9 0 1 0; #X connect 11 0 12 0; #X connect 12 0 19 0; #X connect 13 0 3 1; #X connect 14 0 21 1; #X connect 15 0 21 3; #X connect 16 0 21 2; #X connect 17 0 21 0; #X connect 18 0 21 0; #X connect 19 0 21 0; #X connect 20 0 19 1; #X connect 21 0 2 0; mapping-0.2.1/pmcloud_1d.pd0000644000076500007650000000474312030356733014211 0ustar hanshans#N canvas 1 53 743 397 10; #X obj 45 9 inlet; #X obj 42 350 outlet; #X obj 468 7 inlet; #X msg 468 54 setK lnk \$1; #X obj 561 8 inlet; #X obj 379 3 inlet; #N canvas 670 136 639 733 create_clouds 0; #X obj 70 30 loadbang; #X obj 175 649 t a; #X obj 173 677 outlet; #X obj 32 50 t b b b b b b; #N canvas 0 0 259 330 loop 0; #X obj 74 149 f; #X obj 74 213 + 1; #X obj 74 171 moses \$1; #X obj 74 104 t b f; #X obj 104 281 outlet; #X obj 74 82 inlet; #X msg 74 126 0; #X obj 74 191 t f f; #X obj 96 240 t f; #X connect 0 0 2 0; #X connect 1 0 8 0; #X connect 2 0 7 0; #X connect 3 0 6 0; #X connect 3 1 2 1; #X connect 5 0 3 0; #X connect 6 0 0 0; #X connect 7 0 1 0; #X connect 7 1 4 0; #X connect 8 0 0 0; #X restore 85 126 pd loop; #X obj 85 103 \$1; #X obj 145 229 random 1000; #X obj 145 253 / 1000; #X msg 126 419 link lnk cloud in \$1 0; #X msg 89 471 link lnk cloud cloud \$1 0; #X obj 126 391 \$2; #X obj 85 446 \$2; #X obj 48 421 \$3; #X obj 145 177 * 654543; #X msg 85 156 bang; #X msg 145 201 seed \$1; #X obj 145 145 \$1; #X obj 39 12 inlet; #X msg 145 312 mass cloud 1 1 \$1; #X msg 175 94 reset \, mass in 0 1 0 \, mass fixe 0 0 0; #X msg 48 504 link damp fixe cloud 0 \$1; #X connect 0 0 3 0; #X connect 1 0 2 0; #X connect 3 1 11 0; #X connect 3 1 12 0; #X connect 3 2 10 0; #X connect 3 3 5 0; #X connect 3 4 19 0; #X connect 3 5 16 0; #X connect 4 0 14 0; #X connect 5 0 4 0; #X connect 6 0 7 0; #X connect 7 0 18 0; #X connect 8 0 1 0; #X connect 9 0 1 0; #X connect 10 0 8 0; #X connect 11 0 9 0; #X connect 12 0 20 0; #X connect 13 0 15 0; #X connect 14 0 6 0; #X connect 15 0 6 0; #X connect 16 0 13 0; #X connect 17 0 3 0; #X connect 18 0 1 0; #X connect 19 0 1 0; #X connect 20 0 1 0; #X restore 46 169 pd create_clouds; #X obj 42 300 route massesPosId; #X obj 42 324 route cloud; #X obj 161 90 t b l; #X msg 192 138 posX in \$1; #X msg 561 54 setD damp \$1; #X msg 380 54 setL lnk \$1; #X msg 161 114 bang \, get massesPos cloud; #X obj 68 143 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X msg 99 61 forceX cloud \$1; #X obj 42 278 msd; #X obj 46 30 route reset force; #X connect 0 0 17 0; #X connect 2 0 3 0; #X connect 3 0 16 0; #X connect 4 0 11 0; #X connect 5 0 12 0; #X connect 6 0 16 0; #X connect 7 0 8 0; #X connect 8 0 1 0; #X connect 9 0 13 0; #X connect 9 1 10 0; #X connect 10 0 16 0; #X connect 11 0 16 0; #X connect 12 0 16 0; #X connect 13 0 16 0; #X connect 14 0 6 0; #X connect 15 0 16 0; #X connect 16 0 7 0; #X connect 17 0 6 0; #X connect 17 1 15 0; #X connect 17 2 9 0; mapping-0.2.1/pmcloud_2d-help.pd0000644000076500007650000000370412030356733015134 0ustar hanshans#N canvas 1 53 484 609 10; #X text 106 339 outlet 1 : position of masses; #X obj 38 451 gemhead; #X obj 38 369 t b l; #X obj 38 546 translateXYZ; #X obj 96 499 - 0.5; #X obj 161 499 - 0.5; #X obj 249 490 gemwin; #X msg 249 438 create \, 1; #X msg 266 461 destroy; #X obj 54 395 loadbang; #X msg 54 418 0; #X obj 38 571 square 0.1; #X obj 89 203 gemhead; #X obj 89 227 b; #X obj 96 477 unpack f f; #X obj 174 57 gcanvas 100 100; #X obj 174 165 - 50; #X obj 267 163 - 50; #X obj 174 187 / 100; #X obj 174 212 pack f f; #X obj 95 519 * 2; #X obj 160 519 * 2; #X obj 267 185 / -100; #X floatatom 87 286 5 0 0 0 - - -; #X floatatom 187 285 5 0 0 0 - - -; #X floatatom 137 286 5 0 0 0 - - -; #X msg 25 13 reset; #X obj 38 307 pmcloud_2d 16 0.1 0.05; #X msg 42 36 forceX 0.1; #X msg 61 77 force 0.2 0.1; #X msg 50 56 forceY -0.1; #N canvas 467 227 494 344 META 0; #X text 12 185 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 165 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 5 KEYWORDS control abstraction; #X text 12 45 DESCRIPTION; #X text 12 85 INLET_1 float; #X text 12 105 INLET_2 float; #X text 12 145 OUTLET_0 list; #X text 12 125 INLET_3 float; #X text 12 65 INLET_0 bang reset forceX forceY force; #X restore 428 582 pd META; #X connect 1 0 3 0; #X connect 2 0 1 0; #X connect 2 1 14 0; #X connect 3 0 11 0; #X connect 4 0 20 0; #X connect 5 0 21 0; #X connect 7 0 6 0; #X connect 8 0 6 0; #X connect 9 0 10 0; #X connect 10 0 1 0; #X connect 12 0 13 0; #X connect 13 0 27 0; #X connect 14 0 4 0; #X connect 14 1 5 0; #X connect 15 0 16 0; #X connect 15 1 17 0; #X connect 16 0 18 0; #X connect 17 0 22 0; #X connect 18 0 19 0; #X connect 19 0 27 0; #X connect 20 0 3 1; #X connect 21 0 3 2; #X connect 22 0 19 1; #X connect 23 0 27 1; #X connect 24 0 27 3; #X connect 25 0 27 2; #X connect 26 0 27 0; #X connect 27 0 2 0; #X connect 28 0 27 0; #X connect 29 0 27 0; #X connect 30 0 27 0; mapping-0.2.1/pmcloud_2d.pd0000644000076500007650000000610312030356733014202 0ustar hanshans#N canvas 1 53 792 397 10; #X obj 45 9 inlet; #X obj 42 350 outlet; #X obj 643 48 inlet; #X msg 643 95 setK lnk \$1; #X obj 736 49 inlet; #X obj 554 44 inlet; #X obj 42 278 msd2D; #N canvas 801 117 639 733 create_clouds 0; #X obj 70 30 loadbang; #X obj 175 649 t a; #X obj 173 677 outlet; #X obj 32 50 t b b b b b b; #N canvas 0 0 259 330 loop 0; #X obj 74 149 f; #X obj 74 213 + 1; #X obj 74 171 moses \$1; #X obj 74 104 t b f; #X obj 104 281 outlet; #X obj 74 82 inlet; #X msg 74 126 0; #X obj 74 191 t f f; #X obj 96 240 t f; #X connect 0 0 2 0; #X connect 1 0 8 0; #X connect 2 0 7 0; #X connect 3 0 6 0; #X connect 3 1 2 1; #X connect 5 0 3 0; #X connect 6 0 0 0; #X connect 7 0 1 0; #X connect 7 1 4 0; #X connect 8 0 0 0; #X restore 85 126 pd loop; #X obj 85 103 \$1; #X obj 145 229 random 1000; #X obj 145 253 / 1000; #X msg 145 312 mass cloud 1 1 \$1 \$2; #X obj 274 230 random 1000; #X obj 274 254 / 1000; #X obj 145 283 pack f f; #X msg 126 419 link lnk cloud in \$1 0; #X msg 175 94 reset \, mass in 0 1 0 0 \, mass fixe 0 0 0 0; #X msg 89 471 link lnk cloud cloud \$1 0; #X obj 126 391 \$2; #X obj 85 446 \$2; #X obj 48 421 \$3; #X obj 274 179 * 243354; #X obj 145 177 * 654543; #X msg 85 156 bang; #X msg 145 201 seed \$1; #X msg 274 202 seed \$1; #X obj 145 145 \$1; #X obj 39 12 inlet; #X msg 48 504 tLink damp fixe cloud 0 \$1 0 1 \, tLink damp fixe cloud 0 \$1 1 0; #X connect 0 0 3 0; #X connect 1 0 2 0; #X connect 3 1 16 0; #X connect 3 1 17 0; #X connect 3 2 15 0; #X connect 3 3 5 0; #X connect 3 4 13 0; #X connect 3 5 23 0; #X connect 4 0 20 0; #X connect 5 0 4 0; #X connect 6 0 7 0; #X connect 7 0 11 0; #X connect 8 0 1 0; #X connect 9 0 10 0; #X connect 10 0 11 1; #X connect 11 0 8 0; #X connect 12 0 1 0; #X connect 13 0 1 0; #X connect 14 0 1 0; #X connect 15 0 12 0; #X connect 16 0 14 0; #X connect 17 0 25 0; #X connect 18 0 22 0; #X connect 19 0 21 0; #X connect 20 0 6 0; #X connect 20 0 9 0; #X connect 21 0 6 0; #X connect 22 0 9 0; #X connect 23 0 19 0; #X connect 23 0 18 0; #X connect 24 0 3 0; #X connect 25 0 1 0; #X restore 46 169 pd create_clouds; #X obj 91 69 unpack f f; #X msg 346 141 posY in \$1; #X obj 42 300 route massesPosId; #X obj 42 324 route cloud; #X obj 282 98 unpack f f; #X msg 282 121 posX in \$1; #X msg 736 95 setD damp \$1; #X msg 555 95 setL lnk \$1; #X msg 251 75 bang \, get massesPos cloud; #X obj 68 143 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X msg 91 96 forceX cloud \$1; #X msg 155 119 forceY cloud \$1; #X obj 46 30 route reset force forceX forceY bang; #X connect 0 0 20 0; #X connect 0 0 21 0; #X connect 2 0 3 0; #X connect 3 0 6 0; #X connect 4 0 14 0; #X connect 5 0 15 0; #X connect 6 0 10 0; #X connect 7 0 6 0; #X connect 8 0 18 0; #X connect 8 1 19 0; #X connect 9 0 6 0; #X connect 10 0 11 0; #X connect 11 0 1 0; #X connect 12 0 13 0; #X connect 12 1 9 0; #X connect 13 0 6 0; #X connect 14 0 6 0; #X connect 15 0 6 0; #X connect 16 0 6 0; #X connect 17 0 7 0; #X connect 18 0 6 0; #X connect 19 0 6 0; #X connect 20 0 7 0; #X connect 20 1 8 0; #X connect 20 2 18 0; #X connect 20 3 19 0; #X connect 20 4 16 0; #X connect 20 5 12 0; mapping-0.2.1/pmcloud_3d-help.pd0000644000076500007650000000422412030356733015133 0ustar hanshans#N canvas 1 50 553 609 10; #X text 106 339 outlet 1 : position of masses; #X obj 38 451 gemhead; #X obj 38 369 t b l; #X obj 38 546 translateXYZ; #X obj 96 499 - 0.5; #X obj 142 500 - 0.5; #X obj 249 490 gemwin; #X msg 249 438 create \, 1; #X msg 266 461 destroy; #X obj 54 395 loadbang; #X msg 54 418 0; #X obj 38 571 square 0.1; #X obj 89 203 gemhead; #X obj 89 227 b; #X obj 89 252 l; #X obj 174 57 gcanvas 100 100; #X obj 174 165 - 50; #X obj 267 163 - 50; #X obj 174 187 / 100; #X obj 95 519 * 2; #X obj 141 520 * 2; #X obj 267 185 / -100; #X floatatom 87 286 5 0 0 0 - - -; #X floatatom 187 285 5 0 0 0 - - -; #X floatatom 137 286 5 0 0 0 - - -; #X msg 25 13 reset; #X msg 42 36 forceX 0.1; #X msg 50 56 forceY -0.1; #X obj 38 307 pmcloud_3d 16 0.1 0.05; #X msg 58 80 forceZ -0.1; #X msg 60 111 force 0.2 0 0.1; #X obj 96 477 unpack f f f; #X obj 184 501 - 0.5; #X obj 183 521 * 2; #X obj 174 212 pack f f 0; #N canvas 468 256 494 344 META 0; #X text 12 185 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 165 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 5 KEYWORDS control abstraction; #X text 12 45 DESCRIPTION; #X text 12 85 INLET_1 float; #X text 12 105 INLET_2 float; #X text 12 145 OUTLET_0 list; #X text 12 125 INLET_3 float; #X text 12 65 INLET_0 bang reset force forceX forceY forceZ; #X restore 491 581 pd META; #X connect 1 0 3 0; #X connect 2 0 1 0; #X connect 2 1 31 0; #X connect 3 0 11 0; #X connect 4 0 19 0; #X connect 5 0 20 0; #X connect 7 0 6 0; #X connect 8 0 6 0; #X connect 9 0 10 0; #X connect 10 0 1 0; #X connect 12 0 13 0; #X connect 13 0 14 0; #X connect 14 0 28 0; #X connect 15 0 16 0; #X connect 15 1 17 0; #X connect 16 0 18 0; #X connect 17 0 21 0; #X connect 18 0 34 0; #X connect 19 0 3 1; #X connect 20 0 3 2; #X connect 21 0 34 1; #X connect 22 0 28 1; #X connect 23 0 28 3; #X connect 24 0 28 2; #X connect 25 0 28 0; #X connect 26 0 28 0; #X connect 27 0 28 0; #X connect 28 0 2 0; #X connect 29 0 28 0; #X connect 30 0 28 0; #X connect 31 0 4 0; #X connect 31 1 5 0; #X connect 31 2 32 0; #X connect 32 0 33 0; #X connect 33 0 3 3; #X connect 34 0 14 1; mapping-0.2.1/pmcloud_3d.pd0000644000076500007650000000675312030356733014216 0ustar hanshans#N canvas 1 53 743 397 10; #X obj 45 9 inlet; #X obj 42 350 outlet; #X obj 643 48 inlet; #X msg 643 95 setK lnk \$1; #X obj 736 49 inlet; #X obj 554 44 inlet; #N canvas 801 117 639 733 create_clouds 0; #X obj 70 30 loadbang; #X obj 175 649 t a; #X obj 173 677 outlet; #X obj 32 50 t b b b b b b; #X obj 85 103 \$1; #X obj 145 229 random 1000; #X obj 145 253 / 1000; #X obj 274 230 random 1000; #X obj 274 254 / 1000; #X msg 126 419 link lnk cloud in \$1 0; #X msg 89 471 link lnk cloud cloud \$1 0; #X obj 126 391 \$2; #X obj 85 446 \$2; #X obj 48 421 \$3; #X obj 274 179 * 243354; #X obj 145 177 * 654543; #X msg 85 156 bang; #X msg 145 201 seed \$1; #X msg 274 202 seed \$1; #X obj 145 145 \$1; #X obj 39 12 inlet; #X msg 175 95 reset \, mass in 0 1 0 0 0 \, mass fixe 0 0 0 0 0; #X obj 145 283 pack f f f; #X obj 367 230 random 1000; #X obj 367 254 / 1000; #X msg 367 202 seed \$1; #X obj 367 179 * 2.42455e+06; #X msg 145 312 mass cloud 1 1 \$1 \$2 \$3; #N canvas 0 0 259 330 loop 0; #X obj 74 149 f; #X obj 74 213 + 1; #X obj 74 171 moses \$1; #X obj 74 104 t b f; #X obj 104 281 outlet; #X obj 74 82 inlet; #X msg 74 126 0; #X obj 74 191 t f f; #X obj 96 240 t f; #X connect 0 0 2 0; #X connect 1 0 8 0; #X connect 2 0 7 0; #X connect 3 0 6 0; #X connect 3 1 2 1; #X connect 5 0 3 0; #X connect 6 0 0 0; #X connect 7 0 1 0; #X connect 7 1 4 0; #X connect 8 0 0 0; #X restore 85 126 pd loop; #X msg 48 504 tLink damp fixe cloud 0 \$1 0 0 1 \, tLink damp fixe cloud 0 \$1 0 1 0 \, tLink damp fixe cloud 0 \$1 1 0 0; #X connect 0 0 3 0; #X connect 1 0 2 0; #X connect 3 1 12 0; #X connect 3 1 13 0; #X connect 3 2 11 0; #X connect 3 3 4 0; #X connect 3 4 21 0; #X connect 3 5 19 0; #X connect 4 0 28 0; #X connect 5 0 6 0; #X connect 6 0 22 0; #X connect 7 0 8 0; #X connect 8 0 22 1; #X connect 9 0 1 0; #X connect 10 0 1 0; #X connect 11 0 9 0; #X connect 12 0 10 0; #X connect 13 0 29 0; #X connect 14 0 18 0; #X connect 15 0 17 0; #X connect 16 0 5 0; #X connect 16 0 7 0; #X connect 16 0 23 0; #X connect 17 0 5 0; #X connect 18 0 7 0; #X connect 19 0 15 0; #X connect 19 0 14 0; #X connect 19 0 26 0; #X connect 20 0 3 0; #X connect 21 0 1 0; #X connect 22 0 27 0; #X connect 23 0 24 0; #X connect 24 0 22 2; #X connect 25 0 23 0; #X connect 26 0 25 0; #X connect 27 0 1 0; #X connect 28 0 16 0; #X connect 29 0 1 0; #X restore 46 169 pd create_clouds; #X msg 400 149 posY in \$1; #X obj 42 300 route massesPosId; #X obj 42 324 route cloud; #X obj 305 59 t b l; #X obj 336 106 unpack f f; #X msg 336 129 posX in \$1; #X msg 736 95 setD damp \$1; #X msg 555 95 setL lnk \$1; #X msg 305 83 bang \, get massesPos cloud; #X obj 68 143 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X msg 91 96 forceX cloud \$1; #X msg 131 117 forceY cloud \$1; #X obj 46 30 route reset force forceX forceY forceZ; #X obj 91 69 unpack f f f; #X msg 173 139 forceZ cloud \$1; #X obj 42 278 msd3D; #X connect 0 0 19 0; #X connect 2 0 3 0; #X connect 3 0 22 0; #X connect 4 0 13 0; #X connect 5 0 14 0; #X connect 6 0 22 0; #X connect 7 0 22 0; #X connect 8 0 9 0; #X connect 9 0 1 0; #X connect 10 0 15 0; #X connect 10 1 11 0; #X connect 11 0 12 0; #X connect 11 1 7 0; #X connect 12 0 22 0; #X connect 13 0 22 0; #X connect 14 0 22 0; #X connect 15 0 22 0; #X connect 16 0 6 0; #X connect 17 0 22 0; #X connect 18 0 22 0; #X connect 19 0 6 0; #X connect 19 1 20 0; #X connect 19 2 17 0; #X connect 19 3 18 0; #X connect 19 4 21 0; #X connect 19 5 10 0; #X connect 20 0 17 0; #X connect 20 1 18 0; #X connect 20 2 21 0; #X connect 21 0 22 0; #X connect 22 0 8 0; mapping-0.2.1/pmcube_3d-help.pd0000644000076500007650000000405412030356733014744 0ustar hanshans#N canvas 1 53 611 653 10; #X floatatom 199 324 5 0 0 0 - - -; #X floatatom 119 323 5 0 0 0 - - -; #X obj 44 494 timeroll; #X obj 44 447 min 1; #X obj 44 467 max 0; #X obj 44 398 + 1; #X obj 44 422 / 2; #X obj 44 374 unpack f f f; #X obj 44 347 pmcube_3d 0.3 0.3; #X obj 162 25 vsl 15 128 -1 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 0; #X obj 369 8 gcanvas 100 100; #X obj 369 116 - 50; #X obj 462 114 - 50; #X obj 369 138 / 100; #X obj 462 136 / 100; #X obj 213 25 vsl 15 128 -1 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 0; #X obj 369 161 pack f f; #X obj 369 184 t l b; #X msg 399 257 0; #X msg 399 282 grab_on \$1; #X obj 44 270 metro 50; #X obj 44 246 loadbang; #X obj 399 231 delay 200; #X msg 433 258 0.3; #X msg 369 207 grab \$1 \$2 0; #X obj 258 27 vsl 15 128 -1 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 0; #X msg 162 177 force \$1 0 0; #X msg 213 199 force 0 \$1 0; #X msg 259 230 force 0 0 \$1; #N canvas 510 336 494 344 META 0; #X text 12 165 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 145 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 5 KEYWORDS control abstraction; #X text 12 45 DESCRIPTION; #X text 12 85 INLET_1 float; #X text 12 105 INLET_2 float; #X text 12 125 OUTLET_0 list; #X text 12 65 INLET_0 bang force grab grab_on; #X restore 548 621 pd META; #X connect 0 0 8 2; #X connect 1 0 8 1; #X connect 3 0 4 0; #X connect 4 0 2 0; #X connect 5 0 6 0; #X connect 6 0 3 0; #X connect 7 0 5 0; #X connect 7 1 5 0; #X connect 7 2 5 0; #X connect 8 0 7 0; #X connect 9 0 26 0; #X connect 10 0 11 0; #X connect 10 1 12 0; #X connect 11 0 13 0; #X connect 12 0 14 0; #X connect 13 0 16 0; #X connect 14 0 16 1; #X connect 15 0 27 0; #X connect 16 0 17 0; #X connect 17 0 24 0; #X connect 17 1 23 0; #X connect 17 1 22 0; #X connect 18 0 19 0; #X connect 19 0 8 0; #X connect 20 0 8 0; #X connect 21 0 20 0; #X connect 22 0 18 0; #X connect 23 0 19 0; #X connect 24 0 8 0; #X connect 25 0 28 0; #X connect 26 0 8 0; #X connect 27 0 8 0; #X connect 28 0 8 0; mapping-0.2.1/pmcube_3d.pd0000644000076500007650000000321412030356733014013 0ustar hanshans#N canvas 1 53 647 573 10; #X obj 49 58 inlet; #X obj 79 291 loadbang; #X obj 39 524 outlet; #X obj 79 317 pack \$1 \$2; #X obj 436 59 inlet; #X msg 436 106 setK lnk \$1; #X obj 529 60 inlet; #X msg 529 106 setD lnk \$1; #X msg 267 296 bang \, get massesPos out \, get massesForces out; #X obj 39 496 route out; #X obj 148 525 outlet; #X obj 148 497 route out; #X obj 39 472 route massesPosId massesForcesId; #X obj 159 286 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X msg 202 257 forceX out \$1 \, forceY out \$2 \, forceZ out \$3; #X obj 40 450 msd3D; #X msg 80 343 reset \, mass border 0 1 -1 -1 -1 \, mass border 0 1 -1 -1 1 \, mass border 0 1 -1 1 -1 \, mass border 0 1 -1 1 1 \, mass border 0 1 1 -1 -1 \, mass border 0 1 1 -1 1 \, mass border 0 1 1 1 -1 \, mass border 0 1 1 1 1 \, mass out 1 1 0 0 0 \, link lnk border out \$1 \$2 \, mass grab 0 1 0 0 0 \, link lgrab out grab 0 0; #X msg 56 151 posX grab \$1; #X msg 170 231 setK lgrab \$1; #X msg 95 175 posY grab \$1; #X obj 56 94 route grab grab_on force bang; #X obj 56 127 unpack f f f; #X msg 136 198 posZ grab \$1; #X connect 0 0 20 0; #X connect 1 0 3 0; #X connect 3 0 16 0; #X connect 4 0 5 0; #X connect 5 0 15 0; #X connect 6 0 7 0; #X connect 7 0 15 0; #X connect 8 0 15 0; #X connect 9 0 2 0; #X connect 11 0 10 0; #X connect 12 0 9 0; #X connect 12 1 11 0; #X connect 13 0 3 0; #X connect 14 0 15 0; #X connect 15 0 12 0; #X connect 16 0 15 0; #X connect 17 0 15 0; #X connect 18 0 15 0; #X connect 19 0 15 0; #X connect 20 0 21 0; #X connect 20 1 18 0; #X connect 20 2 14 0; #X connect 20 3 8 0; #X connect 21 0 17 0; #X connect 21 1 19 0; #X connect 21 2 22 0; #X connect 22 0 15 0; mapping-0.2.1/pmfilter-help.pd0000644000076500007650000000270012030356733014721 0ustar hanshans#N canvas 1 53 676 449 10; #X obj 44 43 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 0; #X obj 44 238 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 1; #X floatatom 172 234 9 0 0 0 - - -; #X msg 86 157 1; #X obj 319 35 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 0; #X obj 319 230 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 1; #X floatatom 447 226 9 0 0 0 - - -; #X msg 361 149 0.5; #X obj 44 183 resample 30; #X obj 44 210 pmfilter 0.3 0.8; #X obj 93 235 clip 0 1; #X obj 94 259 timeroll; #X obj 369 251 timeroll; #X obj 368 227 clip 0 1; #X obj 319 198 pmfilter 0.3 0.3; #X obj 319 175 resample 30; #N canvas 513 138 494 344 META 0; #X text 12 205 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 185 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 45 DESCRIPTION; #X text 12 105 INLET_2 float; #X text 12 125 INLET_3 float; #X text 12 65 INLET_0 float; #X text 12 85 INLET_1 float; #X text 12 145 OUTLET_0 float; #X text 12 165 OUTLET_1 float; #X text 12 5 KEYWORDS control abstraction; #X restore 622 425 pd META; #X connect 0 0 8 0; #X connect 3 0 9 1; #X connect 4 0 15 0; #X connect 7 0 14 1; #X connect 8 0 9 0; #X connect 9 0 1 0; #X connect 9 0 10 0; #X connect 9 1 2 0; #X connect 10 0 11 0; #X connect 13 0 12 0; #X connect 14 0 5 0; #X connect 14 0 13 0; #X connect 14 1 6 0; #X connect 15 0 14 0; mapping-0.2.1/pmfilter.pd0000644000076500007650000000175212030356733014001 0ustar hanshans#N canvas 1 53 702 349 10; #X obj 31 216 msd; #X obj 31 34 inlet; #X obj 31 57 t b f; #X obj 80 130 loadbang; #X msg 61 104 posX in \$1; #X obj 31 290 outlet; #X obj 80 156 pack \$1 \$2; #X msg 80 182 reset \, mass in 0 1 0 \, mass out 1 1 0 \, link lnk in out \$1 \$2; #X obj 358 34 inlet; #X obj 459 34 inlet; #X msg 459 81 setK lnk \$1; #X obj 552 35 inlet; #X msg 552 81 setD lnk \$1; #X msg 31 81 bang \, get massesPos out \, get massesForces out; #X obj 31 262 route out; #X obj 140 291 outlet; #X obj 140 263 route out; #X obj 31 238 route massesPosId massesForcesId; #X msg 358 81 forceX out \$1; #X connect 0 0 17 0; #X connect 1 0 2 0; #X connect 2 0 13 0; #X connect 2 1 4 0; #X connect 3 0 6 0; #X connect 4 0 0 0; #X connect 6 0 7 0; #X connect 7 0 0 0; #X connect 8 0 18 0; #X connect 9 0 10 0; #X connect 10 0 0 0; #X connect 11 0 12 0; #X connect 12 0 0 0; #X connect 13 0 0 0; #X connect 14 0 5 0; #X connect 16 0 15 0; #X connect 17 0 14 0; #X connect 17 1 16 0; #X connect 18 0 0 0; mapping-0.2.1/pmfilter_2d-help.pd0000644000076500007650000000271512030356733015314 0ustar hanshans#N canvas 1 53 583 536 10; #X obj 44 43 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 0; #X obj 94 44 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 0; #X obj 44 212 pack f f; #X obj 44 302 unpack f f; #X msg 81 256 1 2; #X obj 187 24 gcanvas 100 100; #X obj 187 132 / 100; #X obj 279 131 / 100; #X floatatom 155 257 5 0 0 0 - - -; #X floatatom 118 257 5 0 0 0 - - -; #X floatatom 193 232 5 0 0 0 - - -; #X obj 44 183 resample 50; #X obj 44 279 pmfilter_2d 0.3 0.3; #X obj 44 360 timeroll; #X obj 44 333 clip 0 1; #X text 348 44 physical modeling filter (2nd order); #N canvas 384 164 494 344 META 0; #X text 12 225 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 205 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 45 DESCRIPTION; #X text 12 105 INLET_2 float; #X text 12 165 OUTLET_0 list; #X text 12 65 INLET_0 list; #X text 12 85 INLET_1 list; #X text 12 125 INLET_3 float; #X text 12 145 INLET_4 float; #X text 12 185 OUTLET_1; #X text 12 5 KEYWORDS control abstraction needs_work (OUTLET_1?); #X restore 523 505 pd META; #X connect 0 0 11 0; #X connect 1 0 2 1; #X connect 2 0 12 0; #X connect 3 0 14 0; #X connect 3 1 14 0; #X connect 4 0 12 1; #X connect 5 0 6 0; #X connect 5 1 7 0; #X connect 6 0 11 0; #X connect 7 0 2 1; #X connect 8 0 12 3; #X connect 9 0 12 2; #X connect 10 0 12 4; #X connect 11 0 2 0; #X connect 12 0 3 0; #X connect 14 0 13 0; mapping-0.2.1/pmfilter_2d.pd0000644000076500007650000000242112030356733014360 0ustar hanshans#N canvas 1 53 702 349 10; #X obj 31 34 inlet; #X obj 80 130 loadbang; #X obj 31 290 outlet; #X obj 80 156 pack \$1 \$2; #X obj 259 34 inlet; #X obj 360 34 inlet; #X msg 360 81 setK lnk \$1; #X obj 453 35 inlet; #X msg 31 81 bang \, get massesPos out \, get massesForces out; #X obj 31 262 route out; #X obj 140 291 outlet; #X obj 140 263 route out; #X obj 31 238 route massesPosId massesForcesId; #X obj 31 216 msd2D; #X msg 61 104 posX in \$1 \, posY in \$2; #X obj 31 57 t b l; #X msg 259 108 forceX out \$1 \, forceY out \$2; #X msg 453 81 setD damp \$1; #X obj 156 128 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 552 35 inlet; #X msg 552 81 setL lnk \$1; #X msg 80 182 reset \, mass in 0 1 0 0 \, mass out 1 1 0 0 \, link lnk in out \$1 0 \, tLink damp in out 0 \$2 0 1 \, tLink damp in out 0 \$2 1 0; #X connect 0 0 15 0; #X connect 1 0 3 0; #X connect 3 0 21 0; #X connect 4 0 16 0; #X connect 5 0 6 0; #X connect 6 0 13 0; #X connect 7 0 17 0; #X connect 8 0 13 0; #X connect 9 0 2 0; #X connect 11 0 10 0; #X connect 12 0 9 0; #X connect 12 1 11 0; #X connect 13 0 12 0; #X connect 14 0 13 0; #X connect 15 0 8 0; #X connect 15 1 14 0; #X connect 16 0 13 0; #X connect 17 0 13 0; #X connect 18 0 3 0; #X connect 19 0 20 0; #X connect 20 0 13 0; #X connect 21 0 13 0; mapping-0.2.1/pmfilter_3d-help.pd0000644000076500007650000000240412030356733015310 0ustar hanshans#N canvas 3 53 296 578 10; #X obj 44 44 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 0; #X obj 75 43 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 0; #X obj 44 211 pack f f f; #X obj 44 299 unpack f f f; #X obj 109 42 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 0; #X msg 87 243 1 0.5 0.3; #X floatatom 199 245 5 0 0 0 - - -; #X obj 44 184 resample 50; #X obj 44 345 clip 0 1; #X obj 44 369 timeroll; #X obj 44 269 pmfilter_3d 0.3 0.3; #N canvas 385 193 494 344 META 0; #X text 12 225 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 205 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 45 DESCRIPTION; #X text 12 105 INLET_2 float; #X text 12 165 OUTLET_0 list; #X text 12 65 INLET_0 list; #X text 12 85 INLET_1 list; #X text 12 125 INLET_3 float; #X text 12 145 INLET_4 float; #X text 12 185 OUTLET_1; #X text 12 5 KEYWORDS control abstraction needs_work (OUTLET_1?); #X restore 241 545 pd META; #X connect 0 0 7 0; #X connect 1 0 2 1; #X connect 2 0 10 0; #X connect 3 0 8 0; #X connect 3 1 8 0; #X connect 3 2 8 0; #X connect 4 0 2 2; #X connect 5 0 10 1; #X connect 6 0 10 4; #X connect 7 0 2 0; #X connect 8 0 9 0; #X connect 10 0 3 0; mapping-0.2.1/pmfilter_3d.pd0000644000076500007650000000253312030356733014365 0ustar hanshans#N canvas 1 53 702 349 10; #X obj 31 34 inlet; #X obj 80 130 loadbang; #X obj 31 314 outlet; #X obj 80 156 pack \$1 \$2; #X obj 259 34 inlet; #X obj 360 34 inlet; #X msg 360 81 setK lnk \$1; #X obj 453 35 inlet; #X msg 31 81 bang \, get massesPos out \, get massesForces out; #X obj 31 286 route out; #X obj 140 315 outlet; #X obj 140 287 route out; #X obj 31 262 route massesPosId massesForcesId; #X obj 31 57 t b l; #X msg 453 81 setD damp \$1; #X obj 156 128 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 31 240 msd3D; #X msg 259 130 forceX out \$1 \, forceY out \$2 \, forceZ out \$3; #X msg 61 104 posX in \$1 \, posY in \$2 \, posZ in \$3; #X obj 552 35 inlet; #X msg 552 81 setL lnk \$1; #X msg 80 182 reset \, mass in 0 1 0 0 0 \, mass out 1 1 0 0 0 \, link lnk in out \$1 0 \, tLink damp in out 0 \$2 0 0 1 \, tLink damp in out 0 \$2 0 1 0 \, tLink damp in out 0 \$2 1 0 0; #X connect 0 0 13 0; #X connect 1 0 3 0; #X connect 3 0 21 0; #X connect 4 0 17 0; #X connect 5 0 6 0; #X connect 6 0 16 0; #X connect 7 0 14 0; #X connect 8 0 16 0; #X connect 9 0 2 0; #X connect 11 0 10 0; #X connect 12 0 9 0; #X connect 12 1 11 0; #X connect 13 0 8 0; #X connect 13 1 18 0; #X connect 14 0 16 0; #X connect 15 0 3 0; #X connect 16 0 12 0; #X connect 17 0 16 0; #X connect 18 0 16 0; #X connect 19 0 20 0; #X connect 20 0 16 0; #X connect 21 0 16 0; mapping-0.2.1/pmmulti_stable_2d-help.pd0000644000076500007650000000511112030356733016504 0ustar hanshans#N canvas 1 53 681 593 10; #X text 102 346 outlet 1 : position of masses; #X obj 54 451 gemhead; #X obj 54 369 t b l; #X obj 54 546 translateXYZ; #X obj 112 477 unpack f f f; #X obj 112 522 * 4; #X obj 151 523 * 4; #X obj 458 526 gemwin; #X msg 458 474 create \, 1; #X msg 475 497 destroy; #X obj 70 395 loadbang; #X msg 70 418 0; #X obj 54 572 square 0.1; #X obj 164 30 vsl 15 128 -1 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 0; #X obj 371 13 gcanvas 100 100; #X obj 371 121 - 50; #X obj 464 119 - 50; #X obj 371 143 / 100; #X obj 464 141 / 100; #X obj 215 30 vsl 15 128 -1 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 0; #X msg 371 212 grab \$1 \$2; #X obj 371 166 pack f f; #X obj 371 189 t l b; #X msg 401 262 0; #X msg 401 287 grab_on \$1; #X msg 164 172 force \$1 0; #X msg 215 194 force 0 \$1; #X obj 47 235 metro 50; #X obj 47 211 loadbang; #X obj 401 236 delay 200; #X msg 435 263 0.3; #X text 262 326 arguments : number of stable point \, rigidity \, damping ; #X obj 96 164 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1; #X msg 115 421 1; #X obj 32 259 gemhead; #X obj 34 283 b; #X obj 54 327 pmmulti_stable_2d 9 0.1 0.1; #X obj 195 529 cart2pol; #X floatatom 195 563 5 0 0 0 - - -; #X floatatom 236 563 5 0 0 0 - - -; #X text 202 583 r; #X text 247 585 phy; #N canvas 537 151 494 344 META 0; #X text 12 165 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 145 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 45 DESCRIPTION; #X text 12 105 INLET_2 float; #X text 12 125 OUTLET_0 list; #X text 12 5 KEYWORDS control abstraction; #X text 12 65 INLET_0 bang force grab grab_on; #X text 12 85 INLET_1 float; #X restore 623 581 pd META; #X connect 1 0 3 0; #X connect 2 0 1 0; #X connect 2 1 4 0; #X connect 3 0 12 0; #X connect 4 0 37 0; #X connect 4 0 5 0; #X connect 4 1 37 1; #X connect 4 1 6 0; #X connect 5 0 3 1; #X connect 6 0 3 2; #X connect 8 0 7 0; #X connect 9 0 7 0; #X connect 10 0 11 0; #X connect 11 0 1 0; #X connect 13 0 25 0; #X connect 14 0 15 0; #X connect 14 1 16 0; #X connect 15 0 17 0; #X connect 16 0 18 0; #X connect 17 0 21 0; #X connect 18 0 21 1; #X connect 19 0 26 0; #X connect 20 0 36 0; #X connect 21 0 22 0; #X connect 22 0 20 0; #X connect 22 1 30 0; #X connect 22 1 29 0; #X connect 23 0 24 0; #X connect 24 0 36 0; #X connect 25 0 36 0; #X connect 26 0 36 0; #X connect 28 0 27 0; #X connect 29 0 23 0; #X connect 30 0 24 0; #X connect 32 0 27 0; #X connect 33 0 1 0; #X connect 34 0 35 0; #X connect 35 0 36 0; #X connect 36 0 2 0; #X connect 37 0 38 0; #X connect 37 1 39 0; mapping-0.2.1/pmmulti_stable_2d.pd0000644000076500007650000000533212030356733015563 0ustar hanshans#N canvas 1 53 726 492 10; #X obj 42 34 inlet; #X obj 41 435 outlet; #X obj 510 34 inlet; #X msg 510 81 setK lnk \$1; #X obj 603 35 inlet; #X msg 603 81 setD lnk \$1; #X obj 41 363 msd2D; #N canvas 866 113 421 804 creation_multi_stable 0; #X obj 32 23 loadbang; #X obj 175 649 t a; #X obj 118 19 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 201 150 \$1; #X obj 145 198 /; #X obj 173 677 outlet; #N canvas 0 0 259 330 loop 0; #X obj 74 149 f; #X obj 74 213 + 1; #X obj 74 171 moses \$1; #X obj 74 104 t b f; #X obj 104 281 outlet; #X obj 74 82 inlet; #X msg 74 126 0; #X obj 74 191 t f f; #X obj 96 240 t f; #X connect 0 0 2 0; #X connect 1 0 8 0; #X connect 2 0 7 0; #X connect 3 0 6 0; #X connect 3 1 2 1; #X connect 5 0 3 0; #X connect 6 0 0 0; #X connect 7 0 1 0; #X connect 7 1 4 0; #X connect 8 0 0 0; #X restore 145 174 pd loop; #X obj 145 124 \$1; #X msg 145 361 mass fixe 0 1 \$1 \$2; #X obj 145 149 max 2; #X obj 201 173 max 2; #X obj 145 220 * 6.28; #X obj 145 241 t f f; #X obj 145 337 pack f f; #X obj 196 267 sin; #X obj 145 267 cos; #X obj 79 428 pack \$2 \$3; #X obj 145 290 * 0.5; #X obj 196 292 * 0.5; #X msg 79 450 link lnk fixe out \$1 \$2; #X obj 32 50 t b b b b b b b; #X msg 161 81 reset; #X msg 115 394 mass out 1 1 1 0; #X msg 63 481 setL lnk 1; #X msg 35 511 mass grab 0 1 1 0 \, link lgrab out grab 0 0; #X connect 0 0 20 0; #X connect 1 0 5 0; #X connect 2 0 20 0; #X connect 3 0 10 0; #X connect 4 0 11 0; #X connect 6 0 4 0; #X connect 7 0 9 0; #X connect 8 0 1 0; #X connect 9 0 6 0; #X connect 10 0 4 1; #X connect 11 0 12 0; #X connect 12 0 15 0; #X connect 12 1 14 0; #X connect 13 0 8 0; #X connect 14 0 18 0; #X connect 15 0 17 0; #X connect 16 0 19 0; #X connect 17 0 13 0; #X connect 18 0 13 1; #X connect 19 0 1 0; #X connect 20 0 24 0; #X connect 20 1 23 0; #X connect 20 2 16 0; #X connect 20 3 22 0; #X connect 20 4 7 0; #X connect 20 5 3 0; #X connect 20 6 21 0; #X connect 21 0 1 0; #X connect 22 0 1 0; #X connect 23 0 1 0; #X connect 24 0 1 0; #X restore 195 310 pd creation_multi_stable; #X msg 140 90 forceX out \$1 \, forceY out \$2; #X obj 41 90 unpack f f; #X msg 41 114 posX grab \$1; #X msg 90 167 setK lgrab \$1; #X msg 106 136 posY grab \$1; #X obj 41 57 route grab grab_on force bang; #X obj 41 412 route out; #X obj 41 385 route massesPosId; #X msg 189 112 bang \, get massesPos out; #X connect 0 0 13 0; #X connect 2 0 3 0; #X connect 3 0 6 0; #X connect 4 0 5 0; #X connect 5 0 6 0; #X connect 6 0 15 0; #X connect 7 0 6 0; #X connect 8 0 6 0; #X connect 9 0 10 0; #X connect 9 1 12 0; #X connect 10 0 6 0; #X connect 11 0 6 0; #X connect 12 0 6 0; #X connect 13 0 9 0; #X connect 13 1 11 0; #X connect 13 2 8 0; #X connect 13 3 16 0; #X connect 14 0 1 0; #X connect 15 0 14 0; #X connect 16 0 6 0; mapping-0.2.1/pmopen_string_1d-help.pd0000644000076500007650000000774712030356733016367 0ustar hanshans#N canvas 1 53 665 641 10; #X obj 39 487 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 56 487 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 73 487 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 90 487 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 107 487 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 124 487 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 141 487 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 158 487 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 175 487 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 192 487 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 39 456 route 0 1 2 3 4 5 6 7 8 9 10; #X obj 209 487 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X text 256 307 arguments : number of moving masses \, rigidity \, damping; #X text 210 19 simple Physical model of "string"; #X text 164 40 usefull to create different correlated output with few input.; #X msg 102 232 3 1; #X text 133 234 mass 3 \, force = 1; #X obj 306 468 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 323 468 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 340 468 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 357 468 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 374 468 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 391 468 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 408 468 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 425 468 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 442 468 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 459 468 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 306 437 route 0 1 2 3 4 5 6 7 8 9 10; #X obj 476 468 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 306 342 unpack f f; #X obj 306 412 pack f f; #X obj 371 367 * 100; #X obj 371 391 + 64; #X text 105 351 2 : forces apply to masses; #X text 57 334 outlet 1 : position of masses; #X obj 39 365 unpack f f; #X obj 103 390 + 64; #X obj 39 414 pack f f; #X text 123 113 inlet : 1 : metro; #X text 180 136 2 : forces apply to masses; #X text 180 158 3 : rigidity; #X text 180 178 4 : damping; #X obj 39 109 vsl 15 128 -30 30 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 39 307 pmopen_string_1d 10 0.1 0.01; #X obj 39 285 resample 22; #N canvas 458 184 494 344 META 0; #X text 12 205 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 185 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 105 INLET_2 float; #X text 12 145 OUTLET_0 list; #X text 12 5 KEYWORDS control abstraction; #X text 12 85 INLET_1 list; #X text 12 125 INLET_3 float; #X text 12 165 OUTLET_1 list; #X text 12 45 DESCRIPTION simple Physical model of "string"; #X text 12 65 INLET_0 float; #X restore 604 610 pd META; #X connect 10 0 0 0; #X connect 10 1 1 0; #X connect 10 2 2 0; #X connect 10 3 3 0; #X connect 10 4 4 0; #X connect 10 5 5 0; #X connect 10 6 6 0; #X connect 10 7 7 0; #X connect 10 8 8 0; #X connect 10 9 9 0; #X connect 10 10 11 0; #X connect 15 0 43 1; #X connect 27 0 17 0; #X connect 27 1 18 0; #X connect 27 2 19 0; #X connect 27 3 20 0; #X connect 27 4 21 0; #X connect 27 5 22 0; #X connect 27 6 23 0; #X connect 27 7 24 0; #X connect 27 8 25 0; #X connect 27 9 26 0; #X connect 27 10 28 0; #X connect 29 0 30 0; #X connect 29 1 31 0; #X connect 30 0 27 0; #X connect 31 0 32 0; #X connect 32 0 30 1; #X connect 35 0 37 0; #X connect 35 1 36 0; #X connect 36 0 37 1; #X connect 37 0 10 0; #X connect 42 0 44 0; #X connect 43 0 35 0; #X connect 43 1 29 0; #X connect 44 0 43 0; mapping-0.2.1/pmopen_string_1d.pd0000644000076500007650000000425112030356733015424 0ustar hanshans#N canvas 1 53 662 400 10; #X obj 31 227 msd; #X obj 31 34 inlet; #X obj 31 301 outlet; #X obj 453 39 inlet; #X msg 453 86 setK lnk \$1; #X obj 546 40 inlet; #X msg 546 86 setD lnk \$1; #X obj 126 300 outlet; #N canvas 327 184 457 717 creation_corde 0; #X msg 143 117 0; #X obj 143 142 f; #X obj 143 193 + 1; #X obj 143 169 moses \$1; #X obj 165 220 t f f; #X obj 175 649 t a; #X obj 195 366 pack f f; #X obj 195 247 t f f; #X obj 241 248 \$1; #X msg 195 389 mass M-\$1 1 1 \$2; #X obj 225 300 /; #X msg 121 580 link lnk M-\$1 M-\$2 \$3 \$4; #X obj 121 552 pack f f \$2 \$3; #X obj 69 418 f; #X obj 69 445 moses \$1; #X obj 173 677 outlet; #X msg 31 578 setL lnk 0; #X obj 43 50 t b b b b b b; #X obj 43 23 inlet; #X msg 163 94 reset \, mass M-0 0 1 0; #X msg 69 392 0; #X obj 152 525 + 1; #X obj 69 495 + 1; #X obj 69 470 t f f f; #X obj 91 522 t f; #X connect 0 0 1 0; #X connect 1 0 3 0; #X connect 2 0 4 0; #X connect 3 0 2 0; #X connect 4 0 1 0; #X connect 4 1 7 0; #X connect 5 0 15 0; #X connect 6 0 9 0; #X connect 7 0 6 0; #X connect 7 1 10 0; #X connect 8 0 10 1; #X connect 9 0 5 0; #X connect 10 0 6 1; #X connect 11 0 5 0; #X connect 12 0 11 0; #X connect 13 0 14 0; #X connect 14 0 23 0; #X connect 16 0 5 0; #X connect 17 0 16 0; #X connect 17 1 20 0; #X connect 17 3 0 0; #X connect 17 4 19 0; #X connect 17 5 8 0; #X connect 18 0 17 0; #X connect 19 0 5 0; #X connect 20 0 13 0; #X connect 21 0 12 1; #X connect 22 0 24 0; #X connect 23 0 22 0; #X connect 23 1 12 0; #X connect 23 2 21 0; #X connect 24 0 13 0; #X restore 69 174 pd creation_corde; #X msg 317 84 forceX M-\$1 \$2; #X obj 31 249 route massesPos massesForces; #X obj 70 151 loadbang; #X obj 136 154 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X msg 31 81 bang \, get massesPos \, get massesForces; #X obj 317 42 inlet; #X obj 31 57 t b f; #X msg 61 104 posX M-0 \$1; #X connect 0 0 10 0; #X connect 1 0 15 0; #X connect 3 0 4 0; #X connect 4 0 0 0; #X connect 5 0 6 0; #X connect 6 0 0 0; #X connect 8 0 0 0; #X connect 9 0 0 0; #X connect 10 0 2 0; #X connect 10 1 7 0; #X connect 11 0 8 0; #X connect 12 0 8 0; #X connect 13 0 0 0; #X connect 14 0 9 0; #X connect 15 0 13 0; #X connect 15 1 16 0; #X connect 16 0 0 0; mapping-0.2.1/pmrepulsor_1d-help.pd0000644000076500007650000000301712030356733015675 0ustar hanshans#N canvas 1 53 520 639 10; #X floatatom 206 324 5 0 0 0 - - -; #X floatatom 126 323 5 0 0 0 - - -; #X obj 41 347 pmrepulsor_1d 0.3 0.3; #X obj 41 473 timeroll 100; #X obj 41 425 min 1; #X obj 41 447 max 0; #X obj 41 401 + 0.5; #X obj 161 8 vsl 15 128 -1 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 0; #X msg 315 222 0; #X msg 315 247 grab_on \$1; #X obj 41 233 metro 50; #X obj 41 209 loadbang; #X obj 315 196 delay 200; #X msg 349 223 0.3; #X msg 161 160 force \$1; #X obj 285 13 vsl 15 128 -1 1 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 285 149 t f b; #X msg 285 172 grab \$1; #X obj 41 377 / 2; #N canvas 459 213 494 344 META 0; #X text 12 185 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 165 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 105 INLET_2 float; #X text 12 45 DESCRIPTION; #X text 12 65 INLET_0 bang force grab grab_on; #X text 12 85 INLET_1 float; #X text 12 125 OUTLET_0 float; #X text 12 145 OUTLET_1; #X text 12 5 KEYWORDS control abstraction needs_work (OUTLET_1?); #X restore 490 613 pd META; #X connect 0 0 2 2; #X connect 1 0 2 1; #X connect 2 0 18 0; #X connect 4 0 5 0; #X connect 5 0 3 0; #X connect 6 0 4 0; #X connect 7 0 14 0; #X connect 8 0 9 0; #X connect 9 0 2 0; #X connect 10 0 2 0; #X connect 11 0 10 0; #X connect 12 0 8 0; #X connect 13 0 9 0; #X connect 14 0 2 0; #X connect 15 0 16 0; #X connect 16 0 17 0; #X connect 16 1 13 0; #X connect 16 1 12 0; #X connect 17 0 2 0; #X connect 18 0 6 0; mapping-0.2.1/pmrepulsor_1d.pd0000644000076500007650000000252112030356733014746 0ustar hanshans#N canvas 1 53 633 573 10; #X obj 31 34 inlet; #X obj 79 317 loadbang; #X obj 24 506 outlet; #X obj 79 343 pack \$1 \$2; #X obj 368 37 inlet; #X msg 368 84 setK lnk \$1; #X obj 461 38 inlet; #X msg 461 84 setD lnk \$1; #X obj 24 478 route out; #X obj 133 507 outlet; #X obj 133 479 route out; #X obj 24 454 route massesPosId massesForcesId; #X obj 159 312 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 24 432 msd; #X msg 79 369 reset \, mass border 0 1 0 \, mass out 1 1 0.5 \, link lnk border out \$1 \$2 \, mass grab 0 1 0 \, link lgrab out grab 0 0; #X msg 213 129 bang \, get massesPos out \, get massesForces out; #X obj 29 88 unpack f f; #X msg 29 112 posX grab \$1; #X msg 78 165 setK lgrab \$1; #X msg 94 134 posY grab \$1; #X obj 29 55 route grab grab_on force bang; #X msg 132 89 forceX out \$1; #X connect 0 0 20 0; #X connect 1 0 3 0; #X connect 3 0 14 0; #X connect 4 0 5 0; #X connect 5 0 13 0; #X connect 6 0 7 0; #X connect 7 0 13 0; #X connect 8 0 2 0; #X connect 10 0 9 0; #X connect 11 0 8 0; #X connect 11 1 10 0; #X connect 12 0 3 0; #X connect 13 0 11 0; #X connect 14 0 13 0; #X connect 15 0 13 0; #X connect 16 0 17 0; #X connect 16 1 19 0; #X connect 17 0 13 0; #X connect 18 0 13 0; #X connect 19 0 13 0; #X connect 20 0 16 0; #X connect 20 1 18 0; #X connect 20 2 21 0; #X connect 20 3 15 0; #X connect 21 0 13 0; mapping-0.2.1/pmrepulsor_2d-help.pd0000644000076500007650000000366312030356733015705 0ustar hanshans#N canvas 1 53 573 646 10; #X obj 44 380 unpack f f; #X floatatom 186 333 5 0 0 0 - - -; #X floatatom 115 332 5 0 0 0 - - -; #X obj 44 500 timeroll; #X obj 44 453 min 1; #X obj 44 473 max 0; #X obj 44 404 + 1; #X obj 44 428 / 2; #X obj 141 28 vsl 15 128 -1 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 0; #X obj 298 11 gcanvas 100 100; #X obj 298 119 - 50; #X obj 391 117 - 50; #X obj 298 141 / 100; #X obj 391 139 / 100; #X obj 192 28 vsl 15 128 -1 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 0; #X msg 298 210 grab \$1 \$2; #X obj 298 164 pack f f; #X obj 298 187 t l b; #X msg 328 260 0; #X msg 328 285 grab_on \$1; #X msg 141 180 force \$1 0; #X msg 192 202 force 0 \$1; #X obj 44 203 metro 50; #X obj 44 179 loadbang; #X obj 328 234 delay 200; #X msg 362 261 0.3; #X obj 44 353 pmrepulsor_2d 0.3 0.3; #N canvas 460 242 494 344 META 0; #X text 12 185 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 165 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 105 INLET_2 float; #X text 12 45 DESCRIPTION; #X text 12 65 INLET_0 bang force grab grab_on; #X text 12 85 INLET_1 float; #X text 12 125 OUTLET_0 float; #X text 12 145 OUTLET_1; #X text 12 5 KEYWORDS control abstraction needs_work (OUTLET_1?); #X restore 515 632 pd META; #X connect 0 0 6 0; #X connect 0 1 6 0; #X connect 1 0 26 2; #X connect 2 0 26 1; #X connect 4 0 5 0; #X connect 5 0 3 0; #X connect 6 0 7 0; #X connect 7 0 4 0; #X connect 8 0 20 0; #X connect 9 0 10 0; #X connect 9 1 11 0; #X connect 10 0 12 0; #X connect 11 0 13 0; #X connect 12 0 16 0; #X connect 13 0 16 1; #X connect 14 0 21 0; #X connect 15 0 26 0; #X connect 16 0 17 0; #X connect 17 0 15 0; #X connect 17 1 25 0; #X connect 17 1 24 0; #X connect 18 0 19 0; #X connect 19 0 26 0; #X connect 20 0 26 0; #X connect 21 0 26 0; #X connect 22 0 26 0; #X connect 23 0 22 0; #X connect 24 0 18 0; #X connect 25 0 19 0; #X connect 26 0 0 0; mapping-0.2.1/pmrepulsor_2d.pd0000644000076500007650000000265612030356733014760 0ustar hanshans#N canvas 1 53 871 573 10; #X obj 31 34 inlet; #X obj 76 214 loadbang; #X obj 31 428 outlet; #X obj 76 240 pack \$1 \$2; #X obj 592 23 inlet; #X msg 592 70 setK lnk \$1; #X obj 685 24 inlet; #X msg 685 70 setD lnk \$1; #X msg 213 129 bang \, get massesPos out \, get massesForces out; #X obj 31 400 route out; #X obj 140 429 outlet; #X obj 140 401 route out; #X obj 31 376 route massesPosId massesForcesId; #X obj 31 354 msd2D; #X msg 132 89 forceX out \$1 \, forceY out \$2; #X obj 156 209 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 29 88 unpack f f; #X msg 29 112 posX grab \$1; #X msg 78 165 setK lgrab \$1; #X msg 94 134 posY grab \$1; #X obj 29 55 route grab grab_on force bang; #X msg 76 266 reset \, mass center 0 1 0 0 \, mass out 1 1 0.5 0 \, link lnk center out \$1 0 \, tLink damp center out 0 \$2 0 1 \, tLink damp center out 0 \$2 1 0 \, mass grab 0 1 0 0 \, link lgrab out grab 0 0; #X connect 0 0 20 0; #X connect 1 0 3 0; #X connect 3 0 21 0; #X connect 4 0 5 0; #X connect 5 0 13 0; #X connect 6 0 7 0; #X connect 7 0 13 0; #X connect 8 0 13 0; #X connect 9 0 2 0; #X connect 11 0 10 0; #X connect 12 0 9 0; #X connect 12 1 11 0; #X connect 13 0 12 0; #X connect 14 0 13 0; #X connect 15 0 3 0; #X connect 16 0 17 0; #X connect 16 1 19 0; #X connect 17 0 13 0; #X connect 18 0 13 0; #X connect 19 0 13 0; #X connect 20 0 16 0; #X connect 20 1 18 0; #X connect 20 2 14 0; #X connect 20 3 8 0; #X connect 21 0 13 0; mapping-0.2.1/pmrepulsor_3d-help.pd0000644000076500007650000000415012030356733015676 0ustar hanshans#N canvas 2 53 579 642 10; #X floatatom 157 320 5 0 0 0 - - -; #X floatatom 100 319 5 0 0 0 - - -; #X obj 43 490 timeroll; #X obj 43 443 min 1; #X obj 43 463 max 0; #X obj 43 394 + 1; #X obj 43 418 / 2; #X obj 43 370 unpack f f f; #X obj 160 24 vsl 15 128 -1 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 0; #X obj 367 7 gcanvas 100 100; #X obj 367 115 - 50; #X obj 460 113 - 50; #X obj 367 137 / 100; #X obj 460 135 / 100; #X obj 211 24 vsl 15 128 -1 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 0; #X obj 367 160 pack f f; #X obj 367 183 t l b; #X msg 397 256 0; #X msg 397 281 grab_on \$1; #X obj 43 239 metro 50; #X obj 43 215 loadbang; #X obj 397 230 delay 200; #X msg 431 257 0.3; #X msg 367 206 grab \$1 \$2 0; #X obj 256 26 vsl 15 128 -1 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 0; #X msg 160 176 force \$1 0 0; #X msg 211 198 force 0 \$1 0; #X msg 257 229 force 0 0 \$1; #X obj 43 343 pmrepulsor_3d 0.3 0.3; #N canvas 529 245 494 344 META 0; #X text 12 185 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 165 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 105 INLET_2 float; #X text 12 45 DESCRIPTION; #X text 12 65 INLET_0 bang force grab grab_on; #X text 12 85 INLET_1 float; #X text 12 125 OUTLET_0 float; #X text 12 145 OUTLET_1; #X text 12 5 KEYWORDS control abstraction needs_work (OUTLET_1?); #X restore 518 618 pd META; #X connect 0 0 28 2; #X connect 1 0 28 1; #X connect 3 0 4 0; #X connect 4 0 2 0; #X connect 5 0 6 0; #X connect 6 0 3 0; #X connect 7 0 5 0; #X connect 7 1 5 0; #X connect 7 2 5 0; #X connect 8 0 25 0; #X connect 9 0 10 0; #X connect 9 1 11 0; #X connect 10 0 12 0; #X connect 11 0 13 0; #X connect 12 0 15 0; #X connect 13 0 15 1; #X connect 14 0 26 0; #X connect 15 0 16 0; #X connect 16 0 23 0; #X connect 16 1 22 0; #X connect 16 1 21 0; #X connect 17 0 18 0; #X connect 18 0 28 0; #X connect 19 0 28 0; #X connect 20 0 19 0; #X connect 21 0 17 0; #X connect 22 0 18 0; #X connect 23 0 28 0; #X connect 24 0 27 0; #X connect 25 0 28 0; #X connect 26 0 28 0; #X connect 27 0 28 0; #X connect 28 0 7 0; mapping-0.2.1/pmrepulsor_3d.pd0000644000076500007650000000307512030356733014755 0ustar hanshans#N canvas 1 53 871 573 10; #X obj 31 34 inlet; #X obj 59 326 loadbang; #X obj 32 535 outlet; #X obj 59 352 pack \$1 \$2; #X obj 368 37 inlet; #X msg 368 84 setK lnk \$1; #X obj 461 38 inlet; #X msg 461 84 setD lnk \$1; #X msg 206 239 bang \, get massesPos out \, get massesForces out; #X obj 32 507 route out; #X obj 141 536 outlet; #X obj 141 508 route out; #X obj 32 483 route massesPosId massesForcesId; #X obj 139 321 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 32 461 msd3D; #X msg 171 216 forceX out \$1 \, forceY out \$2 \, forceZ out \$3; #X msg 31 112 posX grab \$1; #X msg 145 192 setK lgrab \$1; #X msg 70 136 posY grab \$1; #X obj 31 55 route grab grab_on force bang; #X obj 31 88 unpack f f f; #X msg 111 159 posZ grab \$1; #X msg 60 378 reset \, mass center 0 1 0 0 0 \, mass out 1 1 0.5 0 0 \, link lnk center out \$1 0 \, tLink damp center out 0 \$2 0 1 0 \, tLink damp center out 0 \$2 1 0 0 \, tLink damp center out 0 \$2 0 0 1 \, mass grab 0 1 0 0 0 \, link lgrab out grab 0 0; #X connect 0 0 19 0; #X connect 1 0 3 0; #X connect 3 0 22 0; #X connect 4 0 5 0; #X connect 5 0 14 0; #X connect 6 0 7 0; #X connect 7 0 14 0; #X connect 8 0 14 0; #X connect 9 0 2 0; #X connect 11 0 10 0; #X connect 12 0 9 0; #X connect 12 1 11 0; #X connect 13 0 3 0; #X connect 14 0 12 0; #X connect 15 0 14 0; #X connect 16 0 14 0; #X connect 17 0 14 0; #X connect 18 0 14 0; #X connect 19 0 20 0; #X connect 19 1 17 0; #X connect 19 2 15 0; #X connect 19 3 8 0; #X connect 20 0 16 0; #X connect 20 1 18 0; #X connect 20 2 21 0; #X connect 21 0 14 0; #X connect 22 0 14 0; mapping-0.2.1/pmrigid_open_string_2d-help.pd0000644000076500007650000000401512030356733017527 0ustar hanshans#N canvas 1 53 665 578 10; #X obj 54 62 vsl 15 128 0 1 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 75 62 vsl 15 128 0 1 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X text 289 276 arguments : number of moving masses \, rigidity \, damping; #X text 210 19 simple Physical model of "string"; #X text 111 83 inlet : 1 \, 2 : position of 1st mass and last mass ; #X text 180 106 3 : forces apply to masses; #X text 180 128 4 : rigidity; #X text 180 148 5 : damping; #X text 171 249 mass 3 \, force = 1; #X text 106 309 outlet 1 : position of masses; #X msg 116 250 3 0.01; #X obj 38 421 gemhead; #X obj 38 339 t b l; #X obj 38 516 translateXYZ; #X obj 96 447 unpack f f f; #X obj 38 256 f; #X obj 135 470 - 0.5; #X obj 134 490 * 4; #X obj 175 470 - 0.5; #X obj 174 490 * 4; #X obj 249 460 gemwin; #X msg 249 408 create \, 1; #X msg 266 431 destroy; #X obj 54 365 loadbang; #X msg 54 388 0; #X obj 38 541 square 0.1; #X obj 38 206 gemhead; #X obj 38 230 b; #X obj 38 279 pmrigid_open_string_2d 9 0.1 0.01; #X obj 38 308 route 0 1; #N canvas 529 274 494 344 META 0; #X text 12 185 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 165 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 105 INLET_2 float; #X text 12 45 DESCRIPTION; #X text 12 5 KEYWORDS control abstraction; #X text 12 65 INLET_0 float; #X text 12 85 INLET_1 list; #X text 12 125 INLET_3 float; #X text 12 145 OUTLET_0 list; #X restore 605 545 pd META; #X text 164 40 useful to create different correlated output with few input.; #X connect 0 0 15 1; #X connect 10 0 28 1; #X connect 11 0 13 0; #X connect 12 0 11 0; #X connect 12 1 14 0; #X connect 13 0 25 0; #X connect 14 1 16 0; #X connect 14 2 18 0; #X connect 15 0 28 0; #X connect 16 0 17 0; #X connect 17 0 13 1; #X connect 18 0 19 0; #X connect 19 0 13 2; #X connect 21 0 20 0; #X connect 22 0 20 0; #X connect 23 0 24 0; #X connect 24 0 11 0; #X connect 26 0 27 0; #X connect 27 0 15 0; #X connect 28 0 29 0; #X connect 29 2 12 0; mapping-0.2.1/pmrigid_open_string_2d.pd0000644000076500007650000000630612030356733016606 0ustar hanshans#N canvas 1 53 743 397 10; #X obj 42 34 inlet; #X obj 42 57 t b f; #X obj 42 350 outlet; #X obj 510 34 inlet; #X msg 510 81 setK lnk \$1; #X obj 603 35 inlet; #X msg 603 81 setD lnk \$1; #N canvas 746 115 421 804 creation_corde 0; #X obj 32 23 loadbang; #X msg 141 212 0; #X obj 141 237 f; #X obj 141 288 + 1; #X obj 141 264 moses \$1; #X obj 163 315 t f f; #X obj 175 649 t a; #X obj 239 366 + 1; #X obj 118 19 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 193 424 pack f f; #X obj 193 342 t f f; #X obj 239 343 \$1; #X obj 223 395 /; #X obj 205 168 + 1; #X obj 205 145 \$1; #X msg 121 580 link lnk M-\$1 M-\$2 \$3 \$4; #X obj 121 552 pack f f \$2 \$3; #X obj 173 677 outlet; #X msg 31 578 setL lnk 0; #X obj 32 50 t b b b b b b; #N canvas 0 0 259 330 loop 0; #X obj 74 149 f; #X obj 74 213 + 1; #X obj 74 171 moses \$1; #X obj 74 104 t b f; #X obj 104 281 outlet; #X obj 74 82 inlet; #X msg 74 126 0; #X obj 74 191 t f f; #X obj 96 240 t f; #X connect 0 0 2 0; #X connect 1 0 8 0; #X connect 2 0 7 0; #X connect 3 0 6 0; #X connect 3 1 2 1; #X connect 5 0 3 0; #X connect 6 0 0 0; #X connect 7 0 1 0; #X connect 7 1 4 0; #X connect 8 0 0 0; #X restore 70 417 pd loop; #X obj 71 361 \$1; #N canvas 0 0 259 330 loop 0; #X obj 74 149 f; #X obj 74 213 + 1; #X obj 74 171 moses \$1; #X obj 74 104 t b f; #X obj 104 281 outlet; #X obj 74 82 inlet; #X msg 74 126 0; #X obj 74 191 t f f; #X obj 96 240 t f; #X connect 0 0 2 0; #X connect 1 0 8 0; #X connect 2 0 7 0; #X connect 3 0 6 0; #X connect 3 1 2 1; #X connect 5 0 3 0; #X connect 6 0 0 0; #X connect 7 0 1 0; #X connect 7 1 4 0; #X connect 8 0 0 0; #X restore 71 477 pd loop; #X obj 71 451 t f f; #X obj 71 386 + 2; #X msg 175 94 reset \, mass M-0 0 1 0 0; #X msg 193 447 mass M-\$1 1 1 \$2 0; #X msg 205 192 mass M-\$1 0 1 -0.1 0; #X connect 0 0 19 0; #X connect 1 0 2 0; #X connect 2 0 4 0; #X connect 3 0 5 0; #X connect 4 0 3 0; #X connect 5 0 2 0; #X connect 5 1 10 0; #X connect 6 0 17 0; #X connect 7 0 12 1; #X connect 8 0 19 0; #X connect 9 0 26 0; #X connect 10 0 9 0; #X connect 10 1 12 0; #X connect 11 0 7 0; #X connect 12 0 9 1; #X connect 13 0 27 0; #X connect 14 0 13 0; #X connect 15 0 6 0; #X connect 16 0 15 0; #X connect 19 0 18 0; #X connect 19 1 21 0; #X connect 19 2 1 0; #X connect 19 3 14 0; #X connect 19 4 25 0; #X connect 19 5 11 0; #X connect 20 0 23 0; #X connect 21 0 24 0; #X connect 22 0 16 0; #X connect 23 0 22 0; #X connect 23 1 16 1; #X connect 24 0 20 0; #X connect 25 0 6 0; #X connect 26 0 6 0; #X connect 27 0 6 0; #X restore 87 175 pd creation_corde; #X obj 395 31 inlet; #X obj 42 278 msd2D; #X msg 395 80 forceY M-\$1 \$2; #X msg 72 104 posY M-0 \$1; #X msg 169 130 posY M-\$2 \$1; #X obj 42 300 route massesPos; #X msg 42 81 bang \, get massesPos; #X obj 169 107 pack f f; #X obj 220 59 \$1; #X obj 220 81 + 1; #X obj 220 37 loadbang; #X connect 0 0 1 0; #X connect 1 0 14 0; #X connect 1 1 11 0; #X connect 1 1 15 0; #X connect 3 0 4 0; #X connect 4 0 9 0; #X connect 5 0 6 0; #X connect 6 0 9 0; #X connect 7 0 9 0; #X connect 8 0 10 0; #X connect 9 0 13 0; #X connect 10 0 9 0; #X connect 11 0 9 0; #X connect 12 0 9 0; #X connect 13 0 2 0; #X connect 14 0 9 0; #X connect 15 0 12 0; #X connect 16 0 17 0; #X connect 17 0 15 1; #X connect 18 0 16 0; mapping-0.2.1/pmrigid_string_2d-help.pd0000644000076500007650000000405712030356733016514 0ustar hanshans#N canvas 1 53 665 585 10; #X obj 54 62 vsl 15 128 0 1 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 75 62 vsl 15 128 0 1 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X text 227 278 arguments : number of moving masses \, rigidity \, damping; #X text 210 19 simple Physical model of "string"; #X text 164 40 usefull to create different correlated output with few input.; #X text 111 83 inlet : 1 \, 2 : position of 1st mass and last mass ; #X text 180 106 3 : forces apply to masses; #X text 180 128 4 : rigidity; #X text 180 148 5 : damping; #X text 171 249 mass 3 \, force = 1; #X text 106 309 outlet 1 : position of masses; #X msg 116 250 3 0.01; #X obj 38 421 gemhead; #X obj 38 339 t b l; #X obj 38 516 translateXYZ; #X obj 96 447 unpack f f f; #X obj 38 256 f; #X obj 135 470 - 0.5; #X obj 134 490 * 4; #X obj 175 470 - 0.5; #X obj 174 490 * 4; #X obj 249 460 gemwin; #X msg 249 408 create \, 1; #X msg 266 431 destroy; #X obj 54 365 loadbang; #X msg 54 388 0; #X obj 38 541 square 0.1; #X obj 38 206 gemhead; #X obj 38 230 b; #X obj 38 277 pmrigid_string_2d 9 0.1 0.01; #N canvas 529 303 494 344 META 0; #X text 12 205 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 185 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 5 KEYWORDS control abstraction; #X text 12 65 INLET_0 float; #X text 12 125 INLET_3 float; #X text 12 165 OUTLET_0 list; #X text 12 45 DESCRIPTION simple Physical model of "string"; #X text 12 85 INLET_1 float; #X text 12 105 INLET_2 list; #X text 12 145 INLET_4 float; #X restore 603 553 pd META; #X connect 0 0 16 1; #X connect 1 0 29 1; #X connect 11 0 29 2; #X connect 12 0 14 0; #X connect 13 0 12 0; #X connect 13 1 15 0; #X connect 14 0 26 0; #X connect 15 1 17 0; #X connect 15 2 19 0; #X connect 16 0 29 0; #X connect 17 0 18 0; #X connect 18 0 14 1; #X connect 19 0 20 0; #X connect 20 0 14 2; #X connect 22 0 21 0; #X connect 23 0 21 0; #X connect 24 0 25 0; #X connect 25 0 12 0; #X connect 27 0 28 0; #X connect 28 0 16 0; #X connect 29 0 13 0; mapping-0.2.1/pmrigid_string_2d.pd0000644000076500007650000000633512030356733015567 0ustar hanshans#N canvas 1 53 743 397 10; #X obj 42 34 inlet; #X obj 42 57 t b f; #X obj 42 350 outlet; #X obj 269 31 inlet; #X obj 510 34 inlet; #X msg 510 81 setK lnk \$1; #X obj 603 35 inlet; #X msg 603 81 setD lnk \$1; #N canvas 746 115 421 804 creation_corde 0; #X obj 32 23 loadbang; #X msg 143 117 0; #X obj 143 142 f; #X obj 143 193 + 1; #X obj 143 169 moses \$1; #X obj 165 220 t f f; #X obj 175 649 t a; #X obj 241 271 + 1; #X obj 118 19 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 195 329 pack f f; #X obj 195 247 t f f; #X obj 241 248 \$1; #X obj 225 300 /; #X obj 119 291 + 1; #X obj 119 268 \$1; #X msg 121 580 link lnk M-\$1 M-\$2 \$3 \$4; #X obj 121 552 pack f f \$2 \$3; #X obj 173 677 outlet; #X msg 31 578 setL lnk 0; #X obj 32 50 t b b b b b b; #N canvas 0 0 259 330 loop 0; #X obj 74 149 f; #X obj 74 213 + 1; #X obj 74 171 moses \$1; #X obj 74 104 t b f; #X obj 104 281 outlet; #X obj 74 82 inlet; #X msg 74 126 0; #X obj 74 191 t f f; #X obj 96 240 t f; #X connect 0 0 2 0; #X connect 1 0 8 0; #X connect 2 0 7 0; #X connect 3 0 6 0; #X connect 3 1 2 1; #X connect 5 0 3 0; #X connect 6 0 0 0; #X connect 7 0 1 0; #X connect 7 1 4 0; #X connect 8 0 0 0; #X restore 70 417 pd loop; #X obj 71 361 \$1; #N canvas 0 0 259 330 loop 0; #X obj 74 149 f; #X obj 74 213 + 1; #X obj 74 171 moses \$1; #X obj 74 104 t b f; #X obj 104 281 outlet; #X obj 74 82 inlet; #X msg 74 126 0; #X obj 74 191 t f f; #X obj 96 240 t f; #X connect 0 0 2 0; #X connect 1 0 8 0; #X connect 2 0 7 0; #X connect 3 0 6 0; #X connect 3 1 2 1; #X connect 5 0 3 0; #X connect 6 0 0 0; #X connect 7 0 1 0; #X connect 7 1 4 0; #X connect 8 0 0 0; #X restore 71 477 pd loop; #X obj 71 451 t f f; #X obj 71 386 + 2; #X msg 175 94 reset \, mass M-0 0 1 0 0; #X msg 195 352 mass M-\$1 1 1 \$2 0; #X msg 119 400 mass M-\$1 0 1 1 0; #X connect 0 0 19 0; #X connect 1 0 2 0; #X connect 2 0 4 0; #X connect 3 0 5 0; #X connect 4 0 3 0; #X connect 5 0 2 0; #X connect 5 1 10 0; #X connect 6 0 17 0; #X connect 7 0 12 1; #X connect 8 0 19 0; #X connect 9 0 26 0; #X connect 10 0 9 0; #X connect 10 1 12 0; #X connect 11 0 7 0; #X connect 12 0 9 1; #X connect 13 0 27 0; #X connect 14 0 13 0; #X connect 15 0 6 0; #X connect 16 0 15 0; #X connect 19 0 18 0; #X connect 19 1 21 0; #X connect 19 2 14 0; #X connect 19 3 1 0; #X connect 19 4 25 0; #X connect 19 5 11 0; #X connect 20 0 23 0; #X connect 21 0 24 0; #X connect 22 0 16 0; #X connect 23 0 22 0; #X connect 23 1 16 1; #X connect 24 0 20 0; #X connect 25 0 6 0; #X connect 26 0 6 0; #X connect 27 0 6 0; #X restore 87 175 pd creation_corde; #X obj 269 96 pack f f; #X obj 320 30 loadbang; #X obj 320 72 + 1; #X obj 320 51 \$1; #X obj 395 31 inlet; #X obj 42 278 msd2D; #X msg 395 80 forceY M-\$1 \$2; #X msg 72 104 posY M-0 \$1; #X msg 268 124 posY M-\$2 \$1; #X obj 42 300 route massesPos; #X msg 42 81 bang \, get massesPos; #X connect 0 0 1 0; #X connect 1 0 19 0; #X connect 1 1 16 0; #X connect 3 0 9 0; #X connect 4 0 5 0; #X connect 5 0 14 0; #X connect 6 0 7 0; #X connect 7 0 14 0; #X connect 8 0 14 0; #X connect 9 0 17 0; #X connect 10 0 12 0; #X connect 11 0 9 1; #X connect 12 0 11 0; #X connect 13 0 15 0; #X connect 14 0 18 0; #X connect 15 0 14 0; #X connect 16 0 14 0; #X connect 17 0 14 0; #X connect 18 0 2 0; #X connect 19 0 14 0; mapping-0.2.1/pmsquare_2d-help.pd0000644000076500007650000000371412030356733015327 0ustar hanshans#N canvas 1 53 677 634 10; #X obj 44 364 unpack f f; #X floatatom 199 314 5 0 0 0 - - -; #X floatatom 119 313 5 0 0 0 - - -; #X obj 44 484 timeroll; #X obj 44 437 min 1; #X obj 44 457 max 0; #X obj 44 388 + 1; #X obj 44 337 pmsquare_2d 0.3 0.3; #X obj 161 28 vsl 15 128 -1 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 0; #X obj 368 11 gcanvas 100 100; #X obj 368 119 - 50; #X obj 461 117 - 50; #X obj 368 141 / 100; #X obj 461 139 / 100; #X obj 212 28 vsl 15 128 -1 1 0 0 empty empty empty 0 -8 0 8 -262144 -1 -1 0 0; #X msg 368 210 grab \$1 \$2; #X obj 368 164 pack f f; #X obj 368 187 t l b; #X msg 398 260 0; #X msg 398 285 grab_on \$1; #X msg 161 180 force \$1 0; #X msg 212 202 force 0 \$1; #X obj 44 203 metro 50; #X obj 44 179 loadbang; #X obj 398 234 delay 200; #X msg 432 261 0.3; #X obj 44 413 / 2; #N canvas 529 288 494 344 META 0; #X text 12 185 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 165 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 125 OUTLET_0 list; #X text 12 45 DESCRIPTION simple Physical model of "string"; #X text 12 85 INLET_1 float; #X text 12 65 INLET_0 bang force grab grab_on; #X text 12 105 INLET_2 float; #X text 12 145 OUTLET_1; #X text 12 5 KEYWORDS control abstraction needs_work (OUTLET_1?); #X restore 621 619 pd META; #X connect 0 0 6 0; #X connect 0 1 6 0; #X connect 1 0 7 2; #X connect 2 0 7 1; #X connect 4 0 5 0; #X connect 5 0 3 0; #X connect 6 0 26 0; #X connect 7 0 0 0; #X connect 8 0 20 0; #X connect 9 0 10 0; #X connect 9 1 11 0; #X connect 10 0 12 0; #X connect 11 0 13 0; #X connect 12 0 16 0; #X connect 13 0 16 1; #X connect 14 0 21 0; #X connect 15 0 7 0; #X connect 16 0 17 0; #X connect 17 0 15 0; #X connect 17 1 25 0; #X connect 17 1 24 0; #X connect 18 0 19 0; #X connect 19 0 7 0; #X connect 20 0 7 0; #X connect 21 0 7 0; #X connect 22 0 7 0; #X connect 23 0 22 0; #X connect 24 0 18 0; #X connect 25 0 19 0; #X connect 26 0 4 0; mapping-0.2.1/pmsquare_2d.pd0000644000076500007650000000266212030356733014402 0ustar hanshans#N canvas 1 53 871 573 10; #X obj 31 34 inlet; #X obj 82 304 loadbang; #X obj 48 508 outlet; #X obj 82 330 pack \$1 \$2; #X obj 368 37 inlet; #X msg 368 84 setK lnk \$1; #X obj 461 38 inlet; #X msg 461 84 setD lnk \$1; #X obj 48 480 route out; #X obj 157 509 outlet; #X obj 157 481 route out; #X obj 48 456 route massesPosId massesForcesId; #X obj 49 434 msd2D; #X obj 162 299 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X msg 179 116 bang \, get massesPos out \, get massesForces out; #X msg 130 95 forceX out \$1 \, forceY out \$2; #X obj 31 95 unpack f f; #X msg 31 119 posX grab \$1; #X msg 80 172 setK lgrab \$1; #X msg 96 141 posY grab \$1; #X obj 31 62 route grab grab_on force bang; #X msg 82 356 reset \, mass corner 0 1 -1 -1 \, mass corner 0 1 1 -1 \, mass corner 0 1 1 1 \, mass corner 0 1 -1 1 \, mass out 1 1 0 0 \, link lnk corner out \$1 \$2 \, mass grab 0 1 0 0 \, link lgrab out grab 0 0; #X connect 0 0 20 0; #X connect 1 0 3 0; #X connect 3 0 21 0; #X connect 4 0 5 0; #X connect 5 0 12 0; #X connect 6 0 7 0; #X connect 7 0 12 0; #X connect 8 0 2 0; #X connect 10 0 9 0; #X connect 11 0 8 0; #X connect 11 1 10 0; #X connect 12 0 11 0; #X connect 13 0 3 0; #X connect 14 0 12 0; #X connect 15 0 12 0; #X connect 16 0 17 0; #X connect 16 1 19 0; #X connect 17 0 12 0; #X connect 18 0 12 0; #X connect 19 0 12 0; #X connect 20 0 16 0; #X connect 20 1 18 0; #X connect 20 2 15 0; #X connect 20 3 14 0; #X connect 21 0 12 0; mapping-0.2.1/pmstring_1d-help.pd0000644000076500007650000000777312030356733015345 0ustar hanshans#N canvas 1 53 665 618 10; #X obj 39 467 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 56 467 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 73 467 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 90 467 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 107 467 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 124 467 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 141 467 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 158 467 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 175 467 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 192 467 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 39 106 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 78 106 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 39 436 route 0 1 2 3 4 5 6 7 8 9 10; #X obj 209 467 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X text 207 308 arguments : number of moving masses \, rigidity \, damping; #X text 210 19 simple Physical model of "string"; #X text 164 40 usefull to create different correlated output with few input.; #X text 111 113 inlet : 1 \, 2 : position of 1st mass and last mass ; #X text 180 136 3 : forces apply to masses; #X text 180 158 4 : rigidity; #X text 180 178 5 : damping; #X msg 117 279 3 1; #X text 148 281 mass 3 \, force = 1; #X obj 306 468 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 323 468 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 7900 1; #X obj 340 468 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 357 468 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 5500 1; #X obj 374 468 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 300 1; #X obj 391 468 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 408 468 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 425 468 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 2600 1; #X obj 442 468 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 459 468 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 8100 1; #X obj 306 437 route 0 1 2 3 4 5 6 7 8 9 10; #X obj 476 468 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 12700 1; #X obj 39 245 resample 5; #X obj 306 342 unpack f f; #X obj 306 412 pack f f; #X obj 371 367 * 100; #X obj 371 391 + 64; #X text 99 361 2 : forces apply to masses; #X text 51 344 outlet 1 : position of masses; #X obj 39 307 pmstring_1d 9 0.01 0.01; #N canvas 529 171 494 344 META 0; #X text 12 225 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 205 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 165 OUTLET_0 list; #X text 12 85 INLET_1 float; #X text 12 45 DESCRIPTION simple Physical model of "string"; #X text 12 65 INLET_0 float; #X text 12 105 INLET_2 list; #X text 12 125 INLET_3 float; #X text 12 145 INLET_4 float; #X text 12 185 OUTLET_1 list; #X text 12 5 KEYWORDS control abstraction; #X restore 606 587 pd META; #X connect 10 0 35 0; #X connect 11 0 42 1; #X connect 12 0 0 0; #X connect 12 1 1 0; #X connect 12 2 2 0; #X connect 12 3 3 0; #X connect 12 4 4 0; #X connect 12 5 5 0; #X connect 12 6 6 0; #X connect 12 7 7 0; #X connect 12 8 8 0; #X connect 12 9 9 0; #X connect 12 10 13 0; #X connect 21 0 42 2; #X connect 33 0 23 0; #X connect 33 1 24 0; #X connect 33 2 25 0; #X connect 33 3 26 0; #X connect 33 4 27 0; #X connect 33 5 28 0; #X connect 33 6 29 0; #X connect 33 7 30 0; #X connect 33 8 31 0; #X connect 33 9 32 0; #X connect 33 10 34 0; #X connect 35 0 42 0; #X connect 36 0 37 0; #X connect 36 1 38 0; #X connect 37 0 33 0; #X connect 38 0 39 0; #X connect 39 0 37 1; #X connect 42 0 12 0; #X connect 42 1 36 0; mapping-0.2.1/pmstring_1d.pd0000644000076500007650000000513412030356733014404 0ustar hanshans#N canvas 1 53 909 400 10; #X obj 31 278 msd; #X obj 31 34 inlet; #X obj 31 57 t b f; #X obj 31 352 outlet; #X obj 358 34 inlet; #X obj 710 41 inlet; #X msg 710 88 setK lnk \$1; #X obj 803 42 inlet; #X msg 803 88 setD lnk \$1; #X obj 113 352 outlet; #N canvas 795 187 457 717 creation_corde 0; #X obj 43 23 loadbang; #X msg 163 94 reset \, mass M-0 0 1 0; #X msg 143 117 0; #X obj 143 142 f; #X obj 143 193 + 1; #X obj 143 169 moses \$1; #X obj 165 220 t f f; #X obj 175 649 t a; #X obj 241 271 + 1; #X obj 129 19 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X msg 123 404 mass M-\$1 0 1 1; #X obj 195 329 pack f f; #X obj 195 247 t f f; #X obj 241 248 \$1; #X msg 195 352 mass M-\$1 1 1 \$2; #X obj 225 300 /; #X obj 123 378 + 1; #X obj 123 355 \$1; #X msg 121 580 link lnk M-\$1 M-\$2 \$3 \$4; #X obj 121 552 pack f f \$2 \$3; #X obj 69 418 f; #X obj 69 495 + 1; #X obj 69 445 moses \$1; #X obj 91 522 t f f; #X obj 69 470 t f f; #X msg 69 391 -1; #X obj 152 524 + 2; #X obj 173 677 outlet; #X msg 31 578 setL lnk 0; #X obj 43 50 t b b b b b b; #X connect 0 0 29 0; #X connect 1 0 7 0; #X connect 2 0 3 0; #X connect 3 0 5 0; #X connect 4 0 6 0; #X connect 5 0 4 0; #X connect 6 0 3 0; #X connect 6 1 12 0; #X connect 7 0 27 0; #X connect 8 0 15 1; #X connect 9 0 29 0; #X connect 10 0 7 0; #X connect 11 0 14 0; #X connect 12 0 11 0; #X connect 12 1 15 0; #X connect 13 0 8 0; #X connect 14 0 7 0; #X connect 15 0 11 1; #X connect 16 0 10 0; #X connect 17 0 16 0; #X connect 18 0 7 0; #X connect 19 0 18 0; #X connect 20 0 22 0; #X connect 21 0 23 0; #X connect 22 0 24 0; #X connect 23 0 20 0; #X connect 23 1 19 0; #X connect 24 0 21 0; #X connect 24 1 26 0; #X connect 25 0 20 0; #X connect 26 0 19 1; #X connect 28 0 7 0; #X connect 29 0 28 0; #X connect 29 1 25 0; #X connect 29 2 17 0; #X connect 29 3 2 0; #X connect 29 4 1 0; #X connect 29 5 13 0; #X restore 105 149 pd creation_corde; #X msg 61 104 posX M-0 \$1; #X obj 358 99 pack f f; #X obj 409 33 loadbang; #X obj 409 75 + 1; #X msg 358 127 posX M-\$2 \$1; #X obj 409 54 \$1; #X obj 540 41 inlet; #X msg 540 115 forceX M-\$1 \$2; #X obj 31 300 route massesPos massesForces; #X msg 31 81 bang \, get massesPos \, get massesForces; #X connect 0 0 19 0; #X connect 1 0 2 0; #X connect 2 0 20 0; #X connect 2 1 11 0; #X connect 4 0 12 0; #X connect 5 0 6 0; #X connect 6 0 0 0; #X connect 7 0 8 0; #X connect 8 0 0 0; #X connect 10 0 0 0; #X connect 11 0 0 0; #X connect 12 0 15 0; #X connect 13 0 16 0; #X connect 14 0 12 1; #X connect 15 0 0 0; #X connect 16 0 14 0; #X connect 17 0 18 0; #X connect 18 0 0 0; #X connect 19 0 3 0; #X connect 19 1 9 0; #X connect 20 0 0 0; mapping-0.2.1/polar-help.pd0000644000076500007650000000355312030356733014223 0ustar hanshans#N canvas 1 53 484 431 10; #X obj 5 2 cnv 15 450 20 empty empty polar 2 11 1 18 -233017 -66577 0; #X floatatom 100 248 5 0 0 0 x - -; #X floatatom 100 335 7 0 0 0 radius-> - -; #X text 124 370 For more info:; #X obj 228 368 pddp/pddplink ../mapping-about.pd -text mapping-about ; #X obj 100 295 polar; #X floatatom 159 335 7 0 0 1 <-angle - -; #X floatatom 158 248 5 0 0 1 y - -; #X obj 157 265 t b f; #X text 275 283 related objects:; #X text 273 342 example:; #X text 43 86 center:; #X text 17 29 Converts cartesian coordinates(x \, y) to polar coordinates (radius \, angle). The angle is in radians (-pi to pi). The angle 0 is at cartesian (1 \, 0.5) or to the right.; #X obj 207 303 spiral; #X obj 95 123 unauthorized/grid grid1 100 0 1 100 0 1 1 0.1 0.1 10 10 7 243; #N canvas 841 235 450 300 c 0; #X obj 100 100 bng 30 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X msg 99 147 goto 49 49; #X obj 101 175 outlet; #X connect 0 0 1 0; #X connect 1 0 2 0; #X coords 0 -1 1 1 30 30 1 100 100; #X restore 95 85 pd c; #X obj 327 342 pddp/pddplink ../hid/polar-joystick.pd -text polar-joystick.pd ; #X obj 267 323 cartesian2spherical; #X obj 348 303 mapping2radians; #N canvas 508 175 494 344 META 0; #X text 12 175 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 155 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 115 OUTLET_0 float; #X text 12 135 OUTLET_1 float; #X text 12 5 KEYWORDS control abstraction conversion; #X text 12 45 DESCRIPTION convert cartesian coordinates(x \, y) to polar coordinates (radius \, angle); #X text 12 75 INLET_0 float bang; #X text 12 95 INLET_1 float; #X restore 427 402 pd META; #X connect 1 0 5 0; #X connect 5 0 2 0; #X connect 5 1 6 0; #X connect 7 0 8 0; #X connect 8 0 1 0; #X connect 8 1 5 1; #X connect 14 0 1 0; #X connect 14 1 7 0; #X connect 15 0 14 0; mapping-0.2.1/polar.pd0000644000076500007650000000262312030356733013272 0ustar hanshans#N canvas 1 53 645 439 10; #X text 28 331 output range: 0 to 1; #X text 28 41 input range: 0 to 1; #X text 11 5 [hid_polar]; #X text 220 39 input range: 0 to 1; #X text 29 29 x-axis value; #X text 221 26 y-axis value; #X obj 252 140 - 1; #X obj 252 120 * 2; #X obj 29 140 - 1; #X obj 29 120 * 2; #X text 61 125 convert range to -1 to 1; #X text 456 328 output range: 0 to 1; #X text 245 371 released under the GNU GPL; #X text 28 357 (C) Copyright 2005 Hans-Christoph Steiner ; #X obj 29 164 vector; #X obj 384 35 loadbang; #X obj 29 58 inlet x; #X obj 252 58 inlet y; #X obj 29 312 outlet radius; #X obj 447 310 outlet angle; #X obj 514 268 mapping/reverse; #X msg 500 121 1; #X msg 384 120 2; #X obj 384 100 select clockwise; #X obj 384 59 trigger bang bang; #X obj 384 80 purepd/symbol_argument \$1; #X obj 567 213 == 2; #X obj 500 180 f; #X obj 500 212 == 1; #X obj 447 236 spigot 1; #X obj 514 237 spigot 0; #X connect 6 0 14 1; #X connect 7 0 6 0; #X connect 8 0 14 0; #X connect 9 0 8 0; #X connect 14 0 18 0; #X connect 14 1 29 0; #X connect 14 1 30 0; #X connect 15 0 24 0; #X connect 16 0 9 0; #X connect 17 0 7 0; #X connect 20 0 19 0; #X connect 21 0 27 0; #X connect 22 0 27 0; #X connect 23 0 22 0; #X connect 24 0 25 0; #X connect 24 1 21 0; #X connect 25 0 23 0; #X connect 26 0 30 1; #X connect 27 0 26 0; #X connect 27 0 28 0; #X connect 28 0 29 1; #X connect 29 0 19 0; #X connect 30 0 20 0; mapping-0.2.1/polar2cartesian-help.pd0000644000076500007650000000345212030356733016175 0ustar hanshans#N canvas 1 53 504 451 10; #X text 61 213 (x \, y \, z); #X obj 277 122 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144 -1 -1 0 1; #X obj 218 102 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144 -1 -1 0 1; #X obj 160 72 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144 -1 -1 0 1; #X floatatom 164 93 5 0 0 0 - - -; #X floatatom 221 122 5 0 0 0 - - -; #X floatatom 282 141 5 0 0 0 - - -; #X floatatom 214 214 5 0 0 0 - - -; #X floatatom 157 214 5 0 0 0 - - -; #X floatatom 274 214 5 0 0 0 - - -; #X obj 157 181 cartesian; #X obj 96 356 pddp/pddplink http://en.wikipedia.org/wiki/Cylindrical_coordinate_system ; #X obj 96 336 pddp/pddplink http://en.wikipedia.org/wiki/Polar_coordinate_system ; #X obj 96 386 pddp/pddplink http://en.wikipedia.org/wiki/Cartesian_coordinate_system ; #X text 32 336 2D input:; #X text 32 356 3D input:; #X text 44 386 output:; #X text 51 20 convert polar/cylindrical coordinates to cartesian coordinates ; #X text 61 158 (r \, phi \, z); #X obj 5 2 cnv 15 450 20 empty empty cartesian 2 11 1 18 -233017 -66577 0; #N canvas 507 146 494 344 META 0; #X text 12 215 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 195 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 95 INLET_1 float; #X text 12 75 INLET_0 float; #X text 12 45 DESCRIPTION convert polar/cylindrical coordinates to cartesian coordinates; #X text 12 115 INLET_2 float; #X text 12 135 OUTLET_0 float; #X text 12 155 OUTLET_1 float; #X text 12 175 OUTLET_2 float; #X text 12 5 KEYWORDS control abstraction conversion; #X restore 453 422 pd META; #X connect 1 0 6 0; #X connect 1 0 10 2; #X connect 2 0 5 0; #X connect 2 0 10 1; #X connect 3 0 4 0; #X connect 3 0 10 0; #X connect 10 0 8 0; #X connect 10 1 7 0; #X connect 10 2 9 0; mapping-0.2.1/polar2cartesian.pd0000644000076500007650000000226312030356733015246 0ustar hanshans#N canvas 1 53 528 390 10; #X obj 160 230 zexy/pol2cart; #X obj 11 36 inlet radius; #X obj 161 36 inlet angle; #X text 12 18 input range: 0 to 1; #X text 161 19 input range: 0 to 1; #X obj 106 332 outlet x; #X obj 203 334 outlet y; #X obj 334 36 inlet z; #X text 334 19 input range: 0 to 1; #X obj 300 335 outlet z; #X obj 128 147 float; #X obj 205 147 float; #X obj 315 146 float; #X obj 128 76 trigger bang float bang; #X obj 334 76 trigger bang bang float; #X obj 204 183 mapping2radians; #X obj 128 183 * 1.41421; #X obj 204 271 / 2; #X obj 204 291 + 0.5; #X obj 106 269 / 2; #X obj 106 289 + 0.5; #X text 261 276 TODO: z needs to be properly scaled; #X text 355 360 released under the GNU GPL; #X text 8 360 (C) Copyright 2008 Hans-Christoph Steiner ; #X connect 0 0 19 0; #X connect 0 1 17 0; #X connect 1 0 10 0; #X connect 2 0 13 0; #X connect 7 0 14 0; #X connect 10 0 16 0; #X connect 11 0 15 0; #X connect 12 0 0 2; #X connect 13 0 10 0; #X connect 13 1 11 0; #X connect 13 2 12 0; #X connect 14 0 10 0; #X connect 14 1 11 0; #X connect 14 2 12 1; #X connect 15 0 0 1; #X connect 16 0 0 0; #X connect 17 0 18 0; #X connect 18 0 6 0; #X connect 19 0 20 0; #X connect 20 0 5 0; mapping-0.2.1/quadratic-help.pd0000644000076500007650000001011412030356733015052 0ustar hanshans#N canvas 1 53 572 468 12; #X declare -lib mapping -lib ggee; #X obj 410 58 import mapping ggee; #X obj 5 2 cnv 15 550 20 empty empty quadratic 2 11 1 18 -233017 -66577 0; #X msg 516 2 pddp; #X text 313 393 released under the GNU GPL; #X text 111 347 For more info:; #X floatatom 35 127 8 0 0 0 - - -; #X floatatom 35 278 8 0 0 0 - - -; #X obj 38 305 hsl 200 20 0 1 0 0 empty empty curved_output 22 11 1 12 -262144 -1 -1 0 1; #X obj 38 101 hsl 200 20 0 1 0 0 empty empty raw_input 22 11 1 12 -261681 -1 -1 0 1; #X obj 148 167 hsl 50 15 0 1 0 1 \$0-y-slider \$0-y-slider-receive y 5 9 0 11 -204800 -1 -1 4778 0; #X floatatom 155 186 7 0 0 0 - - -; #X obj 362 366 pddp/open mapping-about; #X text 0 393 (C) Copyright 2007 Free Software Foundation; #X obj 54 167 hsl 50 15 0 1 0 1 \$0-x-slider \$0-x-slider-receive x 5 9 0 11 -232576 -1 -1 2597 0; #X floatatom 64 187 7 0 0 0 - - -; #N canvas 273 69 482 415 draw_array 0; #X msg 54 82 bang; #X obj 54 133 until; #X text 85 82 start; #X obj 54 155 f; #X obj 83 155 + 1; #X obj 54 43 loadbang; #X obj 54 210 trigger float float; #X obj 127 157 select 0; #X obj 66 343 tabwrite \$0-curve; #X obj 139 53 trigger bang float; #X obj 83 177 mod 200; #X obj 54 254 / 200; #X text 96 254 mapping output range: 0 to 1; #N canvas 0 22 461 369 receive 0; #X obj 253 33 receive \$0-y; #X obj 253 57 moses; #X obj 280 78 moses 201; #X obj 331 99 bang; #X msg 331 120 200; #X obj 238 98 bang; #X msg 238 119 0; #X obj 91 56 moses; #X obj 118 77 moses 201; #X obj 169 98 bang; #X msg 169 119 200; #X obj 76 97 bang; #X msg 76 118 0; #X obj 91 32 receive \$0-x; #X obj 117 289 receive \$0-x-slider; #X floatatom 118 312 5 0 0 0 - - -; #X floatatom 279 313 5 0 0 0 - - -; #X obj 280 290 receive \$0-y-slider; #X obj 118 169 / 200; #X obj 280 170 / 200; #X obj 118 249 send \$0-x-slider-receive; #X obj 280 250 send \$0-y-slider-receive; #X msg 281 193 1 \$1; #X obj 280 221 -; #X connect 0 0 1 0; #X connect 1 0 5 0; #X connect 1 1 2 0; #X connect 2 0 19 0; #X connect 2 1 3 0; #X connect 3 0 4 0; #X connect 4 0 19 0; #X connect 5 0 6 0; #X connect 6 0 19 0; #X connect 7 0 11 0; #X connect 7 1 8 0; #X connect 8 0 18 0; #X connect 8 1 9 0; #X connect 9 0 10 0; #X connect 10 0 18 0; #X connect 11 0 12 0; #X connect 12 0 18 0; #X connect 13 0 7 0; #X connect 14 0 15 0; #X connect 17 0 16 0; #X connect 18 0 20 0; #X connect 19 0 22 0; #X connect 22 0 23 0; #X connect 23 0 21 0; #X restore 265 348 pd receive from gcanvas; #X obj 138 9 receive \$0-x-slider; #X obj 293 12 receive \$0-y-slider; #X obj 294 50 trigger bang float; #X obj 54 108 cyclone/speedlim 100; #X obj 54 280 quadratic; #X connect 0 0 17 0; #X connect 1 0 3 0; #X connect 3 0 4 0; #X connect 3 0 6 0; #X connect 4 0 10 0; #X connect 5 0 0 0; #X connect 6 0 11 0; #X connect 6 1 8 1; #X connect 7 0 1 1; #X connect 9 0 0 0; #X connect 9 1 18 1; #X connect 10 0 3 1; #X connect 10 0 7 0; #X connect 11 0 18 0; #X connect 14 0 9 0; #X connect 15 0 16 0; #X connect 16 0 0 0; #X connect 16 1 18 2; #X connect 17 0 1 0; #X connect 18 0 8 0; #X restore 305 58 pd draw_array; #X obj 304 103 gcanvas 200 200; #N canvas 0 22 450 300 (subpatch) 0; #X array \$0-curve 200 float 0; #X coords 0 1 199 0 200 200 1; #X restore 304 103 graph; #X obj 304 308 send \$0-x; #X obj 446 307 send \$0-y; #X text 3 33 This object curves the input range using a quadratic bezier curve.; #X obj 220 347 pddp/pddplink http://www.tinaja.com/text/bezmath.html ; #X obj 35 218 quadratic; #N canvas 464 140 494 344 META 0; #X text 12 175 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 95 INLET_1 float; #X text 12 135 OUTLET_0 float; #X text 12 155 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 75 INLET_0 float; #X text 12 5 KEYWORDS control abstraction; #X text 12 45 DESCRIPTION curve the input range using a quadratic bezier curve; #X text 12 115 INLET_2 float; #X restore 495 429 pd META; #X connect 5 0 22 0; #X connect 6 0 7 0; #X connect 8 0 5 0; #X connect 9 0 10 0; #X connect 9 0 22 2; #X connect 13 0 14 0; #X connect 13 0 22 1; #X connect 16 0 18 0; #X connect 16 1 19 0; #X connect 22 0 6 0; mapping-0.2.1/quadratic.pd0000644000076500007650000000141412030356733014127 0ustar hanshans#N canvas 1 53 589 471 10; #X obj 22 10 inlet; #X obj 412 9 inlet; #X obj 174 405 outlet; #X obj 270 10 loadbang; #X obj 167 9 inlet; #X obj 167 50 purepd/float_argument \$1; #X obj 412 50 purepd/float_argument \$2; #X obj 167 97 select 0.5; #X obj 224 149 float; #X msg 167 121 0.50001; #X text 225 121 prevent divide by 0; #X obj 271 213 expr 1 - 2*$f1; #X obj 22 250 expr (sqrt($f2*$f2 + $f3*$f1) - $f2) / $f3; #X obj 175 309 expr (1 - 2*$f2)*($f1*$f1) + (2*$f2)*$f1; #X connect 0 0 12 0; #X connect 1 0 6 0; #X connect 3 0 5 0; #X connect 3 0 6 0; #X connect 4 0 5 0; #X connect 5 0 7 0; #X connect 6 0 13 1; #X connect 7 0 9 0; #X connect 7 1 8 0; #X connect 8 0 11 0; #X connect 8 0 12 1; #X connect 9 0 8 0; #X connect 11 0 12 2; #X connect 12 0 13 0; #X connect 13 0 2 0; mapping-0.2.1/quartic-help.pd0000644000076500007650000001017612030356733014555 0ustar hanshans#N canvas 1 53 530 447 10; #X declare -lib mapping -lib ggee; #X obj 386 30 import mapping ggee; #X obj 5 2 cnv 15 500 20 empty empty quartic 2 11 1 18 -233017 -66577 0; #X msg 471 2 pddp; #X text 304 393 released under the GNU GPL; #X text 128 345 For more info:; #X floatatom 25 127 8 0 0 0 - - -; #X floatatom 25 288 8 0 0 0 - - -; #X obj 28 305 hsl 200 20 0 1 0 0 empty empty curved_output 22 11 1 12 -262144 -1 -1 0 1; #X obj 28 101 hsl 200 20 0 1 0 0 empty empty raw_input 22 11 1 12 -261681 -1 -1 0 1; #X obj 158 167 hsl 50 15 0 1 0 1 \$0-y-slider \$0-y-slider-receive y 5 9 0 11 -204800 -1 -1 1397 0; #X floatatom 165 186 7 0 0 0 - - -; #X obj 316 340 pddp/open mapping-about; #X text 37 392 (C) Copyright 2007 Free Software Foundation; #X obj 74 167 hsl 50 15 0 1 0 1 \$0-x-slider \$0-x-slider-receive x 5 9 0 11 -232576 -1 -1 3209 0; #X floatatom 80 187 7 0 0 0 - - -; #X obj 25 217 quartic; #N canvas 273 69 478 411 draw_array 0; #X msg 54 82 bang; #X obj 54 133 until; #X text 85 82 start; #X obj 54 155 f; #X obj 83 155 + 1; #X obj 54 43 loadbang; #X obj 54 210 trigger float float; #X obj 127 157 select 0; #X obj 66 343 tabwrite \$0-curve; #X obj 139 53 trigger bang float; #X obj 83 177 mod 200; #X obj 54 254 / 200; #X text 96 254 mapping output range: 0 to 1; #N canvas 0 22 461 369 receive 0; #X obj 253 33 receive \$0-y; #X obj 253 57 moses; #X obj 280 78 moses 201; #X obj 331 99 bang; #X msg 331 120 200; #X obj 238 98 bang; #X msg 238 119 0; #X obj 91 56 moses; #X obj 118 77 moses 201; #X obj 169 98 bang; #X msg 169 119 200; #X obj 76 97 bang; #X msg 76 118 0; #X obj 91 32 receive \$0-x; #X obj 117 289 receive \$0-x-slider; #X floatatom 118 312 5 0 0 0 - - -; #X floatatom 279 313 5 0 0 0 - - -; #X obj 280 290 receive \$0-y-slider; #X obj 118 169 / 200; #X obj 280 170 / 200; #X obj 118 249 send \$0-x-slider-receive; #X obj 280 250 send \$0-y-slider-receive; #X msg 281 193 1 \$1; #X obj 280 221 -; #X connect 0 0 1 0; #X connect 1 0 5 0; #X connect 1 1 2 0; #X connect 2 0 19 0; #X connect 2 1 3 0; #X connect 3 0 4 0; #X connect 4 0 19 0; #X connect 5 0 6 0; #X connect 6 0 19 0; #X connect 7 0 11 0; #X connect 7 1 8 0; #X connect 8 0 18 0; #X connect 8 1 9 0; #X connect 9 0 10 0; #X connect 10 0 18 0; #X connect 11 0 12 0; #X connect 12 0 18 0; #X connect 13 0 7 0; #X connect 14 0 15 0; #X connect 17 0 16 0; #X connect 18 0 20 0; #X connect 19 0 22 0; #X connect 22 0 23 0; #X connect 23 0 21 0; #X restore 265 348 pd receive from gcanvas; #X obj 138 9 receive \$0-x-slider; #X obj 293 12 receive \$0-y-slider; #X obj 294 50 trigger bang float; #X obj 54 108 cyclone/speedlim 100; #X obj 54 280 quartic; #X connect 0 0 17 0; #X connect 1 0 3 0; #X connect 3 0 4 0; #X connect 3 0 6 0; #X connect 4 0 10 0; #X connect 5 0 0 0; #X connect 6 0 11 0; #X connect 6 1 8 1; #X connect 7 0 1 1; #X connect 9 0 0 0; #X connect 9 1 18 1; #X connect 10 0 3 1; #X connect 10 0 7 0; #X connect 11 0 18 0; #X connect 14 0 9 0; #X connect 15 0 16 0; #X connect 16 0 0 0; #X connect 16 1 18 2; #X connect 17 0 1 0; #X connect 18 0 8 0; #X restore 387 71 pd draw_array; #X obj 282 103 gcanvas 200 200; #N canvas 0 22 450 300 (subpatch) 0; #X array \$0-curve 200 float 0; #X coords 0 1 199 0 200 200 1; #X restore 282 103 graph; #X obj 282 308 send \$0-x; #X obj 424 307 send \$0-y; #X text 17 39 This object curves the input range using the quartic function with two control parameters.; #X obj 186 367 pddp/pddplink http://en.wikipedia.org/wiki/Quartic_function ; #N canvas 465 169 494 344 META 0; #X text 12 175 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 95 INLET_1 float; #X text 12 135 OUTLET_0 float; #X text 12 155 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 75 INLET_0 float; #X text 12 5 KEYWORDS control abstraction; #X text 12 115 INLET_2 float; #X text 12 45 DESCRIPTION curve the input range using the quartic function with two control parameters; #X restore 472 417 pd META; #X connect 5 0 15 0; #X connect 6 0 7 0; #X connect 8 0 5 0; #X connect 9 0 10 0; #X connect 9 0 15 2; #X connect 13 0 14 0; #X connect 13 0 15 1; #X connect 15 0 6 0; #X connect 17 0 19 0; #X connect 17 1 20 0; mapping-0.2.1/quartic.pd0000644000076500007650000000112012030356733013614 0ustar hanshans#N canvas 1 53 569 383 10; #X obj 52 10 inlet; #X obj 387 9 inlet; #X obj 52 324 outlet; #X obj 300 10 loadbang; #X obj 227 9 inlet; #X obj 227 50 purepd/float_argument \$1; #X obj 387 50 purepd/float_argument \$2; #X obj 227 95 -; #X msg 227 73 1 \$1; #X obj 52 159 expr (1-2*$f2)*pow($f1 \, 2) + (2*$f2)*$f1; #X obj 52 190 expr (1-2*$f2)*pow($f1 \, 2) + (2*$f2)*$f1; #X connect 0 0 9 0; #X connect 1 0 6 0; #X connect 3 0 5 0; #X connect 3 0 6 0; #X connect 4 0 5 0; #X connect 5 0 8 0; #X connect 6 0 10 1; #X connect 7 0 9 1; #X connect 8 0 7 0; #X connect 9 0 10 0; #X connect 10 0 2 0; mapping-0.2.1/radians2mapping-help.pd0000644000076500007650000000256212030356733016164 0ustar hanshans#N canvas 1 53 533 333 10; #X obj 5 2 cnv 15 450 20 empty empty radians2mapping 2 11 1 18 -233017 -66577 0; #X msg 422 3 pddp; #X text 254 269 released under the GNU GPL; #X text 144 228 For more info:; #X text 40 254 (C) Copyright 2005 Hans-Christoph Steiner ; #X text 254 186 related objects:; #X floatatom 69 195 5 0 0 1 mapping - -; #X obj 72 95 hsl 128 15 -3.14159 3.14159 0 0 empty empty radians 6 7 1 10 -262131 -1 -1 0 0; #X floatatom 95 125 9 0 0 0 - - -; #X obj 69 160 radians2mapping; #X text 21 35 This object converts numbers from radians (-pi to pi) to the mapping range (0 to 1) with the 0's lining up in the same place. ; #X obj 252 202 radians2mapping; #X obj 140 202 degrees2mapping; #X obj 365 202 mapping2degrees; #X obj 248 226 pddp/pddplink ../mapping-about.pd -text mapping-about ; #N canvas 436 140 494 344 META 0; #X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 105 OUTLET_0 float; #X text 12 125 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 85 INLET_0 float; #X text 12 45 DESCRIPTION convert numbers from radians (-pi to pi) to the mapping range (0 to 1) with the 0's lining up in the same place ; #X text 12 5 KEYWORDS control abstraction conversion; #X restore 474 302 pd META; #X connect 7 0 8 0; #X connect 7 0 9 0; #X connect 9 0 6 0; mapping-0.2.1/radians2mapping.pd0000644000076500007650000000124112030356733015227 0ustar hanshans#N canvas 1 53 429 400 10; #X obj 42 36 inlet; #X obj 140 297 outlet; #X text 19 9 [rad2hid]; #X obj 141 234 % 628318; #X obj 127 167 moses 0; #X obj 141 255 / 628318; #X obj 42 96 * 100000; #X obj 41 167 % 628318; #X obj 42 136 moses -314159; #X obj 85 200 + 628318; #X text 10 66 % is an int operation \, we want floats \, so convert to large integers; #X text 225 351 released under the GNU GPL; #X text 8 337 (C) Copyright 2005 Hans-Christoph Steiner ; #X connect 0 0 6 0; #X connect 3 0 5 0; #X connect 4 0 9 0; #X connect 4 1 3 0; #X connect 5 0 1 0; #X connect 6 0 8 0; #X connect 7 0 9 0; #X connect 8 0 7 0; #X connect 8 1 4 0; #X connect 9 0 3 0; mapping-0.2.1/rec_play-help.pd0000644000076500007650000000302012030356733014671 0ustar hanshans#N canvas 1 53 617 488 10; #X obj 41 41 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 5700 1; #X obj 41 327 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 -1 -1 0 1; #X obj 41 179 / 127; #X obj 41 303 * 127; #X obj 76 202 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1; #X text 96 202 rec; #X obj 112 219 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 1; #X msg 148 238 write test; #X msg 161 258 read test; #X text 346 152 arg1 : number of sample to record; #X text 346 172 arg2 : time between sample (ms); #X text 190 16 record and play stream of float; #X text 141 45 Warning : the save fonctionality work only if data are :; #X text 478 69 -1 < data < 1; #X text 255 242 write and load in a wave file; #X text 168 280 10s recording \, 10ms between data; #X text 132 219 play (loop); #X obj 41 279 rec_play 1000 10; #N canvas 438 198 494 344 META 0; #X text 12 185 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 145 OUTLET_0 float; #X text 12 165 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 65 INLET_0 float; #X text 12 45 DESCRIPTION record and play stream of float; #X text 12 85 INLET_1 float; #X text 12 105 INLET_2 float; #X text 12 125 INLET_3 write read; #X text 12 5 KEYWORDS control abstraction filesystem; #X restore 563 463 pd META; #X connect 0 0 2 0; #X connect 2 0 17 0; #X connect 3 0 1 0; #X connect 4 0 17 1; #X connect 6 0 17 2; #X connect 7 0 17 3; #X connect 8 0 17 3; #X connect 17 0 3 0; mapping-0.2.1/rec_play.pd0000644000076500007650000000346112030356733013754 0ustar hanshans#N canvas 1 53 946 507 10; #X obj 41 469 outlet; #X obj 79 217 table \$0-rec \$1; #X obj 199 21 inlet; #X obj 109 134 f; #X obj 109 155 + 1; #X obj 79 106 t f b; #X obj 354 27 inlet; #X obj 79 195 tabwrite \$0-rec; #X text 84 21 data; #X text 244 24 rec; #X text 401 29 play; #X obj 79 78 spigot 0; #X obj 41 256 spigot 1; #X obj 290 87 == 0; #X obj 180 394 tabread \$0-rec; #X obj 180 315 f; #X obj 192 342 + 1; #X obj 180 259 spigot 0; #X obj 375 89 sel 1; #X msg 375 114 0; #X obj 229 70 sel 1; #X msg 229 95 0; #X obj 180 284 b; #X text 716 54 arg1 : number of sample to record; #X text 716 74 arg2 : time between sample (ms); #X obj 491 283 soundfiler; #X obj 491 186 pack s s; #X obj 542 158 symbol \$0-rec; #X obj 542 130 loadbang; #X obj 491 69 route read write; #X obj 491 31 inlet; #X text 550 34 read / write; #X obj 632 200 pack s s; #X obj 192 370 mod \$1; #X obj 199 47 t f f; #X obj 59 45 resample \$2; #X obj 41 21 inlet; #X msg 632 226 write \$1 \$2; #X msg 491 220 read \$1.wav \$2; #X connect 2 0 34 0; #X connect 3 0 4 0; #X connect 4 0 3 1; #X connect 4 0 7 1; #X connect 5 0 7 0; #X connect 5 1 3 0; #X connect 6 0 13 0; #X connect 6 0 17 1; #X connect 6 0 18 0; #X connect 11 0 5 0; #X connect 12 0 0 0; #X connect 13 0 12 1; #X connect 14 0 0 0; #X connect 15 0 16 0; #X connect 15 0 14 0; #X connect 16 0 33 0; #X connect 17 0 22 0; #X connect 18 0 19 0; #X connect 19 0 15 1; #X connect 20 0 21 0; #X connect 21 0 3 1; #X connect 22 0 15 0; #X connect 26 0 38 0; #X connect 27 0 26 1; #X connect 27 0 32 1; #X connect 28 0 27 0; #X connect 29 0 26 0; #X connect 29 1 32 0; #X connect 30 0 29 0; #X connect 32 0 37 0; #X connect 33 0 15 1; #X connect 34 0 11 1; #X connect 34 1 20 0; #X connect 35 0 11 0; #X connect 35 0 17 0; #X connect 36 0 35 0; #X connect 36 0 12 0; #X connect 37 0 25 0; #X connect 38 0 25 0; mapping-0.2.1/resample-help.pd0000644000076500007650000000206212030356733014710 0ustar hanshans#N canvas 1 53 276 383 10; #X floatatom 43 52 5 0 0 0 - - -; #X floatatom 43 319 5 0 0 0 - - -; #X obj 67 177 timer; #X obj 67 154 t b b; #X floatatom 67 200 5 0 0 0 - - -; #X obj 66 272 timer; #X obj 66 250 t b b; #X floatatom 66 296 5 0 0 0 - - -; #X floatatom 64 82 5 0 0 0 - - -; #X msg 64 104 \$1 1; #X obj 43 128 resample 10; #X obj 43 224 resample 100; #N canvas 279 195 494 344 META 0; #X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 125 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 45 DESCRIPTION; #X text 12 5 KEYWORDS control abstraction needs_work (DESCRIPTION?) ; #X text 12 65 INLET_0 anything; #X text 12 85 INLET_1 float; #X text 12 105 OUTLET_0 list; #X restore 216 352 pd META; #X connect 0 0 10 0; #X connect 2 0 4 0; #X connect 3 0 2 0; #X connect 3 1 2 1; #X connect 5 0 7 0; #X connect 6 0 5 0; #X connect 6 1 5 1; #X connect 8 0 9 0; #X connect 9 0 10 0; #X connect 10 0 3 0; #X connect 10 0 11 0; #X connect 11 0 1 0; #X connect 11 0 6 0; mapping-0.2.1/resample.pd0000644000076500007650000000057212030356733013766 0ustar hanshans#N canvas 1 53 450 300 10; #X obj 46 140 metro \$1; #X obj 46 42 loadbang; #X obj 85 17 inlet; #X obj 46 197 outlet; #X obj 153 16 inlet; #X obj 46 89 != 0; #X obj 46 112 sel 1; #X obj 46 67 \$1; #X obj 46 169 list 0; #X connect 0 0 8 0; #X connect 1 0 7 0; #X connect 2 0 8 1; #X connect 4 0 0 1; #X connect 5 0 6 0; #X connect 6 0 0 0; #X connect 7 0 5 0; #X connect 8 0 3 0; mapping-0.2.1/reverse-help.pd0000644000076500007650000000204712030356733014556 0ustar hanshans#N canvas 1 53 481 335 10; #X obj 5 2 cnv 15 450 20 empty empty reverse 2 11 1 18 -233017 -66577 0; #X msg 422 3 pddp; #X text 276 270 released under the GNU GPL; #X floatatom 153 120 5 0 0 0 - - -; #X floatatom 153 196 5 0 0 0 - - -; #X obj 156 101 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 4200 1; #X obj 156 213 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 8500 1; #X obj 153 156 reverse; #X text 27 43 Reverses the direction of a stream of numbers.; #X text 12 270 (C) Copyright 2004 Free Software Foundation; #N canvas 440 256 494 344 META 0; #X text 12 125 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 85 OUTLET_0 float; #X text 12 105 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 65 INLET_0 float; #X text 12 45 DESCRIPTION reverse the direction of a stream of numbers ; #X text 12 5 KEYWORDS control abstraction; #X restore 420 305 pd META; #X connect 3 0 7 0; #X connect 4 0 6 0; #X connect 5 0 3 0; #X connect 7 0 4 0; mapping-0.2.1/reverse.pd0000644000076500007650000000045212030356733013626 0ustar hanshans#N canvas 1 53 385 311 10; #X obj 70 32 inlet; #X obj 84 249 outlet; #X text 140 249 output range: 0 to 1; #X text 118 32 input range: 0 to 1; #X obj 84 142 -; #X msg 70 122 1; #X obj 70 103 t b f; #X connect 0 0 6 0; #X connect 4 0 1 0; #X connect 5 0 4 0; #X connect 6 0 5 0; #X connect 6 1 4 1; mapping-0.2.1/rnd-stat-help.pd0000644000076500007650000000276112030356733014642 0ustar hanshans#N canvas 1 53 450 389 10; #X msg 335 23 1 1 5; #X obj 111 88 metro 20; #X obj 111 204 sel 0 1 2 3; #X obj 114 269 + 1; #X obj 109 241 f; #X floatatom 104 301 5 0 0 0 - - -; #X obj 157 272 + 1; #X obj 152 244 f; #X floatatom 154 299 5 0 0 0 - - -; #X obj 197 271 + 1; #X obj 192 243 f; #X floatatom 194 298 5 0 0 0 - - -; #X obj 111 63 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #X msg 278 156 0; #X obj 237 276 + 1; #X obj 232 248 f; #X floatatom 234 303 5 0 0 0 - - -; #X msg 339 56 1 1 0 2; #X obj 111 135 rnd-stat; #N canvas 442 314 494 344 META 0; #X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 125 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 45 DESCRIPTION; #X text 12 5 KEYWORDS control abstraction needs_work (DESCRIPTION?) ; #X text 12 65 INLET_0 bang; #X text 12 85 INLET_1 list; #X text 12 105 OUTLET_0 float; #X restore 392 358 pd META; #X connect 0 0 18 1; #X connect 1 0 18 0; #X connect 2 0 4 0; #X connect 2 1 7 0; #X connect 2 2 10 0; #X connect 2 3 15 0; #X connect 3 0 4 1; #X connect 4 0 3 0; #X connect 4 0 5 0; #X connect 6 0 7 1; #X connect 7 0 6 0; #X connect 7 0 8 0; #X connect 9 0 10 1; #X connect 10 0 9 0; #X connect 10 0 11 0; #X connect 12 0 1 0; #X connect 13 0 4 0; #X connect 13 0 7 0; #X connect 13 0 10 0; #X connect 13 0 15 0; #X connect 13 0 20 0; #X connect 14 0 15 1; #X connect 15 0 14 0; #X connect 15 0 16 0; #X connect 17 0 18 1; #X connect 18 0 2 0; mapping-0.2.1/rnd-stat.pd0000644000076500007650000000227112030356733013710 0ustar hanshans#N canvas 1 53 464 583 10; #X obj 269 26 inlet; #X obj 55 27 inlet; #X obj 238 313 list; #X obj 239 436 f; #X obj 265 461 + 1; #X obj 221 494 f; #X msg 104 375 0; #X obj 58 266 t b f b; #X obj 240 383 >; #X obj 241 411 sel 0; #X obj 224 566 outlet; #X obj 57 212 random; #X obj 95 192 * 100000; #X obj 57 237 / 100000; #X obj 269 49 t a b; #X msg 298 71 0; #X obj 271 151 f; #X obj 266 125 +; #X obj 74 157 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 224 524 - 1; #X obj 267 192 tolist; #X obj 270 95 listto; #X obj 239 337 listto; #X connect 0 0 14 0; #X connect 1 0 11 0; #X connect 2 0 22 0; #X connect 3 0 4 0; #X connect 3 0 5 1; #X connect 4 0 3 1; #X connect 5 0 19 0; #X connect 6 0 3 0; #X connect 7 0 2 0; #X connect 7 1 8 1; #X connect 7 2 6 0; #X connect 8 0 9 0; #X connect 9 0 3 0; #X connect 11 0 13 0; #X connect 12 0 11 1; #X connect 13 0 7 0; #X connect 14 0 21 0; #X connect 14 1 15 0; #X connect 15 0 17 1; #X connect 15 0 20 0; #X connect 16 0 17 1; #X connect 16 0 12 0; #X connect 16 0 20 0; #X connect 17 0 16 0; #X connect 18 0 11 0; #X connect 19 0 10 0; #X connect 20 0 2 1; #X connect 21 0 17 0; #X connect 21 1 20 1; #X connect 22 0 8 0; #X connect 22 1 5 0; mapping-0.2.1/segment-help.pd0000644000076500007650000000270712030356733014550 0ustar hanshans#N canvas 1 53 680 326 10; #X obj 67 238 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X obj 200 238 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X obj 333 238 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X obj 466 238 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X obj 62 28 hsl 527 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X msg 189 88 2; #X msg 250 87 6; #X msg 219 87 4; #X floatatom 65 262 5 0 0 0 - - -; #X floatatom 201 260 5 0 0 0 - - -; #X floatatom 333 262 5 0 0 0 - - -; #X floatatom 464 260 5 0 0 0 - - -; #X floatatom 46 51 5 0 0 0 - - -; #X obj 154 182 route 0 1 2 3; #X obj 154 123 segment 4; #N canvas 464 140 494 344 META 0; #X text 12 155 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 95 INLET_1 float; #X text 12 135 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 45 DESCRIPTION return the amplitude covered by the last n (n>1) values; #X text 12 75 INLET_0 float; #X text 12 5 KEYWORDS control abstraction; #X text 12 115 OUTLET_0 list; #X restore 652 318 pd META; #X connect 0 0 8 0; #X connect 1 0 9 0; #X connect 2 0 10 0; #X connect 3 0 11 0; #X connect 4 0 12 0; #X connect 4 0 14 0; #X connect 5 0 14 1; #X connect 6 0 14 1; #X connect 7 0 14 1; #X connect 13 0 0 0; #X connect 13 1 1 0; #X connect 13 2 2 0; #X connect 13 3 3 0; #X connect 14 0 13 0; mapping-0.2.1/segment.pd0000644000076500007650000000306112030356733013614 0ustar hanshans#N canvas 1 53 511 415 10; #X obj 94 24 inlet; #X obj 182 353 outlet; #X obj 245 23 inlet; #X obj 278 52 loadbang; #X obj 94 151 *; #X obj 94 305 pack float float; #X obj 94 177 trigger bang float float; #X obj 94 246 float; #X obj 235 199 int; #X obj 201 245 -; #X obj 245 89 purepd/float_argument \$1 2; #N canvas 222 41 308 537 reset 0; #X obj 89 12 inlet; #X obj 98 489 outlet; #X obj 89 68 change; #X obj 119 156 float; #X obj 98 417 pack float float; #X obj 187 201 -; #X obj 187 235 moses; #X msg 216 378 0; #X msg 187 378 1; #X obj 46 327 float; #X obj 86 327 +; #X msg 114 298 1; #X msg 145 298 -1; #X obj 46 287 until; #X obj 46 266 abs; #X obj 89 93 trigger bang float bang float; #X obj 46 244 float; #X connect 0 0 2 0; #X connect 2 0 15 0; #X connect 3 0 5 0; #X connect 3 0 9 1; #X connect 4 0 1 0; #X connect 5 0 6 0; #X connect 5 0 16 1; #X connect 6 0 8 0; #X connect 6 0 11 0; #X connect 6 1 7 0; #X connect 6 1 12 0; #X connect 7 0 4 1; #X connect 8 0 4 1; #X connect 9 0 10 0; #X connect 9 0 4 0; #X connect 10 0 9 1; #X connect 11 0 10 1; #X connect 12 0 10 1; #X connect 13 0 9 0; #X connect 14 0 13 0; #X connect 15 0 16 0; #X connect 15 1 3 1; #X connect 15 2 3 0; #X connect 15 3 5 1; #X connect 16 0 14 0; #X restore 279 270 pd reset previous segments; #X connect 0 0 4 0; #X connect 2 0 10 0; #X connect 3 0 10 0; #X connect 4 0 6 0; #X connect 5 0 1 0; #X connect 6 0 7 0; #X connect 6 1 9 0; #X connect 6 2 8 0; #X connect 7 0 5 0; #X connect 8 0 9 1; #X connect 8 0 7 1; #X connect 8 0 11 0; #X connect 9 0 5 1; #X connect 10 0 4 1; #X connect 11 0 1 0; mapping-0.2.1/sigmoide-help.pd0000644000076500007650000000406112030356733014701 0ustar hanshans#N canvas 1 53 632 475 10; #X floatatom 82 95 5 0 0 0 - - -; #X floatatom 82 167 5 0 0 0 - - -; #X floatatom 133 95 5 0 0 0 - - -; #X floatatom 262 118 5 0 0 0 - - -; #X obj 262 142 t b f; #X obj 262 47 loadbang; #N canvas 0 0 450 300 float 0; #X obj 71 23 inlet; #X obj 48 191 outlet; #X obj 150 22 inlet; #X obj 71 93 list prepend; #X obj 71 118 list; #X obj 48 141 list; #X obj 48 166 list trim; #X obj 150 45 t b b; #X msg 150 70 list; #X connect 0 0 3 0; #X connect 2 0 7 0; #X connect 3 0 4 0; #X connect 4 0 3 1; #X connect 4 0 5 1; #X connect 5 0 6 0; #X connect 6 0 1 0; #X connect 7 0 8 0; #X connect 7 1 5 0; #X connect 8 0 3 1; #X restore 262 264 pd float to list ___________; #N canvas 0 0 450 300 generate 0; #X obj 55 38 inlet; #X msg 55 65 0; #X obj 55 91 f; #X obj 55 164 + 1; #X obj 55 137 t f f; #X obj 85 192 outlet; #X obj 148 192 outlet; #X obj 148 166 t b; #X obj 85 164 / 100; #X obj 55 114 moses 101; #X connect 0 0 1 0; #X connect 1 0 2 0; #X connect 2 0 9 0; #X connect 3 0 2 0; #X connect 4 0 3 0; #X connect 4 1 8 0; #X connect 7 0 6 0; #X connect 8 0 5 0; #X connect 9 0 4 0; #X connect 9 1 7 0; #X restore 262 174 pd generate list ___________; #X obj 262 73 delay 1000; #X obj 82 125 sigmoide; #X obj 262 197 * 2; #X obj 262 219 - 1; #X obj 262 294 multi_slider 100; #X obj 262 241 sigmoide; #X msg 262 96 0.5; #N canvas 485 108 494 344 META 0; #X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 85 INLET_1 float; #X text 12 125 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 65 INLET_0 float; #X text 12 105 OUTLET_0 float; #X text 12 45 DESCRIPTION; #X text 12 5 KEYWORDS control abstraction needs_work (DESCRIPTION?) ; #X restore 574 445 pd META; #X connect 0 0 9 0; #X connect 2 0 9 1; #X connect 3 0 4 0; #X connect 4 0 7 0; #X connect 4 1 13 1; #X connect 5 0 8 0; #X connect 6 0 12 0; #X connect 7 0 10 0; #X connect 7 1 6 1; #X connect 8 0 14 0; #X connect 9 0 1 0; #X connect 10 0 11 0; #X connect 11 0 13 0; #X connect 13 0 6 0; #X connect 14 0 3 0; mapping-0.2.1/sigmoide.pd0000644000076500007650000000056712030356733013762 0ustar hanshans#N canvas 1 53 450 300 10; #X obj 37 19 inlet; #X obj 37 241 outlet; #X obj 37 168 expr ( exp($f1)) / ( 1 + exp($f1)); #X obj 37 138 * 1; #X obj 278 18 inlet; #X obj 274 103 /; #X obj 274 54 t b f; #X msg 274 77 2; #X connect 0 0 3 0; #X connect 2 0 1 0; #X connect 3 0 2 0; #X connect 4 0 6 0; #X connect 5 0 3 1; #X connect 6 0 7 0; #X connect 6 1 5 1; #X connect 7 0 5 0; mapping-0.2.1/simplified_cubic_seat-help.pd0000644000076500007650000001020412030356733017403 0ustar hanshans#N canvas 1 53 571 454 12; #X declare -lib mapping -lib ggee; #X obj 418 32 import mapping ggee; #X obj 5 2 cnv 15 550 20 empty empty simplified_cubic_seat 2 11 1 18 -233017 -66577 0; #X msg 516 2 pddp; #X text 313 393 released under the GNU GPL; #X text 263 356 For more info:; #X floatatom 35 127 8 0 0 0 - - -; #X floatatom 35 278 8 0 0 0 - - -; #X obj 38 305 hsl 200 20 0 1 0 0 empty empty curved_output 22 11 1 12 -262144 -1 -1 0 1; #X obj 38 101 hsl 200 20 0 1 0 0 empty empty raw_input 22 11 1 12 -261681 -1 -1 0 1; #X obj 208 167 hsl 50 15 0 1 0 1 \$0-y-slider \$0-y-slider-receive y 5 9 0 11 -204800 -1 -1 0 0; #X floatatom 215 186 7 0 0 0 - - -; #X obj 362 356 pddp/open mapping-about; #X text 0 393 (C) Copyright 2007 Free Software Foundation; #X obj 114 167 hsl 50 15 0 1 0 1 \$0-x-slider \$0-x-slider-receive x 5 9 0 11 -232576 -1 -1 4900 0; #X floatatom 120 187 7 0 0 0 - - -; #X text 6 33 This object curves the input range using simple cubic curves that meet at the specified point \, forming a seat.; #X obj 35 247 simplified_cubic_seat; #N canvas 273 69 478 411 draw_array 0; #X msg 54 82 bang; #X obj 54 133 until; #X text 85 82 start; #X obj 54 155 f; #X obj 83 155 + 1; #X obj 54 43 loadbang; #X obj 54 210 trigger float float; #X obj 127 157 select 0; #X obj 66 343 tabwrite \$0-curve; #X obj 139 53 trigger bang float; #X obj 83 177 mod 200; #X obj 54 254 / 200; #X text 96 254 mapping output range: 0 to 1; #N canvas 0 22 461 369 receive 0; #X obj 253 33 receive \$0-y; #X obj 253 57 moses; #X obj 280 78 moses 201; #X obj 331 99 bang; #X msg 331 120 200; #X obj 238 98 bang; #X msg 238 119 0; #X obj 91 56 moses; #X obj 118 77 moses 201; #X obj 169 98 bang; #X msg 169 119 200; #X obj 76 97 bang; #X msg 76 118 0; #X obj 91 32 receive \$0-x; #X obj 117 289 receive \$0-x-slider; #X floatatom 118 312 5 0 0 0 - - -; #X floatatom 279 313 5 0 0 0 - - -; #X obj 280 290 receive \$0-y-slider; #X obj 118 169 / 200; #X obj 280 170 / 200; #X obj 118 249 send \$0-x-slider-receive; #X obj 280 250 send \$0-y-slider-receive; #X msg 281 193 1 \$1; #X obj 280 221 -; #X connect 0 0 1 0; #X connect 1 0 5 0; #X connect 1 1 2 0; #X connect 2 0 19 0; #X connect 2 1 3 0; #X connect 3 0 4 0; #X connect 4 0 19 0; #X connect 5 0 6 0; #X connect 6 0 19 0; #X connect 7 0 11 0; #X connect 7 1 8 0; #X connect 8 0 18 0; #X connect 8 1 9 0; #X connect 9 0 10 0; #X connect 10 0 18 0; #X connect 11 0 12 0; #X connect 12 0 18 0; #X connect 13 0 7 0; #X connect 14 0 15 0; #X connect 17 0 16 0; #X connect 18 0 20 0; #X connect 19 0 22 0; #X connect 22 0 23 0; #X connect 23 0 21 0; #X restore 265 348 pd receive from gcanvas; #X obj 138 9 receive \$0-x-slider; #X obj 293 12 receive \$0-y-slider; #X obj 294 50 trigger bang float; #X obj 54 108 cyclone/speedlim 100; #X obj 54 280 simplified_cubic_seat; #X connect 0 0 17 0; #X connect 1 0 3 0; #X connect 3 0 4 0; #X connect 3 0 6 0; #X connect 4 0 10 0; #X connect 5 0 0 0; #X connect 6 0 11 0; #X connect 6 1 8 1; #X connect 7 0 1 1; #X connect 9 0 0 0; #X connect 9 1 18 1; #X connect 10 0 3 1; #X connect 10 0 7 0; #X connect 11 0 18 0; #X connect 14 0 9 0; #X connect 15 0 16 0; #X connect 16 0 0 0; #X connect 16 1 18 2; #X connect 17 0 1 0; #X connect 18 0 8 0; #X restore 409 71 pd draw_array; #X obj 304 103 gcanvas 200 200; #N canvas 0 22 450 300 (subpatch) 0; #X array \$0-curve 200 float 0; #X coords 0 1 199 0 200 200 1; #X restore 304 103 graph; #X obj 304 308 send \$0-x; #X obj 446 307 send \$0-y; #N canvas 465 169 494 344 META 0; #X text 12 175 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 95 INLET_1 float; #X text 12 155 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 75 INLET_0 float; #X text 12 5 KEYWORDS control abstraction; #X text 12 45 DESCRIPTION curve the input range using simple cubic curves that meet at the specified point \, forming a seat; #X text 12 115 INLET_2 float; #X text 12 135 OUTLET_0 float; #X restore 508 423 pd META; #X connect 5 0 16 0; #X connect 6 0 7 0; #X connect 8 0 5 0; #X connect 9 0 10 0; #X connect 9 0 16 2; #X connect 13 0 14 0; #X connect 13 0 16 1; #X connect 16 0 6 0; #X connect 18 0 20 0; #X connect 18 1 21 0; mapping-0.2.1/simplified_cubic_seat.pd0000644000076500007650000000157112030356733016464 0ustar hanshans#N canvas 1 53 585 467 12; #X obj 42 10 inlet; #X obj 349 13 inlet; #X obj 106 405 outlet; #X obj 220 10 loadbang; #X obj 147 9 inlet; #X obj 147 50 purepd/float_argument \$1; #X obj 349 54 purepd/float_argument \$2; #X obj 42 113 moses; #X obj 349 110 -; #X msg 349 87 1 \$1; #X obj 7 199 expr $f3*$f1 + (1-$f3)*$f2*(1 - pow(1 - $f1/$f2 \, 3)) ; #X obj 147 97 moses 1; #X obj 147 121 + 1e-06; #X text 202 106 prevent divide by 0; #X obj 152 275 expr $f3*$f1 + (1-$f3)*($f2 + (1-$f2)*pow(($f1-$f2) / (1-$f2) \, 3)); #X connect 0 0 7 0; #X connect 1 0 6 0; #X connect 3 0 5 0; #X connect 3 0 6 0; #X connect 4 0 5 0; #X connect 5 0 7 1; #X connect 5 0 11 0; #X connect 6 0 9 0; #X connect 7 0 10 0; #X connect 7 1 14 0; #X connect 8 0 10 2; #X connect 8 0 14 2; #X connect 9 0 8 0; #X connect 10 0 2 0; #X connect 11 0 12 0; #X connect 12 0 10 1; #X connect 12 0 14 1; #X connect 14 0 2 0; mapping-0.2.1/simplified_quadratic-help.pd0000644000076500007650000000754012030356733017270 0ustar hanshans#N canvas 1 53 572 466 12; #X declare -lib mapping -lib ggee; #X obj 413 35 import mapping ggee; #X obj 5 2 cnv 15 550 20 empty empty simplified_quadratic 2 11 1 18 -233017 -66577 0; #X msg 516 2 pddp; #X text 324 394 released under the GNU GPL; #X text 243 352 For more info:; #X floatatom 35 127 8 0 0 0 - - -; #X floatatom 35 278 8 0 0 0 - - -; #X obj 38 305 hsl 200 20 0 1 0 0 empty empty curved_output 22 11 1 12 -262144 -1 -1 0 1; #X obj 38 101 hsl 200 20 0 1 0 0 empty empty raw_input 22 11 1 12 -261681 -1 -1 0 1; #X obj 360 352 pddp/open mapping-about; #X text 11 394 (C) Copyright 2007 Free Software Foundation; #X obj 175 167 hsl 50 15 0 1 0 1 \$0-x-slider \$0-x-slider-receive x 5 9 0 11 -232576 -1 -1 1495 0; #X floatatom 181 187 7 0 0 0 - - -; #X obj 35 217 simplified_quadratic; #N canvas 273 69 482 415 draw_array 0; #X msg 54 82 bang; #X obj 54 133 until; #X text 85 82 start; #X obj 54 155 f; #X obj 83 155 + 1; #X obj 54 43 loadbang; #X obj 54 210 trigger float float; #X obj 127 157 select 0; #X obj 66 343 tabwrite \$0-curve; #X obj 139 53 trigger bang float; #X obj 83 177 mod 200; #X obj 54 254 / 200; #X text 96 254 mapping output range: 0 to 1; #N canvas 0 22 461 369 receive 0; #X obj 253 33 receive \$0-y; #X obj 253 57 moses; #X obj 280 78 moses 201; #X obj 331 99 bang; #X msg 331 120 200; #X obj 238 98 bang; #X msg 238 119 0; #X obj 91 56 moses; #X obj 118 77 moses 201; #X obj 169 98 bang; #X msg 169 119 200; #X obj 76 97 bang; #X msg 76 118 0; #X obj 91 32 receive \$0-x; #X obj 117 289 receive \$0-x-slider; #X floatatom 118 312 5 0 0 0 - - -; #X floatatom 279 313 5 0 0 0 - - -; #X obj 280 290 receive \$0-y-slider; #X obj 118 169 / 200; #X obj 280 170 / 200; #X obj 118 249 send \$0-x-slider-receive; #X obj 280 250 send \$0-y-slider-receive; #X msg 281 193 1 \$1; #X obj 280 221 -; #X connect 0 0 1 0; #X connect 1 0 5 0; #X connect 1 1 2 0; #X connect 2 0 19 0; #X connect 2 1 3 0; #X connect 3 0 4 0; #X connect 4 0 19 0; #X connect 5 0 6 0; #X connect 6 0 19 0; #X connect 7 0 11 0; #X connect 7 1 8 0; #X connect 8 0 18 0; #X connect 8 1 9 0; #X connect 9 0 10 0; #X connect 10 0 18 0; #X connect 11 0 12 0; #X connect 12 0 18 0; #X connect 13 0 7 0; #X connect 14 0 15 0; #X connect 17 0 16 0; #X connect 18 0 20 0; #X connect 19 0 22 0; #X connect 22 0 23 0; #X connect 23 0 21 0; #X restore 265 348 pd receive from gcanvas; #X obj 138 9 receive \$0-x-slider; #X obj 293 12 receive \$0-y-slider; #X obj 294 50 trigger bang float; #X obj 54 108 cyclone/speedlim 100; #X obj 54 280 simplified_quadratic; #X connect 0 0 17 0; #X connect 1 0 3 0; #X connect 3 0 4 0; #X connect 3 0 6 0; #X connect 4 0 10 0; #X connect 5 0 0 0; #X connect 6 0 11 0; #X connect 6 1 8 1; #X connect 7 0 1 1; #X connect 9 0 0 0; #X connect 9 1 18 1; #X connect 10 0 3 1; #X connect 10 0 7 0; #X connect 11 0 18 0; #X connect 14 0 9 0; #X connect 15 0 16 0; #X connect 16 0 0 0; #X connect 17 0 1 0; #X connect 18 0 8 0; #X restore 409 73 pd draw_array; #X obj 304 103 gcanvas 200 200; #N canvas 0 22 450 300 (subpatch) 0; #X array \$0-curve 200 float 0; #X coords 0 1 199 0 200 200 1; #X restore 304 103 graph; #X obj 304 308 send \$0-x; #X text 3 33 This object curves the input range using a simplified quadratic bezier curve controlled by one parameter.; #N canvas 466 198 494 344 META 0; #X text 12 155 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 95 INLET_1 float; #X text 12 135 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 75 INLET_0 float; #X text 12 5 KEYWORDS control abstraction; #X text 12 115 OUTLET_0 float; #X text 12 45 DESCRIPTION curve the input range using a simplified quadratic bezier curve controlled by one parameter; #X restore 503 429 pd META; #X connect 5 0 13 0; #X connect 6 0 7 0; #X connect 8 0 5 0; #X connect 11 0 12 0; #X connect 11 0 13 1; #X connect 13 0 6 0; #X connect 15 0 17 0; mapping-0.2.1/simplified_quadratic.pd0000644000076500007650000000145012030356733016334 0ustar hanshans#N canvas 1 53 589 471 10; #X obj 22 10 inlet; #X obj 174 435 outlet; #X obj 270 10 loadbang; #X obj 167 9 inlet; #X obj 167 50 purepd/float_argument \$1; #X obj 167 157 select 0.5; #X obj 224 209 float; #X msg 167 181 0.50001; #X text 225 181 prevent divide by 0; #X obj 271 243 expr 1 - 2*$f1; #X obj 22 280 expr (sqrt($f2*$f2 + $f3*$f1) - $f2) / $f3; #X obj 175 339 expr (1 - 2*$f2)*($f1*$f1) + (2*$f2)*$f1; #X obj 278 82 * 2; #X obj 317 126 - 1; #X obj 278 104 moses 1; #X connect 0 0 10 0; #X connect 2 0 4 0; #X connect 3 0 4 0; #X connect 4 0 12 0; #X connect 5 0 7 0; #X connect 5 1 6 0; #X connect 6 0 9 0; #X connect 6 0 10 1; #X connect 7 0 6 0; #X connect 9 0 10 2; #X connect 10 0 11 0; #X connect 11 0 1 0; #X connect 12 0 14 0; #X connect 13 0 11 1; #X connect 14 0 5 0; #X connect 14 1 13 0; mapping-0.2.1/sinusoid-help.pd0000644000076500007650000000465012030356733014742 0ustar hanshans#N canvas 1 53 476 398 10; #X obj 5 2 cnv 15 450 20 empty empty sinusoid 2 11 1 18 -233017 -66577 0; #X text 27 320 (C) Copyright 2004 Hans-Christoph Steiner ; #X text 244 334 released under the GNU GPL; #X text 158 291 For more info:; #X floatatom 25 163 8 0 0 0 - - -; #X floatatom 25 224 8 0 0 0 - - -; #X obj 28 241 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -262144 -1 -1 0 1; #X obj 28 143 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -261681 -1 -1 0 1; #N canvas 0 22 450 300 (subpatch) 0; #X array \$0_ 100 float 0; #X coords 0 1 99 0 100 100 1; #X restore 321 111 graph; #N canvas 266 69 411 401 draw_array 0; #X msg 54 82 bang; #X obj 54 103 until; #X text 85 82 start; #X obj 54 125 f; #X obj 83 125 + 1; #X obj 83 147 mod 100; #X obj 54 43 loadbang; #X obj 139 53 t b s; #X obj 139 32 symbol; #X obj 138 9 receive \$0-type; #X obj 54 180 trigger float float; #X obj 127 127 select 0; #X obj 53 313 tabwrite \$0_; #X text 96 257 mapping output range: 0 to 1; #X obj 54 257 / 100; #X obj 53 283 sinusoid sin; #X connect 0 0 1 0; #X connect 1 0 3 0; #X connect 3 0 4 0; #X connect 3 0 10 0; #X connect 4 0 5 0; #X connect 5 0 3 1; #X connect 5 0 11 0; #X connect 6 0 0 0; #X connect 7 0 0 0; #X connect 7 1 15 1; #X connect 8 0 7 0; #X connect 9 0 8 0; #X connect 10 0 14 0; #X connect 10 1 12 1; #X connect 11 0 1 1; #X connect 14 0 15 0; #X connect 15 0 12 0; #X restore 321 79 pd draw_array; #X msg 61 82 atan; #X msg 98 82 cos; #X obj 104 184 receive \$0-type; #X msg 128 82 sin; #X text 296 221 related objects:; #X obj 352 240 curve_power; #X obj 352 258 curve_log; #X obj 269 258 curve_exp; #X obj 107 114 send \$0-type; #X obj 25 203 sinusoid sin; #X obj 269 240 curve; #X text 17 39 This object maps the input range to a sinusoidal curve. ; #X obj 262 289 pddp/open mapping-about; #N canvas 467 227 494 344 META 0; #X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 125 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 65 INLET_0 float; #X text 12 105 OUTLET_0 float; #X text 12 45 DESCRIPTION map the input range to a sinusoidal curve ; #X text 12 85 INLET_1 atan cos sin; #X text 12 5 KEYWORDS control abstraction trigonometry; #X restore 416 366 pd META; #X connect 4 0 19 0; #X connect 5 0 6 0; #X connect 7 0 4 0; #X connect 10 0 18 0; #X connect 11 0 18 0; #X connect 12 0 19 1; #X connect 13 0 18 0; #X connect 19 0 5 0; mapping-0.2.1/sinusoid.pd0000644000076500007650000000163212030356733014011 0ustar hanshans#N canvas 1 53 576 439 10; #X obj 40 26 inlet; #X obj 194 9 inlet; #X obj 37 401 outlet; #X obj 40 140 pack float symbol; #X msg 40 165 \$2 \$1; #X obj 29 246 atan; #X obj 29 267 / 1.26263; #X obj 180 215 symbol; #X msg 179 241 ERROR: argument not supported \$1 \, try atan cos or sin; #X obj 207 40 loadbang; #X obj 40 88 * 3.14159; #X obj 178 263 print [sinusoid]; #X obj 40 188 route atan sin cos; #X obj 113 250 sin; #X obj 142 250 cos; #X obj 142 270 + 1; #X obj 142 290 / 2; #X obj 198 64 purepd/symbol_argument \$1; #X connect 0 0 10 0; #X connect 1 0 17 0; #X connect 3 0 4 0; #X connect 4 0 12 0; #X connect 5 0 6 0; #X connect 6 0 2 0; #X connect 7 0 8 0; #X connect 8 0 11 0; #X connect 9 0 17 0; #X connect 10 0 3 0; #X connect 12 0 5 0; #X connect 12 1 13 0; #X connect 12 2 14 0; #X connect 12 3 7 0; #X connect 13 0 2 0; #X connect 14 0 15 0; #X connect 15 0 16 0; #X connect 16 0 2 0; #X connect 17 0 3 1; mapping-0.2.1/smooth-help.pd0000644000076500007650000000277412030356733014423 0ustar hanshans#N canvas 1 53 475 391 10; #X obj 242 157 mapping/timeroll; #X obj 20 157 mapping/timeroll; #X obj 40 333 pddp/pddplink http://www.itl.nist.gov/div898/handbook/pmc/section4/pmc431.htm ; #N canvas 0 22 450 300 get 0; #X obj 115 19 inlet; #X obj 125 250 outlet; #X obj 108 100 cyclone/MouseState; #X msg 108 73 poll; #X obj 160 127 mapping/autoscale; #X obj 160 152 mapping/reverse; #X msg 144 73 nopoll; #X obj 114 44 select 1; #X connect 0 0 7 0; #X connect 2 2 4 0; #X connect 3 0 2 0; #X connect 4 0 5 0; #X connect 5 0 1 0; #X connect 6 0 2 0; #X connect 7 0 3 0; #X connect 7 1 6 0; #X restore 180 75 pd get mouse Y; #X obj 180 53 tgl 15 0 empty empty empty 17 7 0 10 -204786 -1 -1 0 1; #X text 22 309 (idea from Fredrik Olofsson); #X obj 277 92 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262130 -1 -1 0 1; #X floatatom 289 112 5 0 0 0 - - -; #X text 23 14 Single Exponential Smoothing (ses); #X obj 241 117 smooth; #X text 329 114 (default: 0.15); #N canvas 471 343 494 344 META 0; #X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 125 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 105 OUTLET_0 float; #X text 12 65 INLET_0 float; #X text 12 45 DESCRIPTION single exponential smoothing (ses); #X text 12 85 INLET_1 float; #X text 12 5 KEYWORDS control abstraction; #X restore 419 364 pd META; #X connect 3 0 1 0; #X connect 3 0 9 0; #X connect 4 0 3 0; #X connect 6 0 7 0; #X connect 6 0 9 1; #X connect 9 0 0 0; mapping-0.2.1/smooth.pd0000644000076500007650000000133012030356733013460 0ustar hanshans#N canvas 1 53 651 338 10; #X obj 113 13 inlet; #X obj 363 13 inlet; #X obj 363 67 purepd/float_argument \$1 0.15; #X obj 374 40 loadbang; #X obj 189 311 outlet; #X obj 189 116 float; #X text 325 251 St = a*Yt1+(1-a)*St1; #X obj 114 40 trigger float bang; #X text 166 117 Yt1; #X obj 262 116 float; #X text 295 115 St1; #X obj 189 170 expr $f3*$f1+(1-$f3)*$f2; #X obj 242 282 pddp/pddplink http://www.itl.nist.gov/div898/handbook/pmc/section4/pmc431.htm ; #X obj 363 103 clip 0 1; #X connect 0 0 7 0; #X connect 1 0 2 0; #X connect 2 0 13 0; #X connect 3 0 2 0; #X connect 5 0 11 0; #X connect 7 0 5 1; #X connect 7 1 5 0; #X connect 7 1 9 0; #X connect 9 0 11 1; #X connect 11 0 4 0; #X connect 11 0 9 1; #X connect 13 0 11 2; mapping-0.2.1/smooth_double-help.pd0000644000076500007650000000320212030356733015740 0ustar hanshans#N canvas 1 53 710 386 10; #X obj 241 157 mapping/timeroll; #X obj 20 157 mapping/timeroll; #N canvas 0 22 450 300 get 0; #X obj 115 19 inlet; #X obj 125 250 outlet; #X obj 108 100 cyclone/MouseState; #X msg 108 73 poll; #X obj 160 127 mapping/autoscale; #X obj 160 152 mapping/reverse; #X msg 144 73 nopoll; #X obj 114 44 select 1; #X connect 0 0 7 0; #X connect 2 2 4 0; #X connect 3 0 2 0; #X connect 4 0 5 0; #X connect 5 0 1 0; #X connect 6 0 2 0; #X connect 7 0 3 0; #X connect 7 1 6 0; #X restore 278 72 pd get mouse Y; #X obj 278 50 tgl 15 0 empty empty empty 17 7 0 10 -204786 -1 -1 0 1; #X text 22 309 (idea from Fredrik Olofsson); #X obj 413 72 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262130 -1 -1 0 1; #X floatatom 425 92 5 0 0 0 - - -; #X text 23 14 Double Exponential Smoothing (des); #X obj 40 333 pddp/pddplink http://www.itl.nist.gov/div898/handbook/pmc/section4/pmc433.htm ; #X obj 461 157 mapping/timeroll; #X obj 339 114 smooth_double; #X text 498 132 trend (+-1):; #N canvas 468 256 494 344 META 0; #X text 12 185 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 165 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 125 OUTLET_0 float; #X text 12 5 KEYWORDS control abstraction trigonometry; #X text 12 45 DESCRIPTION double exponential smoothing (des); #X text 12 65 INLET_0 float; #X text 12 85 INLET_1 float; #X text 12 105 INLET_2 float; #X text 12 145 OUTLET_1 float; #X restore 652 356 pd META; #X connect 2 0 1 0; #X connect 2 0 10 0; #X connect 3 0 2 0; #X connect 5 0 6 0; #X connect 5 0 10 1; #X connect 10 0 0 0; #X connect 10 1 9 0; mapping-0.2.1/smooth_double.pd0000644000076500007650000000227312030356733015021 0ustar hanshans#N canvas 1 53 765 388 10; #X obj 61 6 inlet; #X obj 300 6 inlet; #X obj 300 60 purepd/float_argument \$1 0.15; #X obj 311 33 loadbang; #X obj 99 345 outlet; #X text 135 220 St = a*Yt1+(1-a)*St1; #X obj 61 51 trigger float bang; #X obj 166 147 float; #X text 202 147 St1; #X obj 300 96 clip 0 1; #X obj 257 312 pddp/pddplink http://www.itl.nist.gov/div898/handbook/pmc/section4/pmc433.htm ; #X obj 215 345 outlet; #X obj 490 6 inlet; #X obj 501 33 loadbang; #X obj 490 96 clip 0 1; #X text 233 277 bt = y * (St - St1) + (1 - y) * bt1; #X text 549 96 y; #X text 359 96 a; #X obj 216 259 expr $f4 * ($f1 - $f2) + (1 - $f4) * $f3; #X obj 334 148 float; #X text 372 147 bt1; #X obj 490 60 purepd/float_argument \$2 0.3; #X obj 99 201 expr $f4*$f1+(1-$f4) * ($f2 + $f3); #X connect 0 0 6 0; #X connect 1 0 2 0; #X connect 2 0 9 0; #X connect 3 0 2 0; #X connect 6 0 22 0; #X connect 6 1 7 0; #X connect 6 1 19 0; #X connect 7 0 18 1; #X connect 7 0 22 1; #X connect 9 0 22 3; #X connect 12 0 21 0; #X connect 13 0 21 0; #X connect 14 0 18 3; #X connect 18 0 19 1; #X connect 18 0 11 0; #X connect 19 0 18 2; #X connect 19 0 22 2; #X connect 21 0 14 0; #X connect 22 0 4 0; #X connect 22 0 7 1; #X connect 22 0 18 0; mapping-0.2.1/smooth_triple-help.pd0000644000076500007650000000446712030356733016003 0ustar hanshans#N canvas 1 53 867 394 10; #X obj 231 157 mapping/timeroll; #X obj 20 157 mapping/timeroll; #N canvas 0 22 450 300 get 0; #X obj 115 19 inlet; #X obj 125 250 outlet; #X obj 108 100 cyclone/MouseState; #X msg 108 73 poll; #X obj 160 127 mapping/autoscale; #X obj 160 152 mapping/reverse; #X msg 144 73 nopoll; #X obj 114 44 select 1; #X connect 0 0 7 0; #X connect 2 2 4 0; #X connect 3 0 2 0; #X connect 4 0 5 0; #X connect 5 0 1 0; #X connect 6 0 2 0; #X connect 7 0 3 0; #X connect 7 1 6 0; #X restore 278 72 pd get mouse Y; #X obj 278 50 tgl 15 0 empty empty empty 17 7 0 10 -204786 -1 -1 0 1; #X obj 401 57 hsl 60 15 0 1 0 0 empty empty alpha -2 -8 0 10 -262130 -1 -1 0 1; #X floatatom 398 77 5 0 0 0 - - -; #X obj 441 157 mapping/timeroll; #X obj 651 157 mapping/timeroll; #X obj 407 338 pddp/pddplink http://www.itl.nist.gov/div898/handbook/pmc/section4/pmc435.htm ; #X obj 339 114 smooth_triple; #X text 23 14 Triple Exponential Smoothing (tes); #X text 316 338 For more info:; #X text 61 310 original signal; #X text 291 310 smoothed signal; #X text 713 306 periodicity; #X text 503 309 trend (+-1); #X obj 471 57 hsl 60 15 0 1 0 0 empty empty gamma -2 -8 0 10 -262130 -1 -1 0 1; #X floatatom 468 77 5 0 0 0 - - -; #X obj 541 57 hsl 60 15 0 1 0 0 empty empty beta -2 -8 0 10 -262130 -1 -1 0 1; #X floatatom 538 77 5 0 0 0 - - -; #X obj 611 57 hsl 60 15 1 20 0 0 empty empty number_of_periods -2 -8 0 10 -262130 -1 -1 0 1; #X floatatom 608 77 5 0 0 0 - - -; #N canvas 433 331 494 344 META 0; #X text 12 245 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 85 INLET_1 float; #X text 12 165 OUTLET_0 float; #X text 12 225 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 65 INLET_0 float; #X text 12 5 KEYWORDS control abstraction; #X text 12 45 DESCRIPTION triple exponential smoothing (tes); #X text 12 105 INLET_2 float; #X text 12 125 INLET_3 float; #X text 12 145 INLET_4 float; #X text 12 185 OUTLET_1 float; #X text 12 205 OUTLET_2 float; #X restore 805 366 pd META; #X connect 2 0 1 0; #X connect 2 0 9 0; #X connect 3 0 2 0; #X connect 4 0 5 0; #X connect 4 0 9 1; #X connect 9 0 0 0; #X connect 9 1 6 0; #X connect 9 2 7 0; #X connect 16 0 17 0; #X connect 16 0 9 2; #X connect 18 0 19 0; #X connect 18 0 9 3; #X connect 20 0 21 0; #X connect 20 0 9 4; mapping-0.2.1/smooth_triple.pd0000644000076500007650000000444712030356733015053 0ustar hanshans#N canvas 1 53 991 458 10; #X obj 21 12 inlet; #X obj 260 12 inlet; #X obj 260 66 purepd/float_argument \$1 0.15; #X obj 271 39 loadbang; #X obj 59 421 outlet; #X obj 21 57 trigger float bang; #X obj 126 153 float; #X text 162 153 St1; #X obj 260 102 clip 0 1; #X obj 175 421 outlet; #X obj 450 12 inlet; #X obj 461 39 loadbang; #X obj 450 102 clip 0 1; #X text 428 265 bt = y * (St - St1) + (1 - y) * bt1; #X text 509 102 y; #X text 319 102 a; #X obj 176 265 expr $f4 * ($f1 - $f2) + (1 - $f4) * $f3; #X obj 294 154 float; #X text 332 153 bt1; #X obj 450 66 purepd/float_argument \$2 0.3; #X obj 59 207 expr $f4*$f1+(1-$f4) * ($f2 + $f3); #X obj 302 391 pddp/pddplink http://www.itl.nist.gov/div898/handbook/pmc/section4/pmc435.htm ; #X obj 245 421 outlet; #X obj 630 12 inlet; #X obj 641 39 loadbang; #X obj 630 102 clip 0 1; #X text 689 102 B; #X text 274 208 St = a*(Yt / It1+(1-a)*St1; #X text 524 223 we are only using 2L as the "season"; #X obj 245 349 expr $f4 * ($f2/$f1) + (1 - $f4) * $f3; #X text 482 351 It = B * (Yt/St) + (1 - B) * It1; #X text 467 311 It; #X obj 630 66 purepd/float_argument \$3 0.6; #X obj 810 12 inlet; #X obj 821 39 loadbang; #X obj 810 102 int; #X obj 810 127 min 1; #X text 857 99 how many periods; #X obj 810 66 purepd/float_argument \$4 1; #N canvas 198 494 450 300 keep 0; #X obj 313 36 inlet; #X obj 214 255 outlet; #X obj 71 34 inlet; #X obj 71 92 list append; #X obj 186 165 list split; #X connect 0 0 4 1; #X connect 2 0 3 0; #X connect 3 0 4 0; #X connect 4 0 3 1; #X connect 4 1 1 0; #X connect 4 2 3 1; #X restore 334 309 pd keep old It values; #X connect 0 0 5 0; #X connect 1 0 2 0; #X connect 2 0 8 0; #X connect 3 0 2 0; #X connect 5 0 20 0; #X connect 5 1 6 0; #X connect 5 1 17 0; #X connect 6 0 16 1; #X connect 6 0 20 1; #X connect 8 0 20 3; #X connect 10 0 19 0; #X connect 11 0 19 0; #X connect 12 0 16 3; #X connect 16 0 17 1; #X connect 16 0 9 0; #X connect 16 0 29 1; #X connect 17 0 16 2; #X connect 17 0 20 2; #X connect 19 0 12 0; #X connect 20 0 4 0; #X connect 20 0 6 1; #X connect 20 0 16 0; #X connect 20 0 29 0; #X connect 23 0 32 0; #X connect 24 0 32 0; #X connect 25 0 29 3; #X connect 29 0 22 0; #X connect 29 0 39 0; #X connect 32 0 25 0; #X connect 33 0 38 0; #X connect 34 0 38 0; #X connect 35 0 36 0; #X connect 36 0 39 1; #X connect 38 0 35 0; #X connect 39 0 29 2; mapping-0.2.1/speedlimiter+-help.pd0000644000076500007650000000205012030356733015636 0ustar hanshans#N canvas 1 53 560 542 10; #X obj 250 328 timeroll; #X obj 46 164 random 1000; #X obj 46 138 metro 30; #X obj 46 114 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #X obj 47 328 timeroll; #X obj 72 114 loadbang; #X floatatom 363 208 5 0 0 0 - - -; #X obj 363 230 / 100; #X obj 46 191 / 1000; #X obj 249 253 speedlimiter+ 0.1; #X text 202 11 limit the positive variation to \$1 at every samples ; #N canvas 465 169 494 344 META 0; #X text 12 155 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 95 INLET_1 float; #X text 12 115 OUTLET_0 float; #X text 12 135 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 75 INLET_0 float; #X text 12 5 KEYWORDS control abstraction filter; #X text 12 45 DESCRIPTION limit the positive variation to \$1 for every samples; #X restore 475 505 pd META; #X connect 1 0 8 0; #X connect 2 0 1 0; #X connect 3 0 2 0; #X connect 5 0 2 0; #X connect 6 0 7 0; #X connect 7 0 9 1; #X connect 8 0 4 0; #X connect 8 0 9 0; #X connect 9 0 0 0; mapping-0.2.1/speedlimiter+.pd0000644000076500007650000000060412030356733014713 0ustar hanshans#N canvas 1 53 305 353 10; #X obj 88 43 inlet; #X obj 87 258 outlet; #X obj 169 42 inlet; #X obj 88 107 -; #X obj 88 198 +; #X obj 88 136 moses 0; #X obj 132 161 min \$1; #X obj 87 227 f; #X connect 0 0 3 0; #X connect 2 0 6 1; #X connect 3 0 5 0; #X connect 4 0 7 0; #X connect 5 0 4 0; #X connect 5 1 6 0; #X connect 6 0 4 0; #X connect 7 0 4 1; #X connect 7 0 3 1; #X connect 7 0 1 0; mapping-0.2.1/speedlimiter--help.pd0000644000076500007650000000203412030356733015642 0ustar hanshans#N canvas 1 53 571 505 10; #X obj 245 209 timeroll; #X obj 41 45 random 1000; #X obj 41 19 metro 30; #X obj 41 -5 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #X obj 42 209 timeroll; #X obj 67 -5 loadbang; #X floatatom 365 89 5 0 0 0 - - -; #X obj 365 111 / 100; #X obj 41 72 / 1000; #X obj 244 134 speedlimiter- -0.1; #X text 211 -89 limit negative variation to \$1 for every samples; #N canvas 464 140 494 344 META 0; #X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 85 INLET_1 float; #X text 12 105 OUTLET_0 float; #X text 12 125 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 65 INLET_0 float; #X text 12 45 DESCRIPTION limit negative variation to \$1 for every samples; #X text 12 5 KEYWORDS control abstraction filter; #X restore 504 393 pd META; #X connect 1 0 8 0; #X connect 2 0 1 0; #X connect 3 0 2 0; #X connect 5 0 2 0; #X connect 6 0 7 0; #X connect 7 0 9 1; #X connect 8 0 4 0; #X connect 8 0 9 0; #X connect 9 0 0 0; mapping-0.2.1/speedlimiter-.pd0000644000076500007650000000065712030356733014725 0ustar hanshans#N canvas 4 53 305 353 10; #X obj 88 18 inlet; #X obj 132 282 outlet; #X obj 125 42 inlet; #X obj 88 107 -; #X obj 132 221 +; #X obj 88 136 moses 0; #X obj 132 250 f; #X obj 88 187 max \$1; #X obj 125 107 * -1; #X connect 0 0 3 0; #X connect 2 0 8 0; #X connect 3 0 5 0; #X connect 4 0 6 0; #X connect 5 0 7 0; #X connect 5 1 4 0; #X connect 6 0 4 1; #X connect 6 0 3 1; #X connect 6 0 1 0; #X connect 7 0 4 0; #X connect 8 0 7 1; mapping-0.2.1/speedlimiter-help.pd0000644000076500007650000000203012030356733015561 0ustar hanshans#N canvas 1 53 507 542 10; #X obj 249 328 timeroll; #X obj 46 164 random 1000; #X obj 46 138 metro 30; #X obj 46 114 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #X obj 46 328 timeroll; #X obj 72 114 loadbang; #X floatatom 356 208 5 0 0 0 - - -; #X obj 356 230 / 100; #X obj 249 253 speedlimiter 0.1; #X obj 46 191 / 1000; #X text 203 16 limit the variation to \$1 at every sample; #N canvas 464 140 494 344 META 0; #X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 85 INLET_1 float; #X text 12 105 OUTLET_0 float; #X text 12 125 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 65 INLET_0 float; #X text 12 45 DESCRIPTION limit negative variation to \$1 for every samples; #X text 12 5 KEYWORDS control abstraction filter; #X restore 444 508 pd META; #X connect 1 0 9 0; #X connect 2 0 1 0; #X connect 3 0 2 0; #X connect 5 0 2 0; #X connect 6 0 7 0; #X connect 7 0 8 1; #X connect 8 0 0 0; #X connect 9 0 4 0; #X connect 9 0 8 0; mapping-0.2.1/speedlimiter.pd0000644000076500007650000000104312030356733014636 0ustar hanshans#N canvas 1 53 305 353 10; #X obj 58 42 inlet; #X obj 87 258 outlet; #X obj 166 38 inlet; #X obj 88 107 -; #X obj 88 198 +; #X obj 58 72 t f f; #X obj 87 227 f; #X obj 88 167 max; #X obj 166 119 * -1; #X obj 166 86 \$1; #X obj 88 140 min; #X obj 178 61 loadbang; #X connect 0 0 5 0; #X connect 2 0 9 0; #X connect 3 0 10 0; #X connect 4 0 6 0; #X connect 5 1 3 0; #X connect 6 0 4 1; #X connect 6 0 3 1; #X connect 6 0 1 0; #X connect 7 0 4 0; #X connect 8 0 7 1; #X connect 9 0 8 0; #X connect 9 0 10 1; #X connect 10 0 7 0; #X connect 11 0 9 0; mapping-0.2.1/spherical2cartesian-help.pd0000644000076500007650000000342112030356733017026 0ustar hanshans#N canvas 1 53 476 445 10; #X text 61 158 (r \, phi \, theta); #X text 61 198 (x \, y \, z); #X obj 277 122 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144 -1 -1 0 1; #X obj 218 102 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144 -1 -1 0 1; #X obj 160 72 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144 -1 -1 0 1; #X floatatom 164 93 5 0 0 0 - - -; #X floatatom 221 122 5 0 0 0 - - -; #X floatatom 282 141 5 0 0 0 - - -; #X obj 277 249 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144 -1 -1 0 1; #X floatatom 225 204 5 0 0 0 - - -; #X floatatom 168 204 5 0 0 0 - - -; #X floatatom 285 204 5 0 0 0 - - -; #X obj 157 181 spherical2cartesian; #X obj 89 327 pddp/pddplink http://en.wikipedia.org/wiki/Spherical_coordinate_system ; #X obj 89 307 pddp/pddplink http://en.wikipedia.org/wiki/Cartesian_coordinate_system ; #X text 43 307 input:; #X text 37 327 output:; #X obj 5 2 cnv 15 450 20 empty empty cartesian2spherical 2 11 1 18 -233017 -66577 0; #X text 73 36 convert cartesian to spherical coordinates; #N canvas 466 198 494 344 META 0; #X text 12 205 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 85 INLET_1 float; #X text 12 125 OUTLET_0 float; #X text 12 185 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 65 INLET_0 float; #X text 12 5 KEYWORDS control abstraction conversion; #X text 12 45 DESCRIPTION convert cartesian to spherical coordinates ; #X text 12 105 INLET_2 float; #X text 12 145 OUTLET_1 float; #X text 12 165 OUTLET_2 float; #X restore 416 405 pd META; #X connect 2 0 7 0; #X connect 2 0 12 2; #X connect 3 0 6 0; #X connect 3 0 12 1; #X connect 4 0 5 0; #X connect 4 0 12 0; #X connect 12 0 10 0; #X connect 12 1 9 0; #X connect 12 2 8 0; #X connect 12 2 11 0; mapping-0.2.1/spherical2cartesian.pd0000644000076500007650000000226412030356733016104 0ustar hanshans#N canvas 1 53 686 438 10; #X obj 397 395 outlet z; #X obj 267 12 inlet phi; #X obj 14 391 outlet x; #X obj 207 395 outlet y; #X obj 107 99 purepd/float_argument \$1; #X obj 267 99 purepd/float_argument \$2; #X obj 427 99 purepd/float_argument \$3; #X obj 17 12 inlet r; #X obj 427 12 inlet theta; #X obj 316 56 loadbang; #X obj 107 169 pack float float float; #X obj 107 190 trigger anything anything anything; #X obj 14 338 expr $f1 * sin($f2) * cos($f3); #X obj 397 338 expr $f1 * cos($f2); #X obj 207 338 expr $f1 * sin($f2) * sin($f3); #X obj 397 314 unpack float float float; #X obj 427 125 mapping/mapping2radians; #X obj 267 125 mapping/mapping2radians; #X text 390 413 released under the GNU GPL; #X text 43 413 (C) Copyright 2008 Hans-Christoph Steiner ; #X connect 1 0 5 0; #X connect 4 0 10 0; #X connect 5 0 17 0; #X connect 6 0 16 0; #X connect 7 0 10 0; #X connect 8 0 6 0; #X connect 9 0 5 0; #X connect 9 0 6 0; #X connect 9 0 4 0; #X connect 10 0 11 0; #X connect 11 0 12 0; #X connect 11 1 14 0; #X connect 11 2 15 0; #X connect 12 0 2 0; #X connect 13 0 0 0; #X connect 14 0 3 0; #X connect 15 0 13 0; #X connect 15 1 13 1; #X connect 16 0 10 2; #X connect 17 0 10 1; mapping-0.2.1/spiral-help.pd0000644000076500007650000000374612030356733014404 0ustar hanshans#N canvas 1 53 487 510 10; #X obj 5 2 cnv 15 450 20 empty empty spiral 2 11 1 18 -233017 -66577 0; #X msg 422 3 pddp; #X text 245 451 released under the GNU GPL; #X floatatom 32 232 5 0 0 0 - - -; #X floatatom 70 385 5 0 0 0 radius-> - -; #X text 175 408 For more info:; #X text 28 437 (C) Copyright 2005 Hans-Christoph Steiner ; #X floatatom 136 386 8 0 0 1 <-angle - -; #X floatatom 125 232 5 0 0 0 - - -; #X obj 124 249 t b f; #X text 216 341 related objects:; #X text 266 378 example:; #X obj 325 378 spiral-joystick; #X obj 86 346 spiral; #X obj 279 406 pddp/pddplink ../mapping-about.pd -text mapping-about ; #X obj 390 341 polar; #X text 24 32 Converts cartesian coordinates(x \, y) to spiral in polar coordinates (radius \, angle). The angle is from 0 to 1 The angle 0 is at cartesian (1 \, 0) or far right center.; #X text 24 81 The angle will just keep going up/down as long as there is rotation rather than reset like [polar].; #X msg 159 303 1; #X msg 195 303 -1; #X text 223 303 manually add/subtract rotations; #X obj 32 124 unauthorized/grid grid1 100 0 1 100 0 1 0 0.01 0.01 10 10 -131 68; #X obj 339 341 vector; #X msg 152 279 bang; #X text 185 278 reset to start position; #N canvas 467 227 494 344 META 0; #X text 12 195 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 95 INLET_1 float; #X text 12 135 OUTLET_0 float; #X text 12 175 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 75 INLET_0 float; #X text 12 5 KEYWORDS control abstraction conversion; #X text 12 155 OUTLET_1 float; #X text 12 45 DESCRIPTION convert cartesian coordinates(x \, y) to spiral in polar coordinates (radius \, angle).; #X text 12 115 INLET_2 float bang; #X restore 427 479 pd META; #X connect 3 0 13 0; #X connect 8 0 9 0; #X connect 9 0 3 0; #X connect 9 1 13 1; #X connect 13 0 4 0; #X connect 13 1 7 0; #X connect 18 0 13 2; #X connect 19 0 13 2; #X connect 21 0 3 0; #X connect 21 1 8 0; #X connect 23 0 13 2; mapping-0.2.1/spiral.pd0000644000076500007650000000335712030356733013454 0ustar hanshans#N canvas 1 53 689 461 10; #X obj 30 58 inlet; #X obj 25 393 outlet; #X text 73 393 output range: 0 to 1; #X text 72 57 input range: 0 to 1; #X obj 232 392 outlet; #X obj 222 58 inlet; #X text 264 57 input range: 0 to 1; #X text 29 29 x-axis value; #X text 221 26 y-axis value; #X text 432 432 released under the GNU GPL; #X text 20 432 (C) Copyright 2005 Hans-Christoph Steiner ; #X obj 309 298 +; #X msg 302 232 1; #X msg 425 230 -1; #X obj 232 363 +; #X obj 302 170 maxlib/delta; #X obj 309 321 * 1; #X obj 302 190 moses -0.4; #X obj 367 210 moses 0.4; #X text 273 90 changes over 0.4 mean one rotation. I can't move fast enough on my joystick to get near a change of 0.4 This might not work on other devices \, like tablets \, but we'll cross that bridge when we get to it (i.e. when I get a tablet); #X text 280 392 output range: infinite \, one rotation = 1; #X obj 129 137 trigger float float; #X obj 340 298 float; #X obj 415 54 inlet; #X text 456 53 add or subtract rotations; #X obj 152 304 float; #X text 231 413 angle; #X text 25 414 distance; #X obj 84 106 polar \$1; #X msg 210 197 0; #X obj 164 175 route float bang; #X obj 210 220 trigger 0 0; #X obj 164 268 trigger bang 0; #X connect 0 0 28 0; #X connect 5 0 28 1; #X connect 11 0 16 0; #X connect 11 0 22 0; #X connect 12 0 11 0; #X connect 13 0 11 0; #X connect 14 0 4 0; #X connect 15 0 17 0; #X connect 16 0 14 1; #X connect 17 0 12 0; #X connect 17 1 18 0; #X connect 18 1 13 0; #X connect 21 0 25 0; #X connect 21 1 15 0; #X connect 22 0 11 1; #X connect 23 0 30 0; #X connect 25 0 14 0; #X connect 28 0 1 0; #X connect 28 1 21 0; #X connect 29 0 31 0; #X connect 30 0 32 0; #X connect 30 1 29 0; #X connect 31 0 11 0; #X connect 31 1 22 0; #X connect 32 0 25 0; #X connect 32 1 11 0; mapping-0.2.1/split_n-help.pd0000644000076500007650000000163212030356733014552 0ustar hanshans#N canvas 1 53 450 416 10; #X msg 124 149 0.3 0.5 0.6 0.7 0.9; #X obj 124 123 loadbang; #X floatatom 85 68 5 0 0 0 - - -; #X obj 84 202 unpack f f f f; #X floatatom 84 229 5 0 0 0 - - -; #X floatatom 116 255 5 0 0 0 - - -; #X floatatom 143 278 5 0 0 0 - - -; #X floatatom 176 295 5 0 0 0 - - -; #X obj 85 178 split_n; #N canvas 468 256 494 344 META 0; #X text 12 165 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 35 LICENSE GPL v2; #X text 12 145 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 55 DESCRIPTION; #X text 12 5 KEYWORDS control abstraction needs_work (DESCRIPTION?) ; #X text 12 85 INLET_0 float; #X text 12 105 INLET_1 list; #X text 12 125 OUTLET_0 list; #X restore 391 385 pd META; #X connect 0 0 8 1; #X connect 1 0 0 0; #X connect 2 0 8 0; #X connect 3 0 4 0; #X connect 3 1 5 0; #X connect 3 2 6 0; #X connect 3 3 7 0; #X connect 8 0 3 0; mapping-0.2.1/split_n.pd0000644000076500007650000000162412030356733013625 0ustar hanshans#N canvas 1 53 629 446 10; #X obj 59 22 inlet; #X obj 307 60 inlet; #X obj 282 84 list; #X obj 283 109 list split 1; #X obj 363 186 f; #X obj 341 245 -; #X obj 292 262 -; #X obj 291 325 /; #X obj 290 349 min 1; #X obj 293 369 max 0; #X obj 293 298 * -1; #X obj 56 56 t b f b f; #X obj 364 207 t f f; #X obj 293 235 f; #X obj 323 159 t b f b f; #X obj 288 419 outlet; #X obj 322 135 listto; #X obj 288 393 tolist; #X connect 0 0 11 0; #X connect 1 0 2 1; #X connect 2 0 3 0; #X connect 3 0 4 1; #X connect 3 1 16 0; #X connect 4 0 12 0; #X connect 5 0 7 1; #X connect 6 0 10 0; #X connect 7 0 8 0; #X connect 8 0 9 0; #X connect 9 0 17 0; #X connect 10 0 7 0; #X connect 11 0 17 1; #X connect 11 2 2 0; #X connect 11 3 6 1; #X connect 12 0 13 1; #X connect 12 1 5 1; #X connect 13 0 6 0; #X connect 14 0 13 0; #X connect 14 1 4 1; #X connect 14 1 5 0; #X connect 14 2 4 0; #X connect 16 0 14 0; #X connect 17 0 15 0; mapping-0.2.1/stepper-help.pd0000644000076500007650000000477712030356733014601 0ustar hanshans#N canvas 1 53 512 393 10; #X obj 5 2 cnv 15 450 20 empty empty stepper 2 11 1 18 -233017 -66577 0; #X msg 422 3 pddp; #X text 27 320 (C) Copyright 2004 Hans-Christoph Steiner ; #X text 244 334 released under the GNU GPL; #X floatatom 25 133 8 0 0 0 - - -; #X floatatom 25 264 8 0 0 0 - - -; #X obj 28 281 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -262144 -1 -1 0 1; #X obj 28 113 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -225271 -1 -1 0 1; #N canvas 0 22 450 300 (subpatch) 0; #X array \$0_ 200 float 0; #X coords 0 1 199 0 200 200 1; #X restore 261 111 graph; #N canvas 266 69 439 429 draw_array 0; #X msg 54 82 bang; #X obj 54 103 until; #X text 85 82 start; #X obj 54 125 f; #X obj 83 125 + 1; #X obj 54 43 loadbang; #X obj 298 9 receive \$0-type; #X obj 54 180 trigger float float; #X obj 127 127 select 0; #X obj 53 343 tabwrite \$0_; #X text 96 257 mapping output range: 0 to 1; #X obj 16 5 inlet; #X obj 299 32 float; #X obj 54 257 / 200; #X obj 83 147 mod 200; #X obj 53 313 stepper; #X obj 149 34 receive \$0-segments; #X obj 299 53 trigger bang float; #X obj 149 53 trigger bang float; #X connect 0 0 1 0; #X connect 1 0 3 0; #X connect 3 0 4 0; #X connect 3 0 7 0; #X connect 4 0 14 0; #X connect 5 0 0 0; #X connect 6 0 12 0; #X connect 7 0 13 0; #X connect 7 1 9 1; #X connect 8 0 1 1; #X connect 11 0 0 0; #X connect 12 0 17 0; #X connect 13 0 15 0; #X connect 14 0 3 1; #X connect 14 0 8 0; #X connect 15 0 9 0; #X connect 16 0 18 0; #X connect 17 0 0 0; #X connect 17 1 15 2; #X connect 18 0 0 0; #X connect 18 1 15 1; #X restore 321 79 pd draw_array; #X msg 321 59 bang; #X obj 72 199 hsl 128 15 -1 1 0 0 \$0-type empty curve_factor 5 8 1 11 -257472 -1 -1 0 1; #X floatatom 81 219 5 0 0 0 - - -; #X obj 25 243 stepper; #X obj 50 159 hsl 128 15 1 64 0 1 \$0-segments empty segments 5 8 1 11 -262131 -1 -1 2217 1; #X floatatom 56 180 5 0 0 0 - - -; #N canvas 470 314 494 344 META 0; #X text 12 185 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 35 LICENSE GPL v2; #X text 12 165 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 55 DESCRIPTION; #X text 12 5 KEYWORDS control abstraction needs_work (DESCRIPTION?) ; #X text 12 85 INLET_0 float; #X text 12 105 INLET_1 float; #X text 12 125 INLET_2 float; #X text 12 145 OUTLET_0 float; #X restore 455 363 pd META; #X connect 4 0 13 0; #X connect 5 0 6 0; #X connect 7 0 4 0; #X connect 10 0 9 0; #X connect 11 0 12 0; #X connect 11 0 13 2; #X connect 13 0 5 0; #X connect 14 0 15 0; #X connect 14 0 13 1; mapping-0.2.1/stepper.pd0000644000076500007650000000123312030356733013633 0ustar hanshans#N canvas 1 53 595 295 10; #X obj 48 13 inlet; #X obj 48 249 outlet; #X obj 184 12 inlet; #X obj 387 9 inlet; #X obj 153 155 mapping/curve; #X obj 48 134 unpack float float; #X obj 48 180 pack float float; #X obj 279 38 loadbang; #X obj 185 72 purepd/float_argument \$1 12; #X obj 388 69 purepd/float_argument \$2 1; #X obj 48 210 mapping/desegment; #X obj 48 105 mapping/segment; #X connect 0 0 11 0; #X connect 2 0 8 0; #X connect 3 0 9 0; #X connect 4 0 6 1; #X connect 5 0 6 0; #X connect 5 1 4 0; #X connect 6 0 10 0; #X connect 7 0 8 0; #X connect 7 0 9 0; #X connect 8 0 10 1; #X connect 8 0 11 1; #X connect 9 0 4 1; #X connect 10 0 1 0; #X connect 11 0 5 0; mapping-0.2.1/stream_check-help.pd0000644000076500007650000000162712030356733015536 0ustar hanshans#N canvas 1 53 527 246 10; #X floatatom 43 34 5 0 0 0 - - -; #X obj 43 111 spigot; #X obj 70 173 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #X obj 80 85 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #X text 181 91 check for the presence of a data stream.; #X floatatom 43 209 5 0 0 0 - - -; #X obj 43 54 resample 30; #X obj 70 145 stream_check; #N canvas 470 314 494 344 META 0; #X text 12 125 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 105 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 85 OUTLET_0 float; #X text 12 5 KEYWORDS control abstraction; #X text 12 45 DESCRIPTION check for the presence of a data stream; #X text 12 65 INLET_0 anything; #X restore 461 215 pd META; #X connect 0 0 6 0; #X connect 1 0 5 0; #X connect 1 0 7 0; #X connect 3 0 1 1; #X connect 6 0 1 0; #X connect 7 0 2 0; mapping-0.2.1/stream_check.pd0000644000076500007650000000046612030356733014610 0ustar hanshans#N canvas 1 53 165 223 10; #X obj 17 46 t b b; #X msg 17 94 1; #X msg 47 94 0; #X obj 17 150 outlet; #X obj 17 20 inlet; #X obj 47 71 delay 100; #X obj 17 123 change -1; #X connect 0 0 1 0; #X connect 0 1 5 0; #X connect 1 0 6 0; #X connect 2 0 6 0; #X connect 4 0 0 0; #X connect 5 0 2 0; #X connect 6 0 3 0; mapping-0.2.1/test_n-help.pd0000644000076500007650000000246212030356733014400 0ustar hanshans#N canvas 1 53 467 373 10; #X floatatom 222 280 5 0 0 0 - - -; #X floatatom 150 329 5 0 0 0 - - -; #X msg 150 245 0; #X msg 181 245 1; #X text 268 277 size: n; #X text 19 25 sends a 1 if the last n values are equal to the first argument; #X floatatom 137 194 5 0 0 0 - - -; #X msg 137 110 word; #X msg 175 110 not-word; #X msg 120 245 2; #X text 13 72 click [word( five times in a row and you will get a 1 (5 is the default for how many \, aka "n"); #X text 25 220 click [2( three times in a row and you will get a 1 ; #X obj 137 168 test_n word; #X obj 150 303 test_n 2 3; #X obj 5 2 cnv 15 450 20 empty empty test_n 2 11 1 18 -233017 -66577 0; #N canvas 464 140 494 344 META 0; #X text 12 175 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 135 OUTLET_0 float; #X text 12 155 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 5 KEYWORDS control abstraction; #X text 12 45 DESCRIPTION send a 1 if the last n values are equal to the first argument; #X text 12 75 INLET_0 anything; #X text 12 95 INLET_1 anything; #X text 12 115 INLET_2 float; #X restore 405 338 pd META; #X connect 0 0 13 2; #X connect 2 0 13 0; #X connect 3 0 13 0; #X connect 7 0 12 0; #X connect 8 0 12 0; #X connect 9 0 13 0; #X connect 12 0 6 0; #X connect 13 0 1 0; mapping-0.2.1/test_n.pd0000644000076500007650000000227712030356733013456 0ustar hanshans#N canvas 1 53 560 437 10; #X obj 22 -2 inlet; #X obj 331 11 inlet; #X obj 225 383 outlet; #X obj 142 297 f; #X obj 172 297 + 1; #X msg 157 264 0; #X text 347 79 test for 5 by default; #X obj 168 14 inlet; #X obj 252 9 loadbang; #X obj 167 100 route float symbol; #X obj 142 217 select symbol; #X obj 225 353 >=; #X obj 22 104 route float; #X obj 94 124 symbol; #X floatatom 177 128 5 0 0 0 - - -; #X obj 21 59 list split 1; #X obj 79 195 ==; #X obj 79 217 select 1; #X text 1 41 only use 1st element; #X obj 288 143 print test_n; #X msg 288 122 ERROR: argument type not implmented; #X obj 167 59 purepd/any_argument \$1; #X obj 331 58 purepd/float_argument \$2 5; #X connect 0 0 15 0; #X connect 1 0 22 0; #X connect 3 0 4 0; #X connect 3 0 11 0; #X connect 4 0 3 1; #X connect 5 0 3 0; #X connect 7 0 21 0; #X connect 8 0 21 0; #X connect 8 0 22 0; #X connect 9 0 14 0; #X connect 9 0 16 1; #X connect 9 1 10 1; #X connect 9 2 20 0; #X connect 10 0 3 0; #X connect 10 1 5 0; #X connect 11 0 2 0; #X connect 12 0 16 0; #X connect 12 1 13 0; #X connect 13 0 10 0; #X connect 15 0 12 0; #X connect 16 0 17 0; #X connect 17 0 3 0; #X connect 17 1 5 0; #X connect 20 0 19 0; #X connect 21 0 9 0; #X connect 22 0 11 1; mapping-0.2.1/threshold-help.pd0000644000076500007650000000163612030356733015102 0ustar hanshans#N canvas 1 53 600 234 10; #X floatatom 25 34 5 0 0 0 - - -; #X floatatom 25 124 5 0 0 0 - - -; #X floatatom 90 63 5 0 0 0 - - -; #X text 111 174 (usefull to reduce the flow controling pd event...) ; #X obj 25 84 threshold 0.2; #N canvas 465 169 494 344 META 0; #X text 12 175 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 115 OUTLET_0 float; #X text 12 155 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 5 KEYWORDS control abstraction; #X text 12 45 DESCRIPTION output a new value only if the difference between the input and last output is greater than \$1; #X text 12 75 INLET_0 float; #X text 12 95 INLET_1 float; #X text 12 135 OUTLET_1 float; #X restore 543 206 pd META; #X text 107 131 output a new value only if the difference between the input and last output is greater than \$1; #X connect 0 0 4 0; #X connect 4 0 1 0; mapping-0.2.1/threshold.pd0000644000076500007650000000072512030356733014152 0ustar hanshans#N canvas 1 53 414 380 10; #X obj 55 21 inlet; #X obj 162 104 inlet; #X text 204 105 valeur seuil; #X obj 184 291 outlet; #X text 96 22 data stream; #X obj 85 203 -; #X obj 101 174 f; #X obj 85 255 >= \$1; #X obj 55 84 t f f; #X obj 55 290 spigot; #X obj 85 229 abs; #X connect 0 0 8 0; #X connect 1 0 7 1; #X connect 5 0 10 0; #X connect 6 0 3 0; #X connect 6 0 5 1; #X connect 7 0 9 1; #X connect 8 0 9 0; #X connect 8 1 5 0; #X connect 9 0 6 0; #X connect 10 0 7 0; mapping-0.2.1/threshold_max-help.pd0000644000076500007650000000166212030356733015746 0ustar hanshans#N canvas 1 53 508 284 10; #X floatatom 102 52 5 0 0 0 - - -; #X floatatom 102 135 5 0 0 0 - - -; #X obj 154 135 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 58 133 print; #X floatatom 225 76 5 0 0 0 - - -; #X text 144 51 signal input; #X obj 102 99 threshold_max 0.99; #X text 268 74 treshold; #X text 50 238 based on an object by Loic Kessous; #X text 51 194 the threshold is relative to the input value; #N canvas 466 198 494 344 META 0; #X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 105 OUTLET_0 float; #X text 12 125 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 5 KEYWORDS control abstraction; #X text 12 65 INLET_0 float; #X text 12 85 INLET_1 float; #X text 12 45 DESCRIPTION; #X restore 445 252 pd META; #X connect 0 0 6 0; #X connect 4 0 6 1; #X connect 6 0 1 0; #X connect 6 0 2 0; #X connect 6 0 3 0; mapping-0.2.1/threshold_max.pd0000644000076500007650000000174412030356733015021 0ustar hanshans#N canvas 1 53 411 523 10; #X obj 78 192 max; #X obj 58 357 <; #X obj 58 383 sel 1; #X msg 96 170 -1e+11; #X obj 92 423 f; #X obj 208 215 f; #X obj 58 115 t f f f b; #X obj 190 241 >; #X obj 78 234 t f f; #X obj 151 271 spigot; #X obj 92 448 outlet; #X obj 58 70 inlet; #X obj 249 90 inlet; #X obj 78 290 *; #X obj 249 131 \$1; #X obj 249 153 moses 0; #X msg 249 175 0.99; #X obj 256 111 loadbang; #X obj 249 199 f; #X obj 58 91 max 0; #X connect 0 0 8 0; #X connect 1 0 2 0; #X connect 2 0 3 0; #X connect 2 0 4 0; #X connect 3 0 0 1; #X connect 4 0 10 0; #X connect 5 0 7 1; #X connect 6 0 1 0; #X connect 6 1 0 0; #X connect 6 1 7 0; #X connect 6 2 5 1; #X connect 6 3 5 0; #X connect 7 0 9 1; #X connect 8 0 9 0; #X connect 8 0 13 0; #X connect 8 1 4 1; #X connect 9 0 0 1; #X connect 11 0 19 0; #X connect 12 0 14 0; #X connect 13 0 1 1; #X connect 14 0 15 0; #X connect 15 0 16 0; #X connect 15 1 18 0; #X connect 16 0 18 0; #X connect 17 0 14 0; #X connect 18 0 13 1; #X connect 19 0 6 0; mapping-0.2.1/timeroll-help.pd0000644000076500007650000000144312030356733014731 0ustar hanshans#N canvas 1 53 472 358 10; #X obj 116 147 vsl 15 128 0 1 0 0 empty empty empty 0 -8 0 8 -262131 -1 -1 0 1; #X text 339 191 from 0 to 1; #X obj 21 188 resample 50; #X obj 133 133 timeroll; #X obj 21 211 clip 0 1; #X text 73 54 Display a changing value over time.; #X text 99 110 (move the slider to see it in action); #N canvas 467 227 494 344 META 0; #X text 12 125 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 105 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 65 INLET_0 float; #X text 12 85 INLET_1 float; #X text 12 5 KEYWORDS control abstraction GUI; #X text 12 45 DESCRIPTION display a changing value over time; #X restore 417 330 pd META; #X connect 0 0 2 0; #X connect 2 0 4 0; #X connect 4 0 3 0; mapping-0.2.1/timeroll.pd0000644000076500007650000000157112030356733014005 0ustar hanshans#N canvas 1 53 664 232 10; #N canvas 0 22 450 300 (subpatch) 0; #X array \$0-_ 100 float 2; #X coords 0 0.77 100 -0.01 200 100 1; #X restore 10 55 graph; #X obj 272 116 list; #X obj 272 162 list trim; #X obj 272 14 inlet; #X obj 388 13 inlet; #X obj 388 146 pack f \$0; #X obj 272 186 s \$0-_; #X msg 388 173 \; \$2-_ resize \$1; #X text 315 14 data; #X obj 11 29 cnv 15 198 125 empty empty empty 20 12 0 14 -262144 -66577 0; #X obj 388 60 purepd/float_argument \$1 100; #X obj 430 31 loadbang; #X obj 295 85 list split; #X text 429 15 size of the array (default = 100); #X obj 272 138 list prepend 0; #X connect 1 0 12 0; #X connect 1 0 14 0; #X connect 2 0 6 0; #X connect 3 0 1 0; #X connect 4 0 10 0; #X connect 5 0 7 0; #X connect 10 0 5 0; #X connect 10 0 12 1; #X connect 11 0 10 0; #X connect 12 0 1 1; #X connect 12 2 1 1; #X connect 14 0 2 0; #X coords 0 -1 1 1 200 145 1 10 10; mapping-0.2.1/tolist-help.pd0000644000076500007650000000320212030356733014413 0ustar hanshans#N canvas 1 53 565 501 10; #X floatatom 361 86 5 0 0 0 - - -; #X floatatom 410 87 5 0 0 0 - - -; #X obj 323 140 listto; #X obj 323 239 tolist; #X obj 324 270 multi_slider 25; #X floatatom 463 89 5 0 0 0 - - -; #X text 23 41 built a list from a stream of data; #X obj 323 114 wave_loop 25 0.4; #X obj 323 209 breakpoint_smooth 0.67 0.33; #X obj 405 164 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 10 -262130 -1 -1 0 1; #X floatatom 411 183 5 0 0 0 - - -; #X msg 323 49 bang; #X obj 24 227 tolist; #X obj 27 135 hsl 128 15 0 127 0 0 empty empty empty -2 -6 0 10 -203904 -1 -1 0 1; #X obj 57 195 bng 25 250 50 0 empty empty empty 0 -6 0 10 -4034 -1 -1; #X text 24 111 add data to the list; #X obj 24 285 print LIST; #X msg 33 165 bang; #X text 69 165 clears the current contents; #X text 90 196 output the current contents; #X obj 5 2 cnv 15 450 20 empty empty tolist 2 11 1 18 -233017 -66577 0; #N canvas 465 169 494 344 META 0; #X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 125 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 5 KEYWORDS control abstraction list_op; #X text 12 45 DESCRIPTION built a list from a stream of data; #X text 12 65 INLET_0 anything; #X text 12 85 INLET_1 bang; #X text 12 105 OUTLET_0 list; #X restore 515 466 pd META; #X connect 0 0 7 1; #X connect 1 0 7 2; #X connect 2 0 8 0; #X connect 2 1 3 1; #X connect 3 0 4 0; #X connect 5 0 7 3; #X connect 7 0 2 0; #X connect 8 0 3 0; #X connect 9 0 8 1; #X connect 9 0 10 0; #X connect 11 0 7 0; #X connect 12 0 16 0; #X connect 13 0 12 0; #X connect 14 0 12 1; #X connect 17 0 12 0; mapping-0.2.1/tolist.pd0000644000076500007650000000045212030356733013471 0ustar hanshans#N canvas 1 53 293 284 10; #X obj 90 40 inlet; #X obj 169 40 inlet; #X obj 67 215 outlet; #X obj 90 150 list; #X obj 67 171 list; #X obj 90 127 list prepend; #X connect 0 0 5 0; #X connect 1 0 5 1; #X connect 1 0 4 0; #X connect 3 0 4 1; #X connect 3 0 5 1; #X connect 4 0 2 0; #X connect 5 0 3 0; mapping-0.2.1/track_max-help.pd0000644000076500007650000000264612030356733015061 0ustar hanshans#N canvas 1 53 478 344 10; #X obj 2 -8 cnv 15 450 20 empty empty track_max 2 11 1 18 -233017 -66577 0; #X floatatom 97 79 5 0 0 0 - - -; #X msg 148 61 bang; #X floatatom 97 142 5 0 0 0 - - -; #X text 183 62 <-- bang to reset; #X obj 159 86 tgl 15 1 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 ; #X text 179 86 <-- stop/start tracking; #X text 7 26 Track maximum value:; #X floatatom 97 229 5 0 0 0 - - -; #X msg 176 211 bang; #X floatatom 97 292 5 0 0 0 - - -; #X text 211 212 <-- bang to reset; #X obj 187 236 tgl 15 1 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1; #X text 207 236 <-- stop/start tracking; #X text 14 173 The argument and/or the second inlet set the initial minimum value.; #X floatatom 136 229 5 0 0 0 - - -; #X obj 97 262 track_max 72; #N canvas 371 158 494 344 META 0; #X text 12 165 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 145 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 5 KEYWORDS control abstraction; #X text 12 45 DESCRIPTION track maximum value; #X text 12 65 INLET_0 float; #X text 12 85 INLET_1 float; #X text 12 105 INLET_2 float bang; #X text 12 125 OUTLET_0 float; #X restore 424 305 pd META; #X obj 97 112 track_max; #X connect 1 0 18 0; #X connect 2 0 18 2; #X connect 5 0 18 2; #X connect 8 0 16 0; #X connect 9 0 16 2; #X connect 12 0 16 2; #X connect 15 0 16 1; #X connect 16 0 10 0; #X connect 18 0 3 0; mapping-0.2.1/track_max.pd0000644000076500007650000000156312030356733014130 0ustar hanshans#N canvas 1 53 461 389 10; #X obj 83 269 outlet; #X obj 294 7 inlet; #X obj 37 7 inlet; #X obj 294 27 route float bang; #X obj 58 92 select 0; #X msg 58 111 0; #X msg 109 111 1; #X obj 177 7 inlet; #X obj 224 137 loadbang; #X obj 37 207 moses; #X obj 37 143 spigot 1; #X text 59 235 max; #X obj 177 164 purepd/float_argument \$1 -9.99e+37; #X obj 83 234 + 1e-09; #X text 33 292 1e-09 is added so [moses] doesn't output the current maximum value again.; #X text 229 347 released under the GNU GPL; #X text 12 333 (C) Copyright 2006 Hans-Christoph Steiner ; #X connect 1 0 3 0; #X connect 2 0 10 0; #X connect 3 0 4 0; #X connect 3 1 12 0; #X connect 4 0 5 0; #X connect 4 1 6 0; #X connect 5 0 10 1; #X connect 6 0 10 1; #X connect 7 0 12 0; #X connect 8 0 12 0; #X connect 9 1 13 0; #X connect 10 0 9 0; #X connect 12 0 9 1; #X connect 13 0 0 0; #X connect 13 0 9 1; mapping-0.2.1/track_min-help.pd0000644000076500007650000000171412030356733015052 0ustar hanshans#N canvas 1 53 478 344 10; #X obj 2 -8 cnv 15 450 20 empty empty track_min 2 11 1 18 -233017 -66577 0; #X floatatom 97 79 5 0 0 0 - - -; #X msg 155 61 bang; #X text 7 26 Track minimum value:; #X floatatom 97 142 5 0 0 0 - - -; #X text 190 62 <-- bang to reset; #X obj 166 86 tgl 15 1 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 ; #X text 186 86 <-- stop/start tracking; #X obj 97 112 track_min; #X floatatom 97 229 5 0 0 0 - - -; #X msg 190 211 bang; #X floatatom 97 292 5 0 0 0 - - -; #X text 225 212 <-- bang to reset; #X obj 201 236 tgl 15 1 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1; #X text 221 236 <-- stop/start tracking; #X text 14 173 The argument and/or the second inlet set the initial minimum value.; #X floatatom 143 229 5 0 0 0 - - -; #X obj 97 262 track_min -234; #X connect 1 0 8 0; #X connect 2 0 8 2; #X connect 6 0 8 2; #X connect 8 0 4 0; #X connect 9 0 17 0; #X connect 10 0 17 2; #X connect 13 0 17 2; #X connect 16 0 17 1; #X connect 17 0 11 0; mapping-0.2.1/track_min.pd0000644000076500007650000000145512030356733014126 0ustar hanshans#N canvas 1 53 475 375 10; #X obj 37 303 outlet; #X text 75 268 min; #X obj 37 268 float; #X obj 294 7 inlet; #X obj 37 7 inlet; #X obj 294 27 route float bang; #X obj 58 92 select 0; #X msg 58 111 0; #X msg 109 111 1; #X obj 177 7 inlet; #X obj 224 137 loadbang; #X obj 37 207 moses; #X obj 37 143 spigot 1; #X text 229 347 released under the GNU GPL; #X text 12 333 (C) Copyright 2006 Hans-Christoph Steiner ; #X obj 177 164 purepd/float_argument \$1 9.99e+37; #X connect 2 0 0 0; #X connect 2 0 11 1; #X connect 3 0 5 0; #X connect 4 0 12 0; #X connect 5 0 6 0; #X connect 5 1 15 0; #X connect 6 0 7 0; #X connect 6 1 8 0; #X connect 7 0 12 1; #X connect 8 0 12 1; #X connect 9 0 15 0; #X connect 10 0 15 0; #X connect 11 0 2 0; #X connect 12 0 11 0; #X connect 15 0 11 1; #X connect 15 0 2 1; mapping-0.2.1/upsample-help.pd0000644000076500007650000000173112030356733014730 0ustar hanshans#N canvas 1 53 367 339 10; #X msg 83 96 1; #X obj 83 226 print; #X obj 204 227 print ---------; #X obj 83 140 trigger float bang; #X obj 98 119 hsl 128 15 0 127 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X obj 83 200 upsample 3; #X obj 158 177 hsl 128 15 0 10 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X floatatom 162 201 5 0 0 0 - - -; #N canvas 465 169 494 344 META 0; #X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 85 INLET_1 float; #X text 12 125 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 5 KEYWORDS control abstraction; #X text 12 45 DESCRIPTION increase the sampling rate; #X text 12 65 INLET_0 anything; #X text 12 105 OUTLET_0 list; #X restore 307 309 pd META; #X text 79 72 increase the sampling rate; #X connect 0 0 3 0; #X connect 3 0 5 0; #X connect 3 1 2 0; #X connect 4 0 3 0; #X connect 5 0 1 0; #X connect 6 0 5 1; #X connect 6 0 7 0; mapping-0.2.1/upsample.pd0000644000076500007650000000112012030356733013772 0ustar hanshans#N canvas 1 53 458 308 10; #X obj 80 14 inlet; #X obj 200 225 outlet; #X msg 57 86 0; #X obj 80 152 + 1; #X obj 200 199 list; #X obj 260 10 inlet; #X obj 307 10 loadbang; #X obj 80 131 moses; #X obj 57 107 float; #X obj 80 63 trigger bang anything; #X obj 80 174 trigger float bang; #X obj 260 65 purepd/float_argument \$1 1; #X connect 0 0 9 0; #X connect 2 0 8 0; #X connect 3 0 10 0; #X connect 4 0 1 0; #X connect 5 0 11 0; #X connect 6 0 11 0; #X connect 7 0 3 0; #X connect 8 0 7 0; #X connect 9 0 2 0; #X connect 9 1 4 1; #X connect 10 0 8 0; #X connect 10 1 4 0; #X connect 11 0 7 1; mapping-0.2.1/variance-help.pd0000644000076500007650000000171312030356733014672 0ustar hanshans#N canvas 1 53 494 406 10; #X obj 57 178 resample 20; #X obj 57 90 metro 500; #X obj 57 119 random 100; #X floatatom 57 294 5 0 0 0 - - -; #X obj 57 65 tgl 15 0 empty empty empty 0 -6 0 8 -204786 -1 -1 0 1 ; #X obj 57 259 variance 20; #X obj 57 143 / 100; #X obj 5 2 cnv 15 450 20 empty empty variance 2 11 1 18 -233017 -66577 0; #X msg 95 231 mode 1; #X text 152 232 used a slower but more accurate algorythm; #N canvas 464 140 494 344 META 0; #X text 12 125 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 85 OUTLET_0 float; #X text 12 105 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 65 INLET_0 float mode; #X text 12 45 DESCRIPTION; #X text 12 5 KEYWORDS control abstraction needs_work (DESCRIPTION?) ; #X restore 432 377 pd META; #X connect 0 0 5 0; #X connect 1 0 2 0; #X connect 2 0 6 0; #X connect 4 0 1 0; #X connect 5 0 3 0; #X connect 6 0 0 0; #X connect 8 0 5 0; mapping-0.2.1/variance.pd0000644000076500007650000000072011213555040013733 0ustar hanshans#N canvas 555 77 372 415 10; #X obj 39 33 inlet; #X obj 39 251 outlet; #X obj 39 96 t f f; #X obj 39 146 -; #X obj 39 170 t f f; #X obj 39 198 *; #X obj 71 122 mean_n \$1; #X obj 39 225 mean_n \$1; #X obj 39 58 route float; #X connect 0 0 8 0; #X connect 2 0 3 0; #X connect 2 1 6 0; #X connect 3 0 4 0; #X connect 4 0 5 0; #X connect 4 1 5 1; #X connect 5 0 7 0; #X connect 6 0 3 1; #X connect 7 0 1 0; #X connect 8 0 2 0; #X connect 8 1 6 0; #X connect 8 1 7 0; mapping-0.2.1/vector-help.pd0000644000076500007650000000334512030356733014407 0ustar hanshans#N canvas 1 53 484 395 10; #X obj 5 2 cnv 15 450 20 empty empty vector 2 11 1 18 -233017 -66577 0; #X floatatom 100 248 5 0 0 0 x - -; #X floatatom 100 335 7 0 0 0 radius-> - -; #X text 124 370 For more info:; #X obj 228 368 pddp/pddplink ../mapping-about.pd -text mapping-about ; #X floatatom 159 335 7 0 0 1 <-angle - -; #X floatatom 158 248 5 0 0 1 y - -; #X obj 157 265 t b f; #X text 275 283 related objects:; #X text 43 86 center:; #X obj 207 303 spiral; #X obj 95 123 unauthorized/grid grid1 100 0 1 100 0 1 1 0.1 0.1 10 10 7 243; #N canvas 841 235 450 300 c 0; #X obj 100 100 bng 30 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X msg 99 147 goto 49 49; #X obj 101 175 outlet; #X connect 0 0 1 0; #X connect 1 0 2 0; #X coords 0 -1 1 1 30 30 1 100 100; #X restore 95 85 pd c; #X obj 267 323 cartesian2spherical; #X obj 348 303 mapping2radians; #X text 17 29 Converts cartesian coordinates(x \, y) to polar coordinates (radius \, angle). The angle is in radians (-pi to pi).; #X obj 100 295 vector; #N canvas 465 169 494 344 META 0; #X text 12 185 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 125 OUTLET_0 float; #X text 12 165 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 5 KEYWORDS control abstraction; #X text 12 45 DESCRIPTION convert cartesian coordinates(x \, y) to polar coordinates (radius \, angle). The angle is in radians (-pi to pi); #X text 12 85 INLET_0 float; #X text 12 105 INLET_1 float; #X text 12 145 OUTLET_1 float; #X restore 424 362 pd META; #X connect 1 0 16 0; #X connect 6 0 7 0; #X connect 7 0 1 0; #X connect 7 1 16 1; #X connect 11 0 1 0; #X connect 11 1 6 0; #X connect 12 0 11 0; #X connect 16 0 2 0; #X connect 16 1 5 0; mapping-0.2.1/vector.pd0000644000076500007650000000153012030356733013453 0ustar hanshans#N canvas 1 53 496 439 10; #X obj 30 75 inlet; #X obj 25 300 outlet; #X text 73 300 output range: 0 to 1; #X obj 232 299 outlet; #X obj 164 73 inlet; #X text 11 31 x-axis value; #X text 167 30 y-axis value; #X obj 25 269 / 1.41421; #X text 92 269 (sqrt 2); #X text 280 299 output range: 0 to 1; #X text 245 371 released under the GNU GPL; #X text 28 357 (C) Copyright 2005 Hans-Christoph Steiner ; #X text 9 48 input range: -1 to 1; #X text 168 48 input range: -1 to 1; #X text 230 319 direction; #X text 23 318 magnatude; #X obj 29 159 float; #X obj 76 127 trigger bang float; #X obj 233 267 mapping/radians2mapping; #X obj 153 197 zexy/cart2pol; #X connect 0 0 16 0; #X connect 4 0 17 0; #X connect 7 0 1 0; #X connect 16 0 19 0; #X connect 17 0 16 0; #X connect 17 1 19 1; #X connect 18 0 3 0; #X connect 19 0 7 0; #X connect 19 1 18 0; mapping-0.2.1/wave-help.pd0000644000076500007650000000212112030356733014036 0ustar hanshans#N canvas 1 53 477 398 10; #X floatatom 29 40 5 0 0 0 - - -; #X floatatom 59 79 5 0 0 0 - - -; #X floatatom 102 97 5 0 0 0 - - -; #X obj 23 118 wave 25 0.4; #X obj 26 23 hsl 200 15 -1 5 0 0 empty empty center_position -2 -6 0 8 -262131 -1 -1 4600 1; #X obj 105 79 hsl 128 15 0.01 10 1 0 empty empty empty -2 -6 0 8 -257472 -1 -1 5500 1; #X obj 24 156 multi_slider 50; #X obj 61 61 hsl 128 15 0 50 0 0 empty empty number_of_points -2 -6 0 8 -225280 -1 -1 3600 1; #N canvas 464 140 494 344 META 0; #X text 12 175 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 95 INLET_1 float; #X text 12 155 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 45 DESCRIPTION return the amplitude covered by the last n (n>1) values; #X text 12 75 INLET_0 float; #X text 12 5 KEYWORDS control abstraction; #X text 12 115 INLET_2 float; #X text 12 135 OUTLET_0 list; #X restore 415 367 pd META; #X connect 1 0 3 1; #X connect 2 0 3 2; #X connect 3 0 6 0; #X connect 4 0 3 0; #X connect 4 0 0 0; #X connect 5 0 2 0; #X connect 7 0 1 0; mapping-0.2.1/wave.pd0000644000076500007650000000304312030356733013114 0ustar hanshans#N canvas 1 53 613 540 10; #X obj 25 -15 inlet; #X obj 132 -13 inlet; #X obj 400 -7 inlet; #X text 66 -12 position; #X text 438 -7 largeur de la vague; #X obj 133 178 until; #X obj 133 212 f; #X obj 159 212 + 1; #X obj 133 260 /; #X obj 164 302 abs; #X obj 164 346 min 1; #X obj 164 365 - 1; #X obj 164 385 abs; #X obj 164 406 list prepend; #X obj 199 442 list; #X obj 176 464 list; #X obj 176 491 outlet; #X msg 73 134 0; #X obj 261 174 - 1; #X obj 133 130 max 1; #X obj 400 118 max 0; #X text 173 -13 number of points; #X text 460 70 default: 0.5; #X obj 164 327 /; #X obj 26 74 trigger bang bang bang float bang; #X obj 164 282 -; #X obj 133 153 trigger float float; #X obj 292 16 loadbang; #X obj 133 105 float; #X text 331 48 default: 25 points; #X obj 132 47 purepd/float_argument \$1 25; #X obj 400 90 purepd/float_argument \$2 0.5; #X connect 0 0 24 0; #X connect 1 0 30 0; #X connect 2 0 31 0; #X connect 5 0 6 0; #X connect 6 0 7 0; #X connect 6 0 8 0; #X connect 7 0 6 1; #X connect 8 0 25 0; #X connect 9 0 23 0; #X connect 10 0 11 0; #X connect 11 0 12 0; #X connect 12 0 13 0; #X connect 13 0 14 0; #X connect 14 0 13 1; #X connect 14 0 15 1; #X connect 15 0 16 0; #X connect 17 0 6 1; #X connect 18 0 8 1; #X connect 19 0 26 0; #X connect 20 0 23 1; #X connect 23 0 10 0; #X connect 24 0 15 0; #X connect 24 1 28 0; #X connect 24 2 17 0; #X connect 24 3 25 1; #X connect 24 4 13 1; #X connect 25 0 9 0; #X connect 26 0 5 0; #X connect 26 1 18 0; #X connect 27 0 30 0; #X connect 27 0 31 0; #X connect 28 0 19 0; #X connect 30 0 28 0; #X connect 31 0 20 0; mapping-0.2.1/wave_loop-help.pd0000644000076500007650000000161512030356733015076 0ustar hanshans#N canvas 1 53 392 386 10; #X floatatom 23 11 5 0 0 0 - - -; #X floatatom 71 46 5 0 0 0 - - -; #X floatatom 106 72 5 0 0 0 - - -; #X text 107 50 size of the output vector; #X text 152 71 largeur de la loop; #X floatatom 150 89 5 0 0 0 - - -; #X obj 23 107 wave_loop 25 0.4; #X obj 24 156 multi_slider 25; #N canvas 465 169 494 344 META 0; #X text 12 185 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan Wilkes for Pd version 0.42.; #X text 12 25 LICENSE GPL v2; #X text 12 85 INLET_1 float; #X text 12 165 AUTHOR Cyrille Henry and Hans-Christoph Steiner; #X text 12 65 INLET_0 float; #X text 12 105 INLET_2 float; #X text 12 145 OUTLET_0 list; #X text 12 45 DESCRIPTION; #X text 12 5 KEYWORDS control abstraction needs_work (DESCRIPTION?) ; #X text 12 125 INLET_3 float; #X restore 332 353 pd META; #X connect 0 0 6 0; #X connect 1 0 6 1; #X connect 2 0 6 2; #X connect 5 0 6 3; #X connect 6 0 7 0; mapping-0.2.1/wave_loop.pd0000644000076500007650000000341712030356733014152 0ustar hanshans#N canvas 1 53 828 582 10; #X obj 68 41 inlet; #X obj 271 47 inlet; #X obj 446 46 inlet; #X text 109 44 position; #X text 321 43 nb de points; #X text 496 50 largeur de la vague; #X obj 268 167 until; #X obj 265 94 \$1; #X obj 268 191 f; #X obj 288 214 + 1; #X obj 269 244 /; #X obj 268 142 t f f; #X obj 269 270 -; #X obj 269 291 abs; #X obj 271 630 min 1; #X obj 270 651 - 1; #X obj 270 678 abs; #X obj 270 706 list prepend; #X obj 342 740 list; #X obj 61 688 list; #X obj 60 725 outlet; #X obj 68 70 t b b b f b; #X msg 110 94 0; #X obj 298 195 - 1; #X obj 271 606 / \$2; #X obj 270 116 max 1; #X obj 448 101 max 0; #X obj 271 385 i; #X obj 271 410 -; #X obj 270 359 t f f; #X obj 271 473 moses 0.5; #X obj 271 433 abs; #X obj 271 576 f; #X obj 642 52 inlet; #X text 686 54 taille de la loop; #X obj 328 501 - 1; #X obj 328 524 * -1; #X obj 639 82 / 2; #X obj 272 322 / 1; #X connect 0 0 21 0; #X connect 1 0 7 0; #X connect 2 0 26 0; #X connect 6 0 8 0; #X connect 7 0 25 0; #X connect 8 0 9 0; #X connect 8 0 10 0; #X connect 9 0 8 1; #X connect 10 0 12 0; #X connect 11 0 6 0; #X connect 11 1 23 0; #X connect 12 0 13 0; #X connect 13 0 38 0; #X connect 14 0 15 0; #X connect 15 0 16 0; #X connect 16 0 17 0; #X connect 17 0 18 0; #X connect 18 0 17 1; #X connect 18 0 19 1; #X connect 19 0 20 0; #X connect 21 0 19 0; #X connect 21 1 7 0; #X connect 21 2 22 0; #X connect 21 3 12 1; #X connect 21 4 17 1; #X connect 22 0 8 1; #X connect 23 0 10 1; #X connect 24 0 14 0; #X connect 25 0 11 0; #X connect 26 0 24 1; #X connect 27 0 28 0; #X connect 28 0 31 0; #X connect 29 0 27 0; #X connect 29 1 28 1; #X connect 30 0 32 0; #X connect 30 1 35 0; #X connect 31 0 30 0; #X connect 32 0 24 0; #X connect 33 0 37 0; #X connect 33 0 38 1; #X connect 35 0 36 0; #X connect 36 0 32 0; #X connect 38 0 29 0;