annotate projects/heavy/samphold/ControlUnop.h @ 160:5bcf04234f80 heavy-updated

- added -std=c99 to Makefile for user-supplied C files (required for heavy files) - changed heavy core render.cpp file to use latest API and removed all redundant functions (e.g. foleyDesigner/touchkey stuff) - use build_pd.sh to compile and run pd files (-h for usage instructions)
author chnrx <chris.heinrichs@gmail.com>
date Thu, 05 Nov 2015 18:58:26 +0000
parents
children
rev   line source
chris@160 1 /**
chris@160 2 * Copyright (c) 2014, 2015, Enzien Audio Ltd.
chris@160 3 *
chris@160 4 * Permission to use, copy, modify, and/or distribute this software for any
chris@160 5 * purpose with or without fee is hereby granted, provided that the above
chris@160 6 * copyright notice and this permission notice appear in all copies.
chris@160 7 *
chris@160 8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
chris@160 9 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
chris@160 10 * AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
chris@160 11 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
chris@160 12 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
chris@160 13 * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
chris@160 14 * PERFORMANCE OF THIS SOFTWARE.
chris@160 15 */
chris@160 16
chris@160 17 #ifndef _HEAVY_CONTROL_UNOP_H_
chris@160 18 #define _HEAVY_CONTROL_UNOP_H_
chris@160 19
chris@160 20 struct HvBase;
chris@160 21 struct HvMessage;
chris@160 22
chris@160 23 typedef enum UnopType {
chris@160 24 HV_UNOP_ASIN,
chris@160 25 HV_UNOP_ASINH,
chris@160 26 HV_UNOP_ACOS,
chris@160 27 HV_UNOP_ACOSH,
chris@160 28 HV_UNOP_ATAN,
chris@160 29 HV_UNOP_ATANH,
chris@160 30 HV_UNOP_SIN,
chris@160 31 HV_UNOP_SINH,
chris@160 32 HV_UNOP_COS,
chris@160 33 HV_UNOP_COSH,
chris@160 34 HV_UNOP_TAN,
chris@160 35 HV_UNOP_TANH,
chris@160 36 HV_UNOP_EXP,
chris@160 37 HV_UNOP_ABS,
chris@160 38 HV_UNOP_SQRT,
chris@160 39 HV_UNOP_LOG,
chris@160 40 HV_UNOP_LOG2,
chris@160 41 HV_UNOP_LOG10,
chris@160 42 HV_UNOP_CEIL,
chris@160 43 HV_UNOP_FLOOR,
chris@160 44 HV_UNOP_ROUND
chris@160 45 } UnopType;
chris@160 46
chris@160 47 void cUnop_onMessage(struct HvBase *_c, UnopType op, const struct HvMessage *const m,
chris@160 48 void (*sendMessage)(struct HvBase *, int, const struct HvMessage *const));
chris@160 49
chris@160 50 #endif // _HEAVY_CONTROL_UNOP_H_