Re: [fluid-dev] [API] get total number of synthesized audio frames

2016-10-27 Thread Tom M.
Hi Jean-Jacques, thanks for your answer. Well, meanwhile I'm using fluidsnyth's sequencer, since I have to fiddle around with some MIDI CCs. So I decided to use libsmf to read out midi files event by event and provide them to fluid_seq. And libsmf also does the time calculation. But thanks anywa

Re: [fluid-dev] [API] get total number of synthesized audio frames

2016-10-27 Thread CERESA Jean-Jacques ENAC/ENAC
Hi Tom "..Thus is there any (simple) way to predict the total number of audioframes that will be generated when rendering a single midi file? Or how to get the total time this midi file will play?" Taking account the fact that a MIDI file may contains "tempo changes events", the only way to known

[fluid-dev] [API] get total number of synthesized audio frames

2016-10-03 Thread Tom M.
Hi, I'm trying to write a wrapper to make fluidsynth useable with my own audio player. Instead of retrieving small buffers with decoded PCM, my player holds the whole decoded song in memory. Thus is there any (simple) way to predict the total number of audioframes that will be generated when rende