File: synapseA~.h

package info (click to toggle)
pd-mjlib 0.1.1-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch, wheezy
  • size: 1,296 kB
  • ctags: 369
  • sloc: ansic: 1,273; makefile: 333
file content (21 lines) | stat: -rw-r--r-- 633 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* declarations for the pin~ object */

typedef struct _synapseA_tilde
{
     t_object x_obj;     	 
	 t_float x_f;
	 t_float x_threshold;
	 t_outlet *x_onbang;
	 t_outlet *x_offbang;
	 t_float n_inv;
	 t_float x_state;
} t_synapseA_tilde;

t_int *synapseA_tilde_perform(t_int *w);
static void synapseA_tilde_dsp(t_synapseA_tilde *x, t_signal **sp);
static void synapseA_tilde_free(t_synapseA_tilde *x);
static void *synapseA_tilde_new(t_floatarg prob , t_floatarg tick);
static void synapseA_tilde_float(t_synapseA_tilde* x, t_float n);
static void synapseA_tilde_threshold(t_synapseA_tilde *x, t_float f );