« Return to Thread: (Re)Sampling audio at different rate.

Re: (Re)Sampling audio at different rate.

by marmadoc :: Rate this Message:

Reply to Author | View in Thread

Hi Phil,

Thanks for your reply.

music.columbia.edu - JSyn mailing list wrote:
Are you on Mac or PC?
I'm not 100% sure of the final platform of the client, but I think we can assume PC for now.

music.columbia.edu - JSyn mailing list wrote:
Are you doing realtime output or writing to a file or a network?
Actually both.  I want to be able to write to file while processing (non-realtime) and separately write to file/network while playing realtime.

music.columbia.edu - JSyn mailing list wrote:
I cannot think of a solution to this...
Maybe it is not necessary to use JSyn for the resampling at all.  After some reading I realised that the resampling can be done directly on the data received from the output of the SynthContext.  I have found some libraries mainly written in C that are able to do resampling (with decimation/interpolation and filtering).  I think this would help, but are currently first looking for a Java lib to do the same.  

Do you know of any such Java libraries?  Doesn't JSyn perhaps have a built in resampler that can be used outside of a SynthContext (since you have to resample for input signals not on the same audio rate as the engine)?

Thanks for you time,
Etienne.

 « Return to Thread: (Re)Sampling audio at different rate.