Package org.opencastproject.sox.api
Interface SoxService
- All Known Implementing Classes:
SoxServiceImpl,SoxServiceRemoteImpl
public interface SoxService
Provides sound processing services with SoX
-
Field Summary
Fields -
Method Summary
-
Field Details
-
JOB_TYPE
- See Also:
-
-
Method Details
-
analyze
Get audio statistics, using that track's audio streams.- Parameters:
sourceAudioTrack- The source audio track- Returns:
- The receipt for this audio processing job.
- Throws:
MediaPackageException- if the mediapackage is invalidSoxException- if audio processing fails
-
normalize
Job normalize(Track sourceAudioTrack, Float targetRmsLevDb) throws MediaPackageException, SoxException Normalize the audio stream of that track.- Parameters:
sourceAudioTrack- The source audio tracktargetRmsLevDb- The target RMS Lev dB- Returns:
- The receipt for this audio processing job
- Throws:
MediaPackageException- if the mediapackage is invalidSoxException- if audio processing fails
-