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 3, 2024
1 parent 64da67e commit 5bef67e
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 14 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
16 changes: 12 additions & 4 deletions documentation/extra_files/browser-cyclone.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,23 @@ proc category_cyclone_menu::load_menutree {} {
{max\ math
{accum acos acosh asin asinh atanh atodb cartopol clip cosh dbtoa maximum mean minimum poltocar pong rdiv rminus round scale sinh tanh}}
{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\ 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 anal bangbang bondo bucket buddy capture coll counter cycle decide decode drunk 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}}
{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~}}
{acos~ acosh~ asin~ asinh~ atan~ atan2~ atanh~ atodb~ average~ avg~ bitand~ bitnot~ bitor~ bitsafe~ bitshift~ bitxor~ cartopol~ cosh~ cosx~ dbtoa~ delta~ equals~ greaterthan~ greaterthaneq~ lessthan~ lessthaneq~ modulo~ mstosamps~ notequals~ plusequals~ poltocar~ pong~ rdiv~ rminus~ round~ sampstoms~ scale~ sinh~ sinx~ tanh~ tanx~ 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~ pink~ rand~ train~ trapezoid~ triangle~ wave~}}
{msp\ play\ buffer
{buffer~ index~ peek~ play~ poke~ record~}}
{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~}}
{capture~ change~ click~ count~ curve~ edge~ frameaccum~ framedelta~ gate~ kink~ line~ lookup~ matrix~ minmax~ peakamp~ phasewrap~ sah~ scope~ selector~ snapshot~ spike~ thresh~ vectral~ zerox~}}
{deprecated
{append clip~ comment forward maximum~ minimum~ number~ pow~ xbendin xbendin2 xbendout xbendout2}}
}
}
return $menutree
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 5bef67e

Please sign in to comment.