aboutsummaryrefslogtreecommitdiff
path: root/src/iem_spec2.c
blob: 239bff443c35366933d0df1bf09f66ab682d1410 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
/* For information on usage and redistribution, and for a DISCLAIMER OF ALL
* WARRANTIES, see the file, "LICENSE.txt," in this distribution.

iem_spec2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2009 */


#include "m_pd.h"
#include "iemlib.h"

static t_class *iem_spec2_class;

static void *iem_spec2_new(void)
{
  t_object *x = (t_object *)pd_new(iem_spec2_class);
  
  return (x);
}

void spec2_1p1z_freq_tilde_setup(void);
void spec2_1p1z_time_tilde_setup(void);
void spec2_abs_tilde_setup(void);
void spec2_add_scalar_tilde_setup(void);
void spec2_add_tilde_setup(void);
void spec2_block_delay_tilde_setup(void);
void spec2_clip_max_tilde_setup(void);
void spec2_clip_min_tilde_setup(void);
void spec2_dbtopow_tilde_setup(void);
void spec2_dbtorms_tilde_setup(void);
void spec2_matrix_bundle_stat_tilde_setup(void);
void spec2_mul_scalar_tilde_setup(void);
void spec2_mul_tilde_setup(void);
void spec2_powtodb_tilde_setup(void);
void spec2_rmstodb_tilde_setup(void);
void spec2_shift_tilde_setup(void);
void spec2_sqrt_tilde_setup(void);
void spec2_stretch_tilde_setup(void);
void spec2_sub_tilde_setup(void);
void spec2_sum_tilde_setup(void);
void spec2_tab_conv_tilde_setup(void);
void spec2_tabreceive_enable_tilde_setup(void);
void spec2_tabreceive_tilde_setup(void);

/* ------------------------ setup routine ------------------------- */

void iem_spec2_setup(void)
{
  iem_spec2_class = class_new(gensym("iem_spec2"), iem_spec2_new, 0,
    sizeof(t_object), CLASS_NOINLET, 0);
  
  spec2_1p1z_freq_tilde_setup();
  spec2_1p1z_time_tilde_setup();
  spec2_abs_tilde_setup();
  spec2_add_scalar_tilde_setup();
  spec2_add_tilde_setup();
  spec2_block_delay_tilde_setup();
  spec2_clip_max_tilde_setup();
  spec2_clip_min_tilde_setup();
  spec2_dbtopow_tilde_setup();
  spec2_dbtorms_tilde_setup();
  spec2_matrix_bundle_stat_tilde_setup();
  spec2_mul_scalar_tilde_setup();
  spec2_mul_tilde_setup();
  spec2_powtodb_tilde_setup();
  spec2_rmstodb_tilde_setup();
  spec2_shift_tilde_setup();
  spec2_sqrt_tilde_setup();
  spec2_stretch_tilde_setup();
  spec2_sub_tilde_setup();
  spec2_sum_tilde_setup();
  spec2_tab_conv_tilde_setup();
  spec2_tabreceive_enable_tilde_setup();
  spec2_tabreceive_tilde_setup();
  
  post("iem_spec2 (R-1.18) library loaded!   (c) Thomas Musil 01.2009");
  post("   musil%ciem.at iem KUG Graz Austria", '@');
}