-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SuperBoucle losing jack connections #64
Comments
Hello @manucontrovento, thanks for this report. It is weird because superboucle only manage connections at startup: it connects superboucle main output to the system output (first 2 channels). * Do you see some xruns when connections disappear ?
|
Hello @Vampouille I just tested (and reproduced) the issue.
...connections disappear, and it is not possible to restore them... like they are "busy" Now I paste the screenshots. Song loaded: Pads on AKAI are correctly set: I arm some clips for playing: and on controller, it's correctly managed: and then, pressing PLAY, connections are lost: At first I thought it was because of my midi controller or some a2jmidid inetgration issues, but then I found out that the problem is always happening now, even without controller connected and without starting a2jmidi. Thank you, |
Ok it's very strange, thanks for this detailed report. It's always nice to see superboucle light up an AKAI in Italy :-) |
Hi, I just tried, unfortunately the problem is the same, when pressing Play, the connections between the new port and the output vanish... I can tell you 2 things:
Bye |
Maybe you could add a log file, tracing a bunch of steps, then I could launch the logged version to understand where the connections get lost. |
Hi everyone! Any news about this issue? At now I'm facing a big change: I'm moving to another house, so I'll continue my tests as soon as possible; is it possible to have a kind of log file to understand what's happening with connections? |
Hi everyone, to solve at his root the problem, I installed a new version of Ubuntu Studio, starting from scratch (i.e. Ubuntu Studio 19.10) to avoid problems due to a "dirty" packages installing situation Now I get this problem, loading a previous session... and I can't understand what's happening :( and obviously the software plays nothing :( Now, even if nothing plays, audio connections are not lost anymore, but midi connections (in a2jmidid jack section) are still lost please help me :) |
Sorry for the delay in response. For your connections issue, I added some debug log in a local branch (not pushed), to track connections and disconnections. I will send you the now code as soon as possible. |
@Vampouille thanks, I can't wait to get the new code for logging and also solve last problem. |
@manucontrovento There is a "debug" branch that you can test. Additionnaly, this branch include a modification on the jack lib used. In debug branch it use jack lib from system so an additional python dependency is required : JACK-Client>=0.4.5 |
@manucontrovento After a careful read of your error message, your song file (*.sbs) seems to be corrupted. The sbs file is a ZIP archive with one |
Hi @Vampouille , I read all and I downloaded the Debug branch Visual composition of the screen in a bit strange too, not showing transport icons and overlapping the labels: Errors seem to be listed when loading the song, even if nothing is playing yet: And then when I press PLAY, these are the messages, and nothing plays: and I couldn't find any log file, or something similar... am I doing well? cheers, |
The issue is the missing wav files in the archive. As a workaround, you can add wav files into the archive so superboucle can find them. I find a way to run superboucle on a ubuntu 19.10. I will try to find why this happens. @manucontrovento Do you record with superboucle or import existing wav files ? |
Hi @Vampouille To try SB on Ubuntu Studio 19.10 without any revolution, you could simply start the Live version of the system, since the same ISO image which can be downloaded for install, can be used for live trying too. Myabe in this case you need to additional download a2midid and some python packages. have a nice day |
To see logs, you need to run SB in a terminal: open a Terminal and run the |
I read carefully the code but Ican't find where a wav file can be forgot. Can explain steps to reproduce this bug ? |
Hi @Vampouille , I think we are about to close this thread and maybe to open a new one, concerning saving/loading songs in Ubuntu 19.10... I will explain: but, if I want to save the changes, when saving some errors occurr (they seem to be the same, concerning the zip managing): After that, the song seems "corrupted" again, and loading it, it doesn't work anymore. Like before manually adding the files to the song zip. In fact, zip file doesn't contain the song files anymore: Another thing I noticed is that transport icons are not displayed anymore: So, not loading icons, and problems saving/loading clip files, maybe something changed, generally, in file managing (loading/saving), something about this 19.10 Ubuntu release manu |
Hi again , I also tried the --debug version, just to give it a try. But I haven't any additional info about saving/loading clips in a song. |
Sorry... making some other tests, I still got the disconnection problem... tomorrow I'll try with debug version. And I'll let you know. |
Hi @Vampouille , here I am. Unfortunately I didn't reach to reproduce the connections issue, while the saving issue still occurs. Tonight I used the debug version and this are the results:
1) first case: No midi controller connected, no a2jmidid started. this is the text in terminal. there is 1 error, but the song seems to play correctly, without any problem:
So, I'm quite sure the problem is still there, since yesterday I saw it happen, but today I wasn't able to reproduce it. (except from saving problems). greetings and best whishes. |
By The Way, don't you have a link to let the user to make a donation ? I always make a donation on free software I use :) |
Really happy to see this ! :-)
Some random issue you have like "pad don't light up" may be related to xrun. xrun occurs when jack does not have enough time to process to current sound buffer. So at least one application does not have enough time to generate the audio corresponding to the current timeframe. This also includes MIDI messages send and received.
I think you find a way to reproduce this bug:
Can you confirm the steps to reproduce the bug and can you send me the sbs file after adding the missing waves ?
I never had donations and I have no link. If you want to make a donation, I can take look at some donation systems. |
Hi @Vampouille yes, increasing the buffer I don't get Xruns anymore.
Setting buffer to 1024, sometimes an Xrun occurs, but the pads are lighted up correctly anyway. The reason I set buffer to 512 was to reduce latency, so that if I play live and record my instruments to SB, I feel no latency (about 10 ms) I can confirm you the steps which produce the saving issue: after saving, wav files are not in sbs zip file anymore. Output goes like this:
Here in attachment the .sbs original file and the corrupted one (with no wav) |
i known we need very low latency for live ! SB is written in python and python is not really suitable for a realtime process. One way to improve this is to rewrite the callback in pure C language but it's a lot of work. Anyway, SB seems to work well with "low" lantency but maybe not as low as you want with the current implementation.
Thanks I will test it on my side, and listen some clip ;-) |
@manucontrovento Nice music to make test ;-) I fix the saving for both song and export clip function with 03d19f9. So you can pull last modifications of the master branch and be able to save a song with waves. |
hi @Vampouille thanks a lot. I'll test the master branch as soon as possible. One question: When increasing the buffer, is it possible that some latency occurs in MIDI notes too? I see a lot of nice functions and of potential in SB, for live looping in Linux is the best app I found till now. Of course, Bitwig is very powerful and complete but very expensive too. LuPPP is nice but many features are missing. SB has more interesting and useful functions and it's more flexible too: a scene can be arranged all over the grid, not only just line per line. So at the moment SB is the best app for my purpose. I'll see what happens with a latency of 512 or 1024 (I usually set to 256). I'll continue posting my proposal and suggestions |
yes the latency is apply to audio and midi
Try to find the best value with a good balance between xruns and latency...
Thanks, I think I will work on:
@manucontrovento Can we close this thread ? |
solved with 10/12/2019 update in master branch |
Hi @Vampouille
What do you think about it? |
@Vampouille hi, |
Hi everyone! I'm new to SuperBoucle and I'd like it to become my best friend on stage.. I switched to Linux for my audio production for almost every step, except for live-looping... I tried Bitwig but it doesn't recognize my akai apc key 25; I like LuPPP but important features are missing.. I like SuperBoucle and I hope it will replace Ableton Live, and to definitively uninstall Windows from my pc...
The issue is: after a while, after some switching clips on/off, SuperBoucle is not playing anything anymore. When I check Jack connections, I find out that connections are "vanished". SuperBoucle is still listed among Jack applications but not connected anymore to system inputs and outputs.
What could I check? The problem happens with 1.1.0 and 1.2.0 versions both.
Greetings from Italy
Manu
The text was updated successfully, but these errors were encountered: