From 297a520ab0d1f7084d0ac059e8576c631cd88720 Mon Sep 17 00:00:00 2001 From: Cyrille Henry Date: Wed, 20 May 2015 15:28:44 +0000 Subject: New project for events controling. svn path=/trunk/externals/nusmuk/; revision=17469 --- ctl/LICENSE.txt | 290 +++++++++++++++++ ctl/README.txt | 1 + ctl/abs/debounce.pd | 20 ++ ctl/abs/l2s.pd | 72 +++++ ctl/ctl-meta.pd | 10 + ctl/ctl.pd | 856 ++++++++++++++++++++++++++++++++++++++++++++++++++ ctl/ctl_abs/_delay.pd | 39 +++ ctl/ctl_abs/_line.pd | 35 +++ ctl/ctl_abs/onecue.pd | 320 +++++++++++++++++++ ctl/cue_list.txt | 56 ++++ ctl/cuelist/act1.txt | 4 + ctl/cuelist/act2.txt | 4 + 12 files changed, 1707 insertions(+) create mode 100644 ctl/LICENSE.txt create mode 100644 ctl/README.txt create mode 100644 ctl/abs/debounce.pd create mode 100644 ctl/abs/l2s.pd create mode 100644 ctl/ctl-meta.pd create mode 100644 ctl/ctl.pd create mode 100644 ctl/ctl_abs/_delay.pd create mode 100644 ctl/ctl_abs/_line.pd create mode 100644 ctl/ctl_abs/onecue.pd create mode 100644 ctl/cue_list.txt create mode 100644 ctl/cuelist/act1.txt create mode 100644 ctl/cuelist/act2.txt diff --git a/ctl/LICENSE.txt b/ctl/LICENSE.txt new file mode 100644 index 0000000..fa0bef4 --- /dev/null +++ b/ctl/LICENSE.txt @@ -0,0 +1,290 @@ +GNU GENERAL PUBLIC LICENSE + +Version 2, June 1991 + +Copyright (C) 1989, 1991 Free Software Foundation, Inc. +59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + +Everyone is permitted to copy and distribute verbatim copies +of this license document, but changing it is not allowed. + +Preamble + +The licenses for most software are designed to take away your freedom +to share and change it. By contrast, the GNU General Public License is +intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This General +Public License applies to most of the Free Software Foundation's +software and to any other program whose authors commit to using it. +(Some other Free Software Foundation software is covered by the +GNU Library General Public License instead.) You can apply it to your +programs, too. + +When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new free +programs; and that you know you can do these things. + +To protect your rights, we need to make restrictions that forbid anyone +to deny you these rights or to ask you to surrender the rights. These +restrictions translate to certain responsibilities for you if you distribute +copies of the software, or if you modify it. + +For example, if you distribute copies of such a program, whether gratis +or for a fee, you must give the recipients all the rights that you have. You +must make sure that they, too, receive or can get the source code. And +you must show them these terms so they know their rights. + +We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + +Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, +we want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + +Finally, any free program is threatened constantly by software patents. +We wish to avoid the danger that redistributors of a free program will +individually obtain patent licenses, in effect making the program +proprietary. To prevent this, we have made it clear that any patent must +be licensed for everyone's free use or not licensed at all. + +The precise terms and conditions for copying, distribution and +modification follow. + +TERMS AND CONDITIONS FOR +COPYING, DISTRIBUTION AND +MODIFICATION + +0. This License applies to any program or other work which contains a +notice placed by the copyright holder saying it may be distributed under +the terms of this General Public License. The "Program", below, refers +to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, either +verbatim or with modifications and/or translated into another language. +(Hereinafter, translation is included without limitation in the term +"modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of running +the Program is not restricted, and the output from the Program is +covered only if its contents constitute a work based on the Program +(independent of having been made by running the Program). Whether +that is true depends on what the Program does. + +1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the notices +that refer to this License and to the absence of any warranty; and give +any other recipients of the Program a copy of this License along with the +Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + +2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide a + warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but does + not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, and +can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based on +the Program, the distribution of the whole must be on the terms of this +License, whose permissions for other licensees extend to the entire +whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest your +rights to work written entirely by you; rather, the intent is to exercise the +right to control the distribution of derivative or collective works based +on the Program. + +In addition, mere aggregation of another work not based on the +Program with the Program (or with a work based on the Program) on a +volume of a storage or distribution medium does not bring the other +work under the scope of this License. + +3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding + machine-readable source code, which must be distributed under + the terms of Sections 1 and 2 above on a medium customarily + used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your cost + of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a + medium customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with + such an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to control +compilation and installation of the executable. However, as a special +exception, the source code distributed need not include anything that is +normally distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies the +executable. + +If distribution of executable or object code is made by offering access to +copy from a designated place, then offering equivalent access to copy +the source code from the same place counts as distribution of the source +code, even though third parties are not compelled to copy the source +along with the object code. + +4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt otherwise +to copy, modify, sublicense or distribute the Program is void, and will +automatically terminate your rights under this License. However, parties +who have received copies, or rights, from you under this License will not +have their licenses terminated so long as such parties remain in full +compliance. + +5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and all +its terms and conditions for copying, distributing or modifying the +Program or works based on it. + +6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the original +licensor to copy, distribute or modify the Program subject to these terms +and conditions. You may not impose any further restrictions on the +recipients' exercise of the rights granted herein. You are not responsible +for enforcing compliance by third parties to this License. + +7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot distribute +so as to satisfy simultaneously your obligations under this License and +any other pertinent obligations, then as a consequence you may not +distribute the Program at all. For example, if a patent license would not +permit royalty-free redistribution of the Program by all those who +receive copies directly or indirectly through you, then the only way you +could satisfy both it and this License would be to refrain entirely from +distribution of the Program. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any patents +or other property right claims or to contest validity of any such claims; +this section has the sole purpose of protecting the integrity of the free +software distribution system, which is implemented by public license +practices. Many people have made generous contributions to the wide +range of software distributed through that system in reliance on +consistent application of that system; it is up to the author/donor to +decide if he or she is willing to distribute software through any other +system and a licensee cannot impose that choice. + +This section is intended to make thoroughly clear what is believed to be +a consequence of the rest of this License. + +8. If the distribution and/or use of the Program is restricted in certain +countries either by patents or by copyrighted interfaces, the original +copyright holder who places the Program under this License may add an +explicit geographical distribution limitation excluding those countries, so +that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + +9. The Free Software Foundation may publish revised and/or new +versions of the General Public License from time to time. Such new +versions will be similar in spirit to the present version, but may differ in +detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number +of this License, you may choose any version ever published by the Free +Software Foundation. + +10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we +sometimes make exceptions for this. Our decision will be guided by the +two goals of preserving the free status of all derivatives of our free +software and of promoting the sharing and reuse of software generally. + +NO WARRANTY + +11. BECAUSE THE PROGRAM IS LICENSED FREE OF +CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, +TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT +WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE +PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, +EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND +PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD +THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE +COST OF ALL NECESSARY SERVICING, REPAIR OR +CORRECTION. + +12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW +OR AGREED TO IN WRITING WILL ANY COPYRIGHT +HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED +ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING +ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR +INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT +LIMITED TO LOSS OF DATA OR DATA BEING RENDERED +INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE +WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR +OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY +OF SUCH DAMAGES. + +END OF TERMS AND CONDITIONS diff --git a/ctl/README.txt b/ctl/README.txt new file mode 100644 index 0000000..536ebba --- /dev/null +++ b/ctl/README.txt @@ -0,0 +1 @@ +"Cuelist Time Line" (ctl) is a patch that help the constrution of a time line, specially for theater projects. The time line is based on a cue list that can easilly be edited without any pd knowledge. This project aim at controling other modules offering sound difusion / lighting control etc diff --git a/ctl/abs/debounce.pd b/ctl/abs/debounce.pd new file mode 100644 index 0000000..d7b3c8d --- /dev/null +++ b/ctl/abs/debounce.pd @@ -0,0 +1,20 @@ +#N canvas 435 321 705 322 10; +#X obj 27 43 inlet; +#X obj 27 264 outlet; +#X obj 27 102 spigot 1; +#X msg 160 158 0; +#X msg 161 208 1; +#X obj 161 183 delay \$1; +#X obj 213 43 inlet; +#X obj 27 139 t a b b; +#X obj 27 73 t a b; +#X connect 0 0 8 0; +#X connect 2 0 7 0; +#X connect 3 0 2 1; +#X connect 4 0 2 1; +#X connect 5 0 4 0; +#X connect 6 0 5 1; +#X connect 7 0 1 0; +#X connect 7 2 3 0; +#X connect 8 0 2 0; +#X connect 8 1 5 0; diff --git a/ctl/abs/l2s.pd b/ctl/abs/l2s.pd new file mode 100644 index 0000000..88b84f8 --- /dev/null +++ b/ctl/abs/l2s.pd @@ -0,0 +1,72 @@ +#N canvas 326 349 402 415 10; +#X obj 52 41 inlet; +#X obj 71 235 list fromsymbol; +#X obj 52 63 list; +#N canvas 58 261 461 421 list_concat 0; +#X obj 55 70 inlet; +#X obj 55 187 list; +#X obj 145 71 inlet; +#X msg 145 107 list; +#X obj 55 148 list prepend; +#X obj 101 69 inlet; +#X obj 34 223 list; +#X obj 34 258 outlet; +#X connect 0 0 4 0; +#X connect 1 0 4 1; +#X connect 1 0 6 1; +#X connect 2 0 3 0; +#X connect 3 0 4 1; +#X connect 4 0 1 0; +#X connect 5 0 6 0; +#X connect 6 0 7 0; +#X restore 71 266 pd list_concat; +#N canvas 468 380 450 300 list_drip 0; +#X obj 37 44 inlet; +#X obj 37 152 list split 1; +#X obj 37 93 list; +#X obj 37 116 t l l; +#X obj 131 154 list split 1; +#X obj 131 191 outlet; +#X connect 0 0 2 0; +#X connect 1 1 2 0; +#X connect 2 0 3 0; +#X connect 3 0 1 0; +#X connect 3 1 4 0; +#X connect 4 0 5 0; +#X restore 71 113 pd list_drip; +#X obj 52 86 t b a b; +#X obj 105 312 list tosymbol; +#X obj 71 136 t a b; +#X msg 98 157 32, f 2; +#X obj 105 335 outlet; +#X obj 71 290 list split 1; +#X obj 71 181 route float; +#N canvas 1 90 450 300 float2symbol 0; +#X obj 58 116 list fromsymbol; +#X msg 58 94 symbol _\$1; +#X obj 58 137 list split 1; +#X obj 92 159 list tosymbol; +#X obj 58 70 inlet; +#X obj 92 183 outlet; +#X connect 0 0 2 0; +#X connect 1 0 0 0; +#X connect 2 1 3 0; +#X connect 3 0 5 0; +#X connect 4 0 1 0; +#X restore 71 204 pd float2symbol; +#X connect 0 0 2 0; +#X connect 1 0 3 0; +#X connect 2 0 5 0; +#X connect 3 0 10 0; +#X connect 4 0 7 0; +#X connect 5 0 3 1; +#X connect 5 1 4 0; +#X connect 5 2 3 2; +#X connect 6 0 9 0; +#X connect 7 0 11 0; +#X connect 7 1 8 0; +#X connect 8 0 3 0; +#X connect 10 1 6 0; +#X connect 11 0 12 0; +#X connect 11 1 1 0; +#X connect 12 0 1 0; diff --git a/ctl/ctl-meta.pd b/ctl/ctl-meta.pd new file mode 100644 index 0000000..3cf481d --- /dev/null +++ b/ctl/ctl-meta.pd @@ -0,0 +1,10 @@ +#N canvas 849 477 506 253 10; +#X text 10 168 LICENSE GNU GPL; +#X text 10 50 AUTHOR Cyrille Henry; +#X text 10 188 VERSION 2.01; +#X text 10 30 NAME ctl; +#X text 10 70 DESCRIPTION "Cuelist Time Line" is a patch that help +the constrution of a time line \, specially for theater projects. The +time line is based on a textfile that can easilly be edited without +any pd knowledge. This project aim at controlling other modules offering +sound difusion / lighting control etc \, made with pd; diff --git a/ctl/ctl.pd b/ctl/ctl.pd new file mode 100644 index 0000000..f5a509e --- /dev/null +++ b/ctl/ctl.pd @@ -0,0 +1,856 @@ +#N canvas 166 211 721 826 10; +#X declare -path ctl_abs; +#N canvas 1178 126 597 563 get_cue_name 0; +#X obj 32 71 inlet; +#X obj 32 239 text get cuelist; +#X obj 32 191 f; +#X obj 66 193 + 1; +#X obj 32 118 t b b; +#X msg 97 168 0; +#X obj 32 95 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 +-1; +#X obj 125 265 sel 2; +#X obj 32 262 route list; +#X obj 32 283 route #; +#X obj 71 306 route cue; +#X obj 71 376 f; +#X obj 105 378 + 1; +#X msg 86 352 0; +#X obj 71 329 t b a; +#X obj 71 466 pack f s; +#X obj 71 485 s cue_name; +#X obj 116 407 list; +#X msg 116 426 symbol \$1; +#X obj 162 485 s cue_autogo; +#X obj 207 420 route list; +#X msg 264 445 -1; +#X obj 162 466 pack f f; +#X msg 207 444 \$1; +#N canvas 9 222 606 448 RGB_____________ 0; +#X obj 262 53 inlet; +#X obj 339 55 inlet; +#X obj 405 56 inlet; +#X text 267 28 red; +#X text 337 30 green; +#X text 409 30 blue; +#X obj 405 102 t b f; +#X obj 339 160 +; +#X obj 339 185 t b f; +#X obj 339 216 +; +#X obj 82 332 outlet; +#X obj 262 79 * -65536; +#X obj 339 80 * -256; +#X obj 405 80 * -1; +#X obj 339 247 - 1; +#X obj 67 63 inlet; +#X obj 67 87 unpack f f f; +#X obj 67 111 min 255; +#X obj 67 132 max 0; +#X obj 115 111 min 255; +#X obj 115 132 max 0; +#X obj 163 111 min 255; +#X obj 163 132 max 0; +#X obj 67 172 * -65536; +#X obj 144 173 * -256; +#X obj 210 173 * -1; +#X obj 145 203 +, f 4; +#X obj 68 239 +; +#X obj 70 268 - 1; +#X connect 0 0 11 0; +#X connect 1 0 12 0; +#X connect 2 0 13 0; +#X connect 6 0 7 0; +#X connect 6 1 7 1; +#X connect 7 0 8 0; +#X connect 8 0 9 0; +#X connect 8 1 9 1; +#X connect 9 0 14 0; +#X connect 11 0 9 0; +#X connect 12 0 7 0; +#X connect 13 0 6 0; +#X connect 14 0 10 0; +#X connect 15 0 16 0; +#X connect 16 0 17 0; +#X connect 16 1 19 0; +#X connect 16 2 21 0; +#X connect 17 0 18 0; +#X connect 18 0 23 0; +#X connect 19 0 20 0; +#X connect 20 0 24 0; +#X connect 21 0 22 0; +#X connect 22 0 25 0; +#X connect 23 0 27 0; +#X connect 24 0 26 0; +#X connect 25 0 26 1; +#X connect 26 0 27 1; +#X connect 27 0 28 0; +#X connect 28 0 10 0; +#X restore 386 481 pd RGB_____________; +#X obj 341 508 pack f f; +#X obj 341 528 s cue_color; +#X msg 455 459 255 255 255; +#X obj 352 364 list; +#X obj 386 410 list split 3; +#X msg 386 457 \$1 \$2 \$3; +#X obj 352 387 list split 2; +#X obj 32 167 metro 0; +#X msg 32 141 1; +#X msg 65 142 0; +#X obj 125 286 t b b; +#X msg 143 316 0; +#X obj 143 337 s playfromstart; +#X connect 0 0 6 0; +#X connect 1 0 8 0; +#X connect 1 1 7 0; +#X connect 2 0 3 0; +#X connect 2 0 1 0; +#X connect 3 0 2 1; +#X connect 4 0 33 0; +#X connect 4 1 5 0; +#X connect 4 1 13 0; +#X connect 5 0 2 1; +#X connect 6 0 4 0; +#X connect 7 0 35 0; +#X connect 8 0 9 0; +#X connect 9 1 10 0; +#X connect 10 0 14 0; +#X connect 11 0 12 0; +#X connect 11 0 15 0; +#X connect 11 0 22 0; +#X connect 11 0 25 0; +#X connect 12 0 11 1; +#X connect 13 0 11 1; +#X connect 14 0 11 0; +#X connect 14 1 17 0; +#X connect 15 0 16 0; +#X connect 17 0 18 0; +#X connect 17 0 20 0; +#X connect 18 0 15 1; +#X connect 20 0 23 0; +#X connect 20 0 28 0; +#X connect 20 1 21 0; +#X connect 20 1 27 0; +#X connect 21 0 22 1; +#X connect 22 0 19 0; +#X connect 23 0 22 1; +#X connect 24 0 25 1; +#X connect 25 0 26 0; +#X connect 27 0 24 0; +#X connect 28 0 31 0; +#X connect 29 0 30 0; +#X connect 29 2 27 0; +#X connect 30 0 24 0; +#X connect 31 1 29 0; +#X connect 31 2 27 0; +#X connect 32 0 2 0; +#X connect 33 0 32 0; +#X connect 34 0 32 0; +#X connect 35 0 36 0; +#X connect 35 1 34 0; +#X connect 36 0 37 0; +#X restore 21 779 pd get_cue_name; +#N canvas 668 359 550 479 init 0; +#X obj 127 160 text define cuelist; +#X msg 100 186 0; +#X obj 113 85 loadbang; +#X obj 100 112 t b b; +#X obj 100 208 outlet; +#X obj 325 22 r read; +#X obj 100 60 r init_cuelist; +#X msg 381 72 symbol act2.txt; +#X obj 325 76 t b a; +#N canvas 1 100 450 300 filter_double 0; +#X obj 42 163 spigot; +#X obj 75 52 r start_play_all_from; +#X msg 104 98 1; +#X msg 75 73 0; +#X obj 42 16 inlet; +#X obj 42 194 outlet; +#X obj 432 521 s before_fin_play_all_from; +#X obj 105 73 r before_fin_play_all_from; +#X connect 0 0 5 0; +#X connect 1 0 3 0; +#X connect 2 0 0 1; +#X connect 3 0 0 1; +#X connect 4 0 0 0; +#X connect 7 0 2 0; +#X restore 325 49 pd filter_double; +#X msg 352 100 read -c \$1; +#X msg 127 139 read -c cue_list.txt; +#X obj 331 164 declare -path ctl_abs; +#X connect 1 0 4 0; +#X connect 2 0 3 0; +#X connect 3 0 1 0; +#X connect 3 1 11 0; +#X connect 5 0 9 0; +#X connect 6 0 3 0; +#X connect 7 0 10 0; +#X connect 8 0 1 0; +#X connect 8 1 10 0; +#X connect 9 0 8 0; +#X connect 10 0 0 0; +#X connect 11 0 0 0; +#X restore 21 6 pd init; +#X obj 227 224 _delay; +#X obj 225 244 r tst_line; +#X floatatom 225 293 5 0 0 0 - - -, f 5; +#N canvas 738 524 1101 531 tlcl 0; +#X msg 503 187 label \$1; +#X obj 503 96 r comment1; +#X obj 503 207 send canvas_comment1; +#X obj 100 230 cnv 15 350 20 empty canvas_comment3 empty 0 10 0 14 +-249661 -66577 0; +#X obj 100 250 cnv 15 350 20 empty canvas_comment4 empty 0 10 0 14 +-249661 -66577 0; +#X msg 644 193 label \$1; +#X obj 644 92 r comment2; +#X msg 796 190 label \$1; +#X msg 936 196 label \$1; +#X obj 796 89 r comment3; +#X obj 936 95 r comment4; +#X obj 644 213 send canvas_comment2; +#X obj 796 210 send canvas_comment3; +#X obj 936 216 send canvas_comment4; +#X obj 503 142 symbol; +#X obj 503 119 route bang; +#X obj 644 142 symbol; +#X obj 644 119 route bang; +#X obj 796 142 symbol; +#X obj 796 119 route bang; +#X obj 936 142 symbol; +#X obj 936 119 route bang; +#X symbolatom 139 120 20 0 0 0 - - -, f 20; +#X text 264 120 current cue; +#X floatatom 103 120 5 0 0 0 - - playfromstart, f 5; +#X msg 134 45 set \$1; +#X obj 134 22 r current_cue; +#X obj 226 5 r current_cue_name; +#X obj 226 26 symbol; +#X obj 282 28 t b; +#X msg 226 48 set \$1; +#X obj 241 137 tgl 15 0 autogo_on autogo_on_init empty 17 7 0 10 -262144 +-1 -1 1 1; +#X obj 106 136 hsl 128 15 0 127 0 0 empty aff_autogo empty -2 -8 0 +10 -262144 -1 -262144 0 1; +#X obj 103 154 bng 15 250 50 0 next_cue empty empty 17 7 0 10 -258113 +-1 -1; +#X text 121 153 next; +#X text 262 136 autogo_on; +#X obj 103 172 bng 15 250 50 0 jump_end_line empty empty 17 7 0 10 +-262144 -1 -1; +#X floatatom 338 137 5 0 0 0 - - global_speed, f 5; +#X text 371 136 global speed; +#X obj 103 103 bng 15 250 50 0 init_cuelist empty empty 17 7 0 10 -262144 +-1 -1; +#X text 120 102 reload cuelist; +#N canvas 986 143 666 862 play_cuelist 0; +#X obj 53 186 text get cuelist; +#X obj 92 311 route cue; +#X obj 111 386 f; +#X obj 126 407 + 1; +#X obj 53 98 until; +#X obj 111 467 >; +#X msg 307 162 0; +#X obj 53 124 f; +#X obj 68 151 + 1; +#X msg 92 98 0; +#X floatatom 53 33 5 0 0 0 - - -, f 5; +#X obj 146 209 sel 2; +#X obj 53 288 route #; +#X obj 268 419 route symbol; +#X obj 111 568 f; +#X text 95 30 playfrom; +#X obj 143 744 list; +#X obj 143 763 t a a; +#X obj 229 789 list split 1; +#X obj 229 813 symbol; +#X obj 177 842 send; +#X obj 143 789 list split 1; +#X obj 111 590 s autogo; +#X obj 53 9 r playfromstart; +#X obj 230 29 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 +-1; +#X obj 230 8 r next_cue; +#X obj 224 590 s current_cue; +#X obj 111 519 sel 1 0; +#X obj 53 263 route list symbol; +#X obj 224 548 f; +#X obj 224 400 t b; +#X obj 224 568 - 1; +#X msg 146 232 list cue last; +#X obj 363 621 s jump_end_line; +#X obj 53 213 t a a; +#X obj 111 544 t b b; +#X obj 363 569 t a a; +#X obj 53 50 t b f b b; +#X obj 92 624 f; +#X obj 92 644 sel 1; +#X msg 152 566 1; +#X msg 337 439 \$2; +#X obj 268 395 list; +#X msg 268 440 -1; +#X obj 364 501 f; +#X obj 337 469 t f b; +#X obj 176 85 s start_play_all_from; +#X obj 354 195 s fin_play_all_from; +#X obj 354 153 f; +#X msg 369 123 1; +#X msg 395 123 0; +#X obj 354 174 sel 1; +#X obj 230 48 t b b; +#X obj 166 432 - 1; +#X obj 151 468 >; +#X obj 111 431 t f f f; +#X obj 432 526 sel 1; +#X obj 432 551 s before_fin_play_all_from; +#X obj 379 712 spigot 0; +#X msg 424 685 1; +#X msg 459 685 0; +#X obj 379 733 t b b; +#X obj 92 364 t b b a b; +#X obj 398 758 s comment1; +#X obj 398 778 s comment2; +#X obj 398 798 s comment3; +#X obj 398 818 s comment4; +#X obj 143 335 t a b; +#X obj 389 595 print jum_end; +#X obj 143 709 spigot; +#X msg 176 654 1; +#X msg 208 654 0; +#X obj 176 683 |; +#X obj 208 685 r jump_from_start; +#X connect 0 0 34 0; +#X connect 0 1 11 0; +#X connect 1 0 62 0; +#X connect 1 1 67 0; +#X connect 2 0 3 0; +#X connect 2 0 55 0; +#X connect 3 0 2 1; +#X connect 4 0 7 0; +#X connect 5 0 27 0; +#X connect 6 0 2 1; +#X connect 6 0 38 1; +#X connect 7 0 8 0; +#X connect 7 0 0 0; +#X connect 8 0 7 1; +#X connect 9 0 7 1; +#X connect 10 0 37 0; +#X connect 11 0 32 0; +#X connect 12 1 1 0; +#X connect 13 0 43 0; +#X connect 13 1 41 0; +#X connect 14 0 22 0; +#X connect 16 0 17 0; +#X connect 17 0 21 0; +#X connect 17 1 18 0; +#X connect 18 0 19 0; +#X connect 19 0 20 1; +#X connect 21 1 20 0; +#X connect 21 2 20 0; +#X connect 23 0 10 0; +#X connect 24 0 52 0; +#X connect 25 0 24 0; +#X connect 27 0 35 0; +#X connect 27 1 36 0; +#X connect 28 0 12 0; +#X connect 28 1 12 0; +#X connect 29 0 31 0; +#X connect 30 0 4 1; +#X connect 30 0 29 0; +#X connect 30 0 48 0; +#X connect 31 0 26 0; +#X connect 32 0 28 0; +#X connect 34 0 28 0; +#X connect 35 0 14 0; +#X connect 35 1 40 0; +#X connect 36 0 33 0; +#X connect 37 0 4 0; +#X connect 37 1 5 1; +#X connect 37 1 53 0; +#X connect 37 2 6 0; +#X connect 37 2 9 0; +#X connect 37 3 46 0; +#X connect 37 3 49 0; +#X connect 37 3 71 0; +#X connect 38 0 39 0; +#X connect 39 0 30 0; +#X connect 40 0 38 1; +#X connect 41 0 45 0; +#X connect 42 0 13 0; +#X connect 43 0 45 0; +#X connect 44 0 14 1; +#X connect 45 0 44 1; +#X connect 45 1 44 0; +#X connect 48 0 51 0; +#X connect 49 0 48 1; +#X connect 50 0 48 1; +#X connect 51 0 47 0; +#X connect 52 0 4 0; +#X connect 52 1 50 0; +#X connect 53 0 54 1; +#X connect 54 0 56 0; +#X connect 55 0 5 0; +#X connect 55 1 54 0; +#X connect 55 2 29 1; +#X connect 56 0 57 0; +#X connect 56 0 70 0; +#X connect 58 0 61 0; +#X connect 59 0 58 1; +#X connect 60 0 58 1; +#X connect 61 0 63 0; +#X connect 61 0 64 0; +#X connect 61 0 65 0; +#X connect 61 0 66 0; +#X connect 61 1 60 0; +#X connect 62 0 38 0; +#X connect 62 1 2 0; +#X connect 62 2 42 0; +#X connect 62 3 59 0; +#X connect 67 0 69 0; +#X connect 67 1 58 0; +#X connect 69 0 16 0; +#X connect 70 0 72 0; +#X connect 71 0 72 0; +#X connect 72 0 69 1; +#X connect 73 0 72 1; +#X restore 101 291 pd play_cuelist _________________________________________ +; +#N canvas 860 95 444 542 autogo 0; +#X obj 38 26 r autogo; +#X obj 38 52 moses 0; +#X msg 118 85 0 \, 127 \$1; +#X obj 118 125 s aff_autogo; +#X msg 38 154 0; +#X msg 77 155 1; +#X obj 38 185 f; +#X obj 38 255 *; +#X obj 109 183 + 1; +#X obj 109 206 t b f; +#X obj 38 284 sel 0 1 2; +#X msg 38 409 color \$1; +#X obj 38 429 s aff_autogo; +#X msg 226 119 stop; +#X msg 264 119 \$1; +#X obj 226 170 spigot 1; +#X obj 271 146 r autogo_on; +#X obj 301 85 s autogo_on_init; +#X msg 301 64 1; +#X obj 301 43 loadbang; +#X msg 38 306 255 255 255; +#N canvas 9 222 606 448 RGB_____________ 0; +#X obj 262 53 inlet; +#X obj 339 55 inlet; +#X obj 405 56 inlet; +#X text 267 28 red; +#X text 337 30 green; +#X text 409 30 blue; +#X obj 405 102 t b f; +#X obj 339 160 +; +#X obj 339 185 t b f; +#X obj 339 216 +; +#X obj 82 332 outlet; +#X obj 262 79 * -65536; +#X obj 339 80 * -256; +#X obj 405 80 * -1; +#X obj 339 247 - 1; +#X obj 67 63 inlet; +#X obj 67 87 unpack f f f; +#X obj 67 111 min 255; +#X obj 67 132 max 0; +#X obj 115 111 min 255; +#X obj 115 132 max 0; +#X obj 163 111 min 255; +#X obj 163 132 max 0; +#X obj 67 172 * -65536; +#X obj 144 173 * -256; +#X obj 210 173 * -1; +#X obj 145 203 +, f 4; +#X obj 68 239 +; +#X obj 70 268 - 1; +#X connect 0 0 11 0; +#X connect 1 0 12 0; +#X connect 2 0 13 0; +#X connect 6 0 7 0; +#X connect 6 1 7 1; +#X connect 7 0 8 0; +#X connect 8 0 9 0; +#X connect 8 1 9 1; +#X connect 9 0 14 0; +#X connect 11 0 9 0; +#X connect 12 0 7 0; +#X connect 13 0 6 0; +#X connect 14 0 10 0; +#X connect 15 0 16 0; +#X connect 16 0 17 0; +#X connect 16 1 19 0; +#X connect 16 2 21 0; +#X connect 17 0 18 0; +#X connect 18 0 23 0; +#X connect 19 0 20 0; +#X connect 20 0 24 0; +#X connect 21 0 22 0; +#X connect 22 0 25 0; +#X connect 23 0 27 0; +#X connect 24 0 26 0; +#X connect 25 0 26 1; +#X connect 26 0 27 1; +#X connect 27 0 28 0; +#X connect 28 0 10 0; +#X restore 38 388 pd RGB_____________; +#X msg 72 350 255 0 0; +#X msg 55 328 200 200 200; +#X msg 52 93 0; +#X obj 227 193 s next_cue; +#X obj 118 105 _line; +#X obj 226 146 _delay; +#X connect 0 0 1 0; +#X connect 1 0 4 0; +#X connect 1 0 13 0; +#X connect 1 0 24 0; +#X connect 1 1 2 0; +#X connect 1 1 5 0; +#X connect 1 1 14 0; +#X connect 2 0 26 0; +#X connect 4 0 6 0; +#X connect 5 0 6 0; +#X connect 6 0 7 0; +#X connect 7 0 10 0; +#X connect 8 0 9 0; +#X connect 9 0 7 0; +#X connect 9 1 7 1; +#X connect 10 0 20 0; +#X connect 10 1 23 0; +#X connect 10 2 22 0; +#X connect 11 0 12 0; +#X connect 13 0 27 0; +#X connect 14 0 27 0; +#X connect 15 0 25 0; +#X connect 16 0 8 0; +#X connect 16 0 15 1; +#X connect 18 0 17 0; +#X connect 19 0 18 0; +#X connect 20 0 21 0; +#X connect 21 0 11 0; +#X connect 22 0 21 0; +#X connect 23 0 21 0; +#X connect 24 0 26 0; +#X connect 26 0 3 0; +#X connect 27 0 15 0; +#X restore 101 314 pd autogo _______________________________________________ +; +#X msg 594 54 1; +#X obj 594 34 loadbang; +#X obj 533 54 r speed; +#X text 120 171 skip_transitions; +#X obj 183 154 tgl 15 0 empty empty empty 17 7 0 10 -258113 -1 -1 0 +1; +#X text 203 155 key control; +#X obj 470 232 key; +#X obj 470 255 sel 32; +#X obj 470 312 spigot 0; +#X obj 540 233 keyname; +#X msg 579 277 0; +#X obj 579 256 sel Control_L; +#X obj 100 190 cnv 15 350 20 empty canvas_comment1 empty 0 10 0 14 +-249661 -66577 0; +#X obj 100 210 cnv 15 350 20 empty canvas_comment2 empty 0 10 0 14 +-249661 -66577 0; +#X obj 378 1 f; +#X obj 415 13 + 1; +#X obj 378 -70 loadbang; +#X msg 401 -28 0; +#X obj 414 50 % 60; +#X obj 378 50 / 60; +#X obj 378 70 i; +#X floatatom 414 102 5 0 0 0 - - -, f 5; +#X floatatom 378 102 5 0 0 0 - - -, f 5; +#X obj 333 -47 t b b; +#X obj 358 102 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 +-1 -1; +#X obj 454 -48 t b; +#X obj 721 -79 f; +#X obj 758 -67 + 1; +#X obj 721 -150 loadbang; +#X msg 738 -102 0; +#X obj 757 -30 % 60; +#X obj 721 -30 / 60; +#X obj 721 -10 i; +#X floatatom 414 118 5 0 0 0 - - -, f 5; +#X floatatom 378 118 5 0 0 0 - - -, f 5; +#X obj 676 -127 t b b; +#X obj 675 -147 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 +-1 -1; +#X obj 797 -128 t b; +#X obj 560 -138 r current_cue; +#X obj 378 -48 _delay 1000; +#X obj 721 -128 _delay 1000; +#X obj 333 -125 r init_time; +#N canvas 1 95 450 300 filter_current_cue 0; +#X obj 42 163 spigot; +#X obj 75 52 r start_play_all_from; +#X msg 106 95 1; +#X msg 75 73 0; +#X obj 42 16 inlet; +#X obj 42 194 outlet; +#X obj 105 73 r before_fin_play_all_from; +#X connect 0 0 5 0; +#X connect 1 0 3 0; +#X connect 2 0 0 1; +#X connect 3 0 0 1; +#X connect 4 0 0 0; +#X connect 6 0 2 0; +#X restore 333 -101 pd filter_current_cue; +#X obj 431 171 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 +1; +#X text 331 171 jump from start; +#X obj 530 -59 loadbang; +#X msg 530 -39 1; +#X obj 559 424 s jump_from_start; +#X obj 470 287 abs/debounce 800; +#X obj 513 166 abs/l2s; +#X obj 664 172 abs/l2s; +#X obj 816 169 abs/l2s; +#X obj 956 175 abs/l2s; +#X connect 0 0 2 0; +#X connect 1 0 15 0; +#X connect 5 0 11 0; +#X connect 6 0 17 0; +#X connect 7 0 12 0; +#X connect 8 0 13 0; +#X connect 9 0 19 0; +#X connect 10 0 21 0; +#X connect 14 0 0 0; +#X connect 15 0 14 0; +#X connect 15 1 92 0; +#X connect 16 0 5 0; +#X connect 17 0 16 0; +#X connect 17 1 93 0; +#X connect 18 0 7 0; +#X connect 19 0 18 0; +#X connect 19 1 94 0; +#X connect 20 0 8 0; +#X connect 21 0 20 0; +#X connect 21 1 95 0; +#X connect 22 0 29 0; +#X connect 25 0 24 0; +#X connect 26 0 25 0; +#X connect 27 0 28 0; +#X connect 28 0 30 0; +#X connect 29 0 28 0; +#X connect 30 0 22 0; +#X connect 43 0 37 0; +#X connect 44 0 43 0; +#X connect 45 0 37 0; +#X connect 47 0 51 1; +#X connect 49 0 50 0; +#X connect 50 0 91 0; +#X connect 51 0 33 0; +#X connect 52 1 54 0; +#X connect 53 0 47 0; +#X connect 54 0 53 0; +#X connect 57 0 58 0; +#X connect 57 0 61 0; +#X connect 57 0 62 0; +#X connect 58 0 57 1; +#X connect 59 0 82 0; +#X connect 60 0 57 0; +#X connect 61 0 64 0; +#X connect 62 0 63 0; +#X connect 63 0 65 0; +#X connect 66 0 82 0; +#X connect 66 1 60 0; +#X connect 67 0 66 0; +#X connect 68 0 82 0; +#X connect 69 0 70 0; +#X connect 69 0 73 0; +#X connect 69 0 74 0; +#X connect 70 0 69 1; +#X connect 71 0 83 0; +#X connect 72 0 69 0; +#X connect 73 0 76 0; +#X connect 74 0 75 0; +#X connect 75 0 77 0; +#X connect 78 0 83 0; +#X connect 78 1 72 0; +#X connect 79 0 78 0; +#X connect 80 0 83 0; +#X connect 81 0 78 0; +#X connect 82 0 57 0; +#X connect 82 0 68 0; +#X connect 83 0 69 0; +#X connect 83 0 80 0; +#X connect 84 0 85 0; +#X connect 85 0 66 0; +#X connect 86 0 90 0; +#X connect 88 0 89 0; +#X connect 89 0 86 0; +#X connect 91 0 51 0; +#X connect 92 0 0 0; +#X connect 93 0 5 0; +#X connect 94 0 7 0; +#X connect 95 0 8 0; +#X coords 0 -1 1 1 350 170 2 100 100; +#X restore 214 25 pd tlcl; +#X obj 225 264 _line; +#X obj 403 223 r tst_value; +#X obj 403 265 print no_double_value; +#X obj 540 223 r tst_value; +#X obj 540 265 print current_cue_only; +#X text 216 6 Cue Time Line; +#N canvas 1 100 450 300 filter_only_current_cue 0; +#X obj 42 163 spigot; +#X obj 75 52 r start_play_all_from; +#X msg 106 95 1; +#X msg 75 73 0; +#X obj 42 16 inlet; +#X obj 42 194 outlet; +#X obj 105 73 r before_fin_play_all_from; +#X connect 0 0 5 0; +#X connect 1 0 3 0; +#X connect 2 0 0 1; +#X connect 3 0 0 1; +#X connect 4 0 0 0; +#X connect 6 0 2 0; +#X restore 540 244 pd filter_only_current_cue; +#X text 223 587 using _delay and _line abstraction allow the use of +the global speed parametter.; +#X obj 306 223 r tst_value; +#X obj 306 244 print all_cue; +#X text 223 457 with "jump from start option" : when clicking on a +cue number \, all previous cue are send to ensure that no messages +are missed : no cue can be skiped.; +#X text 223 499 without "jump from start" \, a jump will react like +a "next" : only 1 cue is send.; +#N canvas 1 95 450 300 filter_last_only 0; +#X obj 42 163 spigot; +#X obj 75 52 r start_play_all_from; +#X obj 105 73 r fin_play_all_from; +#X msg 132 115 1; +#X msg 75 73 0; +#X obj 105 94 t b b; +#X obj 42 16 inlet; +#X obj 42 194 outlet; +#X obj 42 134 f; +#X connect 0 0 7 0; +#X connect 1 0 4 0; +#X connect 2 0 5 0; +#X connect 3 0 0 1; +#X connect 4 0 0 1; +#X connect 5 0 8 0; +#X connect 5 1 3 0; +#X connect 6 0 8 0; +#X connect 8 0 0 0; +#X restore 403 244 pd filter_last_only; +#X text 222 538 subpatch are provided in order to filter only last +value (float) when cue change (next or jump); +#X text 227 323 Change cue_list.txt in order to create a sequence of +cue; +#X text 227 357 absolute time and time since the last cue are displayed +; +#X text 227 380 a fader move when next cue will be automatically loaded +; +#X text 224 407 key control allow to go to next cue for every space +bar key pressed. This option is desactiveted when pressing control +key; +#X obj 21 90 onecue; +#X obj 21 106 onecue; +#X obj 21 74 onecue; +#X obj 21 26 onecue; +#X obj 21 138 onecue; +#X obj 21 42 onecue; +#X obj 21 58 onecue; +#X obj 21 234 onecue; +#X obj 21 122 onecue; +#X obj 21 154 onecue; +#X obj 21 170 onecue; +#X obj 21 186 onecue; +#X obj 21 202 onecue; +#X obj 21 218 onecue; +#X obj 21 250 onecue; +#X obj 21 266 onecue; +#X obj 21 282 onecue; +#X obj 21 298 onecue; +#X obj 21 314 onecue; +#X obj 21 330 onecue; +#X obj 21 346 onecue; +#X obj 21 362 onecue; +#X obj 21 378 onecue; +#X obj 21 394 onecue; +#X obj 21 410 onecue; +#X obj 21 426 onecue; +#X obj 21 442 onecue; +#X obj 21 458 onecue; +#X obj 21 474 onecue; +#X obj 21 490 onecue; +#X obj 21 506 onecue; +#X obj 21 522 onecue; +#X obj 21 538 onecue; +#X obj 21 554 onecue; +#X obj 21 570 onecue; +#X obj 21 586 onecue; +#X obj 21 602 onecue; +#X obj 21 618 onecue; +#X obj 21 634 onecue; +#X obj 21 650 onecue; +#X obj 21 666 onecue; +#X obj 21 682 onecue; +#X obj 21 698 onecue; +#X obj 21 714 onecue; +#X obj 21 730 onecue; +#X obj 21 746 onecue; +#X obj 21 762 onecue; +#X connect 1 0 27 0; +#X connect 3 0 6 0; +#X connect 6 0 4 0; +#X connect 7 0 18 0; +#X connect 9 0 12 0; +#X connect 12 0 10 0; +#X connect 14 0 15 0; +#X connect 18 0 8 0; +#X connect 24 0 25 0; +#X connect 25 0 32 0; +#X connect 26 0 24 0; +#X connect 27 0 29 0; +#X connect 28 0 33 0; +#X connect 29 0 30 0; +#X connect 30 0 26 0; +#X connect 31 0 38 0; +#X connect 32 0 28 0; +#X connect 33 0 34 0; +#X connect 34 0 35 0; +#X connect 35 0 36 0; +#X connect 36 0 37 0; +#X connect 37 0 31 0; +#X connect 38 0 39 0; +#X connect 39 0 40 0; +#X connect 40 0 41 0; +#X connect 41 0 42 0; +#X connect 42 0 43 0; +#X connect 43 0 44 0; +#X connect 44 0 45 0; +#X connect 45 0 46 0; +#X connect 46 0 47 0; +#X connect 47 0 48 0; +#X connect 48 0 49 0; +#X connect 49 0 50 0; +#X connect 50 0 51 0; +#X connect 51 0 52 0; +#X connect 52 0 53 0; +#X connect 53 0 54 0; +#X connect 54 0 55 0; +#X connect 55 0 56 0; +#X connect 56 0 57 0; +#X connect 57 0 58 0; +#X connect 58 0 59 0; +#X connect 59 0 60 0; +#X connect 60 0 61 0; +#X connect 61 0 62 0; +#X connect 62 0 63 0; +#X connect 63 0 64 0; +#X connect 64 0 65 0; +#X connect 65 0 66 0; +#X connect 66 0 67 0; +#X connect 67 0 68 0; +#X connect 68 0 69 0; +#X connect 69 0 70 0; +#X connect 70 0 0 0; diff --git a/ctl/ctl_abs/_delay.pd b/ctl/ctl_abs/_delay.pd new file mode 100644 index 0000000..2f62117 --- /dev/null +++ b/ctl/ctl_abs/_delay.pd @@ -0,0 +1,39 @@ +#N canvas 1310 521 453 477 10; +#X obj 58 42 inlet; +#X obj 73 91 r global_speed; +#X msg 114 119 stop; +#X obj 58 387 outlet; +#X obj 219 33 inlet; +#X obj 58 68 route float stop bang; +#X obj 234 95 r global_speed; +#X obj 219 122 / 1; +#X obj 58 115 / 1; +#X obj 58 172 t a; +#X msg 267 238 1; +#X msg 232 260 0; +#X obj 217 289 f; +#X obj 217 197 r jump_end_line; +#X obj 217 310 sel 1; +#X msg 217 339 stop; +#X obj 58 206 delay \$1; +#X connect 0 0 5 0; +#X connect 1 0 8 1; +#X connect 2 0 16 0; +#X connect 4 0 7 0; +#X connect 5 0 8 0; +#X connect 5 1 2 0; +#X connect 5 2 9 0; +#X connect 6 0 7 1; +#X connect 7 0 16 1; +#X connect 8 0 9 0; +#X connect 9 0 10 0; +#X connect 9 0 16 0; +#X connect 10 0 12 1; +#X connect 11 0 12 1; +#X connect 12 0 14 0; +#X connect 13 0 12 0; +#X connect 14 0 15 0; +#X connect 14 0 3 0; +#X connect 15 0 16 0; +#X connect 16 0 3 0; +#X connect 16 0 11 0; diff --git a/ctl/ctl_abs/_line.pd b/ctl/ctl_abs/_line.pd new file mode 100644 index 0000000..1438870 --- /dev/null +++ b/ctl/ctl_abs/_line.pd @@ -0,0 +1,35 @@ +#N canvas 529 559 540 455 10; +#X obj 51 26 inlet; +#X obj 51 53 route float; +#X obj 51 338 line \$1 \$2; +#X obj 114 110 unpack f f; +#X obj 114 159 pack f f; +#X obj 207 207 f; +#X obj 207 180 r jump_end_line; +#X obj 51 377 outlet; +#X obj 186 110 r global_speed; +#X obj 171 134 / 1; +#X obj 51 79 t f b; +#X msg 240 207 0; +#X obj 114 76 t a b; +#X msg 272 208 1; +#X obj 207 230 spigot; +#X connect 0 0 1 0; +#X connect 1 0 10 0; +#X connect 1 1 12 0; +#X connect 2 0 7 0; +#X connect 3 0 4 0; +#X connect 3 0 5 1; +#X connect 3 1 9 0; +#X connect 4 0 2 0; +#X connect 5 0 14 0; +#X connect 6 0 5 0; +#X connect 8 0 9 1; +#X connect 9 0 4 1; +#X connect 10 0 2 0; +#X connect 10 1 11 0; +#X connect 11 0 14 1; +#X connect 12 0 3 0; +#X connect 12 1 13 0; +#X connect 13 0 14 1; +#X connect 14 0 2 0; diff --git a/ctl/ctl_abs/onecue.pd b/ctl/ctl_abs/onecue.pd new file mode 100644 index 0000000..fea342f --- /dev/null +++ b/ctl/ctl_abs/onecue.pd @@ -0,0 +1,320 @@ +#N canvas 838 430 887 598 10; +#X obj 57 19 inlet; +#X obj 57 90 + 1; +#X obj 57 136 outlet; +#X obj 76 66 s \$0_cue_value; +#X obj 343 85 r \$0_cue_value; +#X obj 183 130 f; +#X obj 183 107 r \$0_cue_value; +#X obj 316 109 route; +#X obj 253 139 symbol; +#X obj 246 230 t b; +#X msg 184 149 set \$1; +#X obj 57 114 pipe 0; +#X obj 316 64 r cue_name; +#X msg 216 39 symbol _; +#X obj 57 43 t f f b; +#X msg 225 176 set \$1; +#X obj 487 141 r \$0_cue_value; +#X obj 460 165 route; +#X obj 460 120 r cue_autogo; +#X msg 460 207 set \$1; +#X obj 348 219 t b; +#X obj 460 186 f; +#X obj 349 201 cnv 10 30 12 empty \$0-canvas_autogo empty 20 12 0 14 +-258049 -262144 0; +#X floatatom 348 200 5 0 0 0 - - -, f 5; +#X obj 488 384 s \$0-canvas_autogo; +#X msg 488 362 color \$1; +#X floatatom 488 327 9 0 0 0 - - -, f 9; +#N canvas 9 222 606 448 RGB_____________ 0; +#X obj 262 53 inlet; +#X obj 339 55 inlet; +#X obj 405 56 inlet; +#X text 267 28 red; +#X text 337 30 green; +#X text 409 30 blue; +#X obj 405 102 t b f; +#X obj 339 160 +; +#X obj 339 185 t b f; +#X obj 339 216 +; +#X obj 82 332 outlet; +#X obj 262 79 * -65536; +#X obj 339 80 * -256; +#X obj 405 80 * -1; +#X obj 339 247 - 1; +#X obj 67 63 inlet; +#X obj 67 87 unpack f f f; +#X obj 67 111 min 255; +#X obj 67 132 max 0; +#X obj 115 111 min 255; +#X obj 115 132 max 0; +#X obj 163 111 min 255; +#X obj 163 132 max 0; +#X obj 67 172 * -65536; +#X obj 144 173 * -256; +#X obj 210 173 * -1; +#X obj 145 203 +, f 4; +#X obj 68 239 +; +#X obj 70 268 - 1; +#X connect 0 0 11 0; +#X connect 1 0 12 0; +#X connect 2 0 13 0; +#X connect 6 0 7 0; +#X connect 6 1 7 1; +#X connect 7 0 8 0; +#X connect 8 0 9 0; +#X connect 8 1 9 1; +#X connect 9 0 14 0; +#X connect 11 0 9 0; +#X connect 12 0 7 0; +#X connect 13 0 6 0; +#X connect 14 0 10 0; +#X connect 15 0 16 0; +#X connect 16 0 17 0; +#X connect 16 1 19 0; +#X connect 16 2 21 0; +#X connect 17 0 18 0; +#X connect 18 0 23 0; +#X connect 19 0 20 0; +#X connect 20 0 24 0; +#X connect 21 0 22 0; +#X connect 22 0 25 0; +#X connect 23 0 27 0; +#X connect 24 0 26 0; +#X connect 25 0 26 1; +#X connect 26 0 27 1; +#X connect 27 0 28 0; +#X connect 28 0 10 0; +#X restore 488 306 pd RGB_____________; +#X msg 488 280 255 0 0; +#X obj 488 232 >= 0; +#X obj 488 255 sel 1 0; +#X msg 542 279 255 255 255; +#X obj 215 260 t b; +#X obj 201 201 bng 12 250 50 0 empty \$0-canvas_go empty 17 7 0 10 +-262144 -1 -1; +#X obj 212 201 bng 12 250 50 0 empty empty empty 17 7 0 10 -262144 +-1 -1; +#X obj 200 200 cnv 10 24 14 empty \$0-canvas_sel empty 20 12 0 14 -208051 +-262144 0; +#X floatatom 200 200 3 0 0 0 - - -, f 3; +#X obj 201 219 t b; +#X obj 271 384 r \$0_cue_value; +#X obj 244 408 route; +#X obj 244 363 r cue_color; +#X obj 244 470 s \$0-canvas_color; +#X obj 226 201 cnv 10 121 12 empty \$0-canvas_color empty 20 12 0 14 +-262144 -262144 0; +#X symbolatom 225 200 20 0 0 0 - - -, f 20; +#X msg 244 449 color \$1; +#X obj 244 429 change; +#X obj 488 342 change; +#X obj 215 304 f; +#X obj 230 282 r \$0_cue_value; +#X obj 215 325 s playfromstart; +#X obj 34 281 r current_cue; +#X obj 34 328 ==; +#X obj 49 302 r \$0_cue_value; +#X obj 34 349 change -1; +#X obj 34 370 sel 0 1; +#X msg 34 392 200 200 200; +#X msg 34 464 color \$1; +#N canvas 9 222 606 448 RGB_____________ 0; +#X obj 262 53 inlet; +#X obj 339 55 inlet; +#X obj 405 56 inlet; +#X text 267 28 red; +#X text 337 30 green; +#X text 409 30 blue; +#X obj 405 102 t b f; +#X obj 339 160 +; +#X obj 339 185 t b f; +#X obj 339 216 +; +#X obj 82 332 outlet; +#X obj 262 79 * -65536; +#X obj 339 80 * -256; +#X obj 405 80 * -1; +#X obj 339 247 - 1; +#X obj 67 63 inlet; +#X obj 67 87 unpack f f f; +#X obj 67 111 min 255; +#X obj 67 132 max 0; +#X obj 115 111 min 255; +#X obj 115 132 max 0; +#X obj 163 111 min 255; +#X obj 163 132 max 0; +#X obj 67 172 * -65536; +#X obj 144 173 * -256; +#X obj 210 173 * -1; +#X obj 145 203 +, f 4; +#X obj 68 239 +; +#X obj 70 268 - 1; +#X connect 0 0 11 0; +#X connect 1 0 12 0; +#X connect 2 0 13 0; +#X connect 6 0 7 0; +#X connect 6 1 7 1; +#X connect 7 0 8 0; +#X connect 8 0 9 0; +#X connect 8 1 9 1; +#X connect 9 0 14 0; +#X connect 11 0 9 0; +#X connect 12 0 7 0; +#X connect 13 0 6 0; +#X connect 14 0 10 0; +#X connect 15 0 16 0; +#X connect 16 0 17 0; +#X connect 16 1 19 0; +#X connect 16 2 21 0; +#X connect 17 0 18 0; +#X connect 18 0 23 0; +#X connect 19 0 20 0; +#X connect 20 0 24 0; +#X connect 21 0 22 0; +#X connect 22 0 25 0; +#X connect 23 0 27 0; +#X connect 24 0 26 0; +#X connect 25 0 26 1; +#X connect 26 0 27 1; +#X connect 27 0 28 0; +#X connect 28 0 10 0; +#X restore 34 442 pd RGB_____________; +#X obj 34 485 s \$0-canvas_sel; +#X msg 53 415 0 0 255; +#N canvas 9 222 606 448 RGB_____________ 0; +#X obj 262 53 inlet; +#X obj 339 55 inlet; +#X obj 405 56 inlet; +#X text 267 28 red; +#X text 337 30 green; +#X text 409 30 blue; +#X obj 405 102 t b f; +#X obj 339 160 +; +#X obj 339 185 t b f; +#X obj 339 216 +; +#X obj 82 332 outlet; +#X obj 262 79 * -65536; +#X obj 339 80 * -256; +#X obj 405 80 * -1; +#X obj 339 247 - 1; +#X obj 67 63 inlet; +#X obj 67 87 unpack f f f; +#X obj 67 111 min 255; +#X obj 67 132 max 0; +#X obj 115 111 min 255; +#X obj 115 132 max 0; +#X obj 163 111 min 255; +#X obj 163 132 max 0; +#X obj 67 172 * -65536; +#X obj 144 173 * -256; +#X obj 210 173 * -1; +#X obj 145 203 +, f 4; +#X obj 68 239 +; +#X obj 70 268 - 1; +#X connect 0 0 11 0; +#X connect 1 0 12 0; +#X connect 2 0 13 0; +#X connect 6 0 7 0; +#X connect 6 1 7 1; +#X connect 7 0 8 0; +#X connect 8 0 9 0; +#X connect 8 1 9 1; +#X connect 9 0 14 0; +#X connect 11 0 9 0; +#X connect 12 0 7 0; +#X connect 13 0 6 0; +#X connect 14 0 10 0; +#X connect 15 0 16 0; +#X connect 16 0 17 0; +#X connect 16 1 19 0; +#X connect 16 2 21 0; +#X connect 17 0 18 0; +#X connect 18 0 23 0; +#X connect 19 0 20 0; +#X connect 20 0 24 0; +#X connect 21 0 22 0; +#X connect 22 0 25 0; +#X connect 23 0 27 0; +#X connect 24 0 26 0; +#X connect 25 0 26 1; +#X connect 26 0 27 1; +#X connect 27 0 28 0; +#X connect 28 0 10 0; +#X restore 310 428 pd RGB_____________; +#X msg 310 407 255 255 255; +#X msg 73 323 0; +#X obj 118 399 symbol; +#X obj 118 422 s current_cue_name; +#X obj 134 369 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 +-1 -1; +#X msg 451 75 -1; +#X connect 0 0 14 0; +#X connect 1 0 11 0; +#X connect 4 0 7 1; +#X connect 5 0 10 0; +#X connect 6 0 5 0; +#X connect 7 0 8 0; +#X connect 8 0 15 0; +#X connect 8 0 63 1; +#X connect 9 0 8 0; +#X connect 10 0 36 0; +#X connect 11 0 2 0; +#X connect 12 0 7 0; +#X connect 13 0 8 0; +#X connect 14 0 1 0; +#X connect 14 1 3 0; +#X connect 14 2 13 0; +#X connect 14 2 31 0; +#X connect 14 2 61 0; +#X connect 14 2 62 0; +#X connect 14 2 66 0; +#X connect 15 0 43 0; +#X connect 16 0 17 1; +#X connect 17 0 21 0; +#X connect 18 0 17 0; +#X connect 19 0 23 0; +#X connect 20 0 21 0; +#X connect 21 0 19 0; +#X connect 21 0 29 0; +#X connect 23 0 20 0; +#X connect 25 0 24 0; +#X connect 26 0 46 0; +#X connect 27 0 26 0; +#X connect 28 0 27 0; +#X connect 29 0 30 0; +#X connect 30 0 28 0; +#X connect 30 1 31 0; +#X connect 31 0 27 0; +#X connect 32 0 47 0; +#X connect 33 0 32 0; +#X connect 34 0 32 0; +#X connect 36 0 37 0; +#X connect 37 0 5 0; +#X connect 38 0 39 1; +#X connect 39 0 45 0; +#X connect 40 0 39 0; +#X connect 43 0 9 0; +#X connect 44 0 41 0; +#X connect 45 0 44 0; +#X connect 46 0 25 0; +#X connect 47 0 49 0; +#X connect 48 0 47 1; +#X connect 50 0 51 0; +#X connect 51 0 53 0; +#X connect 52 0 51 1; +#X connect 53 0 54 0; +#X connect 54 0 55 0; +#X connect 54 1 59 0; +#X connect 54 1 63 0; +#X connect 55 0 57 0; +#X connect 56 0 58 0; +#X connect 57 0 56 0; +#X connect 59 0 57 0; +#X connect 60 0 45 0; +#X connect 61 0 60 0; +#X connect 62 0 53 0; +#X connect 63 0 64 0; +#X connect 65 0 63 0; +#X connect 66 0 21 0; +#X coords 0 -1 1 1 180 14 2 200 200; diff --git a/ctl/cue_list.txt b/ctl/cue_list.txt new file mode 100644 index 0000000..0107c57 --- /dev/null +++ b/ctl/cue_list.txt @@ -0,0 +1,56 @@ +cue rien + +cue init +tst_value 1 +tst_line 0 +init_time + +cue cue2 +tst_value 2 +tst_line 2 1000 +comment1 toto tata titi +comment2 foo bar +comment3 glop +comment4 yipppa +light black +sound stop +video init + +cue entree_public 1000 +tst_line 3 1000 +light begin +tst_value 3 + +cue start 5000 +tst_line 4 1000 +sound play toto.wav 0.5 1000 +tst_value 4 + +cue start_light -1 255 255 0 +light start +tst_value 5 +tst_line 5 1000 + +cue act1 +read cuelist/act1.txt + +cue act2 +read cuelist/act2.txt + +# hash for comment + +# cue cue_name +# cue cue_name autogo_time +# cue cue_name autogo_time colorR colorG colorB + +# read cue_list.txt + +# speed relative speed of the patch + +# comment1 text +# comment2 text +# comment3 textr +# comment4 text + +# whatever foo bar + diff --git a/ctl/cuelist/act1.txt b/ctl/cuelist/act1.txt new file mode 100644 index 0000000..314dc56 --- /dev/null +++ b/ctl/cuelist/act1.txt @@ -0,0 +1,4 @@ +cue debut_act1 +toto 12 +cue suite_act1 +cue act1_3 diff --git a/ctl/cuelist/act2.txt b/ctl/cuelist/act2.txt new file mode 100644 index 0000000..3e7f65a --- /dev/null +++ b/ctl/cuelist/act2.txt @@ -0,0 +1,4 @@ +cue debut +rien blop +cue 2eme +cue 3eme -- cgit v1.2.1