From c970c4c0a44f676de58a41fe70099d7936f2ab53 Mon Sep 17 00:00:00 2001 From: ugrnm Date: Thu, 23 Mar 2017 15:41:16 +0100 Subject: [PATCH] net and osx externals --- .gitignore | 3 + usr/local/lib/pd-externals/net/LICENSE.txt | 676 ++++++++++++++++++ usr/local/lib/pd-externals/net/README.txt | 7 + .../lib/pd-externals/net/examples/test.txt | 1 + .../lib/pd-externals/net/httpreceive-help.pd | 104 +++ .../lib/pd-externals/net/httpreceive.pd_linux | Bin 0 -> 9948 bytes .../lib/pd-externals/net/httpreq-help.pd | 104 +++ .../lib/pd-externals/net/httpreq.pd_linux | Bin 0 -> 9132 bytes usr/local/lib/pd-externals/net/net-meta.pd | 6 + .../lib/pd-externals/net/tcpclient-help.pd | 123 ++++ .../lib/pd-externals/net/tcpclient.pd_linux | Bin 0 -> 14172 bytes .../lib/pd-externals/net/tcpreceive-help.pd | 34 + .../lib/pd-externals/net/tcpreceive.pd_linux | Bin 0 -> 7596 bytes .../lib/pd-externals/net/tcpsend-help.pd | 41 ++ .../lib/pd-externals/net/tcpsend.pd_linux | Bin 0 -> 7164 bytes .../lib/pd-externals/net/tcpserver-help.pd | 209 ++++++ .../lib/pd-externals/net/tcpserver.pd_linux | Bin 0 -> 23260 bytes .../pd-externals/net/tcpsocket.FUDI-help.pd | 4 + .../lib/pd-externals/net/tcpsocket.FUDI.pd | 166 +++++ .../pd-externals/net/tcpsocket.OSC-help.pd | 4 + .../lib/pd-externals/net/tcpsocket.OSC.pd | 89 +++ .../pd-externals/net/tcpsocketserver-help.pd | 299 ++++++++ .../lib/pd-externals/net/tcpsocketserver.pd | 111 +++ .../lib/pd-externals/net/udpreceive-help.pd | 59 ++ .../lib/pd-externals/net/udpreceive.pd_linux | Bin 0 -> 8608 bytes .../lib/pd-externals/net/udpreceive~-help.pd | 88 +++ .../lib/pd-externals/net/udpreceive~.pd_linux | Bin 0 -> 17348 bytes .../lib/pd-externals/net/udpsend-help.pd | 72 ++ .../lib/pd-externals/net/udpsend.pd_linux | Bin 0 -> 10568 bytes .../lib/pd-externals/net/udpsend~-help.pd | 225 ++++++ .../lib/pd-externals/net/udpsend~.pd_linux | Bin 0 -> 16124 bytes usr/local/lib/pd-externals/osc/LICENSE.txt | 16 + usr/local/lib/pd-externals/osc/README.txt | 38 + usr/local/lib/pd-externals/osc/osc-meta.pd | 7 + .../lib/pd-externals/osc/packOSC-help.pd | 113 +++ .../lib/pd-externals/osc/packOSC.pd_linux | Bin 0 -> 19040 bytes .../pd-externals/osc/packOSCstream-help.pd | 56 ++ .../lib/pd-externals/osc/packOSCstream.pd | 12 + .../lib/pd-externals/osc/pipelist-help.pd | 50 ++ .../lib/pd-externals/osc/pipelist.pd_linux | Bin 0 -> 6220 bytes .../lib/pd-externals/osc/routeOSC-help.pd | 112 +++ .../lib/pd-externals/osc/routeOSC.pd_linux | Bin 0 -> 10624 bytes .../lib/pd-externals/osc/unpackOSC.pd_linux | Bin 0 -> 12484 bytes .../pd-externals/osc/unpackOSCstream-help.pd | 38 + .../lib/pd-externals/osc/unpackOSCstream.pd | 12 + 45 files changed, 2879 insertions(+) create mode 100644 usr/local/lib/pd-externals/net/LICENSE.txt create mode 100644 usr/local/lib/pd-externals/net/README.txt create mode 100644 usr/local/lib/pd-externals/net/examples/test.txt create mode 100644 usr/local/lib/pd-externals/net/httpreceive-help.pd create mode 100644 usr/local/lib/pd-externals/net/httpreceive.pd_linux create mode 100644 usr/local/lib/pd-externals/net/httpreq-help.pd create mode 100644 usr/local/lib/pd-externals/net/httpreq.pd_linux create mode 100644 usr/local/lib/pd-externals/net/net-meta.pd create mode 100644 usr/local/lib/pd-externals/net/tcpclient-help.pd create mode 100644 usr/local/lib/pd-externals/net/tcpclient.pd_linux create mode 100644 usr/local/lib/pd-externals/net/tcpreceive-help.pd create mode 100644 usr/local/lib/pd-externals/net/tcpreceive.pd_linux create mode 100644 usr/local/lib/pd-externals/net/tcpsend-help.pd create mode 100644 usr/local/lib/pd-externals/net/tcpsend.pd_linux create mode 100644 usr/local/lib/pd-externals/net/tcpserver-help.pd create mode 100644 usr/local/lib/pd-externals/net/tcpserver.pd_linux create mode 100644 usr/local/lib/pd-externals/net/tcpsocket.FUDI-help.pd create mode 100644 usr/local/lib/pd-externals/net/tcpsocket.FUDI.pd create mode 100644 usr/local/lib/pd-externals/net/tcpsocket.OSC-help.pd create mode 100644 usr/local/lib/pd-externals/net/tcpsocket.OSC.pd create mode 100644 usr/local/lib/pd-externals/net/tcpsocketserver-help.pd create mode 100644 usr/local/lib/pd-externals/net/tcpsocketserver.pd create mode 100644 usr/local/lib/pd-externals/net/udpreceive-help.pd create mode 100644 usr/local/lib/pd-externals/net/udpreceive.pd_linux create mode 100644 usr/local/lib/pd-externals/net/udpreceive~-help.pd create mode 100644 usr/local/lib/pd-externals/net/udpreceive~.pd_linux create mode 100644 usr/local/lib/pd-externals/net/udpsend-help.pd create mode 100644 usr/local/lib/pd-externals/net/udpsend.pd_linux create mode 100644 usr/local/lib/pd-externals/net/udpsend~-help.pd create mode 100644 usr/local/lib/pd-externals/net/udpsend~.pd_linux create mode 100644 usr/local/lib/pd-externals/osc/LICENSE.txt create mode 100644 usr/local/lib/pd-externals/osc/README.txt create mode 100644 usr/local/lib/pd-externals/osc/osc-meta.pd create mode 100644 usr/local/lib/pd-externals/osc/packOSC-help.pd create mode 100644 usr/local/lib/pd-externals/osc/packOSC.pd_linux create mode 100644 usr/local/lib/pd-externals/osc/packOSCstream-help.pd create mode 100644 usr/local/lib/pd-externals/osc/packOSCstream.pd create mode 100644 usr/local/lib/pd-externals/osc/pipelist-help.pd create mode 100644 usr/local/lib/pd-externals/osc/pipelist.pd_linux create mode 100644 usr/local/lib/pd-externals/osc/routeOSC-help.pd create mode 100644 usr/local/lib/pd-externals/osc/routeOSC.pd_linux create mode 100644 usr/local/lib/pd-externals/osc/unpackOSC.pd_linux create mode 100644 usr/local/lib/pd-externals/osc/unpackOSCstream-help.pd create mode 100644 usr/local/lib/pd-externals/osc/unpackOSCstream.pd diff --git a/.gitignore b/.gitignore index ff61c78..74c46c5 100644 --- a/.gitignore +++ b/.gitignore @@ -43,6 +43,9 @@ /usr/* !/usr/local/ /usr/local/* +!/usr/local/lib/ +/usr/local/lib/* +!/usr/local/lib/pd-externals/ !/usr/local/sbin/ /usr/local/sbin/*/ diff --git a/usr/local/lib/pd-externals/net/LICENSE.txt b/usr/local/lib/pd-externals/net/LICENSE.txt new file mode 100644 index 0000000..4432540 --- /dev/null +++ b/usr/local/lib/pd-externals/net/LICENSE.txt @@ -0,0 +1,676 @@ + + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. 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 +them 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 prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. 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. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey 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; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If 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 convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU 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 that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + 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. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +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. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + 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 +state 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 3 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, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program 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, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU 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. But first, please read +. + diff --git a/usr/local/lib/pd-externals/net/README.txt b/usr/local/lib/pd-externals/net/README.txt new file mode 100644 index 0000000..1c590f5 --- /dev/null +++ b/usr/local/lib/pd-externals/net/README.txt @@ -0,0 +1,7 @@ +A collection of network objects for Pure Data. +For more info see http://puredata.org +or +http://sourceforge.net/projects/pure-data/ +Bugs and feature requests should be filed at http://sourceforge.net/tracker/?group_id=55736 +Send questions to the mailing list at http://lists.puredata.info/listinfo/pd-list + diff --git a/usr/local/lib/pd-externals/net/examples/test.txt b/usr/local/lib/pd-externals/net/examples/test.txt new file mode 100644 index 0000000..e36d4ff --- /dev/null +++ b/usr/local/lib/pd-externals/net/examples/test.txt @@ -0,0 +1 @@ +testing one two three diff --git a/usr/local/lib/pd-externals/net/httpreceive-help.pd b/usr/local/lib/pd-externals/net/httpreceive-help.pd new file mode 100644 index 0000000..5dc140a --- /dev/null +++ b/usr/local/lib/pd-externals/net/httpreceive-help.pd @@ -0,0 +1,104 @@ +#N canvas 525 51 712 894 10; +#X obj 119 146 httpreq; +#X obj 44 56 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 +-1; +#X msg 84 94 GET http://132.205.142.12/index.php; +#X obj 136 309 unpack 0 0 0 0; +#X floatatom 136 332 3 0 0 0 - - -; +#X floatatom 163 332 3 0 0 0 - - -; +#X floatatom 190 332 3 0 0 0 - - -; +#X floatatom 217 332 3 0 0 0 - - -; +#X text 81 350 from; +#X obj 119 257 tcpclient; +#X obj 153 283 tgl 15 0 empty empty connected 18 7 0 8 -24198 -13381 +-1 0 1; +#X text 190 256 tcpclient opens a tcp socket to send and receive bytes +on; +#X floatatom 270 342 9 0 0 0 - - -; +#X floatatom 313 320 9 0 0 0 - - -; +#X text 382 319 Size of the send buffer; +#X obj 270 274 route sent buf blocked; +#X text 340 341 Number of bytes sent; +#X obj 356 298 print sender_blocked!; +#X msg 85 206 connect 132.205.142.12 80; +#X obj 119 450 httpreceive; +#X floatatom 182 483 5 0 0 0 - - -; +#X symbolatom 150 642 10 0 0 0 - - -; +#X obj 150 620 prepend set; +#X symbolatom 216 600 50 0 0 0 - - -; +#X obj 216 578 prepend set; +#X obj 150 526 route reason Date Content-Length Content-Type; +#X symbolatom 350 568 50 0 0 0 - - -; +#X obj 350 546 prepend set; +#X floatatom 283 558 5 0 0 0 - - -; +#X msg 64 74 GET http://132.205.142.12/nothing; +#X msg 44 165 dump \$1; +#X obj 44 139 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 +1; +#X obj 37 328 tgl 15 0 empty empty empty 17 7 0 10 -4034 -257985 -1 +0 1; +#X msg 37 351 verbosity \$1; +#X obj 457 543 print more_status; +#X obj 76 392 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 +-1; +#X text 515 726 Author: Martin Peach; +#X text 515 743 Date: 2011/01/13; +#X text 224 481 The right outlet is the status code.; +#X text 166 693 The left outlet is the message body as a list of bytes +; +#X text 154 505 The middle outlet is the status header as name/value +pairs; +#X obj 119 693 spigot; +#X obj 119 723 print message_body; +#X obj 152 671 tgl 15 0 empty empty printing_long_messages_can_hang_Pd +17 7 0 10 -4034 -257985 -1 0 1; +#X text 175 147 [httpreq] sends an HTTP/1.1 request as a list of bytes +(actually float atoms) \, suitable for [tcpclient]; +#X text 195 444 [htpreceive] expects an HTTP/1.1 response as one or +more lists of bytes.; +#X text 187 557 message length:; +#X obj 27 14 tgl 15 0 empty empty empty 17 7 0 10 -4034 -257985 -1 +1 1; +#X msg 27 37 verbosity \$1; +#X msg 105 115 HEAD http://132.205.142.12/index.php; +#X text 175 185 So far only GET and HEAD requests are supported; +#X text 274 73 should return 404 not found; +#X text 306 93 should return a web page; +#X text 332 114 should return only the metainformation; +#X connect 0 0 9 0; +#X connect 1 0 0 0; +#X connect 2 0 0 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 9 0 19 0; +#X connect 9 1 3 0; +#X connect 9 2 10 0; +#X connect 9 3 15 0; +#X connect 15 0 12 0; +#X connect 15 1 13 0; +#X connect 15 2 17 0; +#X connect 18 0 9 0; +#X connect 19 0 41 0; +#X connect 19 1 25 0; +#X connect 19 2 20 0; +#X connect 22 0 21 0; +#X connect 24 0 23 0; +#X connect 25 0 22 0; +#X connect 25 1 24 0; +#X connect 25 2 28 0; +#X connect 25 3 27 0; +#X connect 25 4 34 0; +#X connect 27 0 26 0; +#X connect 29 0 0 0; +#X connect 30 0 9 0; +#X connect 31 0 30 0; +#X connect 32 0 33 0; +#X connect 33 0 19 0; +#X connect 35 0 19 0; +#X connect 41 0 42 0; +#X connect 43 0 41 1; +#X connect 47 0 48 0; +#X connect 48 0 0 0; +#X connect 49 0 0 0; diff --git a/usr/local/lib/pd-externals/net/httpreceive.pd_linux b/usr/local/lib/pd-externals/net/httpreceive.pd_linux new file mode 100644 index 0000000000000000000000000000000000000000..619a2ee7e5894858dcd96586637a99673b17e1bf GIT binary patch literal 9948 zcmb_ieRLF6mVedXG!YvK5@SXS#FceIEH%t#Vpf|E6%e$90O3QrJ4uB!r<3kYcMx*$ z*a)~J(xw%M@xW$MyGM8C%yDY@Gt6yhsKaiTo>_zL!|H!n|K`t7adHy?fTx9`sQY<>M3NADuqttg}m z_3LHgz3lM3Uc%jmG988er1tE*hyVSHw~d##zIS@nttbDisp_rFuP1G4YXCQ)B2oW7<2xKXZoFDZr+(7F4T7+vV)lG4vf{+8e*Y zKh^ZP;(FhN_1-jwJ{j%Yw-`GBJ#JzX+0B3{axy$Ou`-q&BcFvr8#>~hp=2u3l?sJe zDB2lKu}~WT3oU9~8fsO#lnv2jO6h7`IzJZgR2n1AF~y>dPYJbbj*x&zEZPIc#hXIQ zYzgyYkz`UyvP3+YVu{v}($y93f(FrKyyd&!4JDH;kShF_3>(=#m^y@8^~>o%_3Y&+Ob(58pt>@>gwHmra@Q~T0% zflbBmUlXJN4g6HZCKthpjQI#cav8xJF&;q#&vJrr)FJe{83FYGLG(XJ5V_$Uf%&1pSO1Aqcr25-elv7{N)1PJfIxsv+9lKN0d{YNErwWR)PNj+Oq-&Imim((|x)DtE3_L6$Iq~26gmr*a526?$S z$emKZ<`DOsVQiUkTj3tz<3i!w7q#Vou$C31yHk4E)CqgXKa1LI@JyyqIDZ7C z3T;7D4H}z?|IBIqRmh%+(ggV_z*ZE}nZ_cWnV99IGuevz!8RsmrhqG~WzoLu!7Gz)rK=s~na#8U$7;^t?L!GmLd+PzWVjZ{h(zxV*C|@Je_!6ce7Rb`vle}NQ-qRo1!z=qfFYROR$$qo5IUP zH7~IBhK6}E|DIve|BV0ANZ4=5%L7mIDMz1lb{pia&W9M}G1<5sG8}-|s(x2+3T(Yw z7g(e55y`6DGkl0-RbCp2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Zdu9FZs;DDDn*R_=Q69y;*QUcZz!e|jqw)_ZMLvob z6*I1kMZ871Z=+6fX8x`p{VP6vwn$j6DXvW5tF|r{@0w D_xrF$ literal 0 HcmV?d00001 diff --git a/usr/local/lib/pd-externals/net/httpreq-help.pd b/usr/local/lib/pd-externals/net/httpreq-help.pd new file mode 100644 index 0000000..5dc140a --- /dev/null +++ b/usr/local/lib/pd-externals/net/httpreq-help.pd @@ -0,0 +1,104 @@ +#N canvas 525 51 712 894 10; +#X obj 119 146 httpreq; +#X obj 44 56 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 +-1; +#X msg 84 94 GET http://132.205.142.12/index.php; +#X obj 136 309 unpack 0 0 0 0; +#X floatatom 136 332 3 0 0 0 - - -; +#X floatatom 163 332 3 0 0 0 - - -; +#X floatatom 190 332 3 0 0 0 - - -; +#X floatatom 217 332 3 0 0 0 - - -; +#X text 81 350 from; +#X obj 119 257 tcpclient; +#X obj 153 283 tgl 15 0 empty empty connected 18 7 0 8 -24198 -13381 +-1 0 1; +#X text 190 256 tcpclient opens a tcp socket to send and receive bytes +on; +#X floatatom 270 342 9 0 0 0 - - -; +#X floatatom 313 320 9 0 0 0 - - -; +#X text 382 319 Size of the send buffer; +#X obj 270 274 route sent buf blocked; +#X text 340 341 Number of bytes sent; +#X obj 356 298 print sender_blocked!; +#X msg 85 206 connect 132.205.142.12 80; +#X obj 119 450 httpreceive; +#X floatatom 182 483 5 0 0 0 - - -; +#X symbolatom 150 642 10 0 0 0 - - -; +#X obj 150 620 prepend set; +#X symbolatom 216 600 50 0 0 0 - - -; +#X obj 216 578 prepend set; +#X obj 150 526 route reason Date Content-Length Content-Type; +#X symbolatom 350 568 50 0 0 0 - - -; +#X obj 350 546 prepend set; +#X floatatom 283 558 5 0 0 0 - - -; +#X msg 64 74 GET http://132.205.142.12/nothing; +#X msg 44 165 dump \$1; +#X obj 44 139 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 +1; +#X obj 37 328 tgl 15 0 empty empty empty 17 7 0 10 -4034 -257985 -1 +0 1; +#X msg 37 351 verbosity \$1; +#X obj 457 543 print more_status; +#X obj 76 392 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 +-1; +#X text 515 726 Author: Martin Peach; +#X text 515 743 Date: 2011/01/13; +#X text 224 481 The right outlet is the status code.; +#X text 166 693 The left outlet is the message body as a list of bytes +; +#X text 154 505 The middle outlet is the status header as name/value +pairs; +#X obj 119 693 spigot; +#X obj 119 723 print message_body; +#X obj 152 671 tgl 15 0 empty empty printing_long_messages_can_hang_Pd +17 7 0 10 -4034 -257985 -1 0 1; +#X text 175 147 [httpreq] sends an HTTP/1.1 request as a list of bytes +(actually float atoms) \, suitable for [tcpclient]; +#X text 195 444 [htpreceive] expects an HTTP/1.1 response as one or +more lists of bytes.; +#X text 187 557 message length:; +#X obj 27 14 tgl 15 0 empty empty empty 17 7 0 10 -4034 -257985 -1 +1 1; +#X msg 27 37 verbosity \$1; +#X msg 105 115 HEAD http://132.205.142.12/index.php; +#X text 175 185 So far only GET and HEAD requests are supported; +#X text 274 73 should return 404 not found; +#X text 306 93 should return a web page; +#X text 332 114 should return only the metainformation; +#X connect 0 0 9 0; +#X connect 1 0 0 0; +#X connect 2 0 0 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 9 0 19 0; +#X connect 9 1 3 0; +#X connect 9 2 10 0; +#X connect 9 3 15 0; +#X connect 15 0 12 0; +#X connect 15 1 13 0; +#X connect 15 2 17 0; +#X connect 18 0 9 0; +#X connect 19 0 41 0; +#X connect 19 1 25 0; +#X connect 19 2 20 0; +#X connect 22 0 21 0; +#X connect 24 0 23 0; +#X connect 25 0 22 0; +#X connect 25 1 24 0; +#X connect 25 2 28 0; +#X connect 25 3 27 0; +#X connect 25 4 34 0; +#X connect 27 0 26 0; +#X connect 29 0 0 0; +#X connect 30 0 9 0; +#X connect 31 0 30 0; +#X connect 32 0 33 0; +#X connect 33 0 19 0; +#X connect 35 0 19 0; +#X connect 41 0 42 0; +#X connect 43 0 41 1; +#X connect 47 0 48 0; +#X connect 48 0 0 0; +#X connect 49 0 0 0; diff --git a/usr/local/lib/pd-externals/net/httpreq.pd_linux b/usr/local/lib/pd-externals/net/httpreq.pd_linux new file mode 100644 index 0000000000000000000000000000000000000000..16a8841ebae037a559aa31b61a3c74795fd208a3 GIT binary patch literal 9132 zcmeHNeQ;FQbw6*vS!A(b31mU-7aMA&!P4R|4nyqB@}YngoGgk=6j0e+X%~Hr&??%M z4Gc3`5b_X#f=F>p7jxGoqNtb_uTJ$fA8M?X8pD=N|HoYuu~1Obks$(7X0=DL^cOG*OE+5 zq*c)}J>9Zre(H}5a_UM+Pd9WD(j;nz!!QUg5hSwVzk)mp(wL?pGjY1Zq}RYLT8TK5 zm9||ZqYyt5IKL0Xb`>ByXv>$MCjXra@~+Q4aJhNq^7U0;c>f36HeEl%X-h#|7tZ%B zlGo7Xjep6y`#`83(O<8f-dO*yw|}mE=itlNzqb71PrhWE_(t=JpANrO{!G*3r*6Ia zX8G6Od|^MEmWGVc8K}boJ!ur}%&aHJTnabw?73Sb}=vi6kYGeciDh+8f*3 z*1Mmjp0>Tc6z@-V$C9CLlt{hNP^_;n-baZ!xhM9lWx~-!DAKb(+0oh4P94c)Z(r;i zp+qd%-%IVWp2YsW)W!vd*wTnaqS4j}jOV1iv1CU)O5L5UZMBJb?PC;*MI*@wdZiT^ z^-d{{a|h`uv7V?NH#r!s{7U1KTb}$fZQ1tZ#!aC|Yk3E<0$R!Q4x9gE>5@%oh_) zF~{UR1-=v;&}rt#H_F_Ny^gtu=qz(=2|r{GKj)Y)BuXPZhZr#Cx4Ps2z!e%WQHbf^>yMG{O_lH#%eN~f@#(9zFWEK3_{Osea zx{rGcby+|9Vm0VId~JiTb-ppN4!$Jc36*_GzOcF)J~k{?vh3&k4;)g*ed#RMVLpFT z@S}pdK`rpdxVitBFoe@CwqX0o@2Wg5Hry+Yx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-{!pg#WS^0OF->&FdwxdwF-`eR{jGPVzK{mHPl zFRs6z)y6tPd-@`KV}?yA($^Q+Z`fGzt~R)YyU5SAoj_2JolJb;54>n zj!$Iro3d_)1fH)vN3CE*abKj*H?~udnJIv{RW9q9>Onj|Ij+KnNk$w@UsudI@V<}x zem#%AP%!^^j$8iNj_3NHg4k{&h}Q&DFXC*+>&dd)gE-ff*IEWPOuTNbV3iwz!m_jG z`$fwLob8ypL6#l=E<-0gSXjaG*H>i6@6}9PZ!1`K`=DTdkAkXT!?ceTW?(xOQzqyB z8^H#|Wch$>>; +#X text 272 24 GET http:///index.phpCRLF; +#X floatatom 374 483 9 0 0 0 - - -; +#X text 196 314 set send-buffer size; +#X floatatom 424 457 9 0 0 0 - - -; +#X text 493 456 Size of the send buffer; +#X msg 170 338 buf; +#X text 200 337 get send-buffer size; +#X msg 146 314 buf 10; +#X msg 194 362 verbosity \$1; +#X obj 139 347 tgl 15 1 empty empty empty 0 -6 0 8 -4034 -13381 -1 +0 1; +#X text 289 362 print connection status messages to main window (default) +; +#X msg -136 16 send 71 69 84 32 104 116 116 112 58 47 47 47 105 110 +100 101 120 46 112 104 112 13 10 13 10; +#X text 271 542 Attempting to print long messages can hang Pd!; +#X msg 11 179 unblock; +#X obj 374 407 route sent buf blocked; +#X text -208 540 2010/03/26 Martin Peach; +#X msg -175 -7 connect 132.205.142.11 9997; +#X msg -34 207 hello \;; +#X obj 59 227 str to_list; +#X text 158 225 semicolon-terminated strings for netserver or netreceive +; +#X text 73 175 if the tcpclient sender blocks for any reason \, it +must be unblocked manually; +#X text 444 482 Number of bytes sent; +#X obj 474 433 print sender_blocked!; +#N canvas 529 268 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 195 AUTHOR Martin Peach; +#X text 12 45 DESCRIPTION connect to a server and send and receive +messages as lists of bytes; +#X text 12 25 LICENSE GPL v2 or later; +#X text 12 85 INLET_0 list buf verbosity connect send disconnect dump +unblock; +#X text 12 115 OUTLET_0 list; +#X text 12 5 KEYWORDS control network; +#X text 12 135 OUTLET_1 list; +#X text 12 155 OUTLET_2 float; +#X text 12 175 OUTLET_3 sent buf blocked; +#X restore 733 551 pd META; +#X connect 0 0 7 0; +#X connect 1 0 2 0; +#X connect 1 1 3 0; +#X connect 1 2 4 0; +#X connect 1 3 5 0; +#X connect 7 0 34 0; +#X connect 7 1 1 0; +#X connect 7 2 8 0; +#X connect 7 3 51 0; +#X connect 9 0 7 0; +#X connect 10 0 9 0; +#X connect 12 0 7 0; +#X connect 17 0 7 0; +#X connect 22 0 7 0; +#X connect 26 0 7 0; +#X connect 27 0 28 0; +#X connect 28 0 7 0; +#X connect 29 0 27 0; +#X connect 32 0 7 0; +#X connect 34 0 36 0; +#X connect 35 0 34 1; +#X connect 42 0 7 0; +#X connect 44 0 7 0; +#X connect 45 0 7 0; +#X connect 46 0 45 0; +#X connect 48 0 7 0; +#X connect 50 0 7 0; +#X connect 51 0 38 0; +#X connect 51 1 40 0; +#X connect 51 2 59 0; +#X connect 53 0 7 0; +#X connect 54 0 55 0; +#X connect 55 0 7 0; diff --git a/usr/local/lib/pd-externals/net/tcpclient.pd_linux b/usr/local/lib/pd-externals/net/tcpclient.pd_linux new file mode 100644 index 0000000000000000000000000000000000000000..3ebe6f627b39578349b2e2b176cc79375a315e9b GIT binary patch literal 14172 zcmd6ue|#LpmEfyKBWW}izQ)KPgo7K9gYep7?1-TCYLg+D!}v@XW0MH*Mv|qmB_d0M zGzOWEFFUfvM8=XmfK9w$M?=D9S&q*qBA?{q7$-LbFL;66Il-G4Uv}x~QOD+ogjq=9 zWdn2H*F9r(6xh%Hc@5=P_1>#juc}_XdR0^U>l;@6S54DY@heevN=heYDb)bn{~4ux zepT9_3{?uPT3zJOi~ItQhTK%@AT@{X;xuTQI*!0!(?(f=?gJjD&T*lUPE(d7bblco z2NqK;c}YduYCGOR@lQUfuaktYic~_n@r$>q-@edy{a;lrpY=tx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0Y2!giOW zGb7h zJj}bM&mFYOy5ezVC$6cKzWCr^q%ReX4-VbwA35B2W22`5d=Osau7`Ke!(dPo1n&p& zE-~%_@eVTXdr(&e>Vd%iG46fv9ya*@__P$i4I0~BoWp)cSJ44G^!o%b>Zx&$1d)j0 z9);Mlw2)eg#H&2f77-IxXnpr=?Q-G}=qR^mPHa6Z~(1Y4dk|c-L<| zuVcLbPq6HM8Rq@i>Q+d@k#KKRNR1%f-w_^O#HeQyiC9Xs8ke`NsmNZ?#uaXBGHzT^$1M>+N2)ylE9ip8Fh*AUKIW^Pd(-_f%$7a7TJad<|6f&hlGuwt#R2- zSO;M4l4kxA6wn-xwut$30dP(;`Y`_q%zw)s^|%jy0HEF)0QUni8aIpvOV8R1E;f`O>Jef9OOL|dz$v-Fqf{T1YlG4;&f63yQct+9zY|FZzg9_wGM4)qgl)Lh@Shk6fM3^2#yV~uHYLM%tYziKgMIobaON>xfl literal 0 HcmV?d00001 diff --git a/usr/local/lib/pd-externals/net/tcpsend-help.pd b/usr/local/lib/pd-externals/net/tcpsend-help.pd new file mode 100644 index 0000000..58864b3e --- /dev/null +++ b/usr/local/lib/pd-externals/net/tcpsend-help.pd @@ -0,0 +1,41 @@ +#N canvas 1 53 559 320 12; +#X msg 85 175 disconnect; +#X msg 13 59 connect 127.0.0.1 9997; +#X obj 60 253 tgl 15 0 empty empty connected 20 7 0 8 -24198 -241291 +-1 0 1; +#X obj 60 230 tcpsend; +#X text 217 60 <--first; +#X msg 32 83 send 0 1 2 3; +#X text 8 7 tcpsend sends bytes over a tcp connection.; +#X text 8 30 Used in conjunction with packOSC will send OSC over tcp +; +#X msg 50 106 send examples/test.txt; +#X obj 385 144 openpanel; +#X msg 385 168 send \$1; +#X obj 385 125 bng 15 250 50 0 empty empty empty 17 7 0 10 -24198 -241291 +-1; +#X text 344 105 send a file; +#X text 407 124 ...any file; +#X text 148 84 send raw data; +#X text 137 134 'send' prefix is optional; +#X msg 61 133 99 98 97; +#X text 291 260 Martin Peach 2007/06/20; +#N canvas 507 340 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 or later; +#X text 12 105 AUTHOR Martin Peach; +#X text 12 45 DESCRIPTION send bytes over a tcp connection; +#X text 12 65 INLET_0 connect send list disconnect; +#X text 12 85 OUTLET_0 float; +#X text 12 5 KEYWORDS control network; +#X restore 490 290 pd META; +#X connect 0 0 3 0; +#X connect 1 0 3 0; +#X connect 3 0 2 0; +#X connect 5 0 3 0; +#X connect 8 0 3 0; +#X connect 9 0 10 0; +#X connect 10 0 3 0; +#X connect 11 0 9 0; +#X connect 16 0 3 0; diff --git a/usr/local/lib/pd-externals/net/tcpsend.pd_linux b/usr/local/lib/pd-externals/net/tcpsend.pd_linux new file mode 100644 index 0000000000000000000000000000000000000000..fc8b23d4670ac80560fc69fb38e509f8bac902d3 GIT binary patch literal 7164 zcmcgxdvILkbw78tdaV?*HfvkRYPe8o5Q!|-AgIP=#%uGioyZ`J2qe(1R@y6h@oIP3 zy#mX4QV~qz*zBxI&D-v7nNmD04QfjUY7A9Vl{m!AI1{(Sc#`Qpe6av)QKo6@X0W%v z-`&0P%|^`dS3k|!^Zd^F9_M@9Pk(Y--|dQ`h*fH&Q^;i+M0$X4ZV_=frM5>@sfDgZ zR-1aup7_m`WvDfUim5Nl6zCM$3x`J#qpqTN0MDY%EOdl9@C53e6*vWKK|5%IrMt_} zgJ6HBu)Z5WI}e}+u=$RAWa87Ue>rmN*u<3^)HTOr-|K6L_Wn6_R{_`-*87Qcu9MkK z->0kt&j#PyK}| z{y%Lz?bq7k(|*XtQ*UEM1^*uat5EN>8L<9SmJ*nHmrYOppQ`lZRXpd}Dzx8HRsRV~ z2~2&!#;c&eZR6RVUK_81-d^SJS(~2rU#ZeprpmNpybhb5_HUS)@(=m5HlFr3z&-{= zGw=#&l0(3QtC?wR|4P{n{^r&AF?o-?R;7Qjihu04>{ps&VCB~e+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K z<^N5U|1V|5CT9Pq0hT}Rhp*!O@JYz5LOa3_0hS&2i(b5cTE1v&(QkpKU&i&p?q=Aj mW=#lCtTCSf4VxHcEVRSB$6{eD7At0%6WIwn=9N_}yZ-~-UPbi) literal 0 HcmV?d00001 diff --git a/usr/local/lib/pd-externals/net/tcpserver-help.pd b/usr/local/lib/pd-externals/net/tcpserver-help.pd new file mode 100644 index 0000000..9cafbea --- /dev/null +++ b/usr/local/lib/pd-externals/net/tcpserver-help.pd @@ -0,0 +1,209 @@ +#N canvas 4 103 1272 816 12; +#X msg 39 -10 print; +#X floatatom 404 376 5 0 0 0 - - -; +#X floatatom 428 426 5 0 0 0 - - -; +#X obj 452 377 unpack 0 0 0 0; +#X floatatom 452 400 3 0 0 0 - - -; +#X floatatom 483 400 3 0 0 0 - - -; +#X floatatom 515 400 3 0 0 0 - - -; +#X floatatom 549 400 3 0 0 0 - - -; +#X text 409 399 from; +#X text 320 376 connections; +#X obj 381 501 print received; +#X msg 135 86 client 1 1 2 3; +#X msg 63 14 broadcast 1 2 3; +#X text 91 -9 list of connections; +#X text 186 14 send to all clients; +#X text 358 426 on socket; +#X msg -11 -60 send 504 1 2 3; +#X text 100 -65 send to client on socket 504; +#X msg 647 -209 client 1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 +18 19; +#X msg 647 -186 client 1 20 21 22 23 24 25 26 27 28 29 30 31 32 33 +34 35 36 37 38 39; +#X msg 647 -148 client 1 40 41 42 43 44 45 46 47 48 49 50 51 52 53 +54 55 56 57 58 59; +#X msg 647 -110 client 1 60 61 62 63 64 65 66 67 68 69 70 71 72 73 +74 75 76 77 78 79; +#X msg 647 -72 client 1 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 +95 96 97 98 99; +#X msg 647 -34 client 1 100 101 102 103 104 105 106 107 108 109 110 +111 112 113 114 115 116 117 118 119; +#X msg 647 4 client 1 120 121 122 123 124 125 126 127 138 139 140 141 +142 143 144 145 146 147 148 149; +#X msg 647 42 client 1 150 151 152 153 154 155 156 157 158 159 160 +161 162 163 164 165 166 167 168 169; +#X msg 647 80 client 1 170 171 172 173 174 175 176 177 178 179 180 +181 182 183 184 185 186 187 188 189; +#X msg 647 118 client 1 190 191 192 193 194 195 196 197 198 199 200 +201 202 203 204 205 206 207 208 209; +#X msg 647 156 client 1 210 211 212 213 214 215 216 217 218 219 220 +221 222 223 224 225 226 227 228 229; +#X msg 647 194 client 1 230 231 232 233 234 235 236 237 238 239 240 +241 242 243 244 245 246 247 248 249; +#X msg 647 232 client 1 250 251 252 253 254 255; +#X obj 40 -177 openpanel; +#X obj 40 -196 bng 15 250 50 0 empty empty choose_a_file 17 7 0 10 +-24198 -241291 -1; +#X text 24 -157 ...any file; +#X msg -108 -157 client 1 \$1; +#X msg 14 -35 10 1 2 43; +#X text 98 -48 'send' prefix is optional; +#X text 88 -31 (the first number is socket number); +#X msg -41 -90 disconnectsocket \$1; +#X msg -84 -133 disconnectclient \$1; +#X obj 647 257 s toserver; +#X obj 376 327 r toserver; +#X floatatom 143 -172 5 0 0 0 - - -; +#X obj 121 -153 f; +#X obj 121 -172 bng 15 250 50 0 empty empty empty 17 7 0 10 -258699 +-241291 -1; +#X floatatom 185 -129 5 0 0 0 - - -; +#X obj 163 -110 f; +#X obj 163 -129 bng 15 250 50 0 empty empty empty 17 7 0 10 -258699 +-241291 -1; +#X text -109 -110 disconnect by socket or client number; +#X text 488 351 argument is port number; +#X text 52 353 Received messages are output as lists of bytes; +#X text -9 457 ***WARNING*** Attempting to print long messages can +hang pd!; +#X obj 381 479 spigot; +#X obj 420 459 tgl 15 0 empty empty enable_print 17 7 0 10 -24198 -258699 +-45076 0 1; +#X msg 159 110 dump \$1; +#X obj -17 95 tgl 15 0 empty empty enable_dump 17 7 0 10 -4034 -257985 +-1 0 1; +#X text -85 45 dump received; +#X text -85 61 characters to main; +#X text -85 76 window in hexdump; +#X text -85 92 format:; +#X obj 381 352 tcpserver 9997; +#X msg -132 -181 client 1 test.txt; +#X text 647 -234 [tcpserver] sends and receives bytes on [0...255] +; +#X text 158 -217 [tcpserver] waits for clients to connect to its port. +; +#X text -137 -202 send a file to client 1; +#X msg 183 134 client 1 72 101 108 108 111 13 10; +#X floatatom 638 437 9 0 0 0 - - -; +#X obj 770 396 print status; +#X floatatom 598 460 5 0 0 0 - - -; +#X text 528 459 to_client; +#X msg 111 62 client; +#X msg 88 39 client 1; +#X text 156 38 get state of client 1; +#X text 249 86 send (binary) 1 2 3 to client 1; +#X floatatom 772 529 5 0 0 0 - - -; +#X symbolatom 804 502 20 0 0 0 - - -; +#X floatatom 741 502 5 0 0 0 - - -; +#X text 705 436 bytes; +#X text 598 436 sent; +#X msg 209 160 clientbuf 1 65536; +#X obj 741 478 unpack 0 0 s 0; +#X floatatom 836 550 7 0 0 0 - - -; +#X text 681 550 length of send buffer:; +#X text 721 528 socket:; +#X text 690 501 client:; +#X text 781 501 ip:; +#X text 339 159 set send-buffer size for client 1; +#X text 163 62 get state of all clients (list on right outlet); +#X obj 598 411 unpack 0 0 0; +#X floatatom 679 478 5 0 0 0 - - -; +#X text 609 477 on_socket; +#X msg 233 184 send; +#X msg 258 209 1156; +#X text 276 183 output 'client' message for all sockets; +#X text 298 209 output 'client' message for socket 1156; +#X msg 283 234 unblock; +#X obj 598 372 route sent client blocked; +#X text -143 233 If sending too many messages blocks the system \, +tcpserver will stop sending until it receives an unblock message; +#X obj 712 419 print blocked; +#N canvas 530 81 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 205 AUTHOR Martin Peach; +#X text 12 25 LICENSE GPL v2 or later; +#X text 12 5 KEYWORDS control network; +#X text 12 45 DESCRIPTION wait for clients to connect to its port; +#X text 12 65 INLET_0 float list client disconnectclient disconnectsocket +send print broadcast dump clientbuf unblock; +#X text 12 105 OUTLET_0 anything; +#X text 12 125 OUTLET_1 float; +#X text 12 145 OUTLET_2 float; +#X text 12 165 OUTLET_3 list; +#X text 12 185 OUTLET_4 sent client blocked; +#X restore 899 458 pd META; +#X msg 354 305 port 12345; +#X text 436 304 change listening port (only if no connections are active) +; +#X msg 332 283 verbosity \$1; +#X obj 332 263 hradio 15 1 0 4 empty empty empty 0 -8 0 10 -1 -4034 +-1 0; +#X text 425 281 set verbosity level; +#X text -9 536 2014/02/13 Martin Peach; +#X connect 0 0 60 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 11 0 60 0; +#X connect 12 0 60 0; +#X connect 16 0 60 0; +#X connect 18 0 40 0; +#X connect 19 0 40 0; +#X connect 20 0 40 0; +#X connect 21 0 40 0; +#X connect 22 0 40 0; +#X connect 23 0 40 0; +#X connect 24 0 40 0; +#X connect 25 0 40 0; +#X connect 26 0 40 0; +#X connect 27 0 40 0; +#X connect 28 0 40 0; +#X connect 29 0 40 0; +#X connect 30 0 40 0; +#X connect 31 0 34 0; +#X connect 32 0 31 0; +#X connect 34 0 60 0; +#X connect 35 0 60 0; +#X connect 38 0 60 0; +#X connect 39 0 60 0; +#X connect 41 0 60 0; +#X connect 42 0 43 1; +#X connect 43 0 39 0; +#X connect 44 0 43 0; +#X connect 45 0 46 1; +#X connect 46 0 38 0; +#X connect 47 0 46 0; +#X connect 52 0 10 0; +#X connect 53 0 52 1; +#X connect 54 0 60 0; +#X connect 55 0 54 0; +#X connect 60 0 52 0; +#X connect 60 1 1 0; +#X connect 60 2 2 0; +#X connect 60 3 3 0; +#X connect 60 4 96 0; +#X connect 61 0 60 0; +#X connect 65 0 60 0; +#X connect 70 0 60 0; +#X connect 71 0 60 0; +#X connect 79 0 60 0; +#X connect 80 0 76 0; +#X connect 80 1 74 0; +#X connect 80 2 75 0; +#X connect 80 3 81 0; +#X connect 88 0 68 0; +#X connect 88 1 66 0; +#X connect 88 2 89 0; +#X connect 91 0 60 0; +#X connect 92 0 60 0; +#X connect 95 0 60 0; +#X connect 96 0 88 0; +#X connect 96 1 80 0; +#X connect 96 2 98 0; +#X connect 96 3 67 0; +#X connect 100 0 60 0; +#X connect 102 0 60 0; +#X connect 103 0 102 0; diff --git a/usr/local/lib/pd-externals/net/tcpserver.pd_linux b/usr/local/lib/pd-externals/net/tcpserver.pd_linux new file mode 100644 index 0000000000000000000000000000000000000000..59869ea92bb773660d5e69c7d5afef2c969bac9d GIT binary patch literal 23260 zcmdU%e|+3kmG|#AnY7bsr~{@FV|@IA=^AUO0|xBYs8d?B)S}Z;N`)?&G)YM@O@?HO zz|&`+X-R2mlXj3&Dz;{H@g?i>TBD+Nk*t~NY_&1X#P!!3QxPy# z&BiuW)YX~`-TE@T;^x&}sB#M}x85tWsI$x{2w%1;%#2cf1#y%%QR);%$t$QnPzuiy zmqP<-g>v0WC)q*vRX?>469iX7s3d&w!`GSO)*Tal^?&oBzg_>6E1KVW`2`bg$2O?$ z-2~C1cK1XZFEvN6yhmk=2=67BFE)=}dDV|z`bO~+TmJFH^=~?U>)QH%82Z(m+g7*i zJN3g~&RP4*2ky9U_TsM!bo%f1kXKS^X1R$L#;ISWIp56kl5Sq~e#=dH|0%!1m%o_w z8+>`2^u50P1*H3Y_>^y$mVeBb7yh}vyx?!}t|S)z>of_apX$ea@T&J^jZOYxLis27CLe&{XZi3c|LZa^vGNC}<$vaDFMLn? z@`C@{Y587Xd%=IvSFijJr{(``8vNF2`6s5qw@=G|#s@EY-s2me`ul^gUilZN%ebu!7>!#8BK3`t#>!!hnr`10?Ex%)0e$bZ}eS5*z zutqCb>wT`-M81BF2NY)Ie|B2^o@x2y8Srz>LYkJ>>jkXW)UF(|6T-~<5yVI*XdrfQm?QKHP*1hpg0GHp^x~ha>Nq1X+e`mi*^!6uB{~i6UeVY=! z-Q62{+)R6SFO|LRAM2#DGpST>B5Brd?CCJwqQC=d>*y#oy4eHjY1`CkZtm>qzhjf> z-JI<1Ot!Z5+>z|s*mJXs*G1Xa*V|XF6*AM`ljz&nliW})+|b?IMro^C+1J^Ao7vFU z+3Ehb{*EL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Hf1>!oI)c(I0dJ*pb(})b%IqKCPYek!D;O%Xw8&= zWrMtfKkwzE8`O!MF!W$ zg}YLD8YpP(3Qp_03@1G${960BQ=uR|QvQ|uZKI$JS6+WDBDVAsoI*FD43`CwLcQw^ zdVpnoeLgtpDh1J9{*~cwr$G2FBb)?AVMR&*3082bPnBYk6oE+!WgHYurgxF%$jaq| z-ZRu&$!CMx4-7|RE}V4c!gIiV78vy}zUrOfmUF;;p86RjIPdLc@7?8c--xS%UN6!0s&$ bd#9Il|5so7mHYH^#(W64XUdsUy|VuY>Qo1{ literal 0 HcmV?d00001 diff --git a/usr/local/lib/pd-externals/net/tcpsocket.FUDI-help.pd b/usr/local/lib/pd-externals/net/tcpsocket.FUDI-help.pd new file mode 100644 index 0000000..e481731 --- /dev/null +++ b/usr/local/lib/pd-externals/net/tcpsocket.FUDI-help.pd @@ -0,0 +1,4 @@ +#N canvas 171 298 450 300 10; +#X text 79 81 This is a support object for; +#X obj 252 81 pddp/helplink tcpsocketserver; +#X obj 178 123 tcpsocket.FUDI; diff --git a/usr/local/lib/pd-externals/net/tcpsocket.FUDI.pd b/usr/local/lib/pd-externals/net/tcpsocket.FUDI.pd new file mode 100644 index 0000000..74194d3 --- /dev/null +++ b/usr/local/lib/pd-externals/net/tcpsocket.FUDI.pd @@ -0,0 +1,166 @@ +#N canvas 585 75 446 533 10; +#X obj 50 49 == \$2; +#X obj 7 28 route in socket; +#X obj 7 76 spigot; +#N canvas 622 183 512 335 reset 0; +#X obj 23 41 route \$2; +#X obj 23 63 route reset; +#X obj 23 83 t b b; +#X msg 55 170 done; +#X obj 23 113 outlet; +#X text 161 33 this is used to:; +#X text 87 114 a) reset the sockethandler on a new connection; +#X text 88 129 (for instance \, if the previous connection was quitted +in the middle of a packet).; +#X text 55 213 b) check for the socketserver \, if a sockethandler +on specified socket already exists.; +#X obj 55 191 s \$1.TCPSOCKET; +#X obj 23 19 r \$1.TCPSOCKET; +#X connect 0 0 1 0; +#X connect 1 0 2 0; +#X connect 2 0 4 0; +#X connect 2 1 3 0; +#X connect 3 0 9 0; +#X connect 10 0 0 0; +#X restore 46 102 pd reset; +#X obj 105 279 route socket ip; +#X obj 41 367 list append; +#X obj 58 323 list append; +#X obj 7 299 t a b b b; +#X obj 7 414 list prepend out; +#X obj 41 391 list prepend socket.out; +#X obj 58 345 list prepend ip.out; +#X obj 7 442 list trim; +#X text 16 220 the lower part makes [tcpsocketserver] behave like [tcpserver] +; +#X obj -2 136 cnv 15 450 70 empty empty empty 20 12 0 14 -204786 -66577 +0; +#N canvas 385 67 606 479 FUDI 0; +#X obj 23 6 inlet; +#X obj 23 400 outlet; +#N canvas 389 242 191 341 serialize 0; +#X obj 5 100 t a a; +#X obj 37 122 list prepend 0; +#X obj 37 143 s \$0.inbuffer; +#X obj 5 174 list length; +#X obj 5 218 until; +#X obj 5 195 t a b; +#X obj 5 241 f; +#X obj 50 244 + 1; +#X msg 49 218 0; +#X obj 5 267 tabread \$0.inbuffer; +#X obj 5 50 inlet; +#X obj 5 289 outlet; +#X obj 5 12 table \$0.inbuffer 8192; +#N canvas 294 258 396 232 list_serialize_raw 0; +#X obj 13 73 until; +#X obj 13 97 list append; +#X obj 13 47 t b a; +#X obj 13 23 inlet; +#X obj 13 169 outlet; +#X obj 13 121 list split 8192; +#X obj 141 106 b; +#X text 12 190 cut incoming list into pieces of a maximum of the buffersize. +; +#X connect 0 0 1 0; +#X connect 1 0 5 0; +#X connect 2 0 0 0; +#X connect 2 1 1 1; +#X connect 3 0 2 0; +#X connect 5 0 4 0; +#X connect 5 1 1 1; +#X connect 5 2 6 0; +#X connect 5 2 4 0; +#X connect 6 0 0 1; +#X restore 5 74 pd list_serialize_raw; +#X connect 0 0 3 0; +#X connect 0 1 1 0; +#X connect 1 0 2 0; +#X connect 3 0 5 0; +#X connect 4 0 6 0; +#X connect 5 0 4 0; +#X connect 5 1 8 0; +#X connect 6 0 7 0; +#X connect 6 0 9 0; +#X connect 7 0 6 1; +#X connect 8 0 6 1; +#X connect 9 0 11 0; +#X connect 10 0 13 0; +#X connect 13 0 0 0; +#X restore 23 30 pd serialize; +#X obj 23 109 t a a; +#X obj 97 297 list prepend; +#X obj 195 296 t a; +#X obj 23 327 list append; +#X obj 23 350 t a b; +#X obj 160 56 inlet; +#X text 210 56 reset; +#X obj 23 53 sel 10 13; +#X msg 23 76 32; +#X obj 23 219 sel 59; +#X obj 178 264 b; +#X obj 23 373 list append 10; +#X obj 23 149 sel 92; +#X msg 23 171 -1; +#X obj 62 171 t a a; +#X msg 62 193 59; +#X text 119 182 <-; +#X text 144 176 separate by 59 (semicolon) \, but ignore semicolons +prepended by 92 (backslash); +#X connect 0 0 2 0; +#X connect 2 0 10 0; +#X connect 3 0 15 0; +#X connect 3 1 4 0; +#X connect 4 0 5 0; +#X connect 4 0 6 1; +#X connect 5 0 4 1; +#X connect 6 0 7 0; +#X connect 7 0 14 0; +#X connect 7 1 6 1; +#X connect 7 1 4 1; +#X connect 8 0 13 0; +#X connect 10 0 11 0; +#X connect 10 1 11 0; +#X connect 10 2 3 0; +#X connect 11 0 3 0; +#X connect 12 0 6 0; +#X connect 13 0 4 1; +#X connect 13 0 6 1; +#X connect 14 0 1 0; +#X connect 15 0 16 0; +#X connect 15 1 17 0; +#X connect 16 0 12 1; +#X connect 17 0 18 0; +#X connect 17 1 12 0; +#X connect 18 0 12 1; +#X restore 7 161 pd FUDI; +#X text 70 162 <- PUT HERE THE PROTOCOL SPECIFIC DELIMITER CODE; +#X text 15 197 -------------------------------------------------------- +; +#X text 12 129 -------------------------------------------------------- +; +#X obj 7 6 r \$1.TCPSOCKET; +#X obj 7 465 s \$1.TCPSOCKET; +#X obj 105 255 r \$1.TCPSOCKET; +#X text 200 454 Author: Roman Haefeli; +#X text 50 74 <- only pass stream of own socket; +#X text 201 474 Version: 2009-02-02; +#X connect 0 0 2 1; +#X connect 1 0 2 0; +#X connect 1 1 0 0; +#X connect 2 0 14 0; +#X connect 3 0 14 1; +#X connect 4 0 5 1; +#X connect 4 1 6 1; +#X connect 5 0 9 0; +#X connect 6 0 10 0; +#X connect 7 0 8 0; +#X connect 7 2 5 0; +#X connect 7 3 6 0; +#X connect 8 0 11 0; +#X connect 9 0 11 0; +#X connect 10 0 11 0; +#X connect 11 0 19 0; +#X connect 14 0 7 0; +#X connect 18 0 1 0; +#X connect 20 0 4 0; diff --git a/usr/local/lib/pd-externals/net/tcpsocket.OSC-help.pd b/usr/local/lib/pd-externals/net/tcpsocket.OSC-help.pd new file mode 100644 index 0000000..90b62c0 --- /dev/null +++ b/usr/local/lib/pd-externals/net/tcpsocket.OSC-help.pd @@ -0,0 +1,4 @@ +#N canvas 171 298 450 300 10; +#X obj 178 123 tcpsocket.OSC; +#X text 79 81 This is a support object for; +#X obj 252 81 pddp/helplink tcpsocketserver; diff --git a/usr/local/lib/pd-externals/net/tcpsocket.OSC.pd b/usr/local/lib/pd-externals/net/tcpsocket.OSC.pd new file mode 100644 index 0000000..f3e47da --- /dev/null +++ b/usr/local/lib/pd-externals/net/tcpsocket.OSC.pd @@ -0,0 +1,89 @@ +#N canvas 636 71 455 534 10; +#X obj 50 49 == \$2; +#X obj 7 28 route in socket; +#X obj 7 76 spigot; +#N canvas 622 183 512 335 reset 0; +#X obj 23 41 route \$2; +#X obj 23 63 route reset; +#X obj 23 83 t b b; +#X msg 55 170 done; +#X obj 23 113 outlet; +#X text 161 33 this is used to:; +#X text 87 114 a) reset the sockethandler on a new connection; +#X text 88 129 (for instance \, if the previous connection was quitted +in the middle of a packet).; +#X text 55 213 b) check for the socketserver \, if a sockethandler +on specified socket already exists.; +#X obj 55 191 s \$1.TCPSOCKET; +#X obj 23 19 r \$1.TCPSOCKET; +#X connect 0 0 1 0; +#X connect 1 0 2 0; +#X connect 2 0 4 0; +#X connect 2 1 3 0; +#X connect 3 0 9 0; +#X connect 10 0 0 0; +#X restore 40 102 pd reset; +#X obj 104 280 route socket ip; +#X obj 41 367 list append; +#X obj 58 323 list append; +#X obj 7 299 t a b b b; +#X obj 7 414 list prepend out; +#X obj 41 391 list prepend socket.out; +#X obj 58 345 list prepend ip.out; +#X obj 7 442 list trim; +#X text 16 220 the lower part makes [tcpsocketserver] behave like [tcpserver] +; +#X obj -2 136 cnv 15 450 70 empty empty empty 20 12 0 14 -204786 -66577 +0; +#X text 70 162 <- PUT HERE THE PROTOCOL SPECIFIC DELIMITER CODE; +#X text 15 197 -------------------------------------------------------- +; +#X text 13 129 -------------------------------------------------------- +; +#X obj 7 6 r \$1.TCPSOCKET; +#X obj 7 465 s \$1.TCPSOCKET; +#X obj 104 256 r \$1.TCPSOCKET; +#X text 200 454 Author: Roman Haefeli; +#X text 55 75 <- only pass stream of own socket; +#N canvas 389 116 266 236 OSC 0; +#X obj 27 18 inlet; +#X obj 27 186 outlet; +#X obj 144 23 inlet; +#X text 194 23 reset; +#X obj 27 123 mrpeach/slipdec 16384; +#X obj 27 151 spigot 1; +#X obj 144 45 t b b b; +#X msg 163 67 192 192; +#X msg 183 99 0; +#X msg 144 100 1; +#X connect 0 0 4 0; +#X connect 2 0 6 0; +#X connect 4 0 5 0; +#X connect 5 0 1 0; +#X connect 6 0 9 0; +#X connect 6 1 7 0; +#X connect 6 2 8 0; +#X connect 7 0 4 0; +#X connect 8 0 5 1; +#X connect 9 0 5 1; +#X restore 7 161 pd OSC; +#X text 201 474 Version: 2011-01-05; +#X connect 0 0 2 1; +#X connect 1 0 2 0; +#X connect 1 1 0 0; +#X connect 2 0 22 0; +#X connect 3 0 22 1; +#X connect 4 0 5 1; +#X connect 4 1 6 1; +#X connect 5 0 9 0; +#X connect 6 0 10 0; +#X connect 7 0 8 0; +#X connect 7 2 5 0; +#X connect 7 3 6 0; +#X connect 8 0 11 0; +#X connect 9 0 11 0; +#X connect 10 0 11 0; +#X connect 11 0 18 0; +#X connect 17 0 1 0; +#X connect 19 0 4 0; +#X connect 22 0 7 0; diff --git a/usr/local/lib/pd-externals/net/tcpsocketserver-help.pd b/usr/local/lib/pd-externals/net/tcpsocketserver-help.pd new file mode 100644 index 0000000..96dd001 --- /dev/null +++ b/usr/local/lib/pd-externals/net/tcpsocketserver-help.pd @@ -0,0 +1,299 @@ +#N canvas 361 252 878 523 10; +#X declare -stdpath extra/mrpeach; +#X declare -stdpath extra/mrpeach; +#X declare -lib moocow; +#X declare -stdpath extra/mrpeach; +#X declare -lib moocow; +#X msg 471 74 print; +#X text 521 75 list of connections; +#X text 627 103 send to all clients; +#X text 629 132 send to client 1; +#X text 615 155 send to client on socket 504; +#X text 613 28 'send' prefix is optional; +#X text 474 48 (the first number is socket number); +#X msg 556 257 disconnectsocket \$1; +#X msg 484 284 disconnectclient \$1; +#X floatatom 506 215 5 0 0 0 - - -; +#X obj 484 235 f; +#X obj 484 216 bng 15 250 50 0 empty empty empty 17 7 0 10 -258699 +-241291 -1; +#X floatatom 578 216 5 0 0 0 - - -; +#X obj 556 235 f; +#X obj 556 216 bng 15 250 50 0 empty empty empty 17 7 0 10 -258699 +-241291 -1; +#X text 483 197 disconnect by socket or client number; +#X obj 618 335 unpack 0 0 0 0; +#X floatatom 618 355 3 0 0 0 - - -; +#X floatatom 649 355 3 0 0 0 - - -; +#X floatatom 681 356 3 0 0 0 - - -; +#X floatatom 715 356 3 0 0 0 - - -; +#X text 616 372 IP; +#X floatatom 569 355 5 0 0 0 - - -; +#X text 566 371 socket; +#X floatatom 520 376 5 0 0 0 - - -; +#X text 520 391 number of connections; +#X obj 471 433 spigot; +#X obj 510 413 tgl 15 0 empty empty enable_print 17 7 0 10 -24198 -258699 +-258699 0 1; +#X text 15 37 [tcpsocketserver ]; +#X obj 469 311 cnv 15 185 22 empty empty empty 20 12 0 14 -204786 -66577 +0; +#X obj 471 314 tcpsocketserver FUDI 2468; +#X text 15 115 [tcpsocketserver] is able to handle multiple sockets +of a packet oriented protocol correctly \, unlike [tcpserver] \, which +might mix up packets from different sockets.; +#X text 24 308 - OSC; +#X text 16 245 each protocol requires its own specific socket handler +abstraction \, which should be named [tcpsocket.PROTOCOL]. currently +available are the protocols:; +#X text 23 293 - FUDI; +#N canvas 702 157 472 356 EXTENDABILITY 0; +#X text 3 39 Support for more protocols can easily be added. In order +to do so:; +#X text 5 10 EXTENDABILITY; +#X text 6 105 - open tcpsocket.NEWPROTOCOL.pd; +#X text 7 127 - edit the green-marked subpatch; +#X text 10 208 - save it; +#X text 12 227 - in order to use it \, instantiate:; +#X text 46 247 [tcpsocketserver NEWPROTOCOL ]; +#X text 8 148 - replace code with code \, that creates proper packets +out of the incoming stream for the desired protocol. don't forget to +implement a reset mechanism \, in case a socket is closed in the middle +of packet transmission.; +#X text 5 83 - copy tcpsocket.FUDI.pd to tcpsocket.NEWPROTOCOL.pd; +#X restore 21 387 pd EXTENDABILITY; +#X text 17 453 Author: Roman Haefeli; +#X text 16 468 Version: 2009-01-11; +#X text 15 65 [tcpsocketserver] is meant to be a protocol-aware drop-in +replacement for [tcpserver]. it uses same the same inlet and outlet +configuration as [tcpserver].; +#X text 469 478 only well-formed FUDI messages are received here.; +#N canvas 463 454 147 274 EXAMPLES 0; +#N canvas 705 77 571 769 FUDI 0; +#X obj 8 52 cnv 15 550 240 empty empty client_1 20 12 0 14 -249661 +-66577 0; +#X obj 24 206 tcpclient; +#X msg 368 107 connect localhost 11001; +#X msg 392 128 disconnect; +#X obj 368 85 sel 1 0; +#X obj 368 64 tgl 15 0 empty empty empty 17 7 0 10 -261234 -1 -1 0 +1; +#X obj 24 272 print CLIENT_1; +#X msg 24 83 one two; +#X obj 24 104 any2string 0 -1; +#X msg 68 164 59 10; +#X msg 32 130 32 116 104 114 101 101 23; +#X obj 8 299 cnv 15 550 150 empty empty client_2 20 12 0 14 -249661 +-66577 0; +#X msg 368 354 connect localhost 11001; +#X msg 392 375 disconnect; +#X obj 368 332 sel 1 0; +#X obj 368 311 tgl 15 0 empty empty empty 17 7 0 10 -261234 -1 -1 0 +1; +#X obj 24 227 string2any 0 59; +#X obj 24 247 route bang; +#X obj 24 386 netclient; +#X obj 24 415 print CLIENT_2; +#X text 168 337 <- send FUDI message; +#X obj 9 457 cnv 15 550 300 empty empty FUDI_server 20 12 0 14 -241408 +-66577 0; +#X obj 11 613 tcpsocketserver FUDI 11001; +#X obj 11 687 string2any 0 59; +#X obj 11 708 route bang; +#X obj 190 633 unpack 0 0 0 0; +#X floatatom 190 653 3 0 0 0 - - -; +#X floatatom 221 653 3 0 0 0 - - -; +#X floatatom 253 654 3 0 0 0 - - -; +#X floatatom 287 654 3 0 0 0 - - -; +#X text 188 670 IP; +#X floatatom 130 653 5 0 0 0 - - -; +#X floatatom 70 654 5 0 0 0 - - -; +#X text 59 669 clients; +#X text 126 669 socket; +#X text 131 688 <--; +#X text 164 688 [tcpsocketserver FUDI] does _not_ remove the trailing +' \; '; +#X text 164 83 1) start a FUDI message; +#X text 231 131 2) continue; +#X text 117 165 3) finish FUDI message (with semicolon - newline); +#X text 390 65 connect; +#X text 389 309 connect; +#X text 19 488 [tcpsocketserver FUDI] doesn't take care of building +FUDI-compliant messages. this should be done by the user.; +#X text 153 229 4) try sending a message from client_2 during composing +a message with client_1 and see \, how the server behaves.; +#X text 278 535 <- this doesn't work; +#X text 314 562 <- this should; +#X msg 24 336 send four five six; +#X msg 42 563 client 2 115 101 118 101 110 32 59 10; +#X msg 41 534 client 2 115 101 118 101 110 32; +#X obj 11 733 print SERVER; +#X obj 20 32 import moocow; +#X connect 1 0 16 0; +#X connect 2 0 1 0; +#X connect 3 0 1 0; +#X connect 4 0 2 0; +#X connect 4 1 3 0; +#X connect 5 0 4 0; +#X connect 7 0 8 0; +#X connect 8 0 1 0; +#X connect 9 0 1 0; +#X connect 10 0 1 0; +#X connect 12 0 18 0; +#X connect 13 0 18 0; +#X connect 14 0 12 0; +#X connect 14 1 13 0; +#X connect 15 0 14 0; +#X connect 16 0 17 0; +#X connect 17 1 6 0; +#X connect 18 0 19 0; +#X connect 22 0 23 0; +#X connect 22 1 32 0; +#X connect 22 2 31 0; +#X connect 22 3 25 0; +#X connect 23 0 24 0; +#X connect 24 1 49 0; +#X connect 25 0 26 0; +#X connect 25 1 27 0; +#X connect 25 2 28 0; +#X connect 25 3 29 0; +#X connect 46 0 18 0; +#X connect 47 0 22 0; +#X connect 48 0 22 0; +#X restore 23 25 pd FUDI; +#N canvas 697 77 579 756 OSC 0; +#X obj 9 39 cnv 15 550 240 empty empty client_1 20 12 0 14 -249661 +-66577 0; +#X obj 25 211 tcpclient; +#X msg 357 229 disconnect; +#X obj 333 186 sel 1 0; +#X obj 333 165 tgl 15 0 empty empty empty 17 7 0 10 -261234 -1 -1 0 +1; +#X obj 25 259 print CLIENT_1; +#X obj 9 286 cnv 15 550 150 empty empty client_2 20 12 0 14 -249661 +-66577 0; +#X msg 393 362 disconnect; +#X obj 369 319 sel 1 0; +#X obj 369 298 tgl 15 0 empty empty empty 17 7 0 10 -261234 -1 -1 0 +1; +#X obj 25 417 print CLIENT_2; +#X obj 10 444 cnv 15 550 300 empty empty OSC_server 20 12 0 14 -241408 +-66577 0; +#X obj 188 636 unpack 0 0 0 0; +#X floatatom 188 656 3 0 0 0 - - -; +#X floatatom 219 656 3 0 0 0 - - -; +#X floatatom 251 657 3 0 0 0 - - -; +#X floatatom 285 657 3 0 0 0 - - -; +#X text 186 673 IP; +#X floatatom 130 656 5 0 0 0 - - -; +#X floatatom 73 657 5 0 0 0 - - -; +#X text 62 672 clients; +#X text 126 672 socket; +#X text 355 166 connect; +#X text 390 296 connect; +#X obj 16 616 tcpsocketserver OSC 11002; +#X obj 16 694 unpackOSC; +#X obj 16 720 print SERVER; +#X msg 333 208 connect localhost 11002; +#X msg 369 341 connect localhost 11002; +#X obj 25 234 unpackOSCstream; +#X obj 25 373 tcpclient; +#X obj 25 395 unpackOSCstream; +#X msg 49 498 /synth1/tone3/freq 440; +#X msg 25 79 0 0 0 16 47 102 114 101 113; +#X msg 41 104 0 0 0 44 105 0 0 0 0 1 184; +#X text 155 324 send OSC message; +#X msg 25 323 /amplitude 0.78; +#X obj 25 347 packOSCstream; +#X obj 16 522 packOSCstream; +#X obj 16 594 list trim; +#X msg 16 473 /synth3/tone4/amplitude 0.36; +#X obj 180 555 hradio 15 1 0 2 empty empty empty 0 -8 0 10 -4034 -1 +-1 0; +#X obj 180 573 + 1; +#X text 221 555 client; +#X obj 16 551 list prepend 1; +#X obj 16 573 list prepend client; +#X text 236 80 1) start sending an OSC packet; +#X text 247 106 2) complete the OSC packet; +#X text 59 137 also try sending an OSC packet from client_2 between +1) and 2); +#X text 124 520 <- use [packOSCstream] in order to create OSC packets +suitable for tcp transport.; +#X text 238 486 send to clients; +#X text 93 695 <---; +#X text 139 694 CAUTION: not [unpackOSCstream] is used here \, since +[tcpsocket.OSC] already unwraps the OSC message; +#X obj 8 9 import moocow; +#X connect 1 0 29 0; +#X connect 2 0 1 0; +#X connect 3 0 27 0; +#X connect 3 1 2 0; +#X connect 4 0 3 0; +#X connect 7 0 30 0; +#X connect 8 0 28 0; +#X connect 8 1 7 0; +#X connect 9 0 8 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 24 0 25 0; +#X connect 24 1 19 0; +#X connect 24 2 18 0; +#X connect 24 3 12 0; +#X connect 25 0 26 0; +#X connect 27 0 1 0; +#X connect 28 0 30 0; +#X connect 29 0 5 0; +#X connect 30 0 31 0; +#X connect 31 0 10 0; +#X connect 32 0 38 0; +#X connect 33 0 1 0; +#X connect 34 0 1 0; +#X connect 36 0 37 0; +#X connect 37 0 30 0; +#X connect 38 0 44 0; +#X connect 39 0 24 0; +#X connect 40 0 38 0; +#X connect 41 0 42 0; +#X connect 42 0 44 1; +#X connect 44 0 45 0; +#X connect 45 0 39 0; +#X restore 23 49 pd OSC; +#X restore 21 365 pd EXAMPLES; +#X obj 471 455 print FUDI; +#X msg 471 101 broadcast 97 98 99 59 10; +#X msg 471 128 client 1 97 98 99 59 10; +#X msg 471 155 send 504 97 98 99 59 10; +#X msg 471 28 10 97 98 99 59 10; +#X text 17 8 TCPSOCKETSERVER - a protocol-aware wrapper aroun [tcpserver] +; +#X text 13 167 [tcpsocketserver] dynamically creates (internally) an +instance of a socket handler abstraction [tcpsocket.PROTOCOL] for each +opened socket. every socket handler creates proper packets from the +incoming stream and sends them to the left outlet of [tcpsocketserver]. +; +#X connect 0 0 30 0; +#X connect 7 0 30 0; +#X connect 8 0 30 0; +#X connect 9 0 10 1; +#X connect 10 0 8 0; +#X connect 11 0 10 0; +#X connect 12 0 13 1; +#X connect 13 0 7 0; +#X connect 14 0 13 0; +#X connect 16 0 17 0; +#X connect 16 1 18 0; +#X connect 16 2 19 0; +#X connect 16 3 20 0; +#X connect 26 0 41 0; +#X connect 27 0 26 1; +#X connect 30 0 26 0; +#X connect 30 1 24 0; +#X connect 30 2 22 0; +#X connect 30 3 16 0; +#X connect 42 0 30 0; +#X connect 43 0 30 0; +#X connect 44 0 30 0; +#X connect 45 0 30 0; diff --git a/usr/local/lib/pd-externals/net/tcpsocketserver.pd b/usr/local/lib/pd-externals/net/tcpsocketserver.pd new file mode 100644 index 0000000..e6ed91c --- /dev/null +++ b/usr/local/lib/pd-externals/net/tcpsocketserver.pd @@ -0,0 +1,111 @@ +#N canvas 332 53 333 552 10; +#X obj 13 9 inlet; +#X obj 13 464 outlet; +#X obj 71 463 outlet; +#X obj 129 463 outlet; +#X obj 187 462 outlet; +#X obj 30 207 list trim; +#X obj 47 165 list trim; +#X obj 47 144 list prepend socket; +#X obj 30 186 list prepend num_of_clients; +#X obj 64 123 list trim; +#X obj 64 102 list prepend ip; +#N canvas 816 227 247 348 \$0.TCPSOCKETCONTAINER 0; +#X restore 14 372 pd \$0.TCPSOCKETCONTAINER; +#N canvas 491 218 502 504 socketmanager 0; +#X msg 24 196 \$1 reset; +#X obj 25 259 route done; +#X obj 5 175 t a a b; +#X msg 25 280 0; +#X msg 44 280 1; +#X obj 5 303 spigot; +#X obj 44 344 f; +#X obj 76 344 + 20; +#X obj 5 323 t a b b; +#X obj 24 365 list append \$1; +#X obj 24 388 list append; +#X obj 5 412 list append; +#X obj 5 476 s pd-\$0.TCPSOCKETCONTAINER; +#X obj 5 432 list append \$0; +#X obj 5 24 route socket num_of_clients; +#X obj 84 46 t a a; +#X obj 69 73 -; +#X obj 69 94 == 1; +#X obj 5 122 spigot; +#X obj 5 3 r \$0.TCPSOCKET; +#X obj 24 217 s \$0.TCPSOCKET; +#X obj 25 238 r \$0.TCPSOCKET; +#X msg 5 454 obj 10 \$3 tcpsocket.\$2 \$4 \$1 \, loadbang; +#X obj 5 148 t a b; +#X msg 65 132 0; +#X text 116 78 when a new client connects (num_of_clients: +1); +#X text 119 197 send a 'reset' to the according socket handler; +#X text 114 266 and if it doesn't respond (which means \, there is +no socket handler on specified socket) \,; +#X text 119 368 create one (into pd-\$0.TCPSOCKETCONTAINER).; +#X connect 0 0 20 0; +#X connect 1 0 3 0; +#X connect 2 0 5 0; +#X connect 2 1 0 0; +#X connect 2 2 4 0; +#X connect 3 0 5 1; +#X connect 4 0 5 1; +#X connect 5 0 8 0; +#X connect 6 0 7 0; +#X connect 6 0 10 1; +#X connect 7 0 6 1; +#X connect 8 0 11 0; +#X connect 8 1 9 0; +#X connect 8 2 6 0; +#X connect 9 0 10 0; +#X connect 10 0 11 1; +#X connect 11 0 13 0; +#X connect 13 0 22 0; +#X connect 14 0 18 0; +#X connect 14 1 15 0; +#X connect 15 0 16 1; +#X connect 15 1 16 0; +#X connect 16 0 17 0; +#X connect 17 0 18 1; +#X connect 18 0 23 0; +#X connect 19 0 14 0; +#X connect 21 0 1 0; +#X connect 22 0 12 0; +#X connect 23 0 2 0; +#X connect 23 1 24 0; +#X connect 24 0 18 1; +#X restore 14 349 pd socketmanager; +#X obj 13 30 tcpserver \$2; +#X obj 13 417 r \$0.TCPSOCKET; +#X obj 13 228 list prepend in; +#X obj 13 250 list trim; +#X obj 82 316 s \$0.TCPSOCKET; +#X text 23 501 Author: Roman Haefeli; +#X text 94 292 [tcpsocketserver ]; +#X obj 82 78 list trim; +#X obj 82 57 list prepend status; +#X obj 13 440 route out num_of_clients socket.out ip.out status; +#X text 24 518 Version: 2012-04-13; +#X obj 245 461 outlet; +#X connect 0 0 13 0; +#X connect 5 0 17 0; +#X connect 6 0 17 0; +#X connect 7 0 6 0; +#X connect 8 0 5 0; +#X connect 9 0 17 0; +#X connect 10 0 9 0; +#X connect 13 0 15 0; +#X connect 13 1 8 0; +#X connect 13 2 7 0; +#X connect 13 3 10 0; +#X connect 13 4 21 0; +#X connect 14 0 22 0; +#X connect 15 0 16 0; +#X connect 16 0 17 0; +#X connect 20 0 17 0; +#X connect 21 0 20 0; +#X connect 22 0 1 0; +#X connect 22 1 2 0; +#X connect 22 2 3 0; +#X connect 22 3 4 0; +#X connect 22 4 24 0; diff --git a/usr/local/lib/pd-externals/net/udpreceive-help.pd b/usr/local/lib/pd-externals/net/udpreceive-help.pd new file mode 100644 index 0000000..1c608bb --- /dev/null +++ b/usr/local/lib/pd-externals/net/udpreceive-help.pd @@ -0,0 +1,59 @@ +#N canvas 1 53 742 431 12; +#X floatatom 414 304 3 0 0 0 - - -; +#X floatatom 441 304 3 0 0 0 - - -; +#X floatatom 468 304 3 0 0 0 - - -; +#X floatatom 495 304 3 0 0 0 - - -; +#X obj 191 160 udpreceive 9997; +#X floatatom 522 305 5 0 0 0 - - -; +#X obj 414 278 unpack 0 0 0 0 0; +#X msg 191 90 status; +#X floatatom 293 225 9 0 0 0 - - -; +#X obj 474 251 tgl 15 0 empty empty empty 17 7 0 10 -4034 -1 -1 0 1 +; +#X floatatom 353 251 9 0 0 0 - - -; +#X text -10 90 get status on right outlet:; +#X text 186 225 bytes received:; +#X text 201 249 total bytes received:; +#X text 371 303 from:; +#X text 293 78 Specify a multicast address (from 224.0.0.0 to 239.255.255.255) +to use multicasting; +#X text 36 38 Creation arguments: port number to listen on (required) +; +#X obj 191 294 spigot; +#X obj 230 274 tgl 15 0 empty empty enable_print: -77 8 0 10 -4034 +-1 -1 0 1; +#X obj 191 319 print received; +#X obj 293 192 route received total from multicast; +#X text 175 56 IP address to listen on (optional); +#X msg 202 129 port 9998; +#X text 276 127 change port to listen on; +#X text 486 360 Martin Peach 2010/10/15; +#X text -12 3 [udpreceive] receives datagrams over a udp connection +and outputs them as raw bytes.; +#N canvas 529 53 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 or later; +#X text 12 135 AUTHOR Martin Peach; +#X text 12 5 KEYWORDS control network; +#X text 12 45 DESCRIPTION receive datagrams over a udp connection and +outputs them as raw bytes; +#X text 12 75 INLET_0 status port; +#X text 12 95 OUTLET_0 anything; +#X text 12 115 OUTLET_1 received total from multicast; +#X restore 657 396 pd META; +#X connect 4 0 17 0; +#X connect 4 1 20 0; +#X connect 6 0 0 0; +#X connect 6 1 1 0; +#X connect 6 2 2 0; +#X connect 6 3 3 0; +#X connect 6 4 5 0; +#X connect 7 0 4 0; +#X connect 17 0 19 0; +#X connect 18 0 17 1; +#X connect 20 0 8 0; +#X connect 20 1 10 0; +#X connect 20 2 6 0; +#X connect 20 3 9 0; +#X connect 22 0 4 0; diff --git a/usr/local/lib/pd-externals/net/udpreceive.pd_linux b/usr/local/lib/pd-externals/net/udpreceive.pd_linux new file mode 100644 index 0000000000000000000000000000000000000000..9671473f2c472ce0f3807f6327f0e85ae0ee8ceb GIT binary patch literal 8608 zcmcIqe{dW1m4B-rwyZerCOE`3zGfi`%67XfTn3$O!jzU4N0q2|4HPv4Ync<0tBY4Xb0r_a7w<6)fy;9S`60g`?}FWq=Q z%N7H!1kf|BXKq~aU%&sA`tUu^zw>vO9lx`?;g{(TYwqg0e(daRKBJM-q{Z14GG3qHFC<(b!<5E7Ti}7`lsV0)1OT z93T`O*apMZcLh4i5pIfxhK3?TG_-Xnkk}lLMWY)Ab*3*GgFM#v_mL!Rj0_HK-Au9J zWHgctga)@J`v(R$QXxFMiE6$rqPCIEQF*3kwjuJ7Kq0BLdk&`A}14a$_ zvkJseKzAF8B)PFzJW0I+gJC^|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RX7g;JnSpwA%s!+g%N4gAIdcR=dom0F1d`daw{Nm@y!lp+`aE zDoO7L{wBoV`!8m<2R69E)$RD3QTQwDo`4Ov%l*pV%KN{LRhVHXzBU67d%+cDrAI%CJ{#R=G%vDnt6e+8Q3a=S9@WY}G-pL2#y97uoI a4!@CS9?pp$GdF`nA7N9NHkq=X+5ZRfUOdtO literal 0 HcmV?d00001 diff --git a/usr/local/lib/pd-externals/net/udpreceive~-help.pd b/usr/local/lib/pd-externals/net/udpreceive~-help.pd new file mode 100644 index 0000000..c7ed70a --- /dev/null +++ b/usr/local/lib/pd-externals/net/udpreceive~-help.pd @@ -0,0 +1,88 @@ +#N canvas 221 129 767 415 10; +#N canvas 874 257 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 or later; +#X text 12 135 AUTHOR Martin Peach; +#X text 12 5 KEYWORDS control network; +#X text 12 45 DESCRIPTION receive datagrams over a udp connection and +outputs them as a signal; +#X restore 695 379 pd META; +#X obj 522 267 print udpreceive~; +#X symbolatom 177 354 10 0 0 0 - - -; +#X floatatom 211 288 5 0 0 0 - - -; +#X floatatom 246 267 7 0 0 0 - - -; +#X floatatom 280 332 9 0 0 0 - - -; +#X obj 177 313 prepend set; +#X text 147 287 channels:; +#X text 131 353 format:; +#X text 231 331 bitrate:; +#X text 182 266 framesize:; +#X floatatom 315 289 9 0 0 0 - - -; +#X floatatom 349 267 9 0 0 0 - - -; +#X floatatom 384 310 5 0 0 0 - - -; +#X floatatom 418 289 5 0 0 0 - - -; +#X text 258 288 overflow:; +#X text 289 266 underflow:; +#X text 323 309 queuesize:; +#X text 370 288 average:; +#X msg 35 58 info; +#X msg 15 38 reset; +#X text 68 57 status info to rightmost outlet; +#X text 53 37 reset underflow & overflow counters; +#X floatatom 210 169 3 0 0 0 - - -; +#X floatatom 233 169 3 0 0 0 - - -; +#X floatatom 256 169 3 0 0 0 - - -; +#X floatatom 279 169 3 0 0 0 - - -; +#X floatatom 303 169 5 0 0 0 - - -; +#X obj 210 143 unpack 0 0 0 0 0; +#X text 173 168 from:; +#X obj 82 152 dac~ 1 2; +#X floatatom 453 332 9 0 0 0 - - -; +#X text 401 331 packets:; +#X text 348 142 To communicate \, a [udpreceive~] and [udpsend~] pair +must have the same number of channels and the same blocksize. Also +[udpsend~] must [connect( to the port on which [udpreceive~] is listening. +; +#X msg 56 79 buffer 2; +#X text 118 78 set number of frames to buffer before playback; +#X obj 177 230 route format channels framesize bitrate overflow underflow +queuesize average packets tag_errors; +#X floatatom 487 310 9 0 0 0 - - -; +#X text 421 309 tag errors:; +#X obj 144 181 env~; +#X floatatom 144 204 9 0 0 0 - - -; +#X text 204 193 The rightmost signal outlet outputs 1 if the stream +is valid \, else 0; +#X text 420 77 Arguments: port \, channels \, blocksize \, multicast_address. +Blocksize should match [udpsend~]. multicast_address is optional. Arguments +must be in that order.; +#X obj 81 121 udpreceive~ 9999 2 512; +#X text 221 120 receives 2 channels on port 9999 Same blocksize as +udpsend~; +#X connect 6 0 2 0; +#X connect 19 0 43 0; +#X connect 20 0 43 0; +#X connect 28 0 23 0; +#X connect 28 1 24 0; +#X connect 28 2 25 0; +#X connect 28 3 26 0; +#X connect 28 4 27 0; +#X connect 34 0 43 0; +#X connect 36 0 6 0; +#X connect 36 1 3 0; +#X connect 36 2 4 0; +#X connect 36 3 5 0; +#X connect 36 4 11 0; +#X connect 36 5 12 0; +#X connect 36 6 13 0; +#X connect 36 7 14 0; +#X connect 36 8 31 0; +#X connect 36 9 37 0; +#X connect 36 10 1 0; +#X connect 39 0 40 0; +#X connect 43 0 30 0; +#X connect 43 1 30 1; +#X connect 43 2 39 0; +#X connect 43 3 36 0; +#X connect 43 4 28 0; diff --git a/usr/local/lib/pd-externals/net/udpreceive~.pd_linux b/usr/local/lib/pd-externals/net/udpreceive~.pd_linux new file mode 100644 index 0000000000000000000000000000000000000000..27b3cfeb2c86af558aa873e86f343cdb0b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GyXsHyeFGk8 zU&dAbJ%zP@g70rBmoXN;{J$|lJOVGYEvfW>7%0e-*tzT`zCDFj_z9l?@0y(FlW%tA zEu4ZZ;Vt02tK!I&cIEqaFML5^aDN596nS_e=jrfWSICfxPVy`0md`15J$!E$GH$tK F|1T;0T;%`& literal 0 HcmV?d00001 diff --git a/usr/local/lib/pd-externals/net/udpsend-help.pd b/usr/local/lib/pd-externals/net/udpsend-help.pd new file mode 100644 index 0000000..e05d7b1 --- /dev/null +++ b/usr/local/lib/pd-externals/net/udpsend-help.pd @@ -0,0 +1,72 @@ +#N canvas 1 53 898 550 12; +#X msg 198 118 disconnect; +#X msg 17 -63 connect 127.0.0.1 9997; +#X obj 455 418 tgl 15 0 empty empty connected 20 7 0 8 -24198 -241291 +-1 0 1; +#X msg 39 -41 send 0 1 2 3; +#X text 150 395 udpsend sends bytes over a udp connection.; +#X text 227 445 Used in conjunction with packOSC will send OSC over +udp; +#X obj 455 395 udpsend; +#X msg 61 -19 send examples/test.txt; +#X obj 131 27 openpanel; +#X msg 131 51 send \$1; +#X obj 131 8 bng 15 250 50 0 empty empty empty 17 7 0 10 -24198 -241291 +-1; +#X text -28 -18 send a file; +#X text 137 -42 send raw data; +#X text 151 7 ...any file; +#X msg 164 84 99 98 97; +#X text 229 84 'send' prefix is optional; +#X msg 301 221 multicast_interface 192.168.0.88; +#X msg 276 196 multicast_interface eth1; +#X msg 228 148 connect 239.200.200.200 9977; +#X text 181 -64 <--first connect to a host and port; +#X text 279 117 <--disconnect before connecting to another address +; +#X text 439 147 send to a multicast address; +#X text 411 172 specify an interface to use with multicast; +#X msg 253 173 multicast_interface 1; +#X text 461 195 by index \, name or address; +#X floatatom 393 246 5 0 256 0 - - -; +#X obj 375 269 f 1; +#X obj 375 249 bng 15 250 50 0 empty empty empty 17 7 0 10 -4034 -1 +-1; +#X text 240 270 set multicast ttl:; +#X msg 375 295 multicast_ttl \$1; +#X text 645 408 Martin Peach 2010/08/02; +#X msg 425 345 multicast_loopback \$1; +#X obj 425 323 tgl 15 0 empty empty empty 20 7 0 8 -24198 -241291 -1 +0 1; +#X text 236 321 enable multicast loopback:; +#N canvas 529 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 or later; +#X text 12 135 AUTHOR Martin Peach; +#X text 12 5 KEYWORDS control network; +#X text 12 115 OUTLET_0 float; +#X text 12 45 DESCRIPTION used in conjunction with packOSC - will send +OSC over udp; +#X text 12 75 INLET_0 connect send list disconnect multicast_interface +multicast_ttl multicast_loopback; +#X restore 798 452 pd META; +#X connect 0 0 6 0; +#X connect 1 0 6 0; +#X connect 3 0 6 0; +#X connect 6 0 2 0; +#X connect 7 0 6 0; +#X connect 8 0 9 0; +#X connect 9 0 6 0; +#X connect 10 0 8 0; +#X connect 14 0 6 0; +#X connect 16 0 6 0; +#X connect 17 0 6 0; +#X connect 18 0 6 0; +#X connect 23 0 6 0; +#X connect 25 0 26 1; +#X connect 26 0 29 0; +#X connect 27 0 26 0; +#X connect 29 0 6 0; +#X connect 31 0 6 0; +#X connect 32 0 31 0; diff --git a/usr/local/lib/pd-externals/net/udpsend.pd_linux b/usr/local/lib/pd-externals/net/udpsend.pd_linux new file mode 100644 index 0000000000000000000000000000000000000000..8462f3b1a14cfc3da6b8c983766f3ba863d362bb GIT binary patch literal 10568 zcmd5?eQ;aVl|N6m97j@v2nul%(>{U&rge-$O`A=b!3p7On}7fVSqLl1mXe6bk}5qD z64+e>PS+$+ZCC?=khQv#UBbt>PRq>xv(IyV&OPVcbIv{Y+dO^H5$mawR$*pWWI+QD}zCj-P!{pKre|qSaU!MD2ZQ;tb>px1qxPZJbpwJh# zyHC`m^6x9}Bdr}}DT;ijV`AlHzc~JU>4CeRDE%h>qoX%1{MFajHh(|+`#HCFT|DyE z&wn@PuYULN7K+wBBaJ4dPG%d(1p3LRPEMC!7?}Bw{$6LRBP`NvtE<2tv(@JUzsFW* z`#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Ue@E{>dU zT|cPPcQEQzf#8}OR(D->>5A*Sf~&8&CcyPid9H%zD28%y9G zYJIpT`U&kb`(cw0r#JNVMiZLRYvX!HO{UfA)zGQ>VQY{38V$EQDz918eSdzd#A=SrX$mFOGK8dF)iB5UbHS=e?CQ+A>oA4Y(q5talcO`-yPL9N23YV zkCqYj!iz4FboZ3s%hkRFBcf_al~-iyqQ#j-HoeQ$^)Z8+RB_k1p-t7&eFh6XhrO>EFM(ska;A;dHH%j%Lkl>lMWpm8NwZKHPMMsZU#LT$a7 zXpf}}p~dZ(-G0pkn(`|gr)OL2lgrXwz2(C-Utc_uI8ReEn`2tfM#iH%oeW1fMb+M9 zgp*)OpOp)jxTa~3_8*r`CDVu`dSdxhbLA*g`4YrDh9A>) zYwfVprgBdrv5cjPVUm6~&blak6cpa;;VdU-U{As8j*K*l;4Ej{Pvd)!@p~0qaT&iM z!MnC`$A>FBqyC4FD#`bNW2uvYdh>T9tDui_Vlnj5435)+B~Xr>qXJ71KB?w+R8mF9z zq~e;i8$U#7*P?d-H-3)Lo=zH9+U?Pe!S!k0;Ttl+a5^2{V#-+fZ9Py4b>ZGv4@@PY z!fcAmaA{w0-J15WhRgcyKHlwr>W4Xo6ftt^2p|jNWj#nsdKS(x+IV`Uu9kw*TK#oT4t2;8zuI?H7!%y;6< zc@`Bo?NJvYpDq*}Ka4hztUISdYe4`cDjx9r|gmAeoy z1R0jQEM`@Xdiqfa8Nb&SnZ+hHrEfd<_?&0Nfxlbe@A77n!?zv5_XtCdziT*l3b}uR z4DB+m{7u`$DdZjppE0JK`8z+z1Gj7wvj1Z!mOieTN6s;6AR7lArQl#;r+yy3T{HITREZ@wU$g_|;Y*ng!R{s}l C5C*6K literal 0 HcmV?d00001 diff --git a/usr/local/lib/pd-externals/net/udpsend~-help.pd b/usr/local/lib/pd-externals/net/udpsend~-help.pd new file mode 100644 index 0000000..8b1db86 --- /dev/null +++ b/usr/local/lib/pd-externals/net/udpsend~-help.pd @@ -0,0 +1,225 @@ +#N canvas 1 53 785 621 10; +#X obj -178 225 osc~ 440; +#X msg -398 60 disconnect; +#X msg -353 105 format float; +#X msg -332 126 format 16bit; +#X msg -311 147 format 8bit; +#X msg -440 18 connect localhost 8008; +#X text -244 103 float is the most expensive with the best resolution +(32bit) \, default is float; +#X msg -419 39 connect 255.255.255.255 8008; +#X obj 52 687 print udpreceive~; +#X obj 224 369 print udpsend~; +#X obj -178 320 tgl 15 0 empty empty empty 17 7 0 10 -4034 -1 -1 0 +1; +#X symbolatom -97 435 10 0 0 0 - - -; +#X floatatom -44 369 5 0 0 0 - - -; +#X floatatom 10 391 9 0 0 0 - - -; +#X floatatom 63 411 9 0 0 0 - - -; +#X symbolatom 117 390 10 0 0 0 - - -; +#X obj -97 411 prepend set; +#X obj 117 367 prepend set; +#X text -102 368 channels:; +#X text -144 442 format:; +#X text 13 411 bitrate:; +#X text -51 391 framesize:; +#X text 98 389 to:; +#X msg -216 242 info; +#X symbolatom -293 774 10 0 0 0 - - -; +#X floatatom -259 708 5 0 0 0 - - -; +#X floatatom -224 687 7 0 0 0 - - -; +#X floatatom -190 752 9 0 0 0 - - -; +#X obj -293 733 prepend set; +#X text -323 707 channels:; +#X text -339 773 format:; +#X text -239 751 bitrate:; +#X text -288 686 framesize:; +#X floatatom -155 709 9 0 0 0 - - -; +#X floatatom -121 687 9 0 0 0 - - -; +#X floatatom -86 730 5 0 0 0 - - -; +#X floatatom -52 709 5 0 0 0 - - -; +#X text -212 708 overflow:; +#X text -181 686 underflow:; +#X text -147 729 queuesize:; +#X text -100 708 average:; +#X msg -435 478 info; +#X text -237 34 broadcast to everybody on your local subnet listening +on the specified port; +#X msg -455 458 reset; +#X text -402 477 status info to rightmost outlet; +#X text -415 241 status info to rightmost outlet; +#X text -417 457 reset underflow & overflow counters; +#X floatatom -260 589 3 0 0 0 - - -; +#X floatatom -237 589 3 0 0 0 - - -; +#X floatatom -214 589 3 0 0 0 - - -; +#X floatatom -191 589 3 0 0 0 - - -; +#X floatatom -167 589 5 0 0 0 - - -; +#X obj -260 563 unpack 0 0 0 0 0; +#X text -297 588 from:; +#X obj -179 268 *~; +#X floatatom -124 150 5 0 0 0 - - -; +#X text -66 148 Framesize = (blocksize) X (number of channels) X (bytes +per sample); +#X obj -97 339 route format channels framesize bitrate ipaddr vecsize +; +#X floatatom 170 430 9 0 0 0 - - -; +#X text 70 430 dsp vector size:; +#X msg -258 200 channels \$1; +#X obj -412 185 hradio 15 1 0 4 empty empty empty 0 -8 0 10 -4034 -1 +-1 0; +#X obj -178 297 udpsend~ 2 512; +#X text -88 296 sends 2 dsp-channels using 512-sample blocks; +#X obj -388 572 dac~ 1 2; +#X text 68 448 (blocksize must be a multiple of this); +#X text -160 318 1 = transmitting; +#X obj -97 246 noise~; +#X obj -98 268 *~; +#X obj -124 170 / 100; +#X text -455 343 Based on: [netreceive~] and [netsend~]by Olaf Matthes +; +#X floatatom -17 752 9 0 0 0 - - -; +#X text -69 751 packets:; +#X text -50 177 Default blocksize is 2048 The number of samples per +block must be an integer multiple of the number of samples in one signal +vector.; +#X text -28 225 Arguments: (1st required \, 2nd optional) 1:number +of channels to send. 2:blocksize = number of samples per channel per +frame. (Blocksize of sender and receiver must be the same.); +#X text -122 562 To communicate \, a [udpreceive~] and [udpsend~] pair +must have the same number of channels and the same blocksize. Also +[udpsend~] must [connect( to the port on which [udpreceive~] is listening. +; +#X text -329 59 stop transmitting; +#X text -355 76 format defines the resolution of the sent signal and +may be changed on-the-fly; +#X text -450 200 number of channels to transmit; +#X msg -414 499 buffer 2; +#X text -352 498 set number of frames to buffer before playback; +#X text -458 368 [udpsend~] transmits dsp vectors ("audio") via UDP. +UDP is a connectionless protocol \, so [udpsend~] will transmit even +if nothing is receiving.; +#X text -299 18 connect to and begin transmitting +; +#X text -456 313 [udpreceive~] and [udpsend~]; +#X text -249 540 receives 2 channels on port 8008 Same blocksize as +udpsend~; +#X floatatom -412 216 5 0 0 0 - - -; +#X obj -288 172 tgl 15 0 empty empty toggle_connection 17 7 0 10 -4034 +-1 -1 0 1; +#X obj -293 650 route format channels framesize bitrate overflow underflow +queuesize average packets tag_errors; +#X floatatom 17 730 9 0 0 0 - - -; +#X text -49 729 tag errors:; +#X obj -326 601 env~; +#X floatatom -326 624 9 0 0 0 - - -; +#X text -266 613 The rightmost signal outlet outputs 1 if the stream +is valid \, else 0; +#N canvas 27 271 657 334 multicast 0; +#X msg 91 87 multicast_interface 192.168.0.88; +#X msg 66 62 multicast_interface eth1; +#X text 229 13 send to a multicast address; +#X text 201 38 specify an interface to use with multicast; +#X msg 43 39 multicast_interface 1; +#X text 251 61 by index \, name or address; +#X floatatom 183 112 5 0 256 0 - - -; +#X obj 165 135 f 1; +#X obj 165 115 bng 15 250 50 0 empty empty empty 17 7 0 10 -4034 -1 +-1; +#X text 17 136 set multicast ttl:; +#X msg 165 161 multicast_ttl \$1; +#X msg 215 211 multicast_loopback \$1; +#X obj 215 189 tgl 15 0 empty empty empty 20 7 0 8 -24198 -241291 -1 +0 1; +#X text 26 187 enable multicast loopback:; +#X obj 244 257 outlet; +#X msg 18 14 connect 239.200.200.200 8008; +#X text 262 278 [udpreceive~ 8008 2 512 239.200.200.200]; +#X text -70 278 Will be received by any udpreceive~ declared like this: +; +#X text 347 295 (2 and 512 may be changed); +#X connect 0 0 14 0; +#X connect 1 0 14 0; +#X connect 4 0 14 0; +#X connect 6 0 7 1; +#X connect 7 0 10 0; +#X connect 8 0 7 0; +#X connect 10 0 14 0; +#X connect 11 0 14 0; +#X connect 12 0 11 0; +#X connect 15 0 14 0; +#X restore -347 280 pd multicast; +#X obj -389 541 udpreceive~ 8008 2 512; +#X text -50 497 Arguments: port \, channels \, blocksize \, multicast_address. +Blocksize should match [udpsend~]. multicast_address is optional. Arguments +must be in that order.; +#X text -455 328 Author: Martin Peach 2010/10/28; +#N canvas 529 111 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 or later; +#X text 12 155 AUTHOR Martin Peach; +#X text 12 5 KEYWORDS control network; +#X text 12 45 DESCRIPTION transmit dsp vectors ("audio") via UDP; +#X text 12 65 INLET_0 signal connect disconnect format channels info +multicast_interface multicast_ttl multicast_loopback; +#X text 12 95 INLET_1 signal; +#X text 12 115 OUTLET_0 float; +#X text 12 135 OUTLET_1 format channels framesize bitrate ipaddr vecsize +; +#X restore 248 760 pd META; +#X connect 0 0 54 0; +#X connect 1 0 62 0; +#X connect 2 0 62 0; +#X connect 3 0 62 0; +#X connect 4 0 62 0; +#X connect 5 0 62 0; +#X connect 7 0 62 0; +#X connect 16 0 11 0; +#X connect 17 0 15 0; +#X connect 23 0 62 0; +#X connect 28 0 24 0; +#X connect 41 0 94 0; +#X connect 43 0 94 0; +#X connect 52 0 47 0; +#X connect 52 1 48 0; +#X connect 52 2 49 0; +#X connect 52 3 50 0; +#X connect 52 4 51 0; +#X connect 54 0 62 0; +#X connect 55 0 69 0; +#X connect 57 0 16 0; +#X connect 57 1 12 0; +#X connect 57 2 13 0; +#X connect 57 3 14 0; +#X connect 57 4 17 0; +#X connect 57 5 58 0; +#X connect 57 6 9 0; +#X connect 60 0 62 0; +#X connect 61 0 60 0; +#X connect 61 0 85 0; +#X connect 62 0 10 0; +#X connect 62 1 57 0; +#X connect 67 0 68 0; +#X connect 68 0 62 1; +#X connect 69 0 54 1; +#X connect 69 0 68 1; +#X connect 79 0 94 0; +#X connect 86 0 62 0; +#X connect 87 0 28 0; +#X connect 87 1 25 0; +#X connect 87 2 26 0; +#X connect 87 3 27 0; +#X connect 87 4 33 0; +#X connect 87 5 34 0; +#X connect 87 6 35 0; +#X connect 87 7 36 0; +#X connect 87 8 71 0; +#X connect 87 9 88 0; +#X connect 87 10 8 0; +#X connect 90 0 91 0; +#X connect 93 0 62 0; +#X connect 94 0 64 0; +#X connect 94 1 64 1; +#X connect 94 2 90 0; +#X connect 94 3 87 0; +#X connect 94 4 52 0; diff --git a/usr/local/lib/pd-externals/net/udpsend~.pd_linux b/usr/local/lib/pd-externals/net/udpsend~.pd_linux new file mode 100644 index 0000000000000000000000000000000000000000..da0563773351dbacb271a95173eac3e27daa5791 GIT binary patch literal 16124 zcmdUWe|%KcweLR3q)+KbKm ze$S8Okka1!KJTx0U}vqp*4k^Yz4zK{|Cn>Wv#jCEk|YW1$rsgvIpr!L>HrsgQHVT; zD5w*%C;+cqT&wdfc|vc!kqUI8r1K4$1fC>5hQg{mAqq`CP_YJO)_}(}iaZnf4l|ts zv{DstCX4rw77HNzClAZJkSJG%l#g`(gAa@2or5nAKKX-JZqpp=UzG1UaP;{zKP3-M z6SRfp_6d1`7+&&S(!PYW7)ku7Zgk1A_db3j`|Q@Ay#KZ9PCwpM`JekfnYpoX(ZKm% z{CZ~jEq}lF>%ZQ!nWEDlcZosC7c+FE3GL*QFJ_5;9W(yS2Kc7I(h0Qxe@@H4P9x2S z@(or7@Ft|s*zz*)eYWzH-##txu;p1_1j%|Rf5$ZbZ*6(<7f#EsoRjn90MEzj~lo+kg!wEP!rdCJ?eLPq|F)AYR#n)R^0Benv}KVr*M zUx_VG{#=_r=6jK>hw_y+dFG$B$uqB6!hp=Lo5nvhjlW`=zV2!AkJ;p9;1_Ip>JLsU zKhIX4_RqJ;%fSEFH2KGE^3*qK5skHV1pR^L z4PCL|rshzjb-n0}b%a|tL`5{x8JouM3hNS)u2?7-YhD|Q_+z3q6zL33%K2llj%HXq zRZ^#P24jI>%-`CEX2qtYTTwT%rapgobF8gByiP;|&Een^Vnc8P%8B+cD_BZ^vE z*XzV}!C1@Y*q<~-x1qDSvwa;}FFH+QJDWr3KoRJSHv0pCjbd#_FldxE6f!^A7NbuB zL3BuDvw$g`s526c2~=sJFg4iG5$V9N0fr;&LVv715@t6VoOQu)=jIKvPEsaI|lhQ^XLwJi}W_zSHhURdHAWtjML#>f;IM}KW z1v(`V4EbqpI3Q3Orga6P%r(c_LxEs3+R+t7|6%;~{xdN2#s*pxFgbw;DAoW|6vf(t zp{Qwnx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vbfzA5YGCGWP7@Up4j!u43ql=lDX7D>8_{^3+@M?|00wZXP#-L(ywW`9QqK9bR8Ec{!oPziPZ4ehO{DgqToQGCoIY8S6s zQOg}qdkeml(xd)g>Y*tf{SZBa!1CtjF@+eEldEqwml;iwi;=HjQ%WLaF;2fYF{hz59xFt$D(=sH^8RDEbOfqoR zM_q(`8j--#%W&Q?`H;8tQ4UoI{HCGHEde|X879tO%5jcca%+K8Kj%Ncvtwc`u^y{l zKM0nbH3xk()_f?(#CUDV@jGXxBR88u0JMz{LgJ(xzu#lBc;s94ZZhTO1NtDt^f8S! zAIh=5xCv=e13I0_(gD&W&c0^|Wk2w{B7RGKCAsf|kGo4itTHK3AQQD1l)K%^0MaHtmTg8(i1m;=X=O}4v;PN5y%kCT literal 0 HcmV?d00001 diff --git a/usr/local/lib/pd-externals/osc/LICENSE.txt b/usr/local/lib/pd-externals/osc/LICENSE.txt new file mode 100644 index 0000000..1778d9a --- /dev/null +++ b/usr/local/lib/pd-externals/osc/LICENSE.txt @@ -0,0 +1,16 @@ + OpenSoundControl for Pure data + Copyright (C) 2006-2011 Martin Peach + + 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, see . + diff --git a/usr/local/lib/pd-externals/osc/README.txt b/usr/local/lib/pd-externals/osc/README.txt new file mode 100644 index 0000000..92763c9 --- /dev/null +++ b/usr/local/lib/pd-externals/osc/README.txt @@ -0,0 +1,38 @@ +OpenSoundControl (OSC) for Pd +============================= + +a collection of Pd objectclasses for OSC-messages. +these objects only convert between Pd-messages and OSC-messages (binary format), +so you will need a separate set of objects that implement the transport +(OSI-Layer 4), for instance [udpsend]/[udpreceive] for sending OSC over UDP. + +Author: Martin Peach + +objectclasses + +- [packOSC] + convert a Pd-message to an OSC (binary) message + (useful if you want to transmit OSC over UDP or other protocols that + have the concept of variable length packets) + +- [unpackOSC] + convert an OSC (binary) message to a Pd-message + (useful if you want to transmit OSC over UDP or other protocols that + have the concept of variable length packets) + +- [routeOSC] + route OSC-like Pd-messages according to the first element in the path + +- [pipelist] + delay lists + (useful if you want to respect timestamps) + +- [packOSCstream] + convert a Pd-message to an OSC (binary) message suitable for streaming transport + (useful if you want to transmit OSC over TCP/IP or a serial line) + +- [unpackOSCstream] + convert an OSC (binary) message suitable for streaming transport to a Pd-message + (useful if you want to transmit OSC over TCP/IP or a serial line) + + diff --git a/usr/local/lib/pd-externals/osc/osc-meta.pd b/usr/local/lib/pd-externals/osc/osc-meta.pd new file mode 100644 index 0000000..290efa3 --- /dev/null +++ b/usr/local/lib/pd-externals/osc/osc-meta.pd @@ -0,0 +1,7 @@ +#N canvas 18 212 200 200 10; +#N canvas 28 50 420 300 META 1; +#X text 13 61 NAME OSC; +#X text 13 85 VERSION 0.2; +#X text 13 129 AUTHOR Martin Peach; +#X text 19 189 NOTE:; +#X restore 10 10 pd META; diff --git a/usr/local/lib/pd-externals/osc/packOSC-help.pd b/usr/local/lib/pd-externals/osc/packOSC-help.pd new file mode 100644 index 0000000..c478373 --- /dev/null +++ b/usr/local/lib/pd-externals/osc/packOSC-help.pd @@ -0,0 +1,113 @@ +#N canvas 1 53 1141 651 12; +#X obj 301 434 cnv 15 100 40 empty empty empty 20 12 0 14 -4034 -66577 +0; +#X obj 330 548 udpsend; +#X msg 323 521 disconnect; +#X msg 301 499 connect 127.0.0.1 9997; +#X obj 330 447 packOSC; +#X obj 330 583 tgl 15 0 empty empty 1=connected 20 8 0 8 -4034 -257985 +-1 0 1; +#X msg -130 -33 send /test/one/two/three zz 88 T; +#X msg -84 13 send /test 1 2 3; +#X msg -107 -10 send /west 35; +#X msg -38 59 send /*/left 22; +#X msg -13 84 send /?est/ 1; +#X text 293 13 packOSC is like sendOSC except that it outputs a list +of floats instead of directly connecting to the network; +#X text 103 -33 send a type-guessed message; +#X obj 515 541 routeOSC; +#X text 436 540 see also:; +#X msg 318 415 typetags \$1; +#X obj 318 397 tgl 15 0 empty empty empty 17 7 0 10 -257985 -258113 +-1 0 1; +#X text 401 414 typetags are on by default; +#X text 529 107 Useable types are:; +#X text 529 125 i: 32 bit integer; +#X text 529 143 f: 32-bit float; +#X text 529 161 s: string; +#X text 310 107 send a type-forced message; +#X msg 10 107 sendtyped /test/one/two/three sis zz 88 T; +#X msg 33 130 sendtyped /left/right TTiTIFNfisf 1.1 2.1 3.1 4.1 5.1 +; +#X text 529 179 T: true (no argument); +#X text 529 197 F: false (no argument); +#X text 529 215 I: infinitum (no argument); +#X text 529 232 N: Nil (no argument); +#X msg 277 374 bufsize 100; +#X text 364 374 set buffer size (default is 64000 bytes); +#X msg 79 176 prefix /test; +#X text 174 175 set the OSC path prefix for subsequent messages; +#X msg -61 36 /left one two; +#X msg 56 153 /right 88; +#X text 129 153 'send' prefix is not required; +#X msg 55 209 [; +#X msg 9 210 ]; +#X text -81 211 close bundle; +#X msg 157 254 timetagoffset 0; +#X msg 180 277 timetagoffset -1; +#X text 270 254 send current time as timetag; +#X text 135 229 (timetags are sent in bundle messages only); +#X obj 9 186 t b a b; +#X msg -90 166 /test 5 6 7; +#X text 301 277 immediate time tag (default); +#X floatatom 376 476 5 0 0 0 - - -; +#X text 426 476 bundle depth; +#X obj 469 499 cnv 15 380 30 empty empty empty 20 12 0 14 -24198 -66577 +0; +#X text 597 540 and http://opensoundcontrol.org/cnmat; +#X msg 203 300 timetagoffset 1e+06; +#X text 473 506 <- First open routeOSC-help \, then connect; +#X text 85 210 open a bundle (and generate time tag); +#X obj 418 568 packOSCstream; +#X text 383 567 see:; +#X text 518 568 for a way to send OSC over TCP or serial connections. +; +#X text 353 299 current time plus 1 second (delay is in microseconds) +; +#X text -75 570 2009_06_08 Martin Peach; +#X text 529 248 b: blob (a list of bytes \, or floats on [0..255]) +; +#X text 659 341 send a blob; +#X msg 253 334 sendtyped /left b 0 1 2 3 124 125 126 127 128 129 255 +254 253 252 -14 -15 -16 17 18 19 20 21 22 23 24 25 26 27 28; +#N canvas 497 62 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 or later; +#X text 12 165 AUTHOR Martin Peach; +#X text 12 5 KEYWORDS control network; +#X text 12 45 DESCRIPTION packOSC is like sendOSC except it outputs +a list of floats instead of directly connecting to the network; +#X text 12 85 INLET_0 anything send sendtyped prefix timetagoffset +bufsize typetags; +#X text 12 125 OUTLET_0 anything; +#X text 12 145 OUTLET_1 float; +#X restore 832 595 pd META; +#X connect 1 0 5 0; +#X connect 2 0 1 0; +#X connect 3 0 1 0; +#X connect 4 0 1 0; +#X connect 4 1 46 0; +#X connect 6 0 4 0; +#X connect 7 0 4 0; +#X connect 8 0 4 0; +#X connect 9 0 4 0; +#X connect 10 0 4 0; +#X connect 15 0 4 0; +#X connect 16 0 15 0; +#X connect 23 0 4 0; +#X connect 24 0 4 0; +#X connect 29 0 4 0; +#X connect 31 0 4 0; +#X connect 33 0 4 0; +#X connect 34 0 4 0; +#X connect 36 0 4 0; +#X connect 37 0 4 0; +#X connect 39 0 4 0; +#X connect 40 0 4 0; +#X connect 43 0 37 0; +#X connect 43 1 4 0; +#X connect 43 2 36 0; +#X connect 44 0 43 0; +#X connect 50 0 4 0; +#X connect 60 0 4 0; diff --git a/usr/local/lib/pd-externals/osc/packOSC.pd_linux b/usr/local/lib/pd-externals/osc/packOSC.pd_linux new file mode 100644 index 0000000000000000000000000000000000000000..5fd063fec2b95252cd7cd40621e0debbc03a8cc2 GIT binary patch literal 19040 zcmchfe|%Ksndsj$GfBoFjRT3A##}ilw9!U9YT8mt?eNPYi#ia{6p>6wCL|b=X%ZB; z-t7S4S0s>HY!RVMyYB7XUhi&tKX%ux&>dT<)KaCDU8(i9XXbDkHp-N?wz4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bmxEhdDqh*a5s@^fsypOY`FImIO$J%x$vcOo}2PGXd2^RKjku#@In4Ih5Wsu z_k;Tq{oJQGaPqe+^gjakHDF|Z!6$#~XX+n;`#Sx?V}TQ!Qv;kyIX}1Lvi>1b9-r97 zAcC=%w){`vB=L-R3{LFD0pRku1U6rOnzG=Pc~iipfIBA@@0W*5Q>QtRZx^^5@)dHS UNq%|S+?rA^0(T-`@%p9u@1=~gw*UYD literal 0 HcmV?d00001 diff --git a/usr/local/lib/pd-externals/osc/packOSCstream-help.pd b/usr/local/lib/pd-externals/osc/packOSCstream-help.pd new file mode 100644 index 0000000..4046b62 --- /dev/null +++ b/usr/local/lib/pd-externals/osc/packOSCstream-help.pd @@ -0,0 +1,56 @@ +#N canvas 1 53 609 569 10; +#X obj 69 119 packOSCstream; +#X obj 69 451 tcpsend; +#X text -24 496 check also:; +#X obj -22 513 unpackOSCstream; +#X obj 93 513 packOSC; +#X msg 38 403 connect localhost 9995; +#X obj 208 513 tcpreceive; +#X obj 151 513 tcpsend; +#X obj 286 513 tcpserver; +#X obj 357 513 tcpclient; +#X msg 58 423 disconnect; +#X obj 69 473 tgl 15 0 empty empty empty 17 7 0 10 -4034 -257985 -1 +0 1; +#X obj 181 403 cnv 15 380 30 empty empty empty 20 12 0 14 -24198 -66577 +0; +#X text 196 408 <- First open unpackOSCstream-help \, then connect +; +#X text 440 501 Author: Roman Haefeli; +#X text 440 517 Version: 2008-09-09; +#X text 74 254 [packOSCstream] uses the same methods as [packOSC]. +Please consult packOSC-help.pd for the complete documentation.; +#X text 75 189 [packOSstream] puts a frame length header (int32) in +front of every OSC packet or bundle \, so that the receiving side knows +\, how to split the incoming stream into OSC packets again.; +#X msg -24 9 /first/message 1 \, /second/message 2; +#X text 79 330 reference:; +#X text 80 347 http://archive.cnmat.berkeley.edu/OpenSoundControl/OSC-spec.html +: Section "OSC Packets"; +#X msg -4 29 send /test/one/two/three zz 88 T; +#X msg 16 49 sendtyped /test/one/two/three sis zz 88 T; +#X msg 36 69 prefix /test; +#X msg 56 89 [ \, /previous/page 666 \, /next/page 999 \, ]; +#X text 72 142 [packOSCstream] is meant to be a replacement for [packOSC] +\, when sending over a stream based protocol \, such as TCP.; +#N canvas 499 120 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 or later; +#X text 12 115 AUTHOR Roman Haefeli; +#X text 12 75 INLET_0 anything send sendtyped prefix connect disconnect +; +#X text 12 45 DESCRIPTION meant to be a replacement for [packOSC] \, +when sending over a stream based protocol \, such as TCP; +#X text 12 95 OUTLET_0 float; +#X text 12 5 KEYWORDS control network abstraction; +#X restore 532 544 pd META; +#X connect 0 0 1 0; +#X connect 1 0 11 0; +#X connect 5 0 1 0; +#X connect 10 0 1 0; +#X connect 18 0 0 0; +#X connect 21 0 0 0; +#X connect 22 0 0 0; +#X connect 23 0 0 0; +#X connect 24 0 0 0; diff --git a/usr/local/lib/pd-externals/osc/packOSCstream.pd b/usr/local/lib/pd-externals/osc/packOSCstream.pd new file mode 100644 index 0000000..66e4e5e --- /dev/null +++ b/usr/local/lib/pd-externals/osc/packOSCstream.pd @@ -0,0 +1,12 @@ +#N canvas 642 471 204 215 10; +#X obj 9 35 packOSC; +#X obj 9 14 inlet; +#X obj 9 139 outlet; +#X text 36 157 Author: Roman Haefeli; +#X obj 135 139 outlet; +#X obj 9 80 mrpeach/slipenc 65536; +#X text 36 173 version: 2011-02-01; +#X connect 0 0 5 0; +#X connect 0 1 4 0; +#X connect 1 0 0 0; +#X connect 5 0 2 0; diff --git a/usr/local/lib/pd-externals/osc/pipelist-help.pd b/usr/local/lib/pd-externals/osc/pipelist-help.pd new file mode 100644 index 0000000..25fca1a --- /dev/null +++ b/usr/local/lib/pd-externals/osc/pipelist-help.pd @@ -0,0 +1,50 @@ +#N canvas 1 53 558 300 10; +#X obj 112 129 pipelist 1000; +#X msg 198 83 5000; +#X floatatom 198 107 5 0 0 0 - - -; +#X floatatom 222 42 5 0 0 0 - - -; +#X floatatom 181 42 5 0 0 0 - - -; +#X obj 112 62 pack s s 3 4 5; +#X obj 112 0 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 +-1; +#X msg 135 -1 tik; +#X msg 57 13 alpha; +#X msg 50 41 beta; +#X floatatom 63 90 5 0 0 0 - - -; +#X obj 112 196 print; +#X obj 130 107 symbol; +#X msg 135 83 bb; +#X text 195 1 pipelist delays lists.; +#X text 237 106 Delay time is in milliseconds.; +#X text 208 131 Argument sets initial delay time.; +#X text 242 218 2007/07/11 Martin Peach; +#X text 229 182 see also:; +#X obj 305 183 pipe; +#X obj 339 183 delay; +#X obj 379 183 timer; +#X obj 135 21 symbol; +#N canvas 500 149 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 or later; +#X text 12 125 AUTHOR Roman Haefeli; +#X text 12 5 KEYWORDS control list_op; +#X text 12 45 DESCRIPTION delay lists; +#X text 12 65 INLET_0 anything; +#X text 12 85 INLET_1 float; +#X text 12 105 OUTLET_0 list; +#X restore 492 265 pd META; +#X connect 0 0 11 0; +#X connect 1 0 2 0; +#X connect 2 0 0 1; +#X connect 3 0 5 4; +#X connect 4 0 5 3; +#X connect 5 0 0 0; +#X connect 6 0 5 0; +#X connect 7 0 22 0; +#X connect 8 0 5 0; +#X connect 9 0 5 0; +#X connect 10 0 0 0; +#X connect 12 0 0 0; +#X connect 13 0 12 0; +#X connect 22 0 5 1; diff --git a/usr/local/lib/pd-externals/osc/pipelist.pd_linux b/usr/local/lib/pd-externals/osc/pipelist.pd_linux new file mode 100644 index 0000000000000000000000000000000000000000..881b6dd92c159073cbba98ef79d0f62ebf54deed GIT binary patch literal 6220 zcmb_ge{5UT6+X{)64y1wqzQzQl{XfoY->})GL|7U($dm^+OD)g>$Eb*iQUG-jZNZ| zwyQQbb(<8qBrO55DO=1o3I3Qg{upAT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p-%Zg8*7>Cnd{no z%y9$gFzL+ofa~ayhjc6*C?*|$Ysccni=p|L^13Z_{5=l~^)?@qZY??}?-rB;pkWz+ z56y>k#K-cGepzxuu9z~=HR8V~P@jlGKk&C5{5{`zbUT2@CoF@GIjr#tbkBi?<5M1g z_tta;y61tXk4cyNeV|AZb#rV&+Rr&Mx%S$LG9rMLO(6Qfq%=)Y7 upj?id09^ufB_W+RVh^Zx*fSfrf* literal 0 HcmV?d00001 diff --git a/usr/local/lib/pd-externals/osc/unpackOSC.pd_linux b/usr/local/lib/pd-externals/osc/unpackOSC.pd_linux new file mode 100644 index 0000000000000000000000000000000000000000..e3c9a7b9f1ef784f82a0803fc76b828a307057ba GIT binary patch literal 12484 zcmb7K4Rlk-m7b?3S+X$B14H5%7hb>=#{nZ6Cn4Un5kCn(2NHozu!)N$Tf!E#CDj%Q z5V{eualqi9=C55R)N0Dvv_0J|-OX;;=1(b{CQWl18q-sUCfTR=`~r2blD6qCNkg>X zo%bFHm;UVY8PD9AJ9qBfxpVKG(cFLAn%f0IVAdzHN=A^sfUz3n_63aD?95TaWadCy zDZ7fdTlkb8tum5>R|>q{s1wj8ur(l9j|7tV1ZKnk9%y~2GWaQh- zGG#>XdwDSR|1=M#c7qe6QbzWWQRM%r{qYI#t_kq(C&2$X0S@HBGRkk}!9;&?9xS7L zEDxsk8^K`Fe1l5~t27No`vrI!TQ#Bmh6(VDOYo;N6*N6_8H*vG$|i9cS?eoacx z{*}N>0iV99tcWd{K%X@?w{=D%&E4@pSG>8IHHRbNIBVX5j5V*SU)vlEb%ol(-SJRY z{n}+6(MYI1(9#hy+AiPH+`2tL1Ogr5oj_cDPxE?{!m^G)cXz0p#e&U|(7i0WE#47| z^I~^%2gYFC&09L6fjEmr0knl8-8(v2cf6~$GX^Lg4|j&5TY`ZdR!;*t5RY~?qZ!C8 z(GIIE5ZMuL4@cVAwn!|{`jtEDmNj>W;@e`Zm6+gz8l^xm$j9yox3pGwN2_mS&7oi* z9)M(8fXD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>pYmlrpCp=1(NJNwH zNbe|ph(v9KOSy#PF=4_ZJ*7nYX?<34F)B#c2#@rP5@PQQ<5E4P+mJ{%sZ9DwNk$nN z-%FI!SC3SPM0jUWNeS`i1$u->dX6p6@s=W|{XmKK3C)4_l7+VgW#Sd*C%#W{*@Sa9H$(ZnrH}<$^N7)*ia+?1UB#R!|x5EhBn^0$cgh%N=kSsiUGt1^* zq(!(E-RDpyx->4m*R})ia&k@^I5A}WBRrfbE_^f=eHX?wKz2RwPMBq@o$~(!nndt( literal 0 HcmV?d00001 diff --git a/usr/local/lib/pd-externals/osc/unpackOSCstream-help.pd b/usr/local/lib/pd-externals/osc/unpackOSCstream-help.pd new file mode 100644 index 0000000..0a37eba --- /dev/null +++ b/usr/local/lib/pd-externals/osc/unpackOSCstream-help.pd @@ -0,0 +1,38 @@ +#N canvas 1 53 638 435 10; +#X text 8 369 check also:; +#X obj 240 386 tcpreceive; +#X obj 183 386 tcpsend; +#X obj 318 386 tcpserver; +#X obj 389 386 tcpclient; +#X text 472 374 Author: Roman Haefeli; +#X text 472 390 Version: 2008-09-09; +#X text 158 65 [unpackOSCstream] is meant to be a replacement for [unpackOSC] +\, when receiving from a stream based protocol \, such as TCP.; +#X obj 18 197 unpackOSCstream; +#X obj 18 17 tcpreceive 9995; +#X obj 18 222 print; +#X floatatom 105 221 5 0 0 0 - - -; +#X text 159 283 reference:; +#X obj 10 386 packOSCstream; +#X obj 110 386 unpackOSC; +#X text 160 300 http://archive.cnmat.berkeley.edu/OpenSoundControl/OSC-spec.html +: Section "OSC Packets"; +#X text 141 221 milliseconds delay; +#X text 158 119 [unpackOSCstream] will only be able to decode OSC packets +or bundles created by [packOSCstream]. OSC packets that were generated +by [packOSC] will cause errors or wrong output.; +#N canvas 507 340 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 or later; +#X text 12 5 KEYWORDS control network abstraction; +#X text 12 46 DESCRIPTION meant to be a replacement for [unpackOSC] +\, when receiving from a stream based protocol \, such as TCP.; +#X text 12 75 INLET_0 anything; +#X text 12 95 OUTLET_0 anything; +#X text 12 115 OUTLET_1 float; +#X text 12 135 AUTHOR Roman Haefeli; +#X restore 591 413 pd META; +#X connect 8 0 10 0; +#X connect 8 1 11 0; +#X connect 9 0 8 0; diff --git a/usr/local/lib/pd-externals/osc/unpackOSCstream.pd b/usr/local/lib/pd-externals/osc/unpackOSCstream.pd new file mode 100644 index 0000000..8599920 --- /dev/null +++ b/usr/local/lib/pd-externals/osc/unpackOSCstream.pd @@ -0,0 +1,12 @@ +#N canvas 693 326 361 208 10; +#X obj 9 7 inlet; +#X obj 9 135 unpackOSC; +#X obj 9 158 outlet; +#X obj 60 158 outlet; +#X text 172 144 Author: Roman Haefeli; +#X text 172 160 Version: 2011-02-01; +#X obj 9 71 mrpeach/slipdec 65536; +#X connect 0 0 6 0; +#X connect 1 0 2 0; +#X connect 1 1 3 0; +#X connect 6 0 1 0;