Configuration for Digitone II added to the project.
Thanks for testing this an reporting it, @Manumistral. ![]()
Configuration for Digitone II added to the project.
Thanks for testing this an reporting it, @Manumistral. ![]()
hi, I have just noticed this update. I would like to help test overwitch with analog4 mk1
Sorry for taking so long to answer.
The situation of the MKI code and branch feat-add-mki is that it could work but… it doesn’t.
I’ve been working with the MKI user abique (Alexandre Bique) · GitHub and didn’t manage to fix it. We together have reverse-engineered the Overwitch MKI USB packets, or so we think and adapted the existing code to make it compatible with USB isochronous transmission. I think the issue is in this last part but, since I have no MKI devices, I can not test it myself. I’d add this is the main reason this is not ready yet.
Anyway, It’d be great if you could give it a try.
Take a look at Add support for MKI devices · Issue #4 · dagargo/overwitch · GitHub and the surrounding comments. You need to create a separate JSON file with the definition of the MKI device you want to use so configure it in the Elektron Overbridge panel and mimic that configuration in the JSON file. Notice that all tracks, independently of being output or input, need a different name. That configuration is invalid because of this.
Due to a current Overwitch limitation, devices need to have both inputs and outputs.
Let me know if you have any issue or if I can help you with a more specific question.
hey! I have been ill, but have finally got around to testing this branch.
I have created a ~/.config/overwitch/devices.json file with the contents
[
{
"pid": 2891,
"name": "Analog Four MK1",
"type": 1,
"input_tracks": [
{
"name": "Main L Input",
"size": 2
},
{
"name": "Main R Input",
"size": 2
}
],
"output_tracks": [
{
"name": "Main L",
"size": 2
},
{
"name": "Main R",
"size": 2
}
]
}
]
I have configured analog4 to have the input and output tracks as above in the overbridge control panel under windows and I have run overwitch-cli -n 0 -vvv. I get
ERROR:engine.c:921:ow_engine_init: Type 1 devices requiere a libusb 1.0.27 version because the Overbridge package size is unknown
ERROR:engine.c:943:ow_engine_init: Error while initializing device: generic error
ERROR:jclient.c:307:jclient_init: Overwitch error: generic error
now the tricky part is I am running Ubuntu 20 which has 1.0.23 as the highest version of libusb. I’ll look into whether I can make 1.0.27 compile on this installation…
never mind, I have figured it out. pasting the result of my run of overwitch-cli -n 0 -vvv to the github issue discussion
Hello, thank you for the effort to create this great tool!
I am trying to record from my Digitone II using overwitch-record.
To my understanding, and after reading a bit of the code, overwitch-record records samples taken from the usb bus and directly writes them to a multi-channel wav file. This is my exact goal as my computer is not that powerful.
I found that using large buffers and timeouts improves the recording : overwitch-record -n 0 -s 2048 -t 25
But still, when trying to record all the tracks at once, the sound is sometimes corrupted, just as if frames where missing. But there is no error message. My system seems OKish:
rtcqs
rtcqs - version 0.6.6
Root User
=========
[ OK ] Not running as root.
Group Limits
============
[ OK ] User ***** is member of a group that has sufficient rtprio (99) and memlock (unlimited) limits set.
CPU Frequency Scaling
=====================
[ OK ] The scaling governor of all CPUs is set to performance.
Simultaneous Multithreading
===========================
[ OK ] Simultaneous Multithreading (SMT, also called hyper-threading) is disabled.
Kernel Configuration
====================
[ OK ] Valid kernel configuration found.
High Resolution Timers
======================
[ OK ] High resolution timers are enabled.
Tickless Kernel
===============
[ OK ] System is using a tickless kernel.
Preempt RT
==========
[ OK ] Kernel 6.15.7-200.fc42.x86_64 is using threaded IRQs.
Spectre/Meltdown Mitigations
============================
[ WARNING ] Kernel with Spectre/Meltdown mitigations found. This could have a negative impact on the performance of your system. See also https://wiki.linuxaudio.org/wiki/system_configuration#disabling_spectre_and_meltdown_mitigations
RT Priorities
=============
[ OK ] Realtime priorities can be set.
Swappiness
==========
[ OK ] Swappiness is set at 10.
Filesystems
===========
[ OK ] The following mounts can be used for audio purposes: /, /home
[ WARNING ] The following mounts should be avoided for audio purposes: /boot. See also https://wiki.linuxaudio.org/wiki/system_configuration#filesystems
IRQs
====
[ OK ] Soundcard snd_hda_intel:card1 with IRQ 154 does not share its IRQ.
[ OK ] USB port xhci_hcd with IRQ 124 does not share its IRQ.
[ OK ] USB port xhci_hcd with IRQ 155 does not share its IRQ.
Power Management
================
[ OK ] Power management can be controlled from user space. This enables DAWs like Ardour and Reaper to set CPU DMA latency which could help prevent xruns.
So, given the large number of tracks to record from the Digitone II (42 as given by overwitch), is it possible to record all of them easily using overwitch-record? Is my computer just too old?
I can create a github issue if preferred.
Welcome to Elektronauts, @sebos69!
In this case, it’s probably better if you create a GitHub issue as details might get too technical and tied only to your setup and also we can better track possible changes in the code.
Overwitch 2.1 is just out! ![]()
This is quite an improved version and everyone should upgrade. It has been tested on Debian Trixie (stable), which includes PipeWire 1.4.2.
This version includes the following improvements and fixes.
Notice the GUI behavior has changed. Now, a service will be running under the hood after the GUI starts for the first time and closing the window won’t stop the service. This is great because the window is not needed anymore.
If you want to fully stop the service, click on the exit button in the application menu. Opening the application again will show the current status of the devices if the service is already running or boot it if not.
To me, Overwitch feels now like a decent and complete product that works quite well and covers quite a few use cases.
Hopefully this is your case too.
The only big issue remaining to be solved is the support for MKI devices.
I’ve been working with @personnealienee lately and we’ve made quite a lot of improvements but it isn’t working yet. There is a possibility that the latest changes addressing a USB issue might improve this.
Since I don’t have any MKI device, adding support has been quite complicated.
I’m open to suggestions and collaborations but I don’t really know if I can do much more without a machine.
I want to say here as well that you made my life and the one of many others much better with Overwitch! Is really amazing and I think with Jack we get into another level of possibilities!
Finally we can enjoy our machines fully and even more on our Linux systems
Thank you very much for the hard work!
I might be missing a trick here. I have it all working. If I manually route audio to the digitone via Helvum or the cli. What I am not understanding is how to set it up to be default audio on the machine and be an option in pavucontrol.
Is this supported?
hey! I am using Overwitch version 1.1, but I only have DT1 and DN1. does that mean that for my gear is better to stay in the version 1.1 or is still better to update to the new version 2.1?
Overwitch only supports the latest firmwares. While this makes the project management easier, it is also not coincidental as newer firmwares work in a different way and make the devices identify themselves with different USB product IDs.
This means that if you haven’t upgraded your devices, you’ll have to stick to older versions of Overwitch.
Digitakt (OG) 1.52A and Digitone (OG) 1.42A are the latest ones. Personally, I encourage you to update your Digitakt and I’d say the same about the Digitone but I don’t have one.
You can use Elektroid to upgrade your devices.
Welcome to Elektronauts, @timeandaraf!
I’m not sure if I’ve understood you well.
Do you want to use your Digitone as the default audio interface in your computer in Overbridge mode?
If this is the case, there is a way. Let’s remember that all devices created by Overwitch are JACK clients and not audio devices so they are not shown in the system preferences or pavucontrol as such. The way to achieve this is to create a virtual device that you configure as the default output, which will appear in all the usual places as the output device, and then connect its outputs to your Digitone. I have a very similar setup and works this way.
Another option would be to use your Digitone in USB class compliant mode but you would lose the multitracking.
My firmwares are not the oldest ones, DT OG 1.51A instead of the newer DT 1.52A and DN OG 1.41 instead of the newer 1.42A. But both got a release afterwards to add support for overbridge 2.13, which might be what is needed to use overwitch 2.1.
I would like to update, but I also use FUNCsaveprojDT for the Digitakt, which is really cool to arrange songs, patterns, samples and sounds… and I am afraid of it not working if i update it.
but i will have a look, it might work, ut i dont usually use overwitch, only to record, which i dont do very often
Having upgraded to the firmwares for Overbridge 2.13 is the actual requirement, so that you can start using Overwitch 2.1 right now without doing anything else.
Thanks for your work on this, very exciting.
I am trying to build overwitch in a new Ubuntu Studio install. I follow the install instructions and I get this error:
“autoreconf: error: ‘configure.ac’ is required”
There is a configure.ac file in the overwitch-master folder I extracted from the zip archive. So I’m confused what to do next.
Searching the web for solutions isn’t clear, seems to be something to do with autotools?
EDIT: I solved this myself: instead of downloading the zip I cloned the github repo, then autoreconf worked.
RYTM Mk1 OS 1.71 now supports overbridge 2.13, so does overwitch work with the RYTM mk1 now?
Thanks
Overwitch seems to have installed correctly, but when running ‘overwitch’ I get this error:
ERROR:preferences.c:109:ow_load_preferences: Error wile loading preferences from `~/.config/overwitch/preferences.
json': Failed to open file “/home/tom/.config/overwitch/preferences.json”: No such file or directory
Sadly, MKI devices are not working yet.
But I’ve recently realized about a thing that might be the cause. Perhaps we’ve already tried this but since it’s a pretty easy thing o check it’s worthy of the effort.
Take a look at my last comment from Add support for MKI devices · Issue #4 · dagargo/overwitch · GitHub.
Additionally, you’d need to set the device using Windows or Mac to be 16 bits and 2 tracks in and out, and you’d need to define the MKI device in one of the JSON files. Look at one of the last comments in that issue for a JSON example and take a loot at the README.md for more information about the different JSON files.
In case of doubt, send me a PM.
I see, there are fundamental differences in the mk1 and mk2 devices’ USB system, and the overbridge software communicates very differently with each.
Thanks anyway for your effort on this. If I knew anything about coding I would offer to help.
I have been considering getting a mk2 RYTM for a while, lol
I’m also (new to this thread &) trying to find a similar solution! I want Digitakt mk2 multi-audio outputs for the live rig… so a headless multi-channel breakout audio box would be amazing.