Comments (14)
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
value = self._str_to_value(value)
File "/opt/stargate/sgui/sgqt.py", line 258, in _str_to_value
value = float(_str)
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
value = self._str_to_value(value)
File "/opt/stargate/sgui/sgqt.py", line 258, in _str_to_value
value = float(_str)
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
self.value_at_press = self.value()
File "/opt/stargate/sgui/sgqt.py", line 358, in value
return float(text)
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
f_stretch = self.timestretch_amt.value()
File "/opt/stargate/sgui/sgqt.py", line 358, in value
return float(text)
ValueError: could not convert string to float: '1,2E+01'
Found another one ...
/opt/stargate/engine/sbsms ~/x.wav ~/y.wav 1.0 1.0 20.0 -20.0
gives me another wav compared to the one I get when I set the same parameters in stargate.
Btw I just copied the commandline from the terminalwindow where stargate is running.
The results also differ when I overwrite an existing file.
from stargate.
Hi @yust1n . What does running the locale
command on the terminal show? I'm trying to replicate the issue locally, but I am not yet able to reproduce it. I created a branch called locale-fixes
, please try building that locally and see if it fixes being able to run Stargate without LC_ALL=C
.
Re: SBSMS issue: I'll look into that this weekend
from stargate.
Actually, just pushed another commit to the locale-fixes
branch that should fix it. Apparently Qt was not taking the locale when it was set Python. Thanks for reporting, I have to wonder how many people encountered that and didn't report it.
from stargate.
Seems all the issues are fixed in locale-fixes
!!!!
So all you have to care for is replacement of existing files.
I am still in the middle of testing.
Replaced files are only 88bytes large. Looks like it's only the header without any data. Happens just sometimes.
I also managed to get a wav that still displays a waveform but is completly silent.
Hmmmm ... in an new project it displays as what it is - just empty.
Got a cache somewhere that doesn't get updated proper ???
I dared to rm some files in audio/samplegraph and now the project doesn't load anymore.
All I expected was a recreation of the now missing waveforms.
from stargate.
So all you have to care for is replacement of existing files.
I am still in the middle of testing.
Replaced files are only 88bytes large. Looks like it's only the header without any data. Happens just sometimes.
I also managed to get a wav that still displays a waveform but is completly silent.
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
from stargate.
@yust1n : Can you please test again with the latest main
branch? Thanks! The locale-fixes broke Windows, so I had to make some changes. Then I found some problems testing on Korean Windows. This localization/internationalization stuff is really hard, LOL
from stargate.
Stretching in the Wave Editor was the problem all the time. As far as I can tell everything works now in the main
branch :) Where are the audio items for stretching hidden ???
Next thing to dive into is MIDI. It gets disconnected whenever i add FX for a synth in the Plugin Rack.
I have to turn it off and on in Hardware to make it work again. For sure we need to start another issue for this :D
I am using qjackctl and connect inputs to MidiThrough if you want to reproduce it.
from stargate.
As far as I can tell everything works now in the main branch
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
Where are the audio items for stretching hidden ???
$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/
Next thing to dive into is MIDI. It gets disconnected whenever i add FX for a synth in the Plugin Rack.
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?
from stargate.
Yes, it's a hardwaredevice and it's connected via qjackctl midithrough. I need to turn it off and on in hardware
to make it work again.
from stargate.
Thanks @yust1n , it's fixed in main
branch, will be in the next release.
from stargate.
@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.
from stargate.
PKGBUILD is updated ;)
from stargate.
@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
Rubberband https://github.com/breakfastquay/rubberband/issues
PaulXstretch https://github.com/essej/paulxstretch/issues
SBSMS https://github.com/stargatedaw/stargate-sbsms & https://github.com/claytonotey/libsbsms
from stargate.
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:
- just doing what the other DAWs do, or
- doing as we do now and making multiple passes with the CLIs, adjusting the length passed as needed to try to get an accurate stretch, or
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 /usr/bin/stargate paulstretch ...
(or the equivalent on macOS or Windows) with specific arguments. Once again, we would almost certainly need to fix any issues ourselves.
SBSMS https://github.com/stargatedaw/stargate-sbsms & https://github.com/claytonotey/libsbsms
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.
from stargate.
Related Issues (20)
- Portable installation doesn't work (as intended) (Win10) HOT 10
- Strange behaviour of save/discard when recording audio (Win10) HOT 2
- stargate is in the AUR HOT 2
- Contact information? HOT 1
- Support for Windows 7, 8
- Crashes on old, unsupported Mac hardware
- Doesn't build on artix ( arch ) linux HOT 13
- Issues with sample paths (Win10) HOT 4
- Crashes on some locales HOT 2
- Debian package depends on missing fftw3 package HOT 9
- Can't compile from source HOT 1
- Unable to create new project in windows 11 latest HOT 7
- 3 PlugIns, if and when you'll have time and will HOT 9
- ComboBox menus only show on main monitor HOT 2
- add to flathub and make a flatpak HOT 2
- where do i download the plugins and are they in the .clap format? HOT 3
- dawproject HOT 2
- Automatic real-time BPM analyser
- Errors/Exceptions are not handled
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stargate.