Hi Lorenzo,

On 09/30/2017 10:57 AM, Lorenzo Sutton wrote:
Hi John,

On 30/09/17 17:40, John A wrote:
Hey all,

I have been trying to import wav files recorded in another program, and can't get it done. I go to File --> Manage Audio Files, then click add; I then select the file from the file browser, and get this error:

Failed to add audio file. Bad sound file
file.wav: Failed to convert or resample audio file on import

I am running Rosegarden 15.12. I did some googling, and the best I can tell, this is a bug with certain package versions of Rosegarden, and the packagers are responsible for the fix.

My questions are, is that the case? Is it fixable? Or should I just compile the newest version from source?

I can confirm this problem on a pretty recent version compiled from SVN if the audio file has a *different sample rate* compared to the current jack session. Indeed rosegarden seems to fail the sample rate conversion.
This seems to have been reported here:
https://sourceforge.net/p/rosegarden/bugs/1494/

On the other hand importing a file with same samplerate as the jack session works flawlessly.

As a work-around you could either try resampling externally your audio file to match the samplerate you use with rosegarden, or vice-versa match the jack samplerate to the desired wave file.

I tried making sure the sample rates match, but unfortunately it is still giving the error.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user

Reply via email to