changeset 1600:1acd7be4df9a

Complete round-trip name-type conversion for melodic range & peak freq spectrograms (also has the effect of making them creatable from OSC)
author Chris Cannam
date Wed, 29 Apr 2020 13:26:23 +0100
parents 5e091b0e317c
children 4739a1b2266f
files layer/LayerFactory.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/layer/LayerFactory.cpp	Wed Apr 22 13:08:12 2020 +0100
+++ b/layer/LayerFactory.cpp	Wed Apr 29 13:26:23 2020 +0100
@@ -308,6 +308,8 @@
     if (name == "colour3dplot") return Colour3DPlot;
     if (name == "spectrum") return Spectrum;
     if (name == "slice") return Slice;
+    if (name == "melodicrange") return MelodicRangeSpectrogram;
+    if (name == "peakfrequency") return PeakFrequencySpectrogram;
     return UnknownLayer;
 }