aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/0x260x260x7e.c2
-rw-r--r--src/0x2e.c2
-rw-r--r--src/0x3c0x7e.c2
-rw-r--r--src/0x3d0x3d0x7e.c2
-rw-r--r--src/0x3e0x7e.c2
-rw-r--r--src/0x7c0x7c0x7e.c2
-rw-r--r--src/absgn~.c2
-rw-r--r--src/abs~.c2
-rw-r--r--src/blockmirror~.c2
-rw-r--r--src/blockshuffle~.c2
-rw-r--r--src/blockswap~.c2
-rw-r--r--src/date.c2
-rw-r--r--src/demultiplex~.c2
-rw-r--r--src/dfreq~.c2
-rw-r--r--src/dirac~.c2
-rw-r--r--src/fifop.c2
-rw-r--r--src/glue.c2
-rw-r--r--src/index.c2
-rw-r--r--src/lifop.c2
-rw-r--r--src/limiter~.c2
-rw-r--r--src/list2lists.c2
-rw-r--r--src/lister.c2
-rw-r--r--src/listfind.c2
-rw-r--r--src/lpt.c2
-rw-r--r--src/makesymbol.c2
-rw-r--r--src/matchbox.c2
-rw-r--r--src/msgfile.c2
-rw-r--r--src/multiline~.c2
-rw-r--r--src/multiplex~.c2
-rw-r--r--src/noish~.c2
-rw-r--r--src/noisi~.c2
-rw-r--r--src/operating_system.c2
-rw-r--r--src/pdf~.c2
-rw-r--r--src/prime.c2
-rw-r--r--src/quantize~.c2
-rw-r--r--src/regex.c2
-rw-r--r--src/sfplay.c2
-rw-r--r--src/sfrecord.c2
-rw-r--r--src/sgn~.c2
-rw-r--r--src/sigzero~.c2
-rw-r--r--src/sort.c2
-rw-r--r--src/step~.c2
-rw-r--r--src/strcmp.c2
-rw-r--r--src/swap~.c2
-rw-r--r--src/symbol2list.c2
-rw-r--r--src/tabdump.c2
-rw-r--r--src/tabminmax.c2
-rw-r--r--src/tabset.c2
-rw-r--r--src/time.c2
-rw-r--r--src/urn.c2
-rw-r--r--src/wrap.c2
-rw-r--r--src/zexy.c32
-rw-r--r--src/zexy.h6
-rw-r--r--src/z~.c2
54 files changed, 73 insertions, 69 deletions
diff --git a/src/0x260x260x7e.c b/src/0x260x260x7e.c
index fd20e30..e11e0de 100644
--- a/src/0x260x260x7e.c
+++ b/src/0x260x260x7e.c
@@ -269,7 +269,7 @@ static void scalarandand_tilde_dsp(t_scalarandand_tilde *x, t_signal **sp)
static void andand_tilde_help(t_object*x)
{
- post("\n%c &&~\t\t:: logical AND operation on 2 signals", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" &&~\t\t:: logical AND operation on 2 signals");
}
void setup_0x260x260x7e(void)
diff --git a/src/0x2e.c b/src/0x2e.c
index dea9c1a..e15f720 100644
--- a/src/0x2e.c
+++ b/src/0x2e.c
@@ -149,7 +149,7 @@ static void *scalmul_new(t_symbol *s, int argc, t_atom *argv)
static void scalmul_help(t_scalmul*x)
{
- post("\n%c .\t\t:: scalar multiplication (in-product)", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" .\t\t:: scalar multiplication (in-product)");
}
void setup_0x2e(void)
diff --git a/src/0x3c0x7e.c b/src/0x3c0x7e.c
index 6e1e843..b8012e1 100644
--- a/src/0x3c0x7e.c
+++ b/src/0x3c0x7e.c
@@ -227,7 +227,7 @@ static void scalarlt_tilde_dsp(t_scalarlt_tilde *x, t_signal **sp)
}
static void lt_tilde_help(t_object*x)
{
- post("\n%c <~\t\t:: compare 2 signals", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" <~\t\t:: compare 2 signals");
}
void setup_0x3c0x7e(void)
diff --git a/src/0x3d0x3d0x7e.c b/src/0x3d0x3d0x7e.c
index 593fa56..2bf3dbf 100644
--- a/src/0x3d0x3d0x7e.c
+++ b/src/0x3d0x3d0x7e.c
@@ -228,7 +228,7 @@ static void scalareq_tilde_dsp(t_scalareq_tilde *x, t_signal **sp)
static void eq_tilde_help(t_object*x)
{
- post("\n%c &&~\t\t:: test 2 signals for equality", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" &&~\t\t:: test 2 signals for equality");
}
void setup_0x3d0x3d0x7e(void)
{
diff --git a/src/0x3e0x7e.c b/src/0x3e0x7e.c
index 2757d9e..82c681a 100644
--- a/src/0x3e0x7e.c
+++ b/src/0x3e0x7e.c
@@ -231,7 +231,7 @@ static void scalargt_tilde_dsp(t_scalargt_tilde *x, t_signal **sp)
static void gt_tilde_help(t_object*x)
{
- post("\n%c >~\t\t:: compare 2 signals", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" >~\t\t:: compare 2 signals");
}
void setup_0x3e0x7e(void)
diff --git a/src/0x7c0x7c0x7e.c b/src/0x7c0x7c0x7e.c
index 6aca363..3588c0f 100644
--- a/src/0x7c0x7c0x7e.c
+++ b/src/0x7c0x7c0x7e.c
@@ -245,7 +245,7 @@ static void scalaroror_tilde_dsp(t_scalaroror_tilde *x, t_signal **sp)
static void oror_tilde_help(t_object*x)
{
- post("\n%c &&~\t\t:: logical OR operation on 2 signals", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" &&~\t\t:: logical OR operation on 2 signals");
}
void setup_0x7c0x7c0x7e(void)
diff --git a/src/absgn~.c b/src/absgn~.c
index 99ff19c..ccd9f75 100644
--- a/src/absgn~.c
+++ b/src/absgn~.c
@@ -115,7 +115,7 @@ static void sigABSGN_dsp(t_absgn *x, t_signal **sp)
static void sigABSGN_helper(void)
{
- post("\n%c absgn~ \t\t:: absolute value and sign of a signal", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" absgn~ \t\t:: absolute value and sign of a signal");
post(" \t\t copyright (c) Tim Blechmann 2006");
}
diff --git a/src/abs~.c b/src/abs~.c
index b044153..0d509f9 100644
--- a/src/abs~.c
+++ b/src/abs~.c
@@ -135,7 +135,7 @@ static void sigABS_dsp(t_abs *x, t_signal **sp)
static void sigABS_helper(void)
{
- post("\n%c abs~ \t\t:: absolute value of a signal", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" abs~ \t\t:: absolute value of a signal");
}
static void *sigABS_new(void)
diff --git a/src/blockmirror~.c b/src/blockmirror~.c
index d58ab0b..c796d7b 100644
--- a/src/blockmirror~.c
+++ b/src/blockmirror~.c
@@ -74,7 +74,7 @@ static void blockmirror_dsp(t_blockmirror *x, t_signal **sp)
static void blockmirror_helper(t_blockmirror*x)
{
- post("\n%c blockmirror~-object for reverting a signal", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" blockmirror~-object for reverting a signal");
post("'help' : view this\n"
"signal~");
post("outlet : signal~");
diff --git a/src/blockshuffle~.c b/src/blockshuffle~.c
index bf31b42..db2a0d6 100644
--- a/src/blockshuffle~.c
+++ b/src/blockshuffle~.c
@@ -108,7 +108,7 @@ static void blockshuffle_dsp(t_blockshuffle *x, t_signal **sp)
static void blockshuffle_helper(void)
{
- post("\n%c blockshuffle~-object for shuffling the samples within a signal-block", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" blockshuffle~-object for shuffling the samples within a signal-block");
post("'help' : view this\n"
"signal~");
post("outlet : signal~");
diff --git a/src/blockswap~.c b/src/blockswap~.c
index 5e3a7ad..deb9ce2 100644
--- a/src/blockswap~.c
+++ b/src/blockswap~.c
@@ -72,7 +72,7 @@ static void blockswap_dsp(t_blockswap *x, t_signal **sp)
static void blockswap_helper(t_blockswap *x)
{
- post("\n%c blockswap~-object for blockwise-swapping of a signal ", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" blockswap~-object for blockwise-swapping of a signal ");
post("'help' : view this\n"
"signal~");
post("outlet : signal~");
diff --git a/src/date.c b/src/date.c
index ad98c20..a45cee3 100644
--- a/src/date.c
+++ b/src/date.c
@@ -123,7 +123,7 @@ static void date_bang(t_date *x)
static void help_date(t_date *x)
{
ZEXY_USEVAR(x);
- post("\n%c date\t\t:: get the current system date", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" date\t\t:: get the current system date");
post("\noutputs are\t: year / month / day / day of week /day of year / daylightsaving (1/0)");
post("\ncreation\t::'date [GMT]': show local date or GMT");
}
diff --git a/src/demultiplex~.c b/src/demultiplex~.c
index f0594e4..0b2e76c 100644
--- a/src/demultiplex~.c
+++ b/src/demultiplex~.c
@@ -71,7 +71,7 @@ static void demux_dsp(t_demux *x, t_signal **sp)
static void demux_helper(void)
{
- post("\n%c demux~\t:: demultiplex a signal to one of various outlets", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" demux~\t:: demultiplex a signal to one of various outlets");
post("<#out>\t : the outlet-number (counting from 0) to witch the inlet is routed"
"'help'\t : view this");
post("creation : \"demux~ [arg1 [arg2...]]\"\t: the number of arguments equals the number of outlets\n");
diff --git a/src/dfreq~.c b/src/dfreq~.c
index 8925818..3e87567 100644
--- a/src/dfreq~.c
+++ b/src/dfreq~.c
@@ -99,7 +99,7 @@ static void *dfreq_new(void)
static void dfreq_tilde_helper(void)
{
- post("\n%c dfreq~\t :: pitch-detector that counts zero-crossings", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" dfreq~\t :: pitch-detector that counts zero-crossings");
post("\noutputs a frequency estimate as a stream~ that will be updated every zero-X");
post("\ncreation::\t'dfreq~': that's all");
}
diff --git a/src/dirac~.c b/src/dirac~.c
index 4a4cf07..3213c82 100644
--- a/src/dirac~.c
+++ b/src/dirac~.c
@@ -120,7 +120,7 @@ static void dirac_dsp(t_dirac *x, t_signal **sp)
static void dirac_helper(void)
{
- post("%c dirac~-object :: generates a dirac (unity-pulse)", HEARTSYMBOL);
+ post(""HEARTSYMBOL" dirac~-object :: generates a dirac (unity-pulse)");
post("creation : \"dirac~ [<position>]\" : create a dirac at specified position (in samples)\n"
"inlet\t: <position>\t: create a dirac at new position\n"
"\t 'bang'\t: create a dirac at specified position\n"
diff --git a/src/fifop.c b/src/fifop.c
index 874e73e..cc59569 100644
--- a/src/fifop.c
+++ b/src/fifop.c
@@ -260,7 +260,7 @@ static void fifop_dump(t_fifop*x)
static void fifop_help(t_fifop*x)
{
- post("\n%c fifop\t\t:: a First-In-First-Out queue with priorities", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" fifop\t\t:: a First-In-First-Out queue with priorities");
}
diff --git a/src/glue.c b/src/glue.c
index 7043a9f..7eedd4e 100644
--- a/src/glue.c
+++ b/src/glue.c
@@ -103,7 +103,7 @@ static void *glue_new(t_symbol *s, int argc, t_atom *argv)
static void glue_help(t_glue*x)
{
- post("\n%c glue\t\t:: glue together 2 lists (like [list append])", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" glue\t\t:: glue together 2 lists (like [list append])");
}
void glue_setup(void)
diff --git a/src/index.c b/src/index.c
index 5540358..2476a9c 100644
--- a/src/index.c
+++ b/src/index.c
@@ -329,7 +329,7 @@ static void index_free(t_index *x)
static void index_helper(t_index *x)
{
endpost();
- post("%c index :: index symbols to indices", HEARTSYMBOL);
+ post(""HEARTSYMBOL" index :: index symbols to indices");
post("<symbol> : look up the <symbol> in the index and return it's index");
post("<int> : look up the element at index <int> in the index");
post("'add <symbol>' : add a new symbol to the index-map");
diff --git a/src/lifop.c b/src/lifop.c
index f533164..677a879 100644
--- a/src/lifop.c
+++ b/src/lifop.c
@@ -265,7 +265,7 @@ static void *lifop_new(void)
}
static void lifop_help(t_lifop*x)
{
- post("\n%c lifop\t\t:: a Last-In-First-Out queue with priorities", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" lifop\t\t:: a Last-In-First-Out queue with priorities");
}
void lifop_setup(void)
{
diff --git a/src/limiter~.c b/src/limiter~.c
index 73399d6..8c930f9 100644
--- a/src/limiter~.c
+++ b/src/limiter~.c
@@ -351,7 +351,7 @@ static void status(t_limiter *x)
static void limiter_tilde_helper(t_limiter *x)
{
- post("\n\n%c %d-channel limiter-object: mode %d", HEARTSYMBOL, x->number_of_inlets, x->mode);
+ post("\n\n"HEARTSYMBOL" %d-channel limiter-object: mode %d", x->number_of_inlets, x->mode);
poststring("\n'mode <mode>'\t\t\t: (0_limiter, 1_crack-limiter, 2_compressor)");
poststring("\n'LIMIT'\t\t\t\t: set to LIMITer");
poststring("\n'CRACK'\t\t\t\t: set to CRACK-limiter");
diff --git a/src/list2lists.c b/src/list2lists.c
index 67efa46..02d1040 100644
--- a/src/list2lists.c
+++ b/src/list2lists.c
@@ -132,7 +132,7 @@ static void *list2lists_new(t_symbol *s, int argc, t_atom *argv)
static void list2lists_help(t_list2lists*x)
{
- post("\n%c list2lists\t\t:: split lists into multiple sublists based on matches", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" list2lists\t\t:: split lists into multiple sublists based on matches");
}
void list2lists_setup(void)
diff --git a/src/lister.c b/src/lister.c
index 9f133b2..14096ab 100644
--- a/src/lister.c
+++ b/src/lister.c
@@ -99,7 +99,7 @@ static void *mypdlist_new(t_symbol *s, int argc, t_atom *argv)
static void mypdlist_help(t_mypdlist*x)
{
- post("\n%c lister\t\t:: basic list storage (use pd>=0.39 for real [list] objects)", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" lister\t\t:: basic list storage (use pd>=0.39 for real [list] objects)");
}
void lister_setup(void)
diff --git a/src/listfind.c b/src/listfind.c
index a2e88b8..6016b50 100644
--- a/src/listfind.c
+++ b/src/listfind.c
@@ -210,7 +210,7 @@ static void *listfind_new(t_symbol *s, int argc, t_atom *argv)
static void listfind_help(t_listfind*x)
{
- post("\n%c listfind\t\t:: split lists into multiple sublists based on matches", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" listfind\t\t:: split lists into multiple sublists based on matches");
}
void listfind_setup(void)
diff --git a/src/lpt.c b/src/lpt.c
index 6b966e9..54969f7 100644
--- a/src/lpt.c
+++ b/src/lpt.c
@@ -286,7 +286,7 @@ static void lpt_free(t_lpt *x)
static void lpt_helper(t_lpt *x)
{
ZEXY_USEVAR(x);
- post("\n%c lpt :: direct access to the parallel port", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" lpt :: direct access to the parallel port");
post("<byte>\t: write byte to the parallel-port");
post("\ncreation:\t\"lpt [<port>]\": connect to parallel port <port> (0..2)");
post("\t\t\"lpt <portaddr>\": connect to port @ <portaddr> (hex)");
diff --git a/src/makesymbol.c b/src/makesymbol.c
index a36da12..80f0d6e 100644
--- a/src/makesymbol.c
+++ b/src/makesymbol.c
@@ -136,7 +136,7 @@ static void makesymbol_free(t_makesymbol *x)
static void makesymbol_helper(t_makesymbol *x)
{
ZEXY_USEVAR(x);
- post("\n%c makesymbol :: create a formatted symbol", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" makesymbol :: create a formatted symbol");
post("<list of anything>\t: glue up to 10 list-elements to 1 formatted symbol\n"
"'bang'\t\t\t: re-output\n"
"'help'\t\t\t: view this"
diff --git a/src/matchbox.c b/src/matchbox.c
index 7bda2e5..f1d8183 100644
--- a/src/matchbox.c
+++ b/src/matchbox.c
@@ -654,7 +654,7 @@ static void matchbox_free(t_matchbox *x)
static void matchbox_help(t_matchbox*x)
{
- post("\n%c matchbox\t\t:: find a list in a pool of lists", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" matchbox\t\t:: find a list in a pool of lists");
}
void matchbox_setup(void)
diff --git a/src/msgfile.c b/src/msgfile.c
index 0629a1f..208c476 100644
--- a/src/msgfile.c
+++ b/src/msgfile.c
@@ -864,7 +864,7 @@ static void msgfile_print(t_msgfile *x)
static void msgfile_help(t_msgfile *x)
{
- post("\n%c msgfile\t:: handle and store files of lists", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" msgfile\t:: handle and store files of lists");
post("goto <n>\t: goto line <n>"
"\nrewind\t\t: goto the beginning of the file"
"\nend\t\t: goto the end of the file"
diff --git a/src/multiline~.c b/src/multiline~.c
index 1e4871d..72eaee0 100644
--- a/src/multiline~.c
+++ b/src/multiline~.c
@@ -254,7 +254,7 @@ static void *mline_new(t_symbol *s, int argc, t_atom *argv)
static void mline_help(t_mline*x)
{
- post("\n%c multiline~\t:: ramped multiplication of multiple signals", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" multiline~\t:: ramped multiplication of multiple signals");
}
void multiline_tilde_setup(void)
diff --git a/src/multiplex~.c b/src/multiplex~.c
index d67900c..5a75c35 100644
--- a/src/multiplex~.c
+++ b/src/multiplex~.c
@@ -64,7 +64,7 @@ static void mux_tilde_dsp(t_mux *x, t_signal **sp)
static void mux_tilde_helper(void)
{
- post("\n%c multiplex~\t:: multiplex a one of various signals to one outlet", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" multiplex~\t:: multiplex a one of various signals to one outlet");
post("<#out>\t : the inlet-number (counting from 0) witch is routed to the outlet"
"'help'\t : view this");
post("creation : \"mux~ [arg1 [arg2...]]\"\t: the number of arguments equals the number of inlets\n");
diff --git a/src/noish~.c b/src/noish~.c
index 0d0a07c..8d5c875 100644
--- a/src/noish~.c
+++ b/src/noish~.c
@@ -156,7 +156,7 @@ static void noish_dsp(t_nois *x, t_signal **sp)
static void noish_helper(void)
{
- post("\n%c noish~\t:: a bandlimited pseudo-noise generator", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" noish~\t:: a bandlimited pseudo-noise generator");
post("<freq>\t : sampling-frequency (in Hz)\n"
"'help'\t : view this");
post("creation : \"noish~ [<freq>]\"\t: ('0'(default) will produce 'white' noise)\n");
diff --git a/src/noisi~.c b/src/noisi~.c
index bb88d1f..d815b21 100644
--- a/src/noisi~.c
+++ b/src/noisi~.c
@@ -143,7 +143,7 @@ static void noisi_dsp(t_nois *x, t_signal **sp){
static void noisi_helper(void){
- post("\n%c noisi~\t:: a bandlimited interpolating pseudo-noise generator", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" noisi~\t:: a bandlimited interpolating pseudo-noise generator");
post("<freq>\t : sampling-frequency (in Hz)\n"
"'help'\t : view this");
post("creation : \"noisi~ [<freq>]\"\t: ('0'(default) will produce 'white' noise)\n");
diff --git a/src/operating_system.c b/src/operating_system.c
index 053f113..a02b406 100644
--- a/src/operating_system.c
+++ b/src/operating_system.c
@@ -57,7 +57,7 @@ static void *operating_system_new(void)
static void operating_system_help(t_operating_system*x)
{
- post("\n%c operating_system\t:: get the current operating system", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" operating_system\t:: get the current operating system");
}
void operating_system_setup(void)
diff --git a/src/pdf~.c b/src/pdf~.c
index ef1d767..aee193c 100644
--- a/src/pdf~.c
+++ b/src/pdf~.c
@@ -114,7 +114,7 @@ static void pdf_free(t_pdf *x)
static void pdf_tilde_helper(void)
{
- post("\n%c pdf~\t:: get the probability density function of a signal (-1.0 to +1.0)", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" pdf~\t:: get the probability density function of a signal (-1.0 to +1.0)");
post("'bang'\t : output a list of the probabilities of 'n' function values"
"\n'clear'\t : clear the buffer (set all probabilities to zero)"
"\n<1/0>\t : short for 'bang' and 'clear'"
diff --git a/src/prime.c b/src/prime.c
index 633d082..66ffb49 100644
--- a/src/prime.c
+++ b/src/prime.c
@@ -66,7 +66,7 @@ static void *prime_new(void)
static void prime_help(t_prime*x)
{
- post("\n%c prime\t\t:: test whether a given number is prime", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" prime\t\t:: test whether a given number is prime");
}
diff --git a/src/quantize~.c b/src/quantize~.c
index 8abbe01..2ba6451 100644
--- a/src/quantize~.c
+++ b/src/quantize~.c
@@ -78,7 +78,7 @@ static void quantize_dsp(t_quantize *x, t_signal **sp)
static void quantize_tilde_helper(t_quantize *x)
{
ZEXY_USEVAR(x);
- post("%c quantize~-object\t:: used for quantizing signals by various degrees", HEARTSYMBOL);
+ post(""HEARTSYMBOL" quantize~-object\t:: used for quantizing signals by various degrees");
post("<quants> : quantize a signal into <quants> steps ('0' turns quantizing off)\n"
"'8bit' : quantize to 8 bit\n"
"'16bit' : quantize to 16 bit (default)\n"
diff --git a/src/regex.c b/src/regex.c
index 95fdd22..83f852e 100644
--- a/src/regex.c
+++ b/src/regex.c
@@ -314,7 +314,7 @@ static void regex_free(t_regex *x)
static void regex_help(t_regex*x)
{
- post("\n%c regex\t\t:: test the input whether it matches a regular expression", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" regex\t\t:: test the input whether it matches a regular expression");
}
void regex_setup(void)
diff --git a/src/sfplay.c b/src/sfplay.c
index ed73d02..2492f60 100644
--- a/src/sfplay.c
+++ b/src/sfplay.c
@@ -147,7 +147,7 @@ static void sfplay_helper(t_sfplay *x)
"\nstop\t\t\t::stop playing"
"\nrewind\t\t\t::rewind tape"
"\ngoto <n>\t\t::play from byte n");
- post("\n\nyou can also start playing with a ŽbangŽ or a Ž1Ž, and stop with a Ž0Ž"
+ post("\n\nyou can also start playing with a 'bang' or a '1', and stop with a '0'"
"\nthe last outlet will do a bang after the last sample has been played");
}
diff --git a/src/sfrecord.c b/src/sfrecord.c
index c59fc6c..b4329ce 100644
--- a/src/sfrecord.c
+++ b/src/sfrecord.c
@@ -572,7 +572,7 @@ static void sfrecord_helper(void)
"\nstop\t\t\t:: stop playing"
"\nbang\t\t\t:: outputs the current state (1_recording, 0_not-recording)");
- post("\n\nyou can also start recording with a Ž1Ž, and stop with a Ž0Ž");
+ post("\n\nyou can also start recording with a '1', and stop with a '0'");
}
diff --git a/src/sgn~.c b/src/sgn~.c
index ec46ac6..2570fd2 100644
--- a/src/sgn~.c
+++ b/src/sgn~.c
@@ -130,7 +130,7 @@ static void sgnTilde_dsp(t_sgnTilde *x, t_signal **sp)
static void sgnTilde_helper(void)
{
- post("\n%c sgn~ \t\t:: sign of a signal", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" sgn~ \t\t:: sign of a signal");
}
static void *sgnTilde_new(void)
diff --git a/src/sigzero~.c b/src/sigzero~.c
index 2947a7d..e78f1a0 100644
--- a/src/sigzero~.c
+++ b/src/sigzero~.c
@@ -81,7 +81,7 @@ static void sigzero_dsp(t_sigzero *x, t_signal **sp)
static void sigzero_tilde_helper(void)
{
- post("\n%c sigzero~-object :: for detecting whether a signal is currently zero or not", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" sigzero~-object :: for detecting whether a signal is currently zero or not");
post("'bang'\t: turn the detector on\n"
"'off'\t: turn it off\n"
"<1/0>\t: turn it on/off\n"
diff --git a/src/sort.c b/src/sort.c
index f6e3139..0850445 100644
--- a/src/sort.c
+++ b/src/sort.c
@@ -136,7 +136,7 @@ static void *sort_new(t_floatarg f)
static void sort_help(t_sort*x)
{
- post("\n%c sort\t\t:: sort a list of numbers", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" sort\t\t:: sort a list of numbers");
}
void sort_setup(void)
{
diff --git a/src/step~.c b/src/step~.c
index d1e8757..4558819 100644
--- a/src/step~.c
+++ b/src/step~.c
@@ -101,7 +101,7 @@ static void step_dsp(t_step *x, t_signal **sp)
static void step_helper(void)
{
- post("%c step~-object :: generates a unity-step", HEARTSYMBOL);
+ post(""HEARTSYMBOL" step~-object :: generates a unity-step");
post("creation : \"dirac~ [<position> [<length>]]\" : create a rectangular window\n"
"\t\t\tat specified position and with specified length (in samples)\n"
"inlet1\t: <position>\t: create a rectangular window at new position\n"
diff --git a/src/strcmp.c b/src/strcmp.c
index 34f7b8b..6fb898f 100644
--- a/src/strcmp.c
+++ b/src/strcmp.c
@@ -153,7 +153,7 @@ static void strcmp_free(t_strcmp *x)
static void strcmp_help(t_strcmp*x)
{
- post("\n%c strcmp\t\t:: compare to lists as strings", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" strcmp\t\t:: compare to lists as strings");
}
diff --git a/src/swap~.c b/src/swap~.c
index 76de5e2..05fd4b9 100644
--- a/src/swap~.c
+++ b/src/swap~.c
@@ -73,7 +73,7 @@ static void swap_dsp(t_swap *x, t_signal **sp)
static void swap_helper(void)
{
- post("\n%c swap~-object for byteswapping a signal", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" swap~-object for byteswapping a signal");
post("<1/0> : turn the swapper on/off\n"
"'bang' : toggle the swapper on/off\n"
"'help' : view this\n"
diff --git a/src/symbol2list.c b/src/symbol2list.c
index f692a7c..27c4c2a 100644
--- a/src/symbol2list.c
+++ b/src/symbol2list.c
@@ -153,7 +153,7 @@ static void symbol2list_free(t_symbol2list *x)
static void symbol2list_help(t_symbol2list*x)
{
- post("\n%c symbol2list\t:: split a symbol into a list of atoms", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" symbol2list\t:: split a symbol into a list of atoms");
}
void symbol2list_setup(void)
diff --git a/src/tabdump.c b/src/tabdump.c
index 90d421e..9dcad66 100644
--- a/src/tabdump.c
+++ b/src/tabdump.c
@@ -93,7 +93,7 @@ static void *tabdump_new(t_symbol *s)
static void tabdump_helper(void)
{
- post("\n%c tabdump - object : dumps a table as a package of floats", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" tabdump - object : dumps a table as a package of floats");
post("'set <table>'\t: read out another table\n"
"'bang'\t\t: dump the table\n"
"outlet\t\t: table-data as package of floats");
diff --git a/src/tabminmax.c b/src/tabminmax.c
index 9aa660a..8a116a1 100644
--- a/src/tabminmax.c
+++ b/src/tabminmax.c
@@ -119,7 +119,7 @@ static void *tabminmax_new(t_symbol *s)
static void tabminmax_helper(void)
{
- post("\n%c tabminmax - object : dumps a table as a package of floats", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" tabminmax - object : dumps a table as a package of floats");
post("'set <table>'\t: read out another table\n"
"'bang'\t\t: get min and max of the table\n"
"outlet\t\t: table-data as package of floats");
diff --git a/src/tabset.c b/src/tabset.c
index 636ffb5..9c11633 100644
--- a/src/tabset.c
+++ b/src/tabset.c
@@ -99,7 +99,7 @@ static void *tabset_new(t_symbol *s)
static void tabset_helper(void)
{
- post("\n%c tabset - object : set a table with a package of floats", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" tabset - object : set a table with a package of floats");
post("'set <table>'\t: set another table\n"
"<list>\t\t: set the table"
"<float>\t\t: set the table to constant float\n");
diff --git a/src/time.c b/src/time.c
index 86f277f..02ba814 100644
--- a/src/time.c
+++ b/src/time.c
@@ -102,7 +102,7 @@ static void time_bang(t_time *x)
static void help_time(t_time *x)
{
ZEXY_USEVAR(x);
- post("\n%c time\t\t:: get the current system time", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" time\t\t:: get the current system time");
post("\noutputs are\t: hour / minute / sec / msec");
post("\ncreation\t:: 'time [GMT]': show local time or GMT");
}
diff --git a/src/urn.c b/src/urn.c
index 103fdf0..ee45378 100644
--- a/src/urn.c
+++ b/src/urn.c
@@ -136,7 +136,7 @@ static void *urn_new(t_symbol *s, int argc, t_atom *argv)
static void urn_help(t_urn*x)
{
- post("\n%c urn\t\t:: generate randum numbers without repetition", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" urn\t\t:: generate randum numbers without repetition");
}
void urn_setup(void)
diff --git a/src/wrap.c b/src/wrap.c
index 00e11fc..83e28cc 100644
--- a/src/wrap.c
+++ b/src/wrap.c
@@ -70,7 +70,7 @@ static void *wrap_new(t_symbol *s, int argc, t_atom*argv)
static void wrap_help(t_wrap*x)
{
- post("\n%c wrap\t\t:: wrap a float between to boundaries", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" wrap\t\t:: wrap a float between to boundaries");
}
void wrap_setup(void) {
diff --git a/src/zexy.c b/src/zexy.c
index 2ab91c7..b8ef63a 100644
--- a/src/zexy.c
+++ b/src/zexy.c
@@ -46,7 +46,7 @@ static void zexy_help(void)
endpost(); endpost();
post("...this is the zexy external "VERSION"...");
endpost();
- post("%c handling signals", HEARTSYMBOL);
+ post(""HEARTSYMBOL" handling signals");
#if 0
post("streamout~\t:: stream signals via a LAN : (%c) gige 1999");
post("streamin~\t:: catch signals from a LAN : based on gige");
@@ -54,29 +54,29 @@ static void zexy_help(void)
post("sfplay\t\t:: play back a (multichannel) soundfile : (c) ritsch 1999");
post("sfrecord\t:: record a (multichannel) soundfile : based on ritsch");
- endpost(); post("%c generating signals", HEARTSYMBOL);
+ endpost(); post(""HEARTSYMBOL" generating signals");
post("noish~\t\t:: generate bandlimited noise");
post("noisi~\t\t:: generate bandlimited noise");
post("dirac~\t\t:: generate a dirac-pulse");
post("step~\t\t:: generate a unity-step");
post("dfreq~\t\t:: detect frequency by counting zero-crossings : (c) ritsch 1998");
- endpost(); post("%c manipulating signals", HEARTSYMBOL);
+ endpost(); post(""HEARTSYMBOL" manipulating signals");
post("limiter~\t:: limit/compress one or more signals");
post("nop~\t\t:: pass through a signal (delay 1 block)");
post("z~\t\t:: samplewise delay");
post("swap~\t\t:: byte-swap a signal");
post("quantize~\t:: quantize a signal");
- endpost(); post("%c binary operations on signals", HEARTSYMBOL);
+ endpost(); post(""HEARTSYMBOL" binary operations on signals");
post("abs~, sgn~, >~, <~, ==~, &&~, ||~");
- endpost(); post("%c multary operations on signals", HEARTSYMBOL);
+ endpost(); post(""HEARTSYMBOL" multary operations on signals");
post("multiline~\t:: multiple line~ multiplication");
post("multiplex~\t:: multiplex 1 inlet~ to 1-of-various outlet~s");
post("demultiplex~\t:: demultiplex 1-of-various inlet~s to 1 outlet~");
- endpost(); post("%c investigating signals in message-domain", HEARTSYMBOL);
+ endpost(); post(""HEARTSYMBOL" investigating signals in message-domain");
post("pack~\t\t:: convert a signal into a list of floats");
post("unpack~\t\t:: convert packages of floats into a signal");
@@ -86,7 +86,7 @@ static void zexy_help(void)
post("envrms~\t\t:: an env~-object that ouputs rms instead of db");
post("pdf~\t\t:: power density function");
- endpost(); post("%c basic message objects", HEARTSYMBOL);
+ endpost(); post(""HEARTSYMBOL" basic message objects");
post("nop\t\t:: a no-operation");
post("lister\t\t:: stores lists");
post("any2list\t\t:: converts \"anything\" to lists");
@@ -104,7 +104,7 @@ static void zexy_help(void)
post("segregate\t:: sort inputs by type");
post(".\t\t:: scalar multiplication of vectors (lists of floats)");
- endpost(); post("%c advanced message objects", HEARTSYMBOL);
+ endpost(); post(""HEARTSYMBOL" advanced message objects");
post("tabread4\t:: 4-point interpolating table-read object");
post("tabdump\t\t:: dump the table as a list");
post("tabset\t\t:: set a table with a list");
@@ -140,16 +140,16 @@ void zexy_setup(void)
int i;
startpost("\n\t");
- for (i=0; i<3; i++) startpost("%c", HEARTSYMBOL);
+ for (i=0; i<3; i++) startpost(""HEARTSYMBOL"");
endpost();
- post("\t%c the zexy external "VERSION, HEARTSYMBOL);
- post("\t%c (c) 1999-2012 IOhannes m zmölnig", HEARTSYMBOL);
- post("\t%c forum::für::umläute", HEARTSYMBOL);
- post("\t%c iem @ kug", HEARTSYMBOL);
- post("\t%c compiled: "__DATE__, HEARTSYMBOL);
- post("\t%c send me a 'help' message", HEARTSYMBOL);
+ post("\t"HEARTSYMBOL" the zexy external "VERSION);
+ post("\t"HEARTSYMBOL" (c) 1999-2012 IOhannes m zmölnig");
+ post("\t"HEARTSYMBOL" forum::für::umläute");
+ post("\t"HEARTSYMBOL" iem @ kug");
+ post("\t"HEARTSYMBOL" compiled: "__DATE__);
+ post("\t"HEARTSYMBOL" send me a 'help' message");
startpost("\t");
- for (i=0; i<3; i++) startpost("%c", HEARTSYMBOL);
+ for (i=0; i<3; i++) startpost(""HEARTSYMBOL"");
endpost(); endpost();
zexy_class = class_new(gensym("zexy"), zexy_new, 0, sizeof(t_zexy), 0, 0);
diff --git a/src/zexy.h b/src/zexy.h
index 3348a0e..b3b8c72 100644
--- a/src/zexy.h
+++ b/src/zexy.h
@@ -70,7 +70,11 @@
#endif
#ifndef HEARTSYMBOL
-# define HEARTSYMBOL 64
+# if (defined PD_MAJOR_VERSION && defined PD_MINOR_VERSION) && (PD_MAJOR_VERSION > 0 || PD_MINOR_VERSION >= 43)
+# define HEARTSYMBOL "♡"
+# else
+# define HEARTSYMBOL "@"
+# endif
#endif
#include <math.h>
diff --git a/src/z~.c b/src/z~.c
index cd1435c..1bf3435 100644
--- a/src/z~.c
+++ b/src/z~.c
@@ -117,7 +117,7 @@ static void zNdelay_free(t_zNdelay *x)
static void zdel_helper(void)
{
- post("\n%c z~\t:: samplewise delay", HEARTSYMBOL);
+ post("\n"HEARTSYMBOL" z~\t:: samplewise delay");
post("creation :: 'z~ [<n>]' : creates a <n>-sample delay; default is 1");
}