Changeset 36818 for gs3-installations
- Timestamp:
- 2022-10-16T23:10:09+13:00 (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gs3-installations/mars/trunk/sites/mars/collect/amc-essentia/AUDIO-FRAME-TO-ESSENTIA-CSV-FEATURE-FILE.pl
r35224 r36818 149 149 150 150 my ($full_audio_root) = ($audio_file =~ m/^(.*)\..+?$/); 151 my ($audio_root) = ($full_audio_root =~ m/^ .*\/(.*?)$/);152 151 my ($audio_root) = ($full_audio_root =~ m/^(?:.*\/)?(.*?)$/); 152 153 153 my $lines = extract_audio_features_as_csv($audio_root,$audio_file,$profile_file,$ignore_fields,undef); 154 154 … … 221 221 my $audio_file = $ARGV[2]; 222 222 my ($full_audio_root) = ($audio_file =~ m/^(.*)\..+?$/); 223 my ($audio_root) = ($full_audio_root =~ m/^.*\/(.*?)$/); 224 223 my ($audio_root) = ($full_audio_root =~ m/^(?:.*\/)?(.*?)$/); 224 225 225 226 if ( ! -d "tmp" ) { 226 227 print "Creating directory: tmp\n";
Note:
See TracChangeset
for help on using the changeset viewer.