diff options
-rw-r--r-- | src/0x260x260x7e.c | 34 | ||||
-rw-r--r-- | src/0x2e.c | 33 | ||||
-rw-r--r-- | src/0x3c0x7e.c | 35 | ||||
-rw-r--r-- | src/0x3d0x3d0x7e.c | 35 | ||||
-rw-r--r-- | src/0x3e0x7e.c | 34 | ||||
-rw-r--r-- | src/0x7c0x7c0x7e.c | 35 | ||||
-rw-r--r-- | src/a2l.c | 38 | ||||
-rw-r--r-- | src/absgn~.c | 26 | ||||
-rw-r--r-- | src/abs~.c | 34 | ||||
-rw-r--r-- | src/atoi.c | 36 | ||||
-rw-r--r-- | src/avg~.c | 29 | ||||
-rw-r--r-- | src/blockmirror~.c | 32 | ||||
-rw-r--r-- | src/blockshuffle~.c | 32 | ||||
-rw-r--r-- | src/blockswap~.c | 29 | ||||
-rw-r--r-- | src/date.c | 31 | ||||
-rw-r--r-- | src/demultiplex.c | 38 | ||||
-rw-r--r-- | src/demultiplex~.c | 33 | ||||
-rw-r--r-- | src/dfreq~.c | 30 | ||||
-rw-r--r-- | src/dirac~.c | 33 | ||||
-rw-r--r-- | src/drip.c | 31 | ||||
-rw-r--r-- | src/envrms~.c | 29 | ||||
-rw-r--r-- | src/fifop.c | 32 | ||||
-rw-r--r-- | src/freadln.c | 35 | ||||
-rw-r--r-- | src/fwriteln.c | 31 | ||||
-rw-r--r-- | src/glue.c | 35 | ||||
-rw-r--r-- | src/index.c | 32 | ||||
-rw-r--r-- | src/length.c | 31 | ||||
-rw-r--r-- | src/lifop.c | 31 | ||||
-rw-r--r-- | src/limiter~.c | 34 | ||||
-rw-r--r-- | src/list2int.c | 36 | ||||
-rw-r--r-- | src/list2lists.c | 38 | ||||
-rw-r--r-- | src/list2symbol.c | 34 | ||||
-rw-r--r-- | src/lister.c | 36 | ||||
-rw-r--r-- | src/listfind.c | 37 | ||||
-rw-r--r-- | src/liststorage.c | 30 | ||||
-rw-r--r-- | src/lpt.c | 32 | ||||
-rw-r--r-- | src/makesymbol.c | 32 | ||||
-rw-r--r-- | src/matchbox.c | 34 | ||||
-rw-r--r-- | src/mavg.c | 32 | ||||
-rw-r--r-- | src/minmax.c | 32 | ||||
-rw-r--r-- | src/msgfile.c | 29 | ||||
-rw-r--r-- | src/multiline~.c | 32 | ||||
-rw-r--r-- | src/multiplex.c | 23 | ||||
-rw-r--r-- | src/multiplex~.c | 67 | ||||
-rw-r--r-- | src/multireceive.c | 31 | ||||
-rw-r--r-- | src/niagara.c | 31 | ||||
-rw-r--r-- | src/noish~.c | 34 | ||||
-rw-r--r-- | src/noisi~.c | 31 | ||||
-rw-r--r-- | src/operating_system.c | 33 | ||||
-rw-r--r-- | src/pack.c | 2 | ||||
-rw-r--r-- | src/packel.c | 38 | ||||
-rw-r--r-- | src/pack~.c | 33 | ||||
-rw-r--r-- | src/pdf~.c | 31 | ||||
-rw-r--r-- | src/prime.c | 31 | ||||
-rw-r--r-- | src/quantize~.c | 34 | ||||
-rw-r--r-- | src/rawprint.c | 31 | ||||
-rw-r--r-- | src/regex.c | 30 | ||||
-rw-r--r-- | src/relay.c | 31 | ||||
-rw-r--r-- | src/repack.c | 37 | ||||
-rw-r--r-- | src/repeat.c | 35 | ||||
-rw-r--r-- | src/route~.c | 31 | ||||
-rw-r--r-- | src/sfplay.c | 31 | ||||
-rw-r--r-- | src/sfrecord.c | 41 | ||||
-rw-r--r-- | src/sgn~.c | 35 | ||||
-rw-r--r-- | src/sigzero~.c | 28 | ||||
-rw-r--r-- | src/sleepgrain.c | 33 | ||||
-rw-r--r-- | src/sort.c | 35 | ||||
-rw-r--r-- | src/step~.c | 28 | ||||
-rw-r--r-- | src/strcmp.c | 33 | ||||
-rw-r--r-- | src/sum.c | 31 | ||||
-rw-r--r-- | src/swap~.c | 30 | ||||
-rw-r--r-- | src/symbol2list.c | 33 | ||||
-rw-r--r-- | src/tabdump.c | 34 | ||||
-rw-r--r-- | src/tabminmax.c | 31 | ||||
-rw-r--r-- | src/tabread4~~.c | 30 | ||||
-rw-r--r-- | src/tabset.c | 31 | ||||
-rw-r--r-- | src/tavg~.c | 31 | ||||
-rw-r--r-- | src/time.c | 38 | ||||
-rw-r--r-- | src/unpack.c | 2 | ||||
-rw-r--r-- | src/unpack~.c | 37 | ||||
-rw-r--r-- | src/urn.c | 34 | ||||
-rw-r--r-- | src/wrap.c | 32 | ||||
-rw-r--r-- | src/zexy.c | 34 | ||||
-rw-r--r-- | src/zexy.h | 4 | ||||
-rw-r--r-- | src/z~.c | 31 |
85 files changed, 1383 insertions, 1340 deletions
diff --git a/src/0x260x260x7e.c b/src/0x260x260x7e.c index ace6fe7..fd4fa8d 100644 --- a/src/0x260x260x7e.c +++ b/src/0x260x260x7e.c @@ -1,24 +1,22 @@ -/****************************************************** +/* + * &&~: logical AND for signals * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2006 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ - -/* - finally :: some of the missing binops for signals :: &&~ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ - 1302:forum::für::umläute:2000 -*/ #include "zexySIMD.h" @@ -1,22 +1,21 @@ -/****************************************************** +/* + * [.]: scala multiplication * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ - -/* 2305:forum::für::umläute:2001 */ - -/*skalar multiplikation */ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "zexy.h" diff --git a/src/0x3c0x7e.c b/src/0x3c0x7e.c index 313a5d4..02966d7 100644 --- a/src/0x3c0x7e.c +++ b/src/0x3c0x7e.c @@ -1,24 +1,21 @@ -/****************************************************** +/* + * <~: signal comparision * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ - -/* - finally :: some of the missing binops for signals :: <~ - - 1302:forum::für::umläute:2000 -*/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "zexySIMD.h" diff --git a/src/0x3d0x3d0x7e.c b/src/0x3d0x3d0x7e.c index 9cbcd1c..d1e527f 100644 --- a/src/0x3d0x3d0x7e.c +++ b/src/0x3d0x3d0x7e.c @@ -1,24 +1,21 @@ -/****************************************************** +/* + * ==~: test signals for equality * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ - -/* - finally :: some of the missing binops for signals :: ==~ - - 1302:forum::für::umläute:2000 -*/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "zexySIMD.h" diff --git a/src/0x3e0x7e.c b/src/0x3e0x7e.c index 7719ac5..7526584 100644 --- a/src/0x3e0x7e.c +++ b/src/0x3e0x7e.c @@ -1,24 +1,22 @@ -/****************************************************** +/* + * >~: signal comparision * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ - -/* - finally :: some of the missing binops for signals :: >~ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ - 1302:forum::für::umläute:2000 -*/ #include "zexySIMD.h" diff --git a/src/0x7c0x7c0x7e.c b/src/0x7c0x7c0x7e.c index e3e350f..b2249ab 100644 --- a/src/0x7c0x7c0x7e.c +++ b/src/0x7c0x7c0x7e.c @@ -1,24 +1,21 @@ -/****************************************************** +/* + * ||~: logical OR for signals * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ - -/* - finally :: some of the missing binops for signals :: ||~ - - 1302:forum::für::umläute:2000 -*/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "zexySIMD.h" @@ -1,31 +1,25 @@ -/****************************************************** +/* + * a2l: convert anythings to lists (use [list] instead) * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ - - -/* 2305:forum::für::umläute:2001 */ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "zexy.h" #include <string.h> -/* ------------------------- a2l ------------------------------- */ - -/* convert anythings to lists, pass through the rest - * nowadays you can use [list] for this - */ - static t_class *a2l_class; typedef struct _a2l diff --git a/src/absgn~.c b/src/absgn~.c index 73a0450..99ff19c 100644 --- a/src/absgn~.c +++ b/src/absgn~.c @@ -1,15 +1,21 @@ -/****************************************************** +/* + * absgn~: combined absolute value and sign of a signal * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * (c) 2006 Tim Blechmann - * - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "zexySIMD.h" @@ -1,24 +1,22 @@ -/****************************************************** +/* + * abs~: absolute value for signals * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2005 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ -/* - abs~: absolute value of signal - - 2112:forum::für::umläute:2005 -*/ #include "zexySIMD.h" @@ -1,29 +1,25 @@ -/****************************************************** +/* + * atoi: ascii to integer converter * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ - + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "zexy.h" #include <stdlib.h> -/* - * atoi : ascii to integer - */ - -/* atoi :: ascii to integer */ - static t_class *atoi_class; typedef struct _atoi @@ -1,18 +1,21 @@ -/****************************************************** +/* + * avg~: calculate the average of a signal block * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "zexy.h" diff --git a/src/blockmirror~.c b/src/blockmirror~.c index e32a36c..d58ab0b 100644 --- a/src/blockmirror~.c +++ b/src/blockmirror~.c @@ -1,22 +1,22 @@ -/****************************************************** - * - * zexy - implementation file - * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** +/* + * blockmirror~: mirrors a signalblock around it's center * - * license: GNU General Public License v.2 + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - ******************************************************/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ -/* - 1110:forum::für::umläute:1999 -*/ #include "zexy.h" diff --git a/src/blockshuffle~.c b/src/blockshuffle~.c index 41f0301..bf31b42 100644 --- a/src/blockshuffle~.c +++ b/src/blockshuffle~.c @@ -1,22 +1,22 @@ -/****************************************************** +/* + * blockshuffle~: shuffle a signal block * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ -/* - 1110:forum::für::umläute:1999 -*/ #include "zexy.h" diff --git a/src/blockswap~.c b/src/blockswap~.c index 23926bc..5e3a7ad 100644 --- a/src/blockswap~.c +++ b/src/blockswap~.c @@ -1,18 +1,21 @@ -/****************************************************** +/* + * blockswap~: swaps a signalblock around it's center * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "zexy.h" @@ -1,10 +1,29 @@ +/* + * date: gets the current date from the system + * + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ + /****************************************************** * * zexy - implementation file * - * copyleft (c) IOhannes m zmölnig + * copyleft (c) IOhannes m zmölnig * - * 1999:forum::für::umläute:2004 + * 1999:forum::für::umläute:2004 * * institute of electronic music and acoustics (iem) * @@ -15,12 +34,8 @@ ******************************************************/ /* - (c) 1202:forum::für::umläute:2000 - 1506:forum::für::umläute:2003: use timeb only if needed (like on windoze) - - "time" gets the current time from the system - "date" gets the current date from the system - + (c) 1202:forum::für::umläute:2000 + 1506:forum::für::umläute:2003: use timeb only if needed (like on windoze) */ #include "zexy.h" diff --git a/src/demultiplex.c b/src/demultiplex.c index 194e066..3b7d976 100644 --- a/src/demultiplex.c +++ b/src/demultiplex.c @@ -1,27 +1,21 @@ -/****************************************************** +/* + * demux : demultiplex the input to a specified output * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ - - -/* 1509:forum::für::umläute:2000 */ - -/* - demux : multiplex the input to a specified output - - TODO:: mux : demultiplex a specified input to the output -*/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "zexy.h" #include <stdio.h> diff --git a/src/demultiplex~.c b/src/demultiplex~.c index 87e54cf..f0594e4 100644 --- a/src/demultiplex~.c +++ b/src/demultiplex~.c @@ -1,25 +1,24 @@ -/****************************************************** +/* + * demux~ : demultiplex a signal to a specified output * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "zexy.h" -/* ------------------------------------------------------------------------------ */ - -/* demux~ : demultiplex a signal to a specified output */ - static t_class *demux_class; typedef struct _demux { diff --git a/src/dfreq~.c b/src/dfreq~.c index 376196d..8925818 100644 --- a/src/dfreq~.c +++ b/src/dfreq~.c @@ -1,18 +1,22 @@ -/****************************************************** +/* + * dfreq~: cound zero-crossings as a simple fequency estimation * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ + #include <stdio.h> diff --git a/src/dirac~.c b/src/dirac~.c index aa061cf..4a4cf07 100644 --- a/src/dirac~.c +++ b/src/dirac~.c @@ -1,21 +1,24 @@ -/****************************************************** +/* + * dirac~: unity sample * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig + * optimizations: + * (c) 2005 tim blechmann * - * 1999:forum::für::umläute:2004 - * - * - * institute of electronic music and acoustics (iem) - * - * optimizations - * copyright (c) 2005 tim blechmann - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ /* @@ -1,20 +1,21 @@ -/****************************************************** +/* + * drip: unfold a parallel data-structure (*pack*age) into a sequence * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ - -/* 3009:forum::für::umläute:2000 */ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ /* -------------------- drip ------------------------------ */ diff --git a/src/envrms~.c b/src/envrms~.c index 847b9a3..c956b3c 100644 --- a/src/envrms~.c +++ b/src/envrms~.c @@ -1,18 +1,21 @@ -/****************************************************** +/* + * envrms~: simple envelope follower * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ /* ---------------- envrms~ - simple envelope follower. ----------------- */ /* this is exactly the same as msp's env~-object, but does not output dB but RMS !! */ diff --git a/src/fifop.c b/src/fifop.c index 10a8bb5..49ebc83 100644 --- a/src/fifop.c +++ b/src/fifop.c @@ -1,21 +1,21 @@ -/****************************************************** +/* + * fifop: a FIFO (first-in first-out) with priorities * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ - -/* 2305:forum::für::umläute:2001 */ - + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "zexy.h" #include <string.h> diff --git a/src/freadln.c b/src/freadln.c index b7de47a..244b8c6 100644 --- a/src/freadln.c +++ b/src/freadln.c @@ -1,19 +1,22 @@ - -/****************************************************** - * - * zexy - implementation file - * - * copyleft (c) Franz Zotter - * - * 2105:forum::für::umläute:2007 - * - * institute of electronic music and acoustics (iem) +/* + * freadln: reads messages continuously from the lines of a file * - ****************************************************** + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) + * (c) 2007 Franz Zotter <zotter@iem.at>, Institute of Electronic Music and Acoustics * - * license: GNU General Public License v.2 - * - ******************************************************/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "zexy.h" @@ -37,10 +40,6 @@ /* freadln: reads messages continuously from the lines of * a file that doesn't necessarily need to fit * into the RAM of your system - * - * Franz Zotter zotter@iem.at, 2007 - * Institute of Electronic Music and Acoustics - * */ static t_class *freadln_class; diff --git a/src/fwriteln.c b/src/fwriteln.c index 903f76a..a53360f 100644 --- a/src/fwriteln.c +++ b/src/fwriteln.c @@ -1,19 +1,22 @@ - -/****************************************************** - * - * zexy - implementation file - * - * copyleft (c) Franz Zotter - * - * 2105:forum::für::umläute:2007 +/* + * fwriteln: writes messages continuously into a file * - * institute of electronic music and acoustics (iem) + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) + * (c) 2007 Franz Zotter <zotter@iem.at> * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "zexy.h" @@ -1,28 +1,25 @@ -/****************************************************** +/* + * glue: glue two lists together (use [list append] instead) * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ - + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "zexy.h" #include <string.h> - -/* ------------------------- glue ------------------------------- */ - -/* glue 2 lists together (append) */ - static t_class *glue_class; typedef struct _zglue diff --git a/src/index.c b/src/index.c index d1d3045..dd0cf97 100644 --- a/src/index.c +++ b/src/index.c @@ -1,21 +1,25 @@ -/****************************************************** - * - * zexy - implementation file - * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** +/* + * index: associative dictionary * - * license: GNU General Public License v.2 + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - ******************************************************/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ + /* - (c) 2005:forum::für::umläute:2000 + (c) 2005:forum::für::umläute:2000 "index" simulates an associative index :: that is : convert a symbol to an index diff --git a/src/length.c b/src/length.c index 86bf86d..98e3948 100644 --- a/src/length.c +++ b/src/length.c @@ -1,20 +1,21 @@ -/****************************************************** +/* + * length :: get the length of a list (use [list length] instead) * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - ******************************************************/ - -/* length :: get the length of a list */ - + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "zexy.h" diff --git a/src/lifop.c b/src/lifop.c index 3a15832..ade1e3d 100644 --- a/src/lifop.c +++ b/src/lifop.c @@ -1,20 +1,21 @@ -/****************************************************** +/* + * lifop: a LIFO (last-in first-out) with priorities * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ - -/* 2305:forum::für::umläute:2001 */ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "zexy.h" diff --git a/src/limiter~.c b/src/limiter~.c index bd34744..128226a 100644 --- a/src/limiter~.c +++ b/src/limiter~.c @@ -1,18 +1,22 @@ -/****************************************************** - * - * zexy - implementation file - * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** +/* + * limiter~: limit/compress signals * - * license: GNU General Public License v.2 + * (c) 1999-2011 IOhannes m zmölnig, forum::fÃŒr::umlÀute, institute of electronic music and acoustics (iem) * - ******************************************************/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ + /* @@ -29,7 +33,7 @@ the limiter is based on Falkner's thesis "Entwicklung eines digitalen Stereo-limiters mit Hilfe des Signalprozessors DSP56001" pp.14 - 2108:forum::für::umläute:1999 all rights reserved and no warranties... + 2108:forum::fÃŒr::umlÀute:1999 all rights reserved and no warranties... see GNU-license for details */ @@ -364,7 +368,7 @@ static void limiter_tilde_helper(t_limiter *x) "\n'set2 <limit2><htime2><rtime2>'\t: set crack-limiter"); break; case COMPRESS: - poststring("\n'ratio <compressratio>'\t\t: set compressratio (Ž0.5Ž instead of Ž1:2Ž)" + poststring("\n'ratio <compressratio>'\t\t: set compressratio (Ã…Å“0.5Ã…Å“ instead of Ã…Å“1:2Ã…Å“)" "\n'treshold <treshold>'\t\t: set treshold of the compressor" "\n'compress <limit><treshold><ratio>'\t: set compressor" "\n..........note that <limit> is the same for COMPRESSOR and LIMITER.........."); diff --git a/src/list2int.c b/src/list2int.c index 4e6c088..7f91db2 100644 --- a/src/list2int.c +++ b/src/list2int.c @@ -1,29 +1,25 @@ -/****************************************************** +/* + * list2int: cast each float of a list (or anything) to integer * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ - -/* 2305:forum::für::umläute:2001 */ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "zexy.h" #include <string.h> - -/* ------------------------- list2int ------------------------------- */ - -/* cast each float of a list (or anything) to integer */ - static t_class *list2int_class; static void list2int_any(t_mypdlist *x, t_symbol *s, int argc, t_atom *argv) diff --git a/src/list2lists.c b/src/list2lists.c index 1b74f67..b948c6f 100644 --- a/src/list2lists.c +++ b/src/list2lists.c @@ -1,21 +1,21 @@ -/****************************************************** +/* + * list2lists: split a list into several sublists given by their lenghts * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ - -/* 2305:forum::für::umläute:2001 */ - + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "zexy.h" @@ -29,14 +29,8 @@ # define DEBUGFUN(x) #endif - -/* ------------------------- list2lists ------------------------------- */ - -/* split a list into several sublists given by their lenghts */ - static t_class *list2lists_class; - typedef struct _list2lists { t_object x_obj; diff --git a/src/list2symbol.c b/src/list2symbol.c index cbb2449..df6c7a5 100644 --- a/src/list2symbol.c +++ b/src/list2symbol.c @@ -1,26 +1,26 @@ -/****************************************************** +/* + * list2symbol: convert a list into a single symbol * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ + #include "zexy.h" #include <string.h> -/* - * list2symbol: convert a list into a single symbol -*/ - /* ------------------------- list2symbol ------------------------------- */ static t_class *list2symbol_class; diff --git a/src/lister.c b/src/lister.c index 04ccc64..9f133b2 100644 --- a/src/lister.c +++ b/src/lister.c @@ -1,21 +1,21 @@ -/****************************************************** +/* + * lister: this is for lists, what "float" is for floats (use [list] instead) * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ - -/* 2305:forum::für::umläute:2001 */ - + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "zexy.h" @@ -23,10 +23,6 @@ # include <alloca.h> #endif -/* ------------------------- list ------------------------------- */ - -/* this is for packages, what "float" is for floats */ - #define LIST_NGETBYTE 100 /* bigger that this we use alloc, not alloca */ diff --git a/src/listfind.c b/src/listfind.c index 426312c..a2e88b8 100644 --- a/src/listfind.c +++ b/src/listfind.c @@ -1,21 +1,21 @@ -/****************************************************** +/* + * listfind: find a sublist in a list and return the index of the occurence (or indices if there are more) * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ - -/* 2607:forum::für::umläute:2007 */ - + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "zexy.h" @@ -29,11 +29,6 @@ # define DEBUGFUN(x) #endif - -/* ------------------------- listfind ------------------------------- */ - -/* find a sublist in a list and return the index of the occurence (or indices if there are more) */ - static t_class *listfind_class; diff --git a/src/liststorage.c b/src/liststorage.c index bc4613e..1afffe7 100644 --- a/src/liststorage.c +++ b/src/liststorage.c @@ -1,19 +1,21 @@ -/****************************************************** +/* + * liststorage: stores a number of lists * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ - + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ /* this is heavily based on code from [textfile], @@ -1,21 +1,25 @@ -/****************************************************** - * - * zexy - implementation file - * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** +/* + * lpt: read/write the parallel port * - * license: GNU General Public License v.2 + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - ******************************************************/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ + /* - (c) 2000:forum::für::umläute:2005 + (c) 2000:forum::für::umläute:2005 write to the parallel port extended to write to any port (if we do have permissions) diff --git a/src/makesymbol.c b/src/makesymbol.c index a3793f6..ab24fcc 100644 --- a/src/makesymbol.c +++ b/src/makesymbol.c @@ -1,22 +1,26 @@ -/****************************************************** - * - * zexy - implementation file - * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** +/* + * makesymbol: yet another (formatted) symbol creation mechanism * - * license: GNU General Public License v.2 + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - ******************************************************/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ + /* -(l) 1210:forum::für::umläute:1999 +(l) 1210:forum::für::umläute:1999 "makesymbol" is something between "symbol" and "makefilename", thus storing and creating (formatted) symbols... diff --git a/src/matchbox.c b/src/matchbox.c index 22e5668..9625834 100644 --- a/src/matchbox.c +++ b/src/matchbox.c @@ -1,18 +1,22 @@ -/****************************************************** +/* + * matchbox: see whether a regular expression matches a symbol in the box * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ + /* LATER: add a creation argument to specify the initial search mode * @@ -39,10 +43,6 @@ #define FALSE 0 #define TRUE 1 -/* - * matchbox : see whether a regular expression matches the given symbol - */ - /* ------------------------- matchbox ------------------------------- */ /* match the atoms of 2 lists */ @@ -1,24 +1,24 @@ -/****************************************************** +/* + * mavg :: moving average filter * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ - + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "zexy.h" -/* mavg :: moving average filter */ - static t_class *mavg_class; typedef struct _mavg diff --git a/src/minmax.c b/src/minmax.c index 2aef3e0..58f82b2 100644 --- a/src/minmax.c +++ b/src/minmax.c @@ -1,22 +1,24 @@ -/****************************************************** +/* + * minmax :: get minimum and maximum of a list * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ -#include "zexy.h" -/* minmax :: get minimum and maximum of a list */ +#include "zexy.h" static t_class *minmax_class; diff --git a/src/msgfile.c b/src/msgfile.c index dd772fe..9d09a6f 100644 --- a/src/msgfile.c +++ b/src/msgfile.c @@ -1,18 +1,21 @@ -/****************************************************** +/* + * msgfile: an improved version of [textfile] * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ /* diff --git a/src/multiline~.c b/src/multiline~.c index f48cc4c..2ba2fe7 100644 --- a/src/multiline~.c +++ b/src/multiline~.c @@ -1,18 +1,22 @@ -/****************************************************** +/* + * multiline~: interpolating signal multiplier * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ + /* a multiline that MULTIplicates MULTIple signals with "ramped floats" (--> like "line~") @@ -20,7 +24,7 @@ this is kind of multiplying some streams with the square diagonal matrix : diag*~ for smooth-results we do this line~ thing - 1403:forum::für::umläute:2001 + 1403:forum::für::umläute:2001 */ diff --git a/src/multiplex.c b/src/multiplex.c index 8fe5b58..dac41e8 100644 --- a/src/multiplex.c +++ b/src/multiplex.c @@ -1,9 +1,26 @@ +/* + * mulitplex : multiplex a specified input to the output + * + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ -/* 1903:forum::für::umläute:2005 */ + +/* 1903:forum::für::umläute:2005 */ /* - * mulitplex : multiplex a specified input to the output - * * THINK: should the selector-inlet be the first or the last ??? * pros/cons: * the 1st inlet being the selector is not consistant with pd (hot/cold) diff --git a/src/multiplex~.c b/src/multiplex~.c index de8f5e3..1d879f2 100644 --- a/src/multiplex~.c +++ b/src/multiplex~.c @@ -1,25 +1,24 @@ -/****************************************************** - * zexy - implementation file +/* + * mux~ : multiplex a specified signal to the output * - * copyleft (c) IOhannes m zmölnig + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "zexy.h" - -/* ------------------------------------------------------------------------------ */ - -/* mux~ : multiplex a specified signal to the output */ - static t_class *mux_class; typedef struct _mux { @@ -31,16 +30,16 @@ typedef struct _mux { t_sample **in; } t_mux; -static void mux_input(t_mux *x, t_floatarg f) +static void mux_tilde_input(t_mux *x, t_floatarg f) { if ((f>=0)&&(f<x->n_in)){ x->input=f; } else - error("multiplex: %d is channel out of range (0..%d)", (int)f, x->n_in); + error("multiplex~: %d is channel out of range (0..%d)", (int)f, x->n_in); } -static t_int *mux_perform(t_int *w) +static t_int *mux_tilde_perform(t_int *w) { t_mux *x = (t_mux *)(w[1]); t_sample *out = (t_sample *)(w[2]); @@ -53,32 +52,32 @@ static t_int *mux_perform(t_int *w) return (w+4); } -static void mux_dsp(t_mux *x, t_signal **sp) +static void mux_tilde_dsp(t_mux *x, t_signal **sp) { int n = 0; t_sample **dummy=x->in; for(n=0;n<x->n_in;n++)*dummy++=sp[n]->s_vec; - dsp_add(mux_perform, 3, x, sp[n]->s_vec, sp[0]->s_n); + dsp_add(mux_tilde_perform, 3, x, sp[n]->s_vec, sp[0]->s_n); } -static void mux_helper(void) +static void mux_tilde_helper(void) { - post("\n%c mux~\t:: multiplex a one of various signals to one outlet", HEARTSYMBOL); + post("\n%c multiplex~\t:: multiplex a one of various signals to one outlet", HEARTSYMBOL); 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"); } -static void mux_free(t_mux *x) +static void mux_tilde_free(t_mux *x) { freebytes(x->in, x->n_in * sizeof(t_sample *)); } -static void *mux_new(t_symbol *s, int argc, t_atom *argv) +static void *mux_tilde_new(t_symbol *s, int argc, t_atom *argv) { - t_mux *x = (t_mux *)pd_new(mux_class); + t_mux *x = (t_mux *)pd_new(mux_tilde_class); int i; ZEXY_USEVAR(s); ZEXY_USEVAR(argv); @@ -101,17 +100,17 @@ static void *mux_new(t_symbol *s, int argc, t_atom *argv) void multiplex_tilde_setup(void) { - mux_class = class_new(gensym("multiplex~"), (t_newmethod)mux_new, (t_method)mux_free, sizeof(t_mux), 0, A_GIMME, 0); - class_addcreator((t_newmethod)mux_new, gensym("mux~"), A_GIMME, 0); + mux_tilde_class = class_new(gensym("multiplex~"), (t_newmethod)mux_tilde_new, (t_method)mux_tilde_free, sizeof(t_mux), 0, A_GIMME, 0); + class_addcreator((t_newmethod)mux_tilde_new, gensym("mux~"), A_GIMME, 0); - class_addfloat(mux_class, mux_input); - class_addmethod(mux_class, (t_method)mux_dsp, gensym("dsp"), 0); - class_addmethod(mux_class, nullfn, gensym("signal"), 0); + class_addfloat(mux_tilde_class, mux_tilde_input); + class_addmethod(mux_tilde_class, (t_method)mux_tilde_dsp, gensym("dsp"), 0); + class_addmethod(mux_tilde_class, nullfn, gensym("signal"), 0); - class_addmethod(mux_class, (t_method)mux_helper, gensym("help"), 0); + class_addmethod(mux_tilde_class, (t_method)mux_tilde_helper, gensym("help"), 0); zexy_register("multiplex~"); } -void mux_tilde_setup(void) +void mux_tilde_tilde_setup(void) { multiplex_tilde_setup(); } diff --git a/src/multireceive.c b/src/multireceive.c index 82da0e6..cfb65fd 100644 --- a/src/multireceive.c +++ b/src/multireceive.c @@ -1,21 +1,22 @@ -/****************************************************** - * - * zexy - implementation file - * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2009 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** +/* + * multireceive: receive messages for various receive-names * - * license: GNU General Public License v.2 + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - ******************************************************/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ -/* -*/ #include "zexy.h" diff --git a/src/niagara.c b/src/niagara.c index 0a2cdde..2242b8a 100644 --- a/src/niagara.c +++ b/src/niagara.c @@ -1,20 +1,21 @@ -/****************************************************** +/* + * niagara: split a list into 2 (use [list split] instead) * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ - -/* 3108:forum::für::umläute:2000 */ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "zexy.h" diff --git a/src/noish~.c b/src/noish~.c index 3591c83..0d0a07c 100644 --- a/src/noish~.c +++ b/src/noish~.c @@ -1,18 +1,22 @@ -/****************************************************** +/* + * noish~: bandlimited noise generator * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ + /* 30041999 @@ -24,7 +28,7 @@ and I made only very few modifications so look out for the LICENSE.TXT delivered with puredata for further (c)-information - forum für umläute 1999 + forum für umläute 1999 this is in fact the very same as the late "NOISE.C", except that I tried to optimize the code a little bit (by partially removing those very expensive if..then's in about 15 minutes, so there are thousands of new bugs very likely) @@ -158,7 +162,7 @@ static void noish_helper(void) post("creation : \"noish~ [<freq>]\"\t: ('0'(default) will produce 'white' noise)\n"); post("note\t : the seed of the pseudo-noise generator changes from\n" "\t instance to instance, so two noish~-objects created at the\n" - "\t same time will produce dífferent signals, something the original\n" + "\t same time will produce dÃfferent signals, something the original\n" "\t noise~-object misses\n"); post("for further details see DODGE/JERSE \"computer music\" c3.9\n"); } diff --git a/src/noisi~.c b/src/noisi~.c index e42cd74..bb88d1f 100644 --- a/src/noisi~.c +++ b/src/noisi~.c @@ -1,18 +1,21 @@ -/****************************************************** +/* + * noisi~: bandlimited noise generator * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ /* 30041999 @@ -24,7 +27,7 @@ and I made only very few modifications so look out for the LICENSE.TXT delivered with puredata for further (c)-information - forum für umläute 1999 + forum für umläute 1999 this is in fact the very same as the late "NOISE.C", except that I tried to optimize the code a little bit (by partially removing those very expensive if..then's in about 15 minutes, so there are thousands of new bugs very likely) diff --git a/src/operating_system.c b/src/operating_system.c index a268144..053f113 100644 --- a/src/operating_system.c +++ b/src/operating_system.c @@ -1,22 +1,21 @@ -/****************************************************** +/* + * operating_system : get currently used OS * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ - -/* - operating_system : operating_system-code for message-objects -*/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "zexy.h" @@ -1,7 +1,7 @@ /* * pack: a type-agnostic version of [pack] * - * (c) 2007-2011 forum::für::umläute + * (c) 2007-2011 forum::für::umläute * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License diff --git a/src/packel.c b/src/packel.c index 880d7c9..c1fb15b 100644 --- a/src/packel.c +++ b/src/packel.c @@ -1,27 +1,21 @@ -/****************************************************** +/* + * packel: get the nth element of a package * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ - - -/* 3108:forum::für::umläute:2000 */ - -/* ------------------------- packel ------------------------------- */ - -/* - get the nth element of a package -*/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "zexy.h" diff --git a/src/pack~.c b/src/pack~.c index cdb3665..fe9da16 100644 --- a/src/pack~.c +++ b/src/pack~.c @@ -1,25 +1,24 @@ -/****************************************************** +/* + * pack~: pack the signal-vector to a list of floats * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "zexy.h" - -/* ------------------------ pack~ ----------------------------- */ -/* pack the signal-vector to a float-package */ - static t_class *sigpack_class; typedef struct _sigpack @@ -1,20 +1,21 @@ -/****************************************************** +/* + * pdf~: get the ProbabilityDensityFunction of a signal * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ - -/* get the ProbabilityDensityFunction of a signal */ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "zexy.h" diff --git a/src/prime.c b/src/prime.c index 4c3081a..b4d127f 100644 --- a/src/prime.c +++ b/src/prime.c @@ -1,20 +1,21 @@ -/****************************************************** +/* + * prime: get the n-th prime number * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ - -/* get the n-th prime number */ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "zexy.h" diff --git a/src/quantize~.c b/src/quantize~.c index a87e3e4..8abbe01 100644 --- a/src/quantize~.c +++ b/src/quantize~.c @@ -1,25 +1,27 @@ -/****************************************************** +/* + * quantize~: quantize a signal to various bit-depths * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ - + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ /* the long waited for quantize~-object that quantizes in many possible (but equal) steps - of course, we´ll make a comfortable quantize of the float-signal for 16bit and 8bit + of course, weŽll make a comfortable quantize of the float-signal for 16bit and 8bit - 1110:forum::für::umläute:1999 + 1110:forum::für::umläute:1999 */ #include "zexy.h" diff --git a/src/rawprint.c b/src/rawprint.c index 1fa39fd..8397ad7 100644 --- a/src/rawprint.c +++ b/src/rawprint.c @@ -1,20 +1,21 @@ -/****************************************************** +/* + * rawprint: print the incoming message as raw as possible * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ - -/* print the incoming message as raw as possible */ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "zexy.h" #include <stdio.h> diff --git a/src/regex.c b/src/regex.c index 8e3e8af..7aba77d 100644 --- a/src/regex.c +++ b/src/regex.c @@ -1,19 +1,21 @@ -/****************************************************** +/* + * regex: regular expression pattern matcher * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ - + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "zexy.h" #ifdef HAVE_REGEX_H diff --git a/src/relay.c b/src/relay.c index 5447dbd..af1159c 100644 --- a/src/relay.c +++ b/src/relay.c @@ -1,21 +1,24 @@ -/****************************************************** - * - * zexy - implementation file - * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2005 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** +/* + * relay: route without stripping selector * - * license: GNU General Public License v.2 + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - ******************************************************/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ /* - (c) 2106:forum::für::umläute:2005 + (c) 2106:forum::für::umläute:2005 "relay" is like "relay" but doesn't change the incoming list diff --git a/src/repack.c b/src/repack.c index 9df34b6..dd32f8a 100644 --- a/src/repack.c +++ b/src/repack.c @@ -1,26 +1,21 @@ -/****************************************************** +/* + * repack : (re)pack floats/symbols/pointers to fixed-length packages * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ - -/* 3108:forum::für::umläute:2000 */ - -/* objects for manipulating packages*/ - -/* - repack : (re)pack floats/symbols/pointers to fixed-length packages -*/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "zexy.h" #include <string.h> diff --git a/src/repeat.c b/src/repeat.c index 9de9687..31fbc50 100644 --- a/src/repeat.c +++ b/src/repeat.c @@ -1,29 +1,26 @@ -/****************************************************** +/* + * repeat: repeat a message multiple times * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ - -/* 2305:forum::für::umläute:2001 */ - -/* connective objects */ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "zexy.h" /* ------------------------- repeat ------------------------------- */ -/* a no-operation - just pass through what you get in */ - static t_class *repeat_class; typedef struct _repeat diff --git a/src/route~.c b/src/route~.c index 10cd1fe..9a03843 100644 --- a/src/route~.c +++ b/src/route~.c @@ -1,20 +1,21 @@ -/****************************************************** +/* + * [route~]: 1-to-n signal routing * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - ******************************************************/ - -/* route_tilde :: get the route_tilde of a list */ - + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "zexy.h" diff --git a/src/sfplay.c b/src/sfplay.c index ff18e87..87b0c2b 100644 --- a/src/sfplay.c +++ b/src/sfplay.c @@ -1,18 +1,21 @@ -/****************************************************** +/* + * sfplay: multichannel soundfile player (use [readsf~] instead) * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ /* sfplay.c - Author: Winfried Ritsch - IEM Graz 10.Mai 99 - @@ -144,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 dd3966d..c56adaf 100644 --- a/src/sfrecord.c +++ b/src/sfrecord.c @@ -1,30 +1,33 @@ -/****************************************************** +/* + * sfrecord: multichannel soundfile recorder (try [writesf~] instead) * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ /* sfplay.c - Author: Winfried Ritsch - IEM Graz 10.Mai 99 - Modified: -sfrecord.c - hacked from sfplay ::: 2308:forum::für::umläute:1999 @ iem +sfrecord.c - hacked from sfplay ::: 2308:forum::für::umläute:1999 @ iem please mail problems and ideas for improvements to ritsch@iem.kug.ac.at zmoelnig@iem.kug.ac.at */ -/* TODO: deprecate this in favour of [sfplay~] */ +/* TODO: deprecate this in favour of [writesf~] */ /* #define DEBUG_ME for debugging messages */ @@ -136,7 +139,7 @@ static void sfrecord_open(t_sfrecord *x,t_symbol *filename,t_symbol *endian) x->swap = (endian->s_name[0] == 'b'); /* - * skip header after open;; sometimes we´ll have to write a header using the x->skip; so don´t delete it completely + * skip header after open;; sometimes weŽll have to write a header using the x->skip; so donŽt delete it completely */ /* x->skip = 1; */ @@ -176,7 +179,7 @@ static void sfrecord_close(t_sfrecord *x) return; } -/* for skipping header of soundfile Don´t use this for memory map */ +/* for skipping header of soundfile DonŽt use this for memory map */ static int sfrecord_skip(t_sfrecord *x) { @@ -220,7 +223,7 @@ static void sfrecord_float(t_sfrecord *x, t_floatarg f) else sfrecord_stop(x); } -/* say what state we´re in */ +/* say what state weŽre in */ static void sfrecord_bang(t_sfrecord* x) { if (x->state == SFRECORD_WRITE) state_out(x, 1); else state_out(x, 0); @@ -569,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Ž"); } @@ -1,24 +1,21 @@ -/****************************************************** +/* + * sgn~: sign of a signal * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 2000:forum::für::umläute:2005 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ - -/* - sgn~: sign of a signal - - 2112:forum::für::umläute:2005 -*/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "zexySIMD.h" diff --git a/src/sigzero~.c b/src/sigzero~.c index 85012d7..da8c350 100644 --- a/src/sigzero~.c +++ b/src/sigzero~.c @@ -1,17 +1,21 @@ -/****************************************************** +/* + * sigzero~: detect whether an entire signal vector is 0 * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - ******************************************************/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ /* ------------------------ sigzero~ ----------------------------- */ /* diff --git a/src/sleepgrain.c b/src/sleepgrain.c index aeda70b..8805ff8 100644 --- a/src/sleepgrain.c +++ b/src/sleepgrain.c @@ -1,22 +1,21 @@ -/****************************************************** +/* + * sleepgrain : get (and set?) the sleepgrain of Pd * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ - -/* - sleepgrain : get (and set?) the sleepgrain of Pd -*/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "zexy.h" @@ -1,24 +1,21 @@ -/****************************************************** +/* + * sort : sort a list of floats * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - ******************************************************/ - - -/* 1309:forum::für::umläute:2000 */ - -/* - sort : sort a package of floats -*/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "zexy.h" diff --git a/src/step~.c b/src/step~.c index 9b6fed1..5772208 100644 --- a/src/step~.c +++ b/src/step~.c @@ -1,17 +1,21 @@ -/****************************************************** +/* + * step~: unity step function * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - ******************************************************/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ /* step~ : will make a unity step at a desired point in the signal-vector; the second input specifies a diff --git a/src/strcmp.c b/src/strcmp.c index 64881e1..34f7b8b 100644 --- a/src/strcmp.c +++ b/src/strcmp.c @@ -1,27 +1,26 @@ -/****************************************************** +/* + * strcmp : compare 2 lists as if they were strings * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "zexy.h" #include <stdlib.h> #include <string.h> -/* - * strcmp : compare 2 lists as if they were strings -*/ - /* ------------------------- strcmp ------------------------------- */ /* compare 2 lists ( == for lists) */ @@ -1,23 +1,24 @@ -/****************************************************** +/* + * sum :: the sum of a list of floats * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "zexy.h" -/* sum :: the sum of a list of floats */ - static t_class *sum_class; typedef struct _sum diff --git a/src/swap~.c b/src/swap~.c index 65ecb5b..76de5e2 100644 --- a/src/swap~.c +++ b/src/swap~.c @@ -1,23 +1,27 @@ -/****************************************************** +/* + * swap~: byteswap a 16bit signal * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - ******************************************************/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ /* the long waited for swap~-object that does a byte swap of course, we unfortunately have to quantize the float-signal to 16bit (to get bytes) - 1110:forum::für::umläute:1999 + 1110:forum::für::umläute:1999 */ #include "zexy.h" diff --git a/src/symbol2list.c b/src/symbol2list.c index 7393104..dcaaaeb 100644 --- a/src/symbol2list.c +++ b/src/symbol2list.c @@ -1,27 +1,26 @@ -/****************************************************** - * - * zexy - implementation file - * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** +/* + * symbol2list: convert a symbol into a list (with given delimiters) * - * license: GNU General Public License v.2 + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - ******************************************************/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "zexy.h" #include <stdlib.h> #include <string.h> -/* - * symbol2list: convert a symbol into a list (with given delimiters) -*/ - /* ------------------------- symbol2list ------------------------------- */ static t_class *symbol2list_class; diff --git a/src/tabdump.c b/src/tabdump.c index 824f483..a91acc2 100644 --- a/src/tabdump.c +++ b/src/tabdump.c @@ -1,23 +1,21 @@ - -/****************************************************** - * - * zexy - implementation file - * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) +/* + * tabdump: get the content of a table as a list of floats * - ****************************************************** + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * license: GNU General Public License v.2 - * - ******************************************************/ - - -/* hack : 2108:forum::für::umläute:1999 @ iem */ - + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "zexy.h" diff --git a/src/tabminmax.c b/src/tabminmax.c index a7e622d..ca49bf8 100644 --- a/src/tabminmax.c +++ b/src/tabminmax.c @@ -1,20 +1,21 @@ -/****************************************************** +/* + * tabminmax: get minimum and maximum of a table * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ - -/* hack : 2108:forum::für::umläute:1999 @ iem */ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "zexy.h" diff --git a/src/tabread4~~.c b/src/tabread4~~.c index a1a4f34..3c07e47 100644 --- a/src/tabread4~~.c +++ b/src/tabread4~~.c @@ -1,19 +1,21 @@ -/****************************************************** +/* + * tabread4~~: a tabread with 2 inputs for higher precision * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zm-bölnig-A - * - * 1999:forum::f-bür::umläute:2007-A - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ - + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ /* based on tabread4~ which is part of pd */ #include "zexy.h" diff --git a/src/tabset.c b/src/tabset.c index c9a4687..636ffb5 100644 --- a/src/tabset.c +++ b/src/tabset.c @@ -1,20 +1,23 @@ -/****************************************************** +/* + * tabset: set a table with a list of floats * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ -/* hack : 2108:forum::für::umläute:1999 @ iem */ +/* you could also send a message [0 <data...>( to the table to achieve the same result */ #include "zexy.h" diff --git a/src/tavg~.c b/src/tavg~.c index bdd33ed..5d80e9f 100644 --- a/src/tavg~.c +++ b/src/tavg~.c @@ -1,23 +1,24 @@ -/****************************************************** +/* + * tavg~: arithmetic mean between last and current 'bang' (triggered average on signals) * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "zexy.h" -/* triggered average :: arithmetic mean between last and current BANG */ - static t_class *tavg_class; typedef struct _tavg @@ -1,27 +1,25 @@ -/****************************************************** - * - * zexy - implementation file - * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** +/* + * time:: gets the current time from the system * - * license: GNU General Public License v.2 + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - ******************************************************/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ /* - (c) 1202:forum::für::umläute:2000 - 1506:forum::für::umläute:2003: use timeb only if needed (like on windoze) - - "time" gets the current time from the system - "date" gets the current date from the system - -*/ + * 1506:forum::für::umläute:2003: use timeb only if needed (like on windoze) + */ #include "zexy.h" #ifdef __WIN32__ diff --git a/src/unpack.c b/src/unpack.c index c18861c..33f2414 100644 --- a/src/unpack.c +++ b/src/unpack.c @@ -1,7 +1,7 @@ /* * unpack: a type-agnostic version of [unpack] * - * (c) 2007-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) + * (c) 2007-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License diff --git a/src/unpack~.c b/src/unpack~.c index c27f5f4..5ad6af1 100644 --- a/src/unpack~.c +++ b/src/unpack~.c @@ -1,26 +1,21 @@ -/****************************************************** +/* + * unpack~ :: convert (list-of-) float inputs to signals * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ - -/* 0109:forum::für::umläute:2000 - unpack~ :: convert float-(package)-inputs to signals -*/ - -/* ---------------------------- unpack~ ----------------------------- */ -/* unpack a sequence of float-package to a signal-vector */ - + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. +/* #include "zexy.h" @@ -1,25 +1,21 @@ -/****************************************************** +/* + * urn : "generate random numbers without duplicates" (very max-like) * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ - -/* 1008:forum::für::umläute:2001 */ - + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. /* - urn : "generate random numbers without duplicates" - very max-like -*/ #include "zexy.h" @@ -1,21 +1,21 @@ -/****************************************************** +/* + * wrap: wrap floats between two limits * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ - -/* wrap floats between to limits */ - + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. +/* #include "zexy.h" static t_class *wrap_class; @@ -1,19 +1,21 @@ -/****************************************************** +/* + * zexy: the swiss army knife for Pure Data * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::fÃŒr::umlÀute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2005 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ - + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. +/* /* ...this is a very ZEXY external ... so have fun @@ -122,7 +124,7 @@ static void zexy_help(void) post("urn\t\t:: unique random numbers"); post("operating_system\t:: information on the OS"); - endpost(); post("\n(l) forum::für::umläute except where indicated"); + endpost(); post("\n(l) forum::fÃŒr::umlÀute except where indicated"); post("this software is released under the GnuGPL that is provided with these files"); endpost(); } @@ -141,7 +143,7 @@ void zexy_setup(void) for (i=0; i<28; i++) startpost("%c", HEARTSYMBOL); endpost(); post("\t%c the zexy external "VERSION" %c", HEARTSYMBOL, HEARTSYMBOL); - post("\t%c (l) forum::für::umläute %c", HEARTSYMBOL, HEARTSYMBOL); + post("\t%c (l) forum::fÃŒr::umlÀute %c", HEARTSYMBOL, HEARTSYMBOL); post("\t%c iem @ kug %c", HEARTSYMBOL, HEARTSYMBOL); post("\t%c compiled: "__DATE__" %c", HEARTSYMBOL, HEARTSYMBOL); post("\t%c send me a 'help' message %c", HEARTSYMBOL, HEARTSYMBOL); @@ -1,7 +1,7 @@ /* ********************************************** */ /* the ZEXY external */ /* ********************************************** */ -/* forum::fÃŒr::umlÀute */ +/* forum::fÃŒr::umlÀute */ /* ********************************************** */ /* the ZEXY external is a runtime-library for miller s. puckette's realtime-computermusic-software "pure data" @@ -103,7 +103,7 @@ typedef struct _mypdlist static void zexy_register(char*object){ if(object!=0){ post("[%s] part of zexy-%s (compiled: "__DATE__")", object, VERSION); - post("\tCopyright (l) 1999-2011 IOhannes m zmölnig, forum::fÃŒr::umlÀute & IEM"); + post("\tCopyright (l) 1999-2011 IOhannes m zmölnig, forum::fÃŒr::umlÀute & IEM"); } } #else @@ -1,25 +1,28 @@ -/****************************************************** +/* + * z~: samplewise delay (z^-N) * - * zexy - implementation file + * (c) 1999-2011 IOhannes m zmölnig, forum::für::umläute, institute of electronic music and acoustics (iem) * - * copyleft (c) IOhannes m zmölnig - * - * 1999:forum::für::umläute:2004 - * - * institute of electronic music and acoustics (iem) - * - ****************************************************** - * - * license: GNU General Public License v.2 - * - ******************************************************/ + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. +/* /* here we do some sample-wise delay, so you can do your own FIR-filter-designs here are :: "z^(-1)", "z^(-N)" to do :: a "lattice~" section ... - 1302:forum::für::umläute:2000 + 1302:forum::für::umläute:2000 */ #include "zexy.h" |