-
Notifications
You must be signed in to change notification settings - Fork 35
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
Time stretching, pitch shifting known issues #38
Comments
I have to start stargate with LC_ALL=C otherwise I get [2023-05-10 11:06:36,053] ERROR /opt/stargate/sglib/log.py : 105 - Traceback (most recent call last): File "/opt/stargate/sgui/sgqt.py", line 411, in _editingFinished File "/opt/stargate/sgui/sgqt.py", line 258, in _str_to_value ValueError: could not convert string to float: '1,2E+01' [2023-05-10 11:06:40,946] ERROR /opt/stargate/sglib/log.py : 105 - Traceback (most recent call last): File "/opt/stargate/sgui/sgqt.py", line 411, in _editingFinished File "/opt/stargate/sgui/sgqt.py", line 258, in _str_to_value ValueError: could not convert string to float: '1,7E+02' [2023-05-10 11:06:40,949] ERROR /opt/stargate/sglib/log.py : 105 - Traceback (most recent call last): File "/opt/stargate/sgui/sgqt.py", line 272, in mousePressEvent File "/opt/stargate/sgui/sgqt.py", line 358, in value ValueError: could not convert string to float: '1,2E+01' [2023-05-10 11:06:53,830] ERROR /opt/stargate/sglib/log.py : 105 - Traceback (most recent call last): File "/opt/stargate/sgui/wave_edit/init.py", line 72, in ok_handler File "/opt/stargate/sgui/sgqt.py", line 358, in value ValueError: could not convert string to float: '1,2E+01' Found another one ... The results also differ when I overwrite an existing file. |
Hi @yust1n . What does running the Re: SBSMS issue: I'll look into that this weekend |
Actually, just pushed another commit to the |
Seems all the issues are fixed in |
Are you referring to time stretching? with SBSMS? Does it happen every time with the same file? If so, can you please provide an audio file that exhibits this behavior? Also, are you doing it in the wave editor or audio items? Thanks |
@yust1n : Can you please test again with the latest |
Stretching in the Wave Editor was the problem all the time. As far as I can tell everything works now in the |
Glad it is working for your locale. This lead me to do some testing in Korean and Japanese Windows, where I discovered there are some pretty deep issues with non en-us locales that is going to require a lot of work. I'm tracking locale issues in #40
$PROJECT_DIR/audio/timestretch although in the wave editor, IIRC, it just exports then directly to any place you tell it to, the default location being: $PROJECT_DIR/user/
What do you mean "disconnected", it just stops working? Is qjackctl still showing it as connected? Is this another software providing MIDI events, or a hardware device being patched in using qjackctl? |
Yes, it's a hardwaredevice and it's connected via qjackctl midithrough. I need to turn it off and on in |
Thanks @yust1n , it's fixed in |
@yust1n : I believe that the SBSMS issues are fixed in the latest release. I ended up creating my own fork of SBSMS (which has been unmaintained for 10 years by the original author), and fixing many things in it. It was added as another git submodule, which may (or may not) require adjustment in the PKGBUILD for AUR. |
PKGBUILD is updated ;) |
@L3337 is it possible for you to track what upstream issues each time stretching / pitch shifting library has that you're referring to? This may also help on-board developers to improve said situation. Soundtouch https://gitlab.com/soundtouch/soundtouch |
Hi @luzpaz , good to hear from you. That's a good idea, with some caveats, mostly around that the open source time-stretching/pitch-shifting libraries are almost completely unmaintained. Perhaps it is time to consider:
The first one is a fairly large undertaking. The 2nd is a bit of a hack, but only moderately difficult. The reason it is done this way now is so that we consume as little CPU as possible and be able to work on platforms such as Raspberry Pi 4/5. With some obvious tradeoffs that were accepted for the sake of keeping CPU usage very low. I have an upstream pull request with them to fix another issue that they are not accepting, which lead to me creating the Stargate DAW fork of it. The source repository seems to be in maintenance mode and has very little active development of the algorithm in recent years. The issues would probably need to be fixed in the Stargate fork, as it is unlikely to be accepted upstream.
I definitely should at least submit an issue for the unicode CLI arguments bug. I have taken a TODO item to do that.
We don't use that, that's something different. We use this which has not seen development in almost 10 years. It has been forked into the Stargate code base and is invoked by calling
SBSMS has been unmaintained for a very long time. The first link is our fork, the 2nd link is the fork for Audacity, this is the original. Once again, we would have to fix any issues in our fork. |
We basically just repackage all of the open source time stretching / pitch shifting libraries, with the exception of:
, which simply re-pitch the audio in real time.
The open source libraries have the following known issues:
an exceedingly difficult and time consuming task
does not work on ARM or Windows, where the option for it is hidden(fixed in our fork). We are maintaining our own fork of SBSMS that has many fixes and improvements to the original.The text was updated successfully, but these errors were encountered: