Patch crashes when wave/play finds file on SD card, doesn't if it doesn't


#1

Strange thing: I'm trying to use wave/play, and send it filenames from string/indexed.
While building, all seemed good, although I had no sound.
I then discovered I made a mistake in the file name (the files are in a subdirectory, and I forgot to add that).
So I fixed that, so play/wave should now find the files correctly.
However, now the patch crashes Axoloti (disconnect).
If I change the filename to something non-existing, the patch works again (though without sample playback obviously)
Is there an explanation and possibly a way to prevent this from happening?


#2

I can confirm this. Axoloti crashes when i try to play a sample from microSD.


#3

just to be clear: I have used wave/play before, and it certainly does work.
It's just in this particular case in a fairly large patch that it seems to fail.
I'm wondering why.
Does it take more space when it can find a file as opposed to when it can't, for example?


#4

I have not understood the root cause of sdcard playback faillures yet.
Some people report success, some experience crashes...
Sorry, please give me some time to study this in depth...


#5

i've spent the weekend building an sdcard based instrument so I can help test the issue. I have everything working as intended. Do you mind sharing the patch? In my instrument I am not using the wave/play indexed object but I have tried the regular wave/play object. In the end I used the table/ objects to do what I need though.


#6

Id wager its wide variety of types of sd cards. Ive seen lots of cards with varying levels of quality over the years have a huge impact on audio performance.


#7

I can play wavefiles here. BUT If I change the sample I have to reconnect the Micro USB cable to the Axoloti almost everytime. Or If I change some things in the patch this also happens very often.

Also if you have 2 waveplayers in the same patch, with same file loaded the patch will not compile at all.

I checked the info from Johannes about SD-cards and he said in some cases class4 performed well so I got one of those. Anyway, it works but there a few things to be aware of. To start with I thought it didn't work because it didnt compile the patches as it should. But disconnecting and reconnecting Micro USB cable does help, but it has to be done almost everytime you compile a patch.

On OSX