Skip to content
Snippets Groups Projects
Commit c8f708fd authored by jsiegle's avatar jsiegle
Browse files

Replace Digital Ref with Channel Map

parent b6ae1c6a
No related branches found
No related tags found
No related merge requests found
......@@ -34,6 +34,7 @@
#include "RecordNode.h"
#include "ResamplingNode.h"
#include "ReferenceNode.h"
#include "ChannelMappingNode.h"
#include "AudioResamplingNode.h"
#include "SignalGenerator.h"
#include "SourceNode.h"
......@@ -503,6 +504,11 @@ GenericProcessor* ProcessorGraph::createProcessorFromDescription(String& descrip
std::cout << "Creating a new digital reference." << std::endl;
processor = new ReferenceNode();
}
else if (subProcessorType.equalsIgnoreCase("Channel Map"))
{
std::cout << "Creating a new channel mapping node." << std::endl;
processor = new ChannelMappingNode();
}
sendActionMessage("New filter node created.");
......
......@@ -78,7 +78,8 @@ ProcessorList::ProcessorList()
filters->addSubItem(new ProcessorListItem("Spike Detector"));
//filters->addSubItem(new ProcessorListItem("Resampler"));
filters->addSubItem(new ProcessorListItem("Phase Detector"));
filters->addSubItem(new ProcessorListItem("Digital Ref"));
//filters->addSubItem(new ProcessorListItem("Digital Ref"));
filters->addSubItem(new ProcessorListItem("Channel Map"));
ProcessorListItem* sinks = new ProcessorListItem("Sinks");
sinks->addSubItem(new ProcessorListItem("LFP Viewer"));
......
......@@ -92,7 +92,7 @@ UIComponent::UIComponent(MainWindow* mainWindow_, ProcessorGraph* pgraph, AudioC
mainWindow->setMenuBar(this);
#endif
getEditorViewport()->loadState(File("/home/jsiegle/Programming/GUI/Builds/Linux/build/spike_display_2.xml"));
//getEditorViewport()->loadState(File("/home/jsiegle/Programming/GUI/Builds/Linux/build/spike_display_2.xml"));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment