summaryrefslogtreecommitdiffstats
path: root/src/osc_sound.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/osc_sound.c')
-rw-r--r--src/osc_sound.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/osc_sound.c b/src/osc_sound.c
index e69aea2..2a0d519 100644
--- a/src/osc_sound.c
+++ b/src/osc_sound.c
@@ -8,7 +8,7 @@ osc_t OSC_sound = {
.len = 0,
.start = 0,
.end = 0,
- .type = SAMPLE,
+ .type = WAVE,
};
OSC_COMMON(sound)
@@ -17,7 +17,10 @@ float
osc_sound(float offset)
{
if (!OSC_sound.len) {
- osc_load_wav(&OSC_sound, "/home/gramanas/code/synth-project/waves/test_lick.wav");
+// osc_load_wav(&OSC_sound, "/home/gramanas/code/synth-project/waves/test_lick.wav");
+ //osc_load_wav(&OSC_sound, "/home/gramanas/code/synth-project/waves/Free Wavetables[128]/FM Synthesis[128-44.1khz-16bit]/FM Sq- NotPM.wav");
+ osc_load_wav(&OSC_sound, "/home/gramanas/code/synth-project/waves/Free Wavetables[2048]/Melda Oscillator[2048-44.1khz-32bit]/Melda CustumWave2.wav");
+ OSC_sound.len = 2048;
}
return osc_interpolate(offset,