xcorrSound_waveform-compare_alt
Created: 2014-09-30 10:06:12
Last updated: 2014-09-30 10:08:04
xcorrSound waveform-compare Wav File Comparison. "Alt" version uses the xcorrSound Project debian package installation rather than the scape toolwrapper debian package installation.
Preview
Run
Run this Workflow in the Taverna Workbench...
Workflow Components
Authors (1)
Bolette Ammitzbøll Jurik, The SCAPE Project, The State and University Library, Aarhus, Denmark |
Titles (1)
xcorrSound waveform-compare Wav File Comparison |
Descriptions (1)
Given two wav input files ("compare-to" and migrated) use the xcorrSound waveform-compare tool to Compare the files. Output similarity and acticity report. "Alt" version uses the xcorrSound Project debian package installation rather than the scape toolwrapper debian package installation. |
Dependencies (0)
Inputs (2)
Name |
Description |
compareto_wav |
mp3 input file 1
|
migrated_wav |
wav input file 2
|
Processors (2)
Name |
Type |
Description |
waveform_compare |
externaltool |
|
ExtractFromWaveformCompare |
beanshell |
Scriptif (waveform_compare_output!=null &&
waveform_compare_output.length()>0) {
String[] lines = waveform_compare_output.split("\n");
//getSuccess
if (lines[0].equals("Success")) {
success = true;
//NO block !!! makes sense
//NO similarity !!! todo
//getOffset ???
} else if (lines[0].equals("Failure")) {
success = false;
//getBlock ???
//block = lines[1].substring(7);//"Block: ".length()=7
//getSimilarity
similarity = lines[2].substring(16);//"Value in block: ".length()=16
//getOffset_in_block ???
//get earlier Offset ???
}
}
|
Beanshells (1)
Name |
Description |
Inputs |
Outputs |
ExtractFromWaveformCompare |
|
waveform_compare_output
|
offset
block
similarity
success
|
Outputs (2)
Name |
Description |
waveform_compare_activity_report |
|
Similarity |
|
Datalinks (5)
Source |
Sink |
migrated_wav |
waveform_compare:in2 |
compareto_wav |
waveform_compare:in1 |
waveform_compare:STDOUT |
ExtractFromWaveformCompare:waveform_compare_output |
waveform_compare:STDOUT |
waveform_compare_activity_report |
ExtractFromWaveformCompare:similarity |
Similarity |
Uploader
Component Validity
Loading
License
All versions of this Workflow are
licensed under:
Version 1
(of 1)
Credits (0)
(People/Groups)
None
Attributions (0)
(Workflows/Files)
None
Shared with Groups (1)
Featured In Packs (1)
Log in to add to one of your Packs
Attributed By (0)
(Workflows/Files)
None
Favourited By (0)
No one
Statistics
Other workflows that use similar services
(0)
There are no workflows in myExperiment that use similar services to this Workflow.
Comments (0)
No comments yet
Log in to make a comment