projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Display gain and midiNote plugin parameters/properties nicely.
[ardour.git]
/
libs
/
ardour
/
ardour
/
audioanalyser.h
diff --git
a/libs/ardour/ardour/audioanalyser.h
b/libs/ardour/ardour/audioanalyser.h
index 06b841990a45f2848c12fa1418c0315381caa5dc..6a9738eb5ab202d323cf3ad83d3540b89b59ce1a 100644
(file)
--- a/
libs/ardour/ardour/audioanalyser.h
+++ b/
libs/ardour/ardour/audioanalyser.h
@@
-1,5
+1,5
@@
/*
/*
- Copyright (C) 2008 Paul Davis
+ Copyright (C) 2008 Paul Davis
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-24,15
+24,17
@@
#include <string>
#include <ostream>
#include <fstream>
#include <string>
#include <ostream>
#include <fstream>
-#include <vamp-sdk/Plugin.h>
-#include <ardour/audioregion.h>
+#include <boost/utility.hpp>
+#include "vamp-sdk/Plugin.h"
+#include "ardour/libardour_visibility.h"
+#include "ardour/types.h"
namespace ARDOUR {
class Readable;
class Session;
namespace ARDOUR {
class Readable;
class Session;
-class
AudioAnalyser
{
+class
LIBARDOUR_API AudioAnalyser : public boost::noncopyable
{
public:
typedef Vamp::Plugin AnalysisPlugin;
public:
typedef Vamp::Plugin AnalysisPlugin;
@@
-40,7
+42,7
@@
class AudioAnalyser {
AudioAnalyser (float sample_rate, AnalysisPluginKey key);
virtual ~AudioAnalyser();
AudioAnalyser (float sample_rate, AnalysisPluginKey key);
virtual ~AudioAnalyser();
-
+
/* analysis object should provide a run method
that accepts a path to write the results to (optionally empty)
a Readable* to read data from
/* analysis object should provide a run method
that accepts a path to write the results to (optionally empty)
a Readable* to read data from
@@
-55,9
+57,9
@@
class AudioAnalyser {
AnalysisPlugin* plugin;
AnalysisPluginKey plugin_key;
AnalysisPlugin* plugin;
AnalysisPluginKey plugin_key;
-
nframes64
_t bufsize;
-
nframes64
_t stepsize;
-
+
framecnt
_t bufsize;
+
framecnt
_t stepsize;
+
int initialize_plugin (AnalysisPluginKey name, float sample_rate);
int analyse (const std::string& path, Readable*, uint32_t channel);
int initialize_plugin (AnalysisPluginKey name, float sample_rate);
int analyse (const std::string& path, Readable*, uint32_t channel);