View Issue Details

IDProjectCategoryView StatusLast Update
0001209OpenMPT[All Projects] Feature Requestpublic2019-03-11 18:04
ReporterharbingerAssigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionno change required 
Platformx64OSWindowsOS Version7
Product VersionOpenMPT 1.28.03.00 / libopenmpt 0.4.3 (upgrade first) 
Target VersionFixed in Version 
Summary0001209: Write lossless audio files which ignore silent regions
Description

I use Audacity to do final mixdowns, and one of the nice things to help cut the HD footprint is that some audio segments (those at Amplitude 0) are not stored in memory (well, if you trim them out). I'm guessing that Audacity's format, instead of storing all the samples which equal 0, instead store the TIME when an audio segment would be placed.

I would love to see ModPlug store such segments, so that a lot of my hard drive or thumbdrive memory isn't wasted recording silent data. Ideally, i'd like to be able to open this audio file directly in Audacity.

TagsNo tags attached.
Has the bug occurred in previous versions?
Tested code revision (in case you know it)

Relationships

related to 0000766 resolvedmanx 64bit WAVE-like file format 
has duplicate 0001215 closed Write lossless audio files which ignore silent regions 

Activities

Saga Musix

Saga Musix

2019-03-01 20:43

administrator   ~0003879

If you use the FLAC format for export, silent segments will already be compressed to next to nothing. For example, a WAV sample full of silence that would occupy 100 megabytes on disk will only take a few hundred kilobytes in FLAC format. OpenMPT already supports exporting to FLAC format, and Audacity can import FLAC samples just fine. FLAC can do everything WAV can do, except for 32-bit floating-point export.

Apart form that, it would be new to me that you can specify silence the way you imagine in any of the lossless formats that OpenMPT supports. Hence there is no way OpenMPT could do what you want it to do, as we cannot just invent an extension and then hope that Audacity adapts it. Adding support for Audacity project files would be way out of scope.

manx

manx

2019-03-01 20:49

administrator   ~0003880

If you are concerned about wasted disk space, you can use FLAC format, which will losslessly compress the audio. In particular, digital silence will consume almost no disk space in FLAC. Note that you would be limited to integer PCM and you will not be able to use float PCM with FLAC, which might or might not be a problem in your use case.

Regarding automatically detecting digital silence and skipping such parts in the lossless output format, OpenMPT currently supports no format that would actually support such a feature.

I know of only one single format that inherently supports trimming digital silence, and that would be OggPCM. This format however is not widely used at all, even Audacity does not support it.

Having said that, it would theoretically possible to write PCM audio files with filesystem-level holes in them for parts with digital silence (which would avoid wasting disk space on NTFS file systems (but not on FAT)). I doubt the required engineering is worth the effort, though.

Issue History

Date Modified Username Field Change
2019-03-01 19:39 harbinger New Issue
2019-03-01 20:43 Saga Musix Status new => closed
2019-03-01 20:43 Saga Musix Resolution open => no change required
2019-03-01 20:43 Saga Musix Note Added: 0003879
2019-03-01 20:49 manx Note Added: 0003880
2019-03-01 20:50 manx Relationship added related to 0000766
2019-03-11 18:04 Saga Musix Relationship added has duplicate 0001215