csnd
Class Soundfile
java.lang.Object
csnd.Soundfile
public class Soundfile
- extends java.lang.Object
Method Summary |
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()
|
protected 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)
|
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
swigCMemOwn
protected boolean swigCMemOwn
Soundfile
protected Soundfile(long cPtr,
boolean cMemoryOwn)
Soundfile
public Soundfile()
getCPtr
protected static long getCPtr(Soundfile obj)
finalize
protected void finalize()
- Overrides:
finalize
in class java.lang.Object
delete
public void delete()
getFramesPerSecond
public int getFramesPerSecond()
setFramesPerSecond
public void setFramesPerSecond(int framesPerSecond)
getChannelsPerFrame
public int getChannelsPerFrame()
setChannelsPerFrame
public void setChannelsPerFrame(int channelsPerFrame)
getFormat
public int getFormat()
setFormat
public void setFormat(int format)
getFrames
public int getFrames()
open
public int open(java.lang.String filename)
create
public int create(java.lang.String filename,
int framesPerSecond,
int channelsPerFrame,
int format)
create
public int create(java.lang.String filename,
int framesPerSecond,
int channelsPerFrame)
create
public int create(java.lang.String filename,
int framesPerSecond)
create
public int create(java.lang.String filename)
seek
public int seek(int frames,
int whence)
seek
public int seek(int frames)
seekSeconds
public double seekSeconds(double seconds,
int whence)
seekSeconds
public double seekSeconds(double seconds)
readFrame
public int readFrame(SWIGTYPE_p_double outputFrame)
writeFrame
public int writeFrame(SWIGTYPE_p_double inputFrame)
readFrames
public int readFrames(SWIGTYPE_p_double outputFrames,
int samples)
writeFrames
public int writeFrames(SWIGTYPE_p_double inputFrames,
int samples)
mixFrames
public int mixFrames(SWIGTYPE_p_double inputFrames,
int samples,
SWIGTYPE_p_double mixedFrames)
updateHeader
public void updateHeader()
close
public int close()
error
public void error()
blank
public void blank(double duration)