public class Soundfile
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
swigCMemOwn |
Constructor and Description |
---|
Soundfile() |
Soundfile(long cPtr,
boolean cMemoryOwn) |
Modifier and Type | Method and Description |
---|---|
void |
blank(double duration) |
int |
close() |
int |
create(java.lang.String filename) |
int |
create(java.lang.String filename,
int framesPerSecond) |
int |
create(java.lang.String filename,
int framesPerSecond,
int channelsPerFrame) |
int |
create(java.lang.String filename,
int framesPerSecond,
int channelsPerFrame,
int format) |
void |
delete() |
void |
error() |
protected void |
finalize() |
int |
getChannelsPerFrame() |
static long |
getCPtr(Soundfile obj) |
int |
getFormat() |
int |
getFrames() |
int |
getFramesPerSecond() |
int |
mixFrames(SWIGTYPE_p_double inputFrames,
int samples,
SWIGTYPE_p_double mixedFrames) |
int |
open(java.lang.String filename) |
int |
readFrame(SWIGTYPE_p_double outputFrame) |
int |
readFrames(SWIGTYPE_p_double outputFrames,
int samples) |
int |
seek(int frames) |
int |
seek(int frames,
int whence) |
double |
seekSeconds(double seconds) |
double |
seekSeconds(double seconds,
int whence) |
void |
setChannelsPerFrame(int channelsPerFrame) |
void |
setFormat(int format) |
void |
setFramesPerSecond(int framesPerSecond) |
void |
updateHeader() |
int |
writeFrame(SWIGTYPE_p_double inputFrame) |
int |
writeFrames(SWIGTYPE_p_double inputFrames,
int samples) |
public Soundfile(long cPtr, boolean cMemoryOwn)
public Soundfile()
public static long getCPtr(Soundfile obj)
protected void finalize()
finalize
in class java.lang.Object
public void delete()
public int getFramesPerSecond()
public void setFramesPerSecond(int framesPerSecond)
public int getChannelsPerFrame()
public void setChannelsPerFrame(int channelsPerFrame)
public int getFormat()
public void setFormat(int format)
public int getFrames()
public int open(java.lang.String filename)
public int create(java.lang.String filename, int framesPerSecond, int channelsPerFrame, int format)
public int create(java.lang.String filename, int framesPerSecond, int channelsPerFrame)
public int create(java.lang.String filename, int framesPerSecond)
public int create(java.lang.String filename)
public int seek(int frames, int whence)
public int seek(int frames)
public double seekSeconds(double seconds, int whence)
public double seekSeconds(double seconds)
public int readFrame(SWIGTYPE_p_double outputFrame)
public int writeFrame(SWIGTYPE_p_double inputFrame)
public int readFrames(SWIGTYPE_p_double outputFrames, int samples)
public int writeFrames(SWIGTYPE_p_double inputFrames, int samples)
public int mixFrames(SWIGTYPE_p_double inputFrames, int samples, SWIGTYPE_p_double mixedFrames)
public void updateHeader()
public int close()
public void error()
public void blank(double duration)