Skip to content

Commit

Permalink
* New: AIFF/WAV files are now lazy loaded which keeps the memory usag…
Browse files Browse the repository at this point in the history
…e down.

* EXS24
  * New: Increased the directories upwards search option to 6.
* KMP
  * Fixed: Creation did crash.
* Sample Files
  * New: Aggregated AIFF and WAV sources into 'Sample Files' source. Added AIFF, FLAC, NCW and OGG files as well. All types can be selected and detected at once.
  * Fixed: Note detection from file names could be wrong when flat notes were part of it (e.g. Eb2 was detected as B2).
  * Fixed: Category detection on sample file names did not always work
  • Loading branch information
git-moss committed Oct 5, 2024
1 parent f8c76c1 commit ebafc92
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Changes

## 11.1.0 (unreleased)
## 11.1.0

* New: AIFF/WAV files are now lazy loaded which keeps the memory usage down.
* EXS24
* New: Increased the directories upwards search option to 6.
* KMP
* Fixed: Creation did crash.
* Sample Files
* New: Aggregated AIFF and WAV sources into 'Sample Files' source. Added AIFF, FLAC, NCW and OGG files as well. All types can be selected and detected at once.
* Fixed: Note detection from file names could be wrong when flat notes were part of it (e.g. Eb2 was detected as B2).
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>de.mossgrabers</groupId>
<artifactId>convertwithmoss</artifactId>
<version>11.0.0</version>
<version>11.1.0</version>
<packaging>jar</packaging>
<name>ConvertWithMoss</name>
<organization>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
Expand Down Expand Up @@ -48,7 +47,7 @@ public void create (final File destinationFolder, final IMultisampleSource multi
final String sampleName = createSafeFilename (multisampleSource.getName ());

// Create a sub-folder for the KMP file(s) and all samples
final File subFolder = new File (destinationFolder, FileUtils.createDOSFileName (sampleName, Collections.emptySet ()));
final File subFolder = new File (destinationFolder, FileUtils.createDOSFileName (sampleName, new HashSet<> ()));
if (!subFolder.exists () && !subFolder.mkdirs ())
{
this.notifier.logError ("IDS_NOTIFY_FOLDER_COULD_NOT_BE_CREATED", subFolder.getAbsolutePath ());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ private List<IMultisampleSource> createMultisample (final SampleFileType sampleF
}
catch (final IOException | MultisampleException | CombinationNotPossibleException ex)
{
this.notifier.logError ("IDS_NOTIFY_SAVE_FAILED", ex.getMessage ());
this.notifier.logError ("IDS_NOTIFY_SAVE_FAILED", ex);
}

return Collections.emptyList ();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ public void accept (final IMultisampleSource multisampleSource)
}
catch (final IOException | RuntimeException ex)
{
this.logError ("IDS_NOTIFY_SAVE_FAILED", ex.getMessage ());
this.logError ("IDS_NOTIFY_SAVE_FAILED", ex);
}
}

Expand Down Expand Up @@ -842,7 +842,7 @@ public void finished (final boolean cancelled)
}
catch (final IOException | RuntimeException ex)
{
this.logError ("IDS_NOTIFY_SAVE_FAILED", ex.getMessage ());
this.logError ("IDS_NOTIFY_SAVE_FAILED", ex);
}

return;
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/Strings.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
TITLE=ConvertWithMoss 11.0.0
TITLE=ConvertWithMoss 11.1.0

##################################################################################
#
Expand Down

0 comments on commit ebafc92

Please sign in to comment.