Channel Spectral Display

- Adds Channel Spectrum tab to display FFT of the audio output of the currently selected channel
 - Upgrades to JTransforms 3.0 FFT library
 - Adds three new context menus to main and channel spectral displays:
   -- Baseline - affects the vertical rendering baseline of the FFT
   -- Amplification - affects the vertical height of each FFT bin
   -- Averaging - affects how many FFTs are averaged to produce the display
This commit is contained in:
dennis.sheirer
2014-09-06 14:58:05 +00:00
parent 5ddf538e2a
commit 4e0fd9b7b0
44 changed files with 1986 additions and 549 deletions

View File

@@ -0,0 +1,52 @@
package controller.channel;
public class ChannelEvent
{
private Channel mChannel;
private Event mEvent;
/**
* ChannelEvent - event describing any changes to channels
* @param channel - channel that changed
* @param event - change event
*/
public ChannelEvent( Channel channel, Event event )
{
mChannel = channel;
mEvent = event;
}
public Channel getChannel()
{
return mChannel;
}
public Event getEvent()
{
return mEvent;
}
/**
* Channel Events - used to specify channel events and changes to channel
* configurations and settings.
*/
public enum Event
{
CHANGE_ALIAS_LIST,
CHANGE_DECODER,
CHANGE_ENABLED,
CHANGE_EVENT_LOGGER,
CHANGE_NAME,
CHANGE_SITE,
CHANGE_RECORDER,
CHANGE_SELECTED,
CHANGE_SOURCE,
CHANGE_SYSTEM,
CHANNEL_ADDED,
CHANNEL_DELETED,
PROCESSING_STARTED,
PROCESSING_STOPPED,
}
}