diff options
| author | Pepper <pepper@scannerjammer.com> | 2015-11-01 01:39:27 -0400 |
|---|---|---|
| committer | Pepper <pepper@scannerjammer.com> | 2015-11-01 01:39:27 -0400 |
| commit | a9827d2477d00eafcdc6a640a47396925b071dc6 (patch) | |
| tree | 418489d384924f17e1b4f7d2d39080963f57d159 /src/ladspa_run_synth.c | |
| parent | 2edeea27f4ed6770b2eab70e81ec9172e2807c57 (diff) | |
need to testunsure
Diffstat (limited to 'src/ladspa_run_synth.c')
| -rw-r--r-- | src/ladspa_run_synth.c | 5 |
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) { |
