Patch works connected to the software / doesn't work on standalone


#1

Hi,

I've made a patch based on the wave/play object, triggered by a midi/in object. I copied some raw (.wav) files on the sd card, in a folder with the name of the patch.
When I'm connected with the software, I manage to trigger the files' streaming with my midi keyboard connected to the midi IN of the Axoloti Core. Everything's fine.
In the patch, I select "upload to sdcard as startup", then disconnect the Core, then power up the Core with a DC adaptator to play the patch on standalone mode.
Even though I didn't change anything in my hardware setup (midi cables, midi channel, audio cables, mixer) from the previous situation, I can't trigger any sound from the axoloti Core.

Windows 10
Axoloti 1.0.10

Did I miss something ?

PS : I tried "upload to sdcard as startup" with a synth patch, it worked fine.
PPS : I ran a SD benchmark on my SD Card ; seems fine.


Patch sounds different after upload to board as startup patch?
#2

When the software is opened and connected to the board, do you get any errors in the log when you eject/insert the sdcard? Inserting the sdcard will launch the startup patch on the card.


#3

Nope, there's nothing in the log when I eject/insert the sdcard.


#4

I had the same problem some time ago, and I think it has something to do with the path of the RAW sample files on the SD card. I had to put them in the root of the SD card for it to be found by the startup patch (and not in a folder)


#5

agreed it sounds like it can't find wave file.

in wave/play try using something like

/mywave.raw

perhaps post a screenshot of your patch so we can see it.

also it would be useful to see the contents of the sdcard,
i.e. where is the raw file located?


#6

Thank you guys, it worked.
I understand this : if the patch is uploaded as startup on sdcard, the compiled patch is on the root of the sdcard, and if I don't specify the path, the wave/play object seeks the files on the root.

Here's a screenshot of my patch. It's a subpatch used in polyphonic mode (2 voices, with more voices the dsp is not full but there are artefacts in the sound).

I used a brief timer/delaypulse in order to trigger the file corresponding to the note pressed (eg A033). If I don't do that the wave/play triggers the sound of the note pressed before. It's perhaps a dirty solution but it works.


#7

be careful with execution order.... (this may be your issue)

execution is strictly left to right, top to bottom...
so if you want things executed sequential, the top of the objects must all be at the same height.
your patch, will be executing in a rather 'unexpected' way, i suspect :slight_smile:

its worth spending some time understanding execution order in the beginning, as with more complex patches, it can lead to some really nasty bugs, which can be avoided by getting into good habits from the start.

@johannes, does the automatic uploading of resource files, have/need a special case for the startup? as it wont be in a subdirectory with patch name.
(don't think it applies here since this is using dynamic filenames)