How to upload a synth patch to SD card on startup?


#1

Hi everyone, maybe I'm dumb but I cannot make playable any synth patch from "SD card on startup".
If I upload any sequencer (i.e. ../library/demos/sequencing/303) it works automatically "on startup" when I switch on Axoloti, even if without a computer or USB power cable connected: sound!
But if I try with a synth (i.e. ../library/demos/synth/strings) doesn't work: no sounds, nothing of nothing.
Of course with synth I use a M-Audio Keystation Mini 32 as controller.
What is wrong?

Thanks in advance for a kind reply :sweat_smile:


#2

Any difference if you plug in your midi controller after powering Axoloti? Does the green led stay on?


#3

No difference, even if I wait 10-20 seconds (enough for any big patch I guess...)
Yep, the green light is on and stays on.
So, Johannes, do you think that is the midi controller and not axoloti itself?


#4

Need to eliminate potential causes:
* the patch is not loaded correctly - this could be verified by adding for example a constant sine tone output in the synth patch
* if the midi controller works correctly when connected to Axoloti while Axoloti is connected to the PC, the cause might be a difference in the initialization sequence - I assume your controller works in "live" mode?
* or insufficient power causing the voltage to drop when connecting the midi controller
* or maybe the Keystation is configured to use a different midi channel? If it works in "live" mode this is already eliminated.


#5

First of all, thanks Johannes for your constant effort to support this beautiful product.
Then I found the problem:
using Windows 7 64bit, once you launch the Axoloti app (to save i.e. a patch to the board SD), even if you detach and reset the board form USB and you quit the Axoloti app, it will be impossible to properly reset the USB connection.
I discovered this workaround today after a PC REBOOT (this seems the only way to get rid of the Axoloti program from memory and maybe having a proper USB driver reset (?).
Infact when I use the Axoloti program to upload a patch on SD card on startup, then the only way to use the board after a USB detach is to use an external USB charger or an USB external battery. In this way it works flawless as expected.
If I connect again the USB to the PC, without rebooting that PC too, no sound is obtained.


#6

I don't believe rebooting Win 7 solves anything. I do most development on win7 x64, attach/detach usb devices all the time, and I only reboot for windows and program updates that require this, sometimes several weeks between reboots.

I've tried to diagnose the issue, I think the patch actually runs, but usb-midi controllers sometimes do not initialize because the log messages ("USB Device Attached etc") get stuck in the usb device queue, stalling the enumeration on the usb host port. The log messages are not queued when there is no usb data connection, which is why it works with a usb charger or usb battery but not when powering from a pc. Will address this soon in an update.


#7

Cool, thanks again :smile:


#8

hi guys, when I try to upload to sd card as startup I get these:

Done compiling patch
Start uploading file to sdcard : /start.bin
uploading: /start.bin
Axoloti says: file error: FR_NOT_READY, filename:"/start.bin"
uploading : 100%
Axoloti says: file error: FR_INVALID_OBJECT, filename:""
Done uploading file
Axoloti says: file error: FR_INVALID_OBJECT, filename:"/"

and the patch is not uploaded.
I'm running axoloti on mac, and used MS-DOS (FAT) format.
Any guesses?

Cheers


#9

Any other evidence of successful sdcard access? For example Window->File manager->refresh?
Is the SDCard properly inserted, not upside down?


#10

Hello,

I cannot get any patch to work with my CME Xkey (connected to USB on Axoloti) on startup without a computer..I've tried 'upload to sd card on startup' and 'upload to internal flash' ..both don't work!

When connected top a computer in live mode everything is fine and when i close Axoloti software it keeps working fine. But when i disconnect and reconnect Axoloti (on computer or external USB charger) the patch runs (i see it loading on the blinking green/red lights..correct?) but the midi controller (CME Xkey usb powered by axoloti and giving midi over USB) does not work! I know the patch loading on startup from sd card works because i tested with a continuous sin osc running without a midi controller and this runs without the computer after restart..

So what am i doing wrong?
Is it a problem with a usb powered midi controller?
I am very new with Axoloti..

I am running 1.0.12 Firmware ID E95BAC96 and i am on OSX Mavericks

Thanks for the help! Jan


#11

Lot's to look around;

a) Is SD Card properly formatted?
New patch / factory /util /util/format follow the description of the object


#12

I solved the issue:

the raw samples need to be in the root directory of the sd card, then it works..
I have another issue now:
Am i correct that i can only create 12 wave/play fn objects in a patch?
If i create more wave/play fn objects then i can't load the patch to the sdcard..?
I get following messages:
region sram overflowed by 2504 bytes..compiling patch failed..failed uploading file..

thanks for the help!
Jan