Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
vamp.h File Reference

Vamp plugin utils. More...

#include <glib.h>
#include <vamp-hostsdk/host-c.h>
#include <vamp/vamp.h>
Include dependency graph for vamp.h:

Go to the source code of this file.

Data Structures

struct  ZVampFeature
 
struct  ZVampOutputDescriptor
 
struct  ZVampOutputList
 
struct  ZVampFeatureList
 
struct  ZVampFeatureSet
 

Typedefs

typedef void ZVampPlugin
 

Enumerations

enum  ZVampPluginType { Z_VAMP_PLUGIN_BEAT_TRACKER , Z_VAMP_PLUGIN_FIXED_TEMPO_ESTIMATOR }
 

Functions

void vamp_print_all (void)
 Prints detected vamp plugins.
 
const VampPluginDescriptor * vamp_get_simple_fixed_tempo_estimator_descriptor (void)
 
ZVampPlugin * vamp_get_plugin (ZVampPluginType type, float samplerate)
 
void vamp_plugin_initialize (ZVampPlugin *plugin, size_t channels, size_t step_size, size_t block_size)
 
ZVampFeatureSetvamp_plugin_process (ZVampPlugin *plugin, const float *const *input_buffers, long timestamp, unsigned int samplerate)
 
ZVampFeatureSetvamp_plugin_get_remaining_features (ZVampPlugin *plugin, unsigned int samplerate)
 
size_t vamp_plugin_get_preferred_step_size (ZVampPlugin *plugin)
 
size_t vamp_plugin_get_preferred_block_size (ZVampPlugin *plugin)
 
ZVampOutputListvamp_plugin_get_output_descriptors (ZVampPlugin *plugin)
 
ZVampOutputDescriptorvamp_output_descriptor_new (const char *identifier, const char *name, const char *description, const char *unit, bool hasFixedBinCount, bool hasKnownExtents, float minValue, float maxValue, int sampleType, float sampleRate, bool hasDuration)
 
ZVampFeaturevamp_feature_new (bool has_timestamp, long timestamp, bool hasDuration, size_t duration, float *values, size_t num_values, const char *label)
 
const ZVampFeatureListvamp_feature_set_get_list_for_output (ZVampFeatureSet *self, int output_idx)
 
void vamp_feature_list_print (const ZVampFeatureList *self)
 
void vamp_feature_set_print (const ZVampFeatureSet *self)
 
void vamp_feature_print (ZVampFeature *self)
 
void vamp_plugin_output_print (ZVampOutputDescriptor *self)
 
void vamp_plugin_output_list_print (ZVampOutputList *self)
 
void vamp_feature_free (void *self)
 
void vamp_feature_list_free (void *list)
 
void vamp_output_descriptor_free (void *descr)
 
void vamp_feature_set_free (ZVampFeatureSet *self)
 
void vamp_plugin_output_list_free (ZVampOutputList *self)
 

Detailed Description