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
- IOException
public Component getComponent(int width, int height) throws IOException
Slide
getComponent
in interface Slide
getComponent
in class PictureSlide
width
- the slide widthheight
- the slide heightIOException
public void close()
Slide
Slideshow
when the
slide is removed from display.close
in interface Slide
close
in class PictureSlide
public void consumeFrequency(float[] fftReal, float[] fftImag, int low, int high)
FrequencyAudioSource.Listener
consumeFrequency
in interface FrequencyAudioSource.Listener
fftReal
- real fft valuesfftImag
- imaginary fft values