History

missing files

Paul Batchelor committed 5 years ago

Commit 14383221 parent 8143edf2 files · +25 −0Browse files

Unified · Split

2 files
  1. nodes/sknodes.h +1 −0
  2. nodes/wav/l_wavin.c +24 −0
nodes/sknodes.h+1−0
@@ -3,6 +3,7 @@ · 2 unmodified lines
3int sk_node_biscale(sk_core *core);3int sk_node_biscale(sk_core *core);
4int sk_node_scale(sk_core *core);4int sk_node_scale(sk_core *core);
5int sk_node_wavout(sk_core *core, const char *filename);5int sk_node_wavout(sk_core *core, const char *filename);
6int sk_node_wavin(sk_core *core, const char *filename);
6int sk_node_sine(sk_core *core);7int sk_node_sine(sk_core *core);
7int sk_node_dcblocker(sk_core *core);8int sk_node_dcblocker(sk_core *core);
8int sk_node_rephasor(sk_core *core);9int sk_node_rephasor(sk_core *core);
nodes/wav/l_wavin.c+24−0
@@ -0,0 +1,24 @@
1#include <stdlib.h>
2#include <stdio.h>
3#include <string.h>
4#include "lil/lil.h"
5#include "patchwerk/patchwerk.h"
6#include "core.h"
7#include "sklil.h"
8#include "wavin.h"
9
10static lil_value_t wavin(lil_t lil, size_t argc, lil_value_t *argv)
11{
12 sk_core *core;
13 core = lil_get_data(lil);
14
15 SKLIL_ARITY_CHECK(lil, "wavin", argc, 1);
16
17 sk_node_wavin(core, lil_to_string(argv[0]));
18 return NULL;
19}
20
21void sklil_load_wavin(lil_t lil)
22{
23 lil_register(lil, "wavin", wavin);
24}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t