Skip to content

Commit

Permalink
improve object browser
Browse files Browse the repository at this point in the history
  • Loading branch information
porres committed Jul 30, 2024
1 parent 64da67e commit 381515d
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 19 deletions.
2 changes: 1 addition & 1 deletion cyclone_objects/binaries/control/comment.c
Original file line number Diff line number Diff line change
Expand Up @@ -1525,7 +1525,7 @@ CYCLONE_OBJ_API void comment_setup(void){
class_addmethod(handle_class, (t_method)handle__click_callback, gensym("_click"), A_FLOAT, 0);
class_addmethod(handle_class, (t_method)handle__motion_callback, gensym("_motion"), A_FLOAT, A_FLOAT, 0);

post("warning: [cyclone/comment~] has been deprecated");
post("warning: [cyclone/comment] has been deprecated");

sys_gui("proc comment_bbox {target cvname tag} {\n\
pdsend \"$target _bbox $target [$cvname bbox $tag]\"}\n"
Expand Down
2 changes: 1 addition & 1 deletion cyclone_objects/binaries/cyclone_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* For information on usage and redistribution, and for a DISCLAIMER OF ALL
* WARRANTIES, see the file, "LICENSE.txt," in this distribution. */

/* Porres 2016-2018 for versions 0.3 onward:
/* Porres 2016 for versions 0.3 onward:
This is the cyclone library containing 12 non alphanumeric objects.
Originally, the externals in cyclone used to come in a library called
"cyclone", which included these 12 objects plus the "hammer" and "sickle"
Expand Down
4 changes: 4 additions & 0 deletions documentation/extra_files/CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
| Under the maintenance of Porres, Kwan and Barber:
---------------------------------------------------

--------------------------------------------------
cyclone 0.9-1 (needs at least Pd Vanilla 0.55-0):
--------------------------------------------------
- Improved the object browser plugin

--------------------------------------------------
cyclone 0.9-0 (needs at least Pd Vanilla 0.55-0):
Expand Down
30 changes: 25 additions & 5 deletions documentation/extra_files/browser-cyclone.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,38 @@ proc category_cyclone_menu::load_menutree {} {
{cyclone
{lib
{cyclone}}
{max\ trig
{acos acosh asin asinh atanh cosh sinh tanh}}
{max\ math
{accum acos acosh asin asinh atanh atodb cartopol clip cosh dbtoa maximum mean minimum poltocar pong rdiv rminus round scale sinh tanh}}
{accum atodb cartopol clip counter dbtoa maximum mean minimum poltocar pong rdiv rminus round scale}}
{max\ midi
{borax flush midiflush midiformat midiparse seq sustain xbendin xbendin2 xbendout xbendout2 xnotein xnoteout}}
{borax flush midiflush midiformat midiparse seq sustain xnotein xnoteout}}
{max\ random
{decide drunk prob urn}}
{max\ data\ storage
{coll funbuff histo mtr table}}
{max\ data\ management
{anal bangbang bondo bucket buddy capture cycle decode fromsymbol funnel gate grab iter join listfunnel loadmess match next offer onebang pak past peak prepend pv speedlim split spray substitute switch thresh togedge tosymbol trough unjoin uzi zl}}
{max\ others
{active anal append bangbang bondo bucket buddy capture coll comment counter cycle decide decode drunk forward fromsymbol funbuff funnel gate grab histo iter join linedrive listfunnel loadmess match mousefilter mousestate mtr next offer onebang pak past peak prepend prob pv speedlim spell split spray sprintf substitute switch table thresh togedge tosymbol trough universal unjoin urn uzi zl}}
{active linedrive mousefilter mousestate spell sprintf universal}}
{msp\ trig
{acos~ acosh~ asin~ asinh~ atan~ atan2~ atanh~ cosh~ cosx~ sinh~ sinx~ tanh~ tanx~}}
{msp\ math
{acos~ acosh~ asin~ asinh~ atan~ atan2~ atanh~ atodb~ average~ avg~ bitand~ bitnot~ bitor~ bitsafe~ bitshift~ bitxor~ cartopol~ clip~ cosh~ cosx~ dbtoa~ delta~ equals~ greaterthan~ greaterthaneq~ lessthan~ lessthaneq~ maximum~ minimum~ modulo~ mstosamps~ notequals~ plusequals~ poltocar~ pong~ pow~ rdiv~ rminus~ round~ sampstoms~ scale~ sinh~ sinx~ tanh~ tanx~ trunc~}}
{atodb~ average~ avg~ bitand~ bitnot~ bitor~ bitsafe~ bitshift~ bitxor~ cartopol~ dbtoa~ delta~ equals~ greaterthan~ greaterthaneq~ lessthan~ lessthaneq~ modulo~ mstosamps~ notequals~ plusequals~ poltocar~ pong~ rdiv~ rminus~ round~ sampstoms~ scale~trunc~}}
{msp\ fx
{degrade~ delay~ downsamp~ overdrive~}}
{msp\ filters
{allpass~ buffir~ comb~ cross~ deltaclip~ lores~ onepole~ phaseshift~ rampsmooth~ reson~ slide~ svf~ teeth~}}
{msp\ synthesis
{cycle~ curve~ kink~ line~ lookup~ pink~ rand~ train~ trapezoid~ triangle~ wave~}}
{msp\ play\ buffer
{buffer~ index~ peek~ play~ poke~ record~}}
{msp\ analysis
{capture~ change~ edge~ minmax~ peakamp~ sah~ snapshot~ spike~ thresh~ zerox~}}
{msp\ others
{capture~ change~ click~ count~ curve~ cycle~ degrade~ delay~ downsamp~ edge~ frameaccum~ framedelta~ gate~ index~ kink~ line~ lookup~ matrix~ minmax~ number~ overdrive~ peakamp~ peek~ phasewrap~ pink~ play~ poke~ rand~ record~ sah~ scope~ selector~ snapshot~ spike~ thresh~ train~ trapezoid~ triangle~ vectral~ wave~ zerox~}}
{click~ count~ frameaccum~ framedelta~ gate~ matrix~ phasewrap~ scope~ selector~ vectral~}}
{deprecated
{append clip~ comment forward maximum~ minimum~ number~ pow~ xbendin xbendin2 xbendout xbendout2}}
}
}
return $menutree
Expand Down
8 changes: 4 additions & 4 deletions documentation/help_files/buffer~-help.pd
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,11 @@
#X text 139 6 - fills all arrays with zeros, f 59;
#X text 139 219 - opens buffer supbatch window, f 59;
#X text 139 235 - closes buffer supbatch window, f 59;
#X text 139 304 - changes the buffer name, f 59;
#X text 139 303 - changes the buffer name, f 59;
#X text 40 135 write <symbol>;
#X text 46 320 name <symbol>;
#X text 52 303 set <symbol>;
#X text 139 321 - same as 'name', f 59;
#X text 46 303 name <symbol>;
#X text 52 319 set <symbol>;
#X text 139 318 - same as 'name', f 59;
#X text 34 353 setsize <float>;
#X text 34 370 sizeinsamps <f>;
#X text 70 118 readagain;
Expand Down
16 changes: 8 additions & 8 deletions documentation/help_files/cyclone-help.pd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#N canvas 450 25 563 721 10;
#N canvas 450 38 563 721 10;
#X declare -lib cyclone -path cyclone;
#X msg 157 437 about;
#N canvas 604 130 484 477 operators 0;
Expand Down Expand Up @@ -60,7 +60,6 @@
#X text 207 562 - outputs version information as a list;
#X msg 202 437 version;
#X text 61 363 The binary is also loaded as the cyclone object. This also loads the library \, but you shouldn't load it this way! The object only accepts the "about" message \, which prints basic information (objects \, version \, release date) on the terminal and the "version" message that outputs the cyclone version as a list of major \, minor \, bugfix., f 71;
#X obj 202 465 cyclone/cyclone, f 18;
#X text 63 201 The cyclone library also automatically loads cyclone's path to Pd so you can load the separate binaries (but this doesn't guarantee search priority). Objects from the cyclone library are mostly a set of separate binaries \, but also contains a few abstractions. You can load the cyclone library via "Startup" and "Path" (to guarantee search priority). Alternatively \, you can use [declare] as follows:, f 71;
#X obj 83 286 declare -lib cyclone -path cyclone;
#X obj 307 338 bng 15 250 50 0 \$0-install dummy empty 17 7 0 10 #dcdcdc #000000 #000000;
Expand Down Expand Up @@ -108,9 +107,10 @@
#X connect 5 0 3 0;
#X connect 7 0 4 0;
#X restore 304 170 pd open;
#X connect 0 0 16 0;
#X connect 14 0 16 0;
#X connect 16 0 22 0;
#X connect 16 1 23 0;
#X connect 16 2 24 0;
#X connect 40 0 41 0;
#X obj 202 465 cyclone, f 18;
#X connect 0 0 41 0;
#X connect 14 0 41 0;
#X connect 39 0 40 0;
#X connect 41 0 21 0;
#X connect 41 1 22 0;
#X connect 41 2 23 0;

0 comments on commit 381515d

Please sign in to comment.