Elektroid, a GNU/Linux transfer application for Elektron devices

It seems downloading is broken for devices upgraded to last firmware versions. This affects all devices that don’t have sample support.

There is some information here.

We’re currently working on it. Hopefully there will be a solution during the weekend but I can’t promise anything.

1 Like

Seems that it was a easy fix. Code is in branch feat-add-digitone-ii.

Could you try and report back?

3 Likes

hey! thank you very much. now i can copy the project to the computer without problems! that part works now, but in my attempt to test it, I renamed the project file in the computer and put it back to DN and in the DN appeared with the old name. It is not a big problem (i just changed the name in DN), but i thought i would mention it.

1 Like

I renamed the project file in the computer and put it back to DN and in the DN appeared with the old name.

The name is in the file contents. Renaming it is just not enough.

Thanks for testing it. I’ll merge the branch later.

2 Likes

Branch feat-add-digitone-ii merged into master.

3 Likes

Will it be possible to find Elektroid 3.1 on AUR for Arch Linux / Manjaro users ?

(Otherwise… installation is easy. I know :wink:)

autoreconf --install
./configure
make
sudo make install

Thank you very much for creating Elektroid :heart_eyes:

2 Likes

Hey,

I can’t play samples with Elektroid, the buttons remain grey.
Audio: pulseaudio 17.0.0 Midi: ALSA

In Elektroid it’s only possible to modify the buffer size.
Where is the settings file to I access and modify audio parameters ?

(Sorry if the question has already been asked, I can’t find anything on the forum.)

Thanks

I think that there was an attempt to create an Arch package for Elektroid.

You can find it here. But it has not been updated in 3 years so…

https://aur.archlinux.org/packages/elektroid-git

Perhaps it would work better with newer versions but I don’t know anything about Arch.

1 Like

That’s strange. Perhaps the startup log when runningelektroid -vv would shed some light on this.

The configuration file is in ~/.config/elektroid/preferences.json.

Try deleting the config file and starting again.

1 Like

Still no sound for sample playback. :face_with_diagonal_mouth:

$ rm preferences.json
$ elektroid -vv
DEBUG:preferences.c:213:preferences_load: Error wile loading preferences 
DEBUG:preferences.c:224:preferences_load: Initializing preference 'localDir'...
DEBUG:preferences.c:224:preferences_load: Initializing preference 'remoteDir'...
DEBUG:preferences.c:224:preferences_load: Initializing preference 'showRemote'...
DEBUG:preferences.c:224:preferences_load: Initializing preference 'autoplay'...
DEBUG:preferences.c:224:preferences_load: Initializing preference 'mix'...
DEBUG:preferences.c:224:preferences_load: Initializing preference 'showGrid'...
DEBUG:preferences.c:224:preferences_load: Initializing preference 'gridLength'...
DEBUG:preferences.c:224:preferences_load: Initializing preference 'playSampleWhileLoading'...
DEBUG:preferences.c:224:preferences_load: Initializing preference 'audioBufferLength'...
DEBUG:preferences.c:224:preferences_load: Initializing preference 'stopDeviceWhenConnecting'...
DEBUG:preferences.c:224:preferences_load: Initializing preference 'elektronLoadSoundTags'...
DEBUG:audio.c:272:audio_init: Initializing audio (PulseAudio 17.0.0)...
DEBUG:editor.c:660:editor_stop_load_thread: Stopping load thread...
DEBUG:audio.c:305:audio_reset_sample: Resetting sample...
DEBUG:backend_alsa.c:369:backend_get_system_subdevices: Adding hw:1 (name 'Elektron Digitakt II', subname 'Elektron Digitakt II MIDI 1')...
DEBUG:elektroid.c:201:elektroid_load_devices: Loading devices...
DEBUG:elektroid.c:226:elektroid_load_devices: Selecting device -1...
DEBUG:sample.c:517:sample_set_sample_info: Loop start at 11595, loop end at 11595
DEBUG:sample.c:517:sample_set_sample_info: Loop start at 18899, loop end at 18899
DEBUG:sample.c:517:sample_set_sample_info: Loop start at 18899, loop end at 18899
DEBUG:sample.c:517:sample_set_sample_info: Loop start at 42000, loop end at 42000
DEBUG:notifier.c:90:notifier_update_dir: Changing local browser path to '/home/Digitakt/Tekno/Clap'...
DEBUG:editor.c:660:editor_stop_load_thread: Stopping load thread...
DEBUG:audio.c:305:audio_reset_sample: Resetting sample...
DEBUG:editor.c:649:editor_start_load_thread: Creating load thread...
DEBUG:sample.c:517:sample_set_sample_info: Loop start at 11595, loop end at 11595
DEBUG:sample.c:759:sample_load_libsndfile: Loading sample (11596 frames)...
DEBUG:sample.c:764:sample_load_libsndfile: Loading 2 channels buffer...
DEBUG:editor.c:169:editor_set_start_frame: Setting waveform scrollbar to 0,000000 [0,000000, 1009,000000]...
DEBUG:editor.c:169:editor_set_start_frame: Setting waveform scrollbar to 0,000000 [0,000000, 1009,000000]...
DEBUG:editor.c:169:editor_set_start_frame: Setting waveform scrollbar to 0,000000 [0,000000, 1009,000000]...

