public class AudioOutroSlide extends PictureSlide implements FrequencyAudioSource.Listener
ic, mbfImage, url| Constructor and Description |
|---|
AudioOutroSlide(URL picture)
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the current slide.
|
void |
consumeFrequency(float[] fftReal,
float[] fftImag,
int low,
int high)
Called when new frequency data is available.
|
Component |
getComponent(int width,
int height)
Get the component to draw.
|
public AudioOutroSlide(URL picture) throws IOException
picture - IOExceptionpublic Component getComponent(int width, int height) throws IOException
SlidegetComponent in interface SlidegetComponent in class PictureSlidewidth - the slide widthheight - the slide heightIOExceptionpublic void close()
SlideSlideshow when the
slide is removed from display.close in interface Slideclose in class PictureSlidepublic void consumeFrequency(float[] fftReal, float[] fftImag, int low, int high)
FrequencyAudioSource.ListenerconsumeFrequency in interface FrequencyAudioSource.ListenerfftReal - real fft valuesfftImag - imaginary fft values