File: prob.h

package info (click to toggle)
pd-mjlib 0.1.1-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid
  • size: 1,300 kB
  • sloc: ansic: 1,273; makefile: 348
file content (18 lines) | stat: -rw-r--r-- 479 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

typedef struct _prob
{
    t_object x_obj;
    t_clock *x_clock;
	t_float x_time;
	t_float x_probability;
	t_float x_running;
} t_prob;

static void prob_tick(t_prob *x);
static void prob_start(t_prob *x);
static void prob_stop(t_prob *x);
static void prob_free(t_prob *x);
static void *prob_new( t_float , t_float);
static void prob_set_time( t_prob *x, t_float f );
static void prob_set_probability( t_prob *x, t_float f );
static int prob_event(t_prob *x);