But the worst thing is that the program crashes almost every time I send a folder with a lot of samples and even when I browse computer or DT folders.

DEBUG:backend_alsa.c:206:backend_tx_sysex_internal: Raw message sent (15): f0 00 20 3c 10 00 00 00 08 00 00 22 2f 00 f7
DEBUG:connectors/elektron.c:773:elektron_tx: Message sent (7): 00 08 00 00 22 2f 00
DEBUG:backend.c:614:backend_rx_sysex: Raw message received (23): f0 00 20 3c 10 00 04 00 4d 00 08 22 00 00 00 00 00 00 00 00 00 00 f7
DEBUG:connectors/elektron.c:818:elektron_rx: Message received (14): 00 4d 00 08 a2 00 00 00 00 00 00 00 00 00
DEBUG:connectors/elektron.c:1136:elektron_path_common: Error: 
DEBUG:backend_alsa.c:206:backend_tx_sysex_internal: Raw message sent (15): f0 00 20 3c 10 00 00 00 09 00 00 10 2f 00 f7
DEBUG:connectors/elektron.c:773:elektron_tx: Message sent (7): 00 09 00 00 10 2f 00
DEBUG:backend.c:614:backend_rx_sysex: Raw message received (53): f0 00 20 3c 10 00 04 00 4e 00 09 10 00 00 00 00 00 00 00 00 00 00 00 44 72 65 63 6f 72 64 00 65 64 00 00 00 00 00 00 00 00 00 00 00 44 54 00 65 6b 6e 6f 00 f7
DEBUG:connectors/elektron.c:818:elektron_rx: Message received (40): 00 4e 00 09 90 00 00 00 00 00 00 00 00 00 44 72 65 63 6f 72 64 65 64 00 00 00 00 00 00 00 00 00 00 44 54 65 6b 6e 6f 00
DEBUG:backend_alsa.c:206:backend_tx_sysex_internal: Raw message sent (14): f0 00 20 3c 10 00 00 00 0a 00 00 05 01 f7
DEBUG:connectors/elektron.c:773:elektron_tx: Message sent (6): 00 0a 00 00 05 01
DEBUG:backend.c:614:backend_rx_sysex: Raw message received (33): f0 00 20 3c 10 00 04 00 4f 00 0a 05 01 00 04 00 00 04 27 59 00 00 00 00 00 00 05 00 40 00 00 00 f7
DEBUG:connectors/elektron.c:818:elektron_rx: Message received (22): 00 4f 00 0a 85 01 00 00 00 04 27 d9 00 00 00 00 00 05 00 40 00 00
DEBUG:backend_alsa.c:206:backend_tx_sysex_internal: Raw message sent (14): f0 00 20 3c 10 00 00 00 0b 00 00 05 02 f7
DEBUG:connectors/elektron.c:773:elektron_tx: Message sent (6): 00 0b 00 00 05 02
DEBUG:backend.c:614:backend_rx_sysex: Raw message received (33): f0 00 20 3c 10 00 04 00 50 00 0b 05 01 00 02 00 00 00 18 0a 20 00 00 00 00 00 00 19 00 00 00 00 f7
DEBUG:connectors/elektron.c:818:elektron_rx: Message received (22): 00 50 00 0b 85 01 00 00 00 00 18 0a a0 00 00 00 00 00 19 00 00 00
DEBUG:notifier.c:90:notifier_update_dir: Changing remote browser path to '/'...
DEBUG:notifier.c:90:notifier_update_dir: Changing local browser path to '/home/heretik'...
DEBUG:backend_alsa.c:206:backend_tx_sysex_internal: Raw message sent (21): f0 00 20 3c 10 00 00 00 0c 00 00 22 2f 54 00 65 6b 6e 6f 00 f7
DEBUG:connectors/elektron.c:773:elektron_tx: Message sent (12): 00 0c 00 00 22 2f 54 65 6b 6e 6f 00
DEBUG:backend.c:614:backend_rx_sysex: Raw message received (23): f0 00 20 3c 10 00 04 00 51 00 0c 22 00 00 00 00 00 00 00 00 00 00 f7
DEBUG:connectors/elektron.c:818:elektron_rx: Message received (14): 00 51 00 0c a2 00 00 00 00 00 00 00 00 00
DEBUG:connectors/elektron.c:1136:elektron_path_common: Error: 
DEBUG:backend_alsa.c:206:backend_tx_sysex_internal: Raw message sent (21): f0 00 20 3c 10 00 00 00 0d 00 00 10 2f 54 00 65 6b 6e 6f 00 f7
DEBUG:connectors/elektron.c:773:elektron_tx: Message sent (12): 00 0d 00 00 10 2f 54 65 6b 6e 6f 00
DEBUG:backend.c:614:backend_rx_sysex: Raw message received (411): f0 00 20 3c 10 00 04 00 52 00 0d 10 00 00 00 00 00 00 00 00 00 00 00 44 38 30 38 20 26 20 00 39 30 39 20 4b 69 74 00 73 00 00 00 00 00 00 00 00 00 00 00 44 42 61 00 73 73 00 00 00 00 00 00 00...
DEBUG:connectors/elektron.c:818:elektron_rx: Message received (353): 00 52 00 0d 90 00 00 00 00 00 00 00 00 00 44 38 30 38 20 26 20 39 30 39 20 4b 69 74 73 00 00 00 00 00 00 00 00 00 00 44 42 61 73 73 00 00 00 00 00 00 00 00 00 00 44 43 6c 61 70 00 00 00 00 00...
DEBUG:backend_alsa.c:206:backend_tx_sysex_internal: Raw message sent (14): f0 00 20 3c 10 00 00 00 0e 00 00 05 01 f7
DEBUG:connectors/elektron.c:773:elektron_tx: Message sent (6): 00 0e 00 00 05 01
DEBUG:backend.c:614:backend_rx_sysex: Raw message received (33): f0 00 20 3c 10 00 04 00 53 00 0e 05 01 00 04 00 00 04 27 59 00 00 00 00 00 00 05 00 40 00 00 00 f7
DEBUG:connectors/elektron.c:818:elektron_rx: Message received (22): 00 53 00 0e 85 01 00 00 00 04 27 d9 00 00 00 00 00 05 00 40 00 00
DEBUG:backend_alsa.c:206:backend_tx_sysex_internal: Raw message sent (14): f0 00 20 3c 10 00 00 00 0f 00 00 05 02 f7
DEBUG:connectors/elektron.c:773:elektron_tx: Message sent (6): 00 0f 00 00 05 02
DEBUG:backend.c:614:backend_rx_sysex: Raw message received (33): f0 00 20 3c 10 00 04 00 54 00 0f 05 01 00 02 00 00 00 18 0a 20 00 00 00 00 00 00 19 00 00 00 00 f7
DEBUG:connectors/elektron.c:818:elektron_rx: Message received (22): 00 54 00 0f 85 01 00 00 00 00 18 0a a0 00 00 00 00 00 19 00 00 00
DEBUG:notifier.c:90:notifier_update_dir: Changing remote browser path to '/Tekno'...
DEBUG:backend_alsa.c:206:backend_tx_sysex_internal: Raw message sent (29): f0 00 20 3c 10 00 00 00 10 00 00 22 2f 54 00 65 6b 6e 6f 2f 43 79 00 6d 62 61 6c 00 f7
DEBUG:connectors/elektron.c:773:elektron_tx: Message sent (19): 00 10 00 00 22 2f 54 65 6b 6e 6f 2f 43 79 6d 62 61 6c 00
DEBUG:backend.c:614:backend_rx_sysex: Raw message received (23): f0 00 20 3c 10 00 04 00 55 00 10 22 00 00 00 00 00 00 00 00 00 00 f7
DEBUG:connectors/elektron.c:818:elektron_rx: Message received (14): 00 55 00 10 a2 00 00 00 00 00 00 00 00 00
DEBUG:connectors/elektron.c:1136:elektron_path_common: Error: 
DEBUG:backend_alsa.c:206:backend_tx_sysex_internal: Raw message sent (29): f0 00 20 3c 10 00 00 00 11 00 00 10 2f 54 00 65 6b 6e 6f 2f 43 79 00 6d 62 61 6c 00 f7
DEBUG:connectors/elektron.c:773:elektron_tx: Message sent (19): 00 11 00 00 10 2f 54 65 6b 6e 6f 2f 43 79 6d 62 61 6c 00
DEBUG:backend.c:614:backend_rx_sysex: Raw message received (1250): f0 00 20 3c 10 00 04 00 56 00 11 10 00 00 00 00 00 00 00 00 00 00 00 44 5a 47 44 5f 43 52 00 41 53 48 45 53 00 00 00 00 00 00 00 00 00 00 00 00 44 5a 47 44 5f 52 00 49 44 45 53 00 40 3f 42 2e...
DEBUG:connectors/elektron.c:818:elektron_rx: Message received (1087): 00 56 00 11 90 00 00 00 00 00 00 00 00 00 44 5a 47 44 5f 43 52 41 53 48 45 53 00 00 00 00 00 00 00 00 00 00 44 5a 47 44 5f 52 49 44 45 53 00 40 3f ae 57 00 01 3a ac 00 46 42 48 44 5f 43 59 4d...
DEBUG:backend_alsa.c:206:backend_tx_sysex_internal: Raw message sent (14): f0 00 20 3c 10 00 00 00 12 00 00 05 01 f7
DEBUG:connectors/elektron.c:773:elektron_tx: Message sent (6): 00 12 00 00 05 01
DEBUG:backend.c:614:backend_rx_sysex: Raw message received (33): f0 00 20 3c 10 00 04 00 57 00 12 05 01 00 04 00 00 04 27 59 00 00 00 00 00 00 05 00 40 00 00 00 f7
DEBUG:connectors/elektron.c:818:elektron_rx: Message received (22): 00 57 00 12 85 01 00 00 00 04 27 d9 00 00 00 00 00 05 00 40 00 00
DEBUG:backend_alsa.c:206:backend_tx_sysex_internal: Raw message sent (14): f0 00 20 3c 10 00 00 00 13 00 00 05 02 f7
DEBUG:connectors/elektron.c:773:elektron_tx: Message sent (6): 00 13 00 00 05 02
DEBUG:backend.c:614:backend_rx_sysex: Raw message received (33): f0 00 20 3c 10 00 04 00 58 00 13 05 01 00 02 00 00 00 18 0a 20 00 00 00 00 00 00 19 00 00 00 00 f7
DEBUG:connectors/elektron.c:818:elektron_rx: Message received (22): 00 58 00 13 85 01 00 00 00 00 18 0a a0 00 00 00 00 00 19 00 00 00
DEBUG:notifier.c:90:notifier_update_dir: Changing remote browser path to '/Tekno/Cymbal'...
DEBUG:backend_alsa.c:206:backend_tx_sysex_internal: Raw message sent (41): f0 00 20 3c 10 00 00 00 14 00 00 22 2f 54 00 65 6b 6e 6f 2f 43 79 00 6d 62 61 6c 2f 5a 47 00 44 5f 52 49 44 45 53 00 00 f7
DEBUG:connectors/elektron.c:773:elektron_tx: Message sent (29): 00 14 00 00 22 2f 54 65 6b 6e 6f 2f 43 79 6d 62 61 6c 2f 5a 47 44 5f 52 49 44 45 53 00
DEBUG:backend.c:614:backend_rx_sysex: Raw message received (23): f0 00 20 3c 10 00 04 00 59 00 14 22 00 00 00 00 00 00 00 00 00 00 f7
DEBUG:connectors/elektron.c:818:elektron_rx: Message received (14): 00 59 00 14 a2 00 00 00 00 00 00 00 00 00
DEBUG:connectors/elektron.c:1136:elektron_path_common: Error: 
DEBUG:backend_alsa.c:206:backend_tx_sysex_internal: Raw message sent (41): f0 00 20 3c 10 00 00 00 15 00 00 10 2f 54 00 65 6b 6e 6f 2f 43 79 00 6d 62 61 6c 2f 5a 47 00 44 5f 52 49 44 45 53 00 00 f7
DEBUG:connectors/elektron.c:773:elektron_tx: Message sent (29): 00 15 00 00 10 2f 54 65 6b 6e 6f 2f 43 79 6d 62 61 6c 2f 5a 47 44 5f 52 49 44 45 53 00
Erreur de segmentation (core dumped)
[elektroid]$ 

