Fixed the looping of fluidsynth
Fixed the error printing
Updated
Fixed resample

Don't resample empty data.