Add tempo output, minor build fix
authorChris Cannam <cannam@all-day-breakfast.com>
Wed, 5 Dec 2012 13:55:21 +0000 (13:55 +0000)
committerChris Cannam <cannam@all-day-breakfast.com>
Wed, 5 Dec 2012 13:55:21 +0000 (13:55 +0000)
Makefile
vamp-aubio.n3

index c50b2eb..d99831c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -14,8 +14,7 @@ CXXFLAGS      := $(CFLAGS)
 
 # Libraries required for the plugins.
 #
-#PLUGIN_LIBS   = -L../inst/lib -lvamp-sdk -laubio 
-PLUGIN_LIBS    = -Wl,-Bstatic -lvamp-sdk -lfftw3f -Wl,-Bdynamic
+PLUGIN_LIBS    = -Wl,-Bstatic -lvamp-sdk -Wl,-Bdynamic
 
 # Flags required to tell the compiler to make a dynamically loadable object
 #
index 79f46b4..f45e713 100644 (file)
@@ -400,6 +400,7 @@ plugbase:aubiotempo a   vamp:Plugin ;
     vamp:parameter   plugbase:aubiotempo_param_silencethreshold ;
 
     vamp:output      plugbase:aubiotempo_output_beats ;
+    vamp:output      plugbase:aubiotempo_output_tempo ;
     .
 plugbase:aubiotempo_param_onsettype a  vamp:QuantizedParameter ;
     vamp:identifier     "onsettype" ;
@@ -444,4 +445,15 @@ plugbase:aubiotempo_output_beats a  vamp:SparseOutput ;
 #   vamp:computes_feature      <Place feature attribute URI here and uncomment> ;
 #   vamp:computes_signal_type  <Place signal type URI here and uncomment> ;
     .
-
+plugbase:aubiotempo_output_tempo a  vamp:DenseOutput ;
+    vamp:identifier       "tempo" ;
+    dc:title              "Tempo" ;
+    dc:description        """"""  ;
+    vamp:fixed_bin_count  "true" ;
+    vamp:unit             "bpm" ;
+    vamp:bin_count        1 ;
+#   vamp:computes_event_type   <Place event type URI here and uncomment> ;
+#   vamp:computes_feature      <Place feature attribute URI here and uncomment> 
+;
+#   vamp:computes_signal_type  <Place signal type URI here and uncomment> ;
+    .