Thanks anyway

You have a core dumped as seen in the last line.

Erreur de segmentation (core dumped)

Could you please open the core file withgdb elektroid core_file and post the output here?

We should see the stack trace of the thread causing the SIGSEGV.

Regarding the sample playback, I’ve checked a few things and everything looks nice in your log.

Can you post the output of this command?

$ pw-cli --version
pw-cli
Compiled with libpipewire 1.2.7
Linked with libpipewire 1.2.7

What Arch version are you running? I’ll try to setup a VM to reproduce your issue.

1 Like

I’m not running Arch but 5.15.177-1-MANJARO.
I’ve installed “gdb” but it doesn’t find anything with the command you have given.
I need to run this command from a specific folder ?

$ gdb elektroid core_file
GNU gdb (GDB) 16.2
Copyright (C) 2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from elektroid...
/home/…/.config/elektroid/core_file: Aucun fichier ou dossier de ce nom.
(gdb) 
$ pw-cli --version
pw-cli
Compiled with libpipewire 1.2.7
Linked with libpipewire 1.2.7

When a process dies due to a SIGSEGV and the system is configured to do so, a file named core is generated in the same directory the process was run from. In your case, the core file is generated as the message “Erreur de segmentation (core dumped)” indicates.

It does not matter where you run gdb from but it should be gdb elektroid path/to/core.

