make it easier to convert the audio-files
Posted: 15 Apr 2023 13:44
in march-2015 i began to create an absolutely essential (for me) script,
allowing to convert flac-files (since july-2019 - wav-files) from 'tracks' to 'images'
('images' means: 1 cue-file, and 1 wav-file containing all the tracks)
in the beginning, this script/approach was very raw, and it was much like semi-automatic (but honestly, it was mainly manual),
there were dozens of nuances which i cannot recollect/explain in details anymore, because a lot of time has passed
but as i vaguely remember: it contained as much as 32-33 tiny/small/medium steps, written by hand in the paper,
and now, in 2020-2023, it's something like 1-2-3-4 steps, depending on an approach for the calculation,
i mean, for instance, if we don't count a pair of important manual 'safety belts', then the quantity of steps is probably 1 or 2,
and the whole task is done by several different scripts
(including an ''auto it''-code, which i need to convert to ahk but don't know how),
mainly by xyplorer's 2 special scripts: the 1st of them calls the 2nd, at some specific point
(so these few steps directly involve the xyplorer's possibilities:
in that way i use them since april-2018, and they really change for the better the whole scheme)
in the years 2015-2020: the script was constantly in the process of improvement/reconsidering/optimizing...
in the years 2020-2023: the script is (in fact) nearly completely ready, optimized, and at 99,9% reliable
(and yes, i try to fight with those 0,1%, from time to time, when some negative aspect emerges)
i lean towards a view that the script itself (which is mainly divided into 2 different parts, inside xyplorer's ''UDC'' section)
is not very interesting to all of you,
so here in this thread i just ask for the help in a quite modest aspect (directly related to the whole process of convertion):
1. for example, in 1 of my custom context menus, i have the following line: <get "path">
2. (in the next line) is it possible to create a XY-script?:
a script that only displays 1 of 2 short texts (depending on the content of an active folder): Ready Not Ready
3. the note Ready should be present in a very specific cases only,
it's difficult to enumerate them all right away, but in this post i'll try to do it, at least mostly
(and i apologize in advance, in case i'll have to add some item later):
(inside the folder) there may be different situations:
easier (wav-files only), harder (1 or several textual files may be present too) (the txt or cue extensions only)
speaking about easier situations (it's circa 98% of cases):
- if there's 1 file, it must begin with 5 symbols (01 - ) i mean: 0 1 space hyphen space
- if there are 2 files, the 1st must begin with 5 symbols (01 - )
and the 2nd must begin with 5 symbols (02 - )
- if there are 3 files, the 1st must begin with 5 symbols (01 - )
and the 2nd must begin with 5 symbols (02 - )
and the 3rd must begin with 5 symbols (03 - )
and so on (up until 99)
- the 3rd symbol is space (always)
- the 4th symbol is hyphen (always)
- the 5th symbol is space (always)
- the last 4 symbols are: .wav (always)
speaking about harder situations:
as i can understand right now, the txt-file/files should not be taken into consideration (by the script)
(in the majority of cases: there will be just 1 txt-file called 1.txt)
i'll try to answer any possible questions, i'll try to help you help me,
i also may try to write some easy parts of the script myself, but my coding skills are very-very limited,
while the main idea of this script is that it must be really reliable
(and it's worth noting that i don't even know where to start)
allowing to convert flac-files (since july-2019 - wav-files) from 'tracks' to 'images'
('images' means: 1 cue-file, and 1 wav-file containing all the tracks)
in the beginning, this script/approach was very raw, and it was much like semi-automatic (but honestly, it was mainly manual),
there were dozens of nuances which i cannot recollect/explain in details anymore, because a lot of time has passed
but as i vaguely remember: it contained as much as 32-33 tiny/small/medium steps, written by hand in the paper,
and now, in 2020-2023, it's something like 1-2-3-4 steps, depending on an approach for the calculation,
i mean, for instance, if we don't count a pair of important manual 'safety belts', then the quantity of steps is probably 1 or 2,
and the whole task is done by several different scripts
(including an ''auto it''-code, which i need to convert to ahk but don't know how),
mainly by xyplorer's 2 special scripts: the 1st of them calls the 2nd, at some specific point
(so these few steps directly involve the xyplorer's possibilities:
in that way i use them since april-2018, and they really change for the better the whole scheme)
in the years 2015-2020: the script was constantly in the process of improvement/reconsidering/optimizing...
in the years 2020-2023: the script is (in fact) nearly completely ready, optimized, and at 99,9% reliable
(and yes, i try to fight with those 0,1%, from time to time, when some negative aspect emerges)
i lean towards a view that the script itself (which is mainly divided into 2 different parts, inside xyplorer's ''UDC'' section)
is not very interesting to all of you,
so here in this thread i just ask for the help in a quite modest aspect (directly related to the whole process of convertion):
1. for example, in 1 of my custom context menus, i have the following line: <get "path">
2. (in the next line) is it possible to create a XY-script?:
a script that only displays 1 of 2 short texts (depending on the content of an active folder): Ready Not Ready
3. the note Ready should be present in a very specific cases only,
it's difficult to enumerate them all right away, but in this post i'll try to do it, at least mostly
(and i apologize in advance, in case i'll have to add some item later):
(inside the folder) there may be different situations:
easier (wav-files only), harder (1 or several textual files may be present too) (the txt or cue extensions only)
speaking about easier situations (it's circa 98% of cases):
- if there's 1 file, it must begin with 5 symbols (01 - ) i mean: 0 1 space hyphen space
- if there are 2 files, the 1st must begin with 5 symbols (01 - )
and the 2nd must begin with 5 symbols (02 - )
- if there are 3 files, the 1st must begin with 5 symbols (01 - )
and the 2nd must begin with 5 symbols (02 - )
and the 3rd must begin with 5 symbols (03 - )
and so on (up until 99)
- the 3rd symbol is space (always)
- the 4th symbol is hyphen (always)
- the 5th symbol is space (always)
- the last 4 symbols are: .wav (always)
speaking about harder situations:
as i can understand right now, the txt-file/files should not be taken into consideration (by the script)
(in the majority of cases: there will be just 1 txt-file called 1.txt)
i'll try to answer any possible questions, i'll try to help you help me,
i also may try to write some easy parts of the script myself, but my coding skills are very-very limited,
while the main idea of this script is that it must be really reliable
(and it's worth noting that i don't even know where to start)