~pbatch/patchwerk

ref: 9896a10de32869a9113db33bb0dfc4bb4450e73c patchwerk/runt/nodes.c -rw-r--r-- 865 bytes
9896a10d — paul added gen_triangle 11 months ago
                                                                                
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
#include <stdio.h>
#include <runt.h>
#include <soundpipe.h>
#include "patchwerk.h"
#include "runt_patchwerk.h"

#define FUN(X) runt_int rpw_node_##X(runt_vm *vm, runt_ptr p);
#define UGEN(T,S) FUN(S)
#include "ugen_list.h"
#undef UGEN
#undef FUN

runt_int runt_load_nodes(runt_vm *vm, runt_ptr p)
{
#define FUN(X) rpw_node_##X(vm, p);
#define UGEN(T,S) FUN(S);
#include "ugen_list.h"
#undef UGEN
#undef FUN
    rpw_ftnew(vm, p);
    rpw_gen_sine(vm, p);
    rpw_gen_vals(vm, p);
    rpw_gen_padsynth(vm, p);
    rpw_loadwav(vm, p);
    rpw_bdup(vm, p);
    rpw_bswap(vm, p);
    rpw_bhold(vm, p);
    rpw_bunhold(vm, p);
    rpw_bdrop(vm, p);
    rpw_cable(vm, p);
    rpw_ftbl(vm, p);
    rpw_gen_sinesum(vm, p);
    rpw_tblsize(vm, p);
    rpw_tbldur(vm, p);
    rpw_gen_composite(vm, p);
    rpw_gen_triangle(vm, p);
    runt_mark_set(vm);
    return RUNT_OK;
}