summaryrefslogtreecommitdiff
path: root/src/ladspa_run_synth.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ladspa_run_synth.c')
-rw-r--r--src/ladspa_run_synth.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ladspa_run_synth.c b/src/ladspa_run_synth.c
index 26416a9..115c4f5 100644
--- a/src/ladspa_run_synth.c
+++ b/src/ladspa_run_synth.c
@@ -107,6 +107,11 @@ void ladspa_run_sample_callback(event_table_t *event_table, void *userdata){
}
/* Write the audio */
+//here it writes to file, and it has a buffer sf_output, most likely filled from plugin. anyway, tempo problem, if it doesn't pick correct note duration it must be something
+//with either reading tempo/setting tempo settings to player, or calulcations of time then it calulate each note. I don't think so...it's because it doesn't do the
+//calculations gradually, seems to do them all at the end (like a final loop) and whatever the last tempo was, it uses that for the whole piece, you know what I mean?
+//well it's not how send_events works, it send events one by one, so it should work fine. how did you test tempo? ok I'm going to make some perfect test-cases, sound good? yep
+//
if ((items_written = sf_writef_float(outfile,
sf_output,
nframes)) != nframes) {