Package ca.phon.media
Interface Sound
public interface Sound
-
Method Summary
Modifier and TypeMethodDescriptionfloat
endTime()
double[][]
getWindowExtrema
(float startTime, float endTime) Get min/max values for specified time rangefloat
length()
Length of audio in secondsint
Number of channels in audio file.float
-
Method Details
-
numberOfChannels
int numberOfChannels()Number of channels in audio file.- Returns:
- number of channels
-
startTime
float startTime() -
endTime
float endTime() -
length
float length()Length of audio in seconds- Returns:
-
getWindowExtrema
double[][] getWindowExtrema(float startTime, float endTime) Get min/max values for specified time range- Parameters:
startTime
-endTime
-channel
-- Returns:
- min/max values for specified range
-