1 Like

Regarding the audio playback, I’ve just created a Manjaro 24.2.1 VM and it works well.

However, I’ve realized that there was a possible error with the Arch installation instructions as the package pulseaudio should not be installed anymore, probably due to being superseded by PipeWire.

2 Likes

I have run into “could not verify sample 3 times” problem when I tried to back up my samples from digitakt using elektron transfer on my windows machine (here people complain about it, and it seems the elektron support is not helpful on the issue)

But elektroid just silently copied all samples from the device without any problem.

congrats, elektroid is more reliable than the official app now!

2 Likes

I do really appreciate you saying that. :slight_smile: :pray:

1 Like

This is so cool. As a Monomachine and Apple Silicon user I can only dream of making transfers this easy. Maybe I should learn how to dual boot a different OS.

Unless there is hope of porting this over for MachineDrum and Monomachine for Apple Silicon in the future?

1 Like

Elektroid compiles and runs on OSX but haven’t tried on Apple Silicon and has not been reported to work. But it definitely should.

There are some instructions in the project documentation.

Regarding the support for the Monomachine and Machinedrum, sample transfer is in the works.

Sample uploading works fine. Read more about this here.

Sadly, I don’t have as much time as I need and help is needed and much appreciated.

My idea is to give it a try again during Spring.

3 Likes

Dear Elektroid users,

I’d like to release Elektroid 3.2 during the following couple of weeks.

This version does not include anything fancy though it’s an important one, as it will be included into Debian 13, AKA Trixie, and its derivative distributions.

For this reason, I’d like to ask some feedback on the current project status specially considering the last week new firmware releases for Digitakt II and Digitone II.

Is everything working well for you? Have anyone experienced any issues regarding the last firmware releases?

Thanks in advance.