Open drautzburg opened 2 years ago
@drautzburg OK. I tested some possibilities. Add block from capture, load audio clip (both from menu and drag&drop), drag&drop symlinked file. Really, when I call File Info, full path is present. I looked with text editor .med file and noticed that when file is in the same directory as project, in <name> </name>
is only filename. When file is in other directory than .med, path is always absolute. Path is absolute too, when file is in children directory eg. <Project Directory>/audios/audio.wav
(med file is in
@terminator356 Fixing paths to always relative, when dir is subdirectory in project directory would be reasonable?
I noted a strange double slash:
/> ls -ld music
lrwxrwxrwx 1 root root 13 24. Apr 2018 music -> /terra/music//
I had set the "Global Project folder" to /musc
i.e. the symlink. Now changed it to /terra/music
and haven't encountered the problem in the last recording session. Could that explain things?
I'm seeing the same, also related to a symlink in the path to the file. In my case -
/home is a symlink to /media/DATA/home (DATA is a separate disk)
The MusE project directories are in /home/user/Muse
A specific project is in /home/user/Muse/project
It has some audio files in /home/user/Muse/project/OddVoices that I used for generating singing using OddVoices.
In the project.med file those audio files often end up being /media/DATAOddVoices/audia.wav which doesn't exist.
Some audio parts are empty when a project is saved and reloaded. These parts seem to have no file associated, according to
File Info ...
.I have a disc mounted under
/terra
and most of my music stuff in under/terra/music
. I also have a symlink/music -> /terra/music
. I examined the.med
file for a part that came up empty and saw<file>/terraTRACK_Ac_Guitar2_TAKE_4.wav</file>
.There is no such file. A fully qualified path would be
/terra/music/<project>/TRACK_Ac_Guitar2_TAKE_4.wav
, but the file is in the project directory anyways, soTRACK_Ac_Guitar2_TAKE_4.wav
should suffice, and indeed it does. When I changed the filename, the parts no longer comes up empty.Strange enough, this does not always happen, but I don't yet know what it depends on. I suspect the current directory when MusE is launched plays a role.