~pbatch/patchwerk

ref: 654f2fef7d07357547a173bb6856dcc8b312fd0d patchwerk/runt/nodes.c -rw-r--r-- 848 bytes
654f2fef — paul re-enabled gen_sinesum and gen_composite 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
#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); */
    runt_mark_set(vm);
    return RUNT_OK;
}