Elektroid, a GNU/Linux transfer application for Elektron devices

Hey! Love this piece of software and how thoughtfully it’s being developed.

I am actually having trouble transferring samples to my Microfreak. When I drag a .wav into an empty slot, it starts the transfer but then says “terminated with errors”. Running from the CLI it says “input/output error”.

1 Like

Welcome to Elektronauts, @Sageriversmusic.

Could you run the CLI command while passing -vv (verbose mode) and post here the result?

Also, could you check if the sample memory is full? You can use the CLI for this but it’s also at the bottom right corner in the GUI.

How long is the sample you want to transfer?

1 Like

Thank you so much!

So the clip is about 3.5s long, it’s a .wav recorded on my Zoom H4n Pro.

Sample memory is at 59.27%

For what it’s worth, my Microfreak firmware version is 5.0.0.36

I was a little unsure about whether I’m supposed to give it a specific location to upload into, so I tried both and got different errors:

elektroid-cli -vv microfreak-sample-ul funnel-of-love.wav 1:/
DEBUG:preferences.c:233:preferences_load: Loading preferences from '/home/sage/.config/elektroid/preferences.json'...
DEBUG:preferences.c:242:preferences_load: Loading preference 'localDir'...
DEBUG:preferences.c:242:preferences_load: Loading preference 'remoteDir'...
DEBUG:preferences.c:242:preferences_load: Loading preference 'showRemote'...
DEBUG:preferences.c:242:preferences_load: Loading preference 'autoplay'...
DEBUG:preferences.c:242:preferences_load: Loading preference 'mix'...
DEBUG:preferences.c:242:preferences_load: Loading preference 'showGrid'...
DEBUG:preferences.c:242:preferences_load: Loading preference 'gridLength'...
DEBUG:preferences.c:242:preferences_load: Loading preference 'playSampleWhileLoading'...
DEBUG:preferences.c:242:preferences_load: Loading preference 'audioBufferLength'...
DEBUG:preferences.c:242:preferences_load: Loading preference 'stopDeviceWhenConnecting'...
DEBUG:preferences.c:242:preferences_load: Loading preference 'elektronLoadSoundTags'...
DEBUG:elektroid-cli.c:880:main: Connector: "microfreak"; filesystem: "sample"; operation: "ul"
DEBUG:backend_alsa.c:369:backend_get_system_subdevices: Adding hw:1 (name 'Arturia MicroFreak', subname 'Arturia MicroFreak Arturia Micr')...
DEBUG:backend.c:313:backend_init_midi: Initializing backend (ALSA) to 'hw:1,0,0'...
DEBUG:backend_alsa.c:87:backend_init_int: Setting blocking mode...
DEBUG:backend.c:634:backend_rx_drain: Draining buffers...
DEBUG:backend.c:403:backend_rx_raw_loop: Timeout (1000)
DEBUG:backend.c:706:backend_init_connector: Connector microfreak matches the device
DEBUG:backend.c:746:backend_init_connector: Testing microfreak connector (standard handshake)...
DEBUG:backend_alsa.c:206:backend_tx_sysex_internal: Raw message sent (6): f0 7e 7f 06 01 f7
DEBUG:backend.c:614:backend_rx_sysex: Raw message received (17): f0 7e 7f 06 02 00 20 6b 06 00 06 01 05 00 00 24 f7
DEBUG:backend.c:138:backend_midi_handshake: Detected device: 00-20-6b 06-00 06-01 5.0.0.36
DEBUG:backend.c:760:backend_init_connector: Using microfreak connector...
DEBUG:sample.c:517:sample_set_sample_info: Loop start at 155283, loop end at 155283
DEBUG:sample.c:759:sample_load_libsndfile: Loading sample (155284 frames)...
DEBUG:sample.c:764:sample_load_libsndfile: Loading 1 channels buffer...
DEBUG:sample.c:852:sample_load_libsndfile: Resampling 1 channels with ratio 0.725624...
Progress:   0 %
DEBUG:sample.c:764:sample_load_libsndfile: Loading 1 channels buffer...
DEBUG:sample.c:852:sample_load_libsndfile: Resampling 1 channels with ratio 0.725624...
Progress:   0 %
DEBUG:sample.c:764:sample_load_libsndfile: Loading 1 channels buffer...
DEBUG:sample.c:852:sample_load_libsndfile: Resampling 1 channels with ratio 0.725624...
Progress:   0 %
DEBUG:sample.c:764:sample_load_libsndfile: Loading 1 channels buffer...
DEBUG:sample.c:852:sample_load_libsndfile: Resampling 1 channels with ratio 0.725624...
Progress:   0 %
DEBUG:sample.c:764:sample_load_libsndfile: Loading 1 channels buffer...
DEBUG:sample.c:852:sample_load_libsndfile: Resampling 1 channels with ratio 0.725624...
Progress:   0 %
Progress:   0 %
DEBUG:backend.c:340:backend_destroy: Destroying backend...
DEBUG:backend.c:230:backend_destroy_data: Destroying backend data...
ERROR:elektroid-cli.c:944:main: Error: Invalid argument

