Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - cedricpah

Pages: [1]
1
News / Re: Version 2.5.1 released
« on: November 20, 2021, 16:13:08 »
Thanks for the job !

2
News / Re: Beta version 2.5.0
« on: October 21, 2020, 09:37:06 »
Hello,

I appreciate this new feature. Please, what was old values ? I want to try this release and try to reproduce the same results as in 2.4.2 release.
And then, if you can give details about the new options, I will configure them as I want.

Regards,
Cedric

3
Hi,

Have you try to disable opencl ?

4
Wishlist / Re: Ability To Add Files In A Result Session
« on: May 03, 2020, 14:23:08 »
Maybe by using audio.queue in JavaScript, but I don’t understand how the file will be compared with all other items?

5
Wishlist / Ability To Add Files In A Result Session
« on: April 29, 2020, 18:15:46 »
Hi,

I have a request that could allow me (and maybe others) to save a lot of time !
When not using the "Global Optimisation" option, I need more and more time to complete the process of checking my collection (now more than 2 days) since the collection increases. My request is, when the process has finish, giving the ability to add new files to the current result. Not by restarting the full process (because It would need another 2 days process) but I don't know how (with another caching function for example), by adding this files to an existing collection.
If you could think of that to improve your very usefull product !

Thank you

6
Hi,

More simple this script will prepare delete and mklink command for marked files. But there will be dups so with excel you need to clean the list. That's why I log precise, because I will sort result for each "to deleted" file by precise desc. After, just keep the upper value (for E4 cell just use this formula =SI(NB.SI(C$1:C3;C4)=0;C4;"") (sorry formula in french excel relase). And with this script it can keep the filename with extension of hard linked file.
Code: [Select]
/*
Author: Cedric
Description: prepare mklink for marked files
*/
var dups = results.audio.dups;
for (var idx = 0; idx < dups.length; ++idx) {
if (!(dups[idx].item1.marked == true && dups[idx].item2.marked == false)) continue;
try {
var scores = audio.calculate(dups[idx].item1, dups[idx].item2, 'precise');
log(scores['precise'] + ';delete "'+ dups[idx].item1 + '";mklink /h "' + dups[idx].item1.toString().replace(/\..+$/, '') + dups[idx].item2.toString().split('.').pop()  + '" "' + dups[idx].item2+ '"' );
}
catch (e) {
log('Exception ' + e);
}
}

7
Hi,

I had the same need, and I think you can addapt my script.
After playing the script, look at the log file and just keep what you need in the log file to make a batch command lines. And play that batch file.

For information, this script compare analysis properties of files, and if equals, it logs the needed command line to delete one of them and make a hard link to the second one.
Enjoy.
Code: [Select]
/*
Author: Cedric
Description: Mark all files that have same analysis
*/

// unmark all files
results.audio.unmark();

var dups = results.audio.dups;
for (var idx = 0; idx < dups.length; ++idx) {
    // skip counter-pair (1-2 and 2-1), process pair only once
if (dups[idx].item1.path > dups[idx].item2.path) continue;
try {
    if (dups[idx].item1.analysis.duration  == dups[idx].item2.analysis.duration && dups[idx].item1.analysis.samplerate== dups[idx].item2.analysis.samplerate && dups[idx].item1.analysis.datatype  == dups[idx].item2.analysis.datatype && dups[idx].item1.analysis.channels  == dups[idx].item2.analysis.channels && dups[idx].item1.analysis.format    == dups[idx].item2.analysis.format && dups[idx].item1.analysis.clips     == dups[idx].item2.analysis.clips && dups[idx].item1.analysis.silence   == dups[idx].item2.analysis.silence && dups[idx].item1.analysis.absMean   == dups[idx].item2.analysis.absMean && dups[idx].item1.analysis.minStep   == dups[idx].item2.analysis.minStep && dups[idx].item1.analysis.absMax    == dups[idx].item2.analysis.absMax && dups[idx].item1.analysis.maxFreq   == dups[idx].item2.analysis.maxFreq && dups[idx].item1.analysis.clicks    == dups[idx].item2.analysis.clicks && dups[idx].item1.analysis.rating    == dups[idx].item2.analysis.rating) log('delete "'+ dups[idx].item2 + '" mklink /h "' + dups[idx].item2 + '" "' + dups[idx].item1+ '"' );
}
catch (e) {
log('Exception ' + e);
}
}

Pages: [1]