And also:

elektroid-cli -vv microfreak-sample-ul funnel-of-love.wav 1:/053
DEBUG:preferences.c:233:preferences_load: Loading preferences from '/home/sage/.config/elektroid/preferences.json'...
DEBUG:preferences.c:242:preferences_load: Loading preference 'localDir'...
DEBUG:preferences.c:242:preferences_load: Loading preference 'remoteDir'...
DEBUG:preferences.c:242:preferences_load: Loading preference 'showRemote'...
DEBUG:preferences.c:242:preferences_load: Loading preference 'autoplay'...
DEBUG:preferences.c:242:preferences_load: Loading preference 'mix'...
DEBUG:preferences.c:242:preferences_load: Loading preference 'showGrid'...
DEBUG:preferences.c:242:preferences_load: Loading preference 'gridLength'...
DEBUG:preferences.c:242:preferences_load: Loading preference 'playSampleWhileLoading'...
DEBUG:preferences.c:242:preferences_load: Loading preference 'audioBufferLength'...
DEBUG:preferences.c:242:preferences_load: Loading preference 'stopDeviceWhenConnecting'...
DEBUG:preferences.c:242:preferences_load: Loading preference 'elektronLoadSoundTags'...
DEBUG:elektroid-cli.c:880:main: Connector: "microfreak"; filesystem: "sample"; operation: "ul"
DEBUG:backend_alsa.c:369:backend_get_system_subdevices: Adding hw:1 (name 'Arturia MicroFreak', subname 'Arturia MicroFreak Arturia Micr')...
DEBUG:backend.c:313:backend_init_midi: Initializing backend (ALSA) to 'hw:1,0,0'...
DEBUG:backend_alsa.c:87:backend_init_int: Setting blocking mode...
DEBUG:backend.c:634:backend_rx_drain: Draining buffers...
DEBUG:backend.c:403:backend_rx_raw_loop: Timeout (1000)
DEBUG:backend.c:706:backend_init_connector: Connector microfreak matches the device
DEBUG:backend.c:746:backend_init_connector: Testing microfreak connector (standard handshake)...
DEBUG:backend_alsa.c:206:backend_tx_sysex_internal: Raw message sent (6): f0 7e 7f 06 01 f7
DEBUG:backend.c:614:backend_rx_sysex: Raw message received (17): f0 7e 7f 06 02 00 20 6b 06 00 06 01 05 00 00 24 f7
DEBUG:backend.c:138:backend_midi_handshake: Detected device: 00-20-6b 06-00 06-01 5.0.0.36
DEBUG:backend.c:760:backend_init_connector: Using microfreak connector...
DEBUG:sample.c:517:sample_set_sample_info: Loop start at 155283, loop end at 155283
DEBUG:sample.c:759:sample_load_libsndfile: Loading sample (155284 frames)...
DEBUG:sample.c:764:sample_load_libsndfile: Loading 1 channels buffer...
DEBUG:sample.c:852:sample_load_libsndfile: Resampling 1 channels with ratio 0.725624...
Progress:   0 %
DEBUG:sample.c:764:sample_load_libsndfile: Loading 1 channels buffer...
DEBUG:sample.c:852:sample_load_libsndfile: Resampling 1 channels with ratio 0.725624...
Progress:   0 %
DEBUG:sample.c:764:sample_load_libsndfile: Loading 1 channels buffer...
DEBUG:sample.c:852:sample_load_libsndfile: Resampling 1 channels with ratio 0.725624...
Progress:   0 %
DEBUG:sample.c:764:sample_load_libsndfile: Loading 1 channels buffer...
DEBUG:sample.c:852:sample_load_libsndfile: Resampling 1 channels with ratio 0.725624...
Progress:   0 %
DEBUG:sample.c:764:sample_load_libsndfile: Loading 1 channels buffer...
DEBUG:sample.c:852:sample_load_libsndfile: Resampling 1 channels with ratio 0.725624...
Progress:   0 %
Progress:   0 %
Progress:   0 %
DEBUG:backend_alsa.c:206:backend_tx_sysex_internal: Raw message sent (11): f0 00 20 6b 07 01 00 01 47 0a f7
DEBUG:backend.c:614:backend_rx_sysex: Raw message received (19): f0 00 20 6b 07 7f 1d 09 48 47 7d 48 7f 19 00 00 79 00 f7
Progress:   0 %
Progress:   0 %
DEBUG:backend_alsa.c:206:backend_tx_sysex_internal: Raw message sent (13): f0 00 20 6b 07 01 01 03 5d 34 00 00 f7
DEBUG:backend.c:614:backend_rx_sysex: Raw message received (10): f0 00 20 6b 07 01 01 00 18 f7
Progress:   0 %
Progress:   0 %
DEBUG:backend_alsa.c:206:backend_tx_sysex_internal: Raw message sent (10): f0 00 20 6b 07 01 02 00 15 f7
DEBUG:backend.c:614:backend_rx_sysex: Raw message received (10): f0 00 20 6b 07 01 02 00 18 f7
Progress:   0 %
DEBUG:connectors/microfreak.c:935:microfreak_sample_get_cksum: sum: 8b46
Progress:   0 %
DEBUG:backend_alsa.c:206:backend_tx_sysex_internal: Raw message sent (42): f0 00 20 6b 07 01 03 20 17 00 00 00 00 00 4a 70 03 04 00 46 0b 66 75 6e 6e 00 65 6c 2d 6f 66 2d 6c 00 6f 00 34 00 00 00 00 f7
DEBUG:backend.c:614:backend_rx_sysex: Raw message received (11): f0 00 20 6b 07 01 03 01 16 01 f7
Progress:   0 %
Progress:   0 %
DEBUG:backend.c:340:backend_destroy: Destroying backend...
DEBUG:backend.c:230:backend_destroy_data: Destroying backend data...
ERROR:elektroid-cli.c:944:main: Error: Input/output error

Let me know if you need anything else!

I can confirm that I’m having the issue in your second attempt too. I’ll investigate this later today.

However, this line from your first attempt fails as it does not provide a destination.

I have presumably fixed the issue.

Could you try again just to be sure?

It works perfectly! Thank you so much!

2 Likes

Elektroid 3.2.2 is just out! :tada:

There are no big changes in this release but this one will hopefully be included in Debian Trixie and its Ubuntu derivatives.

These are the most important additions.

  • Add support for Digitone II
  • Improve elektron JSON schema
  • Add CLI backup command
  • Add optional downloading directory to download command

Besides, some bugs have been fixed.

  • Random error in microfreak when uploading samples (reported by @Sageriversmusic)
  • Crashes when saving recorded samples or after editing existing ones

I hope you enjoy this.

2 Likes