view README.md @ 295:de5dc40f1830

Include headers needed to compile with GCC 15's -std=gnu23 default ``` In file included from ../piper-vamp-cpp/vamp-json/VampJson.h:55, from ../piper-vamp-cpp/vamp-server/convert.cpp:36: ../piper-vamp-cpp/vamp-support/PluginHandleMapper.h:69:13: error: ‘uint32_t’ does not name a type 69 | typedef uint32_t Handle; | ^~~~~~~~ ../piper-vamp-cpp/vamp-support/PluginHandleMapper.h:39:1: note: ‘uint32_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ 38 | #include "PluginOutputIdMapper.h" +++ |+#include <cstdint> 39 | ../piper-vamp-cpp/ext/json11/json11.cpp: In function ‘void json11::dump(const std::string&, std::string&)’: ../piper-vamp-cpp/ext/json11/json11.cpp:95:32: error: ‘uint8_t’ does not name a type 95 | } else if (static_cast<uint8_t>(ch) <= 0x1f) { | ^~~~~~~ ../piper-vamp-cpp/ext/json11/json11.cpp:25:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ 24 | #include <cmath> +++ |+#include <cstdint> 25 | #include <cstdlib> ``` Signed-off-by: Michel Lind <salimma@fedoraproject.org>
author Michel Lind <salimma@fedoraproject.org>
date Fri, 24 Jan 2025 11:38:28 -0600
parents b0f0e257d8af
children
line wrap: on
line source

# Piper Vamp C++

Supporting code in C++ for the Piper audio feature extractor protocol,
primarily for making Vamp plugins work with the Piper protocol.

## Contents

 * code to adapt Piper messages to the classes used in the Vamp SDK
 * a command-line converter between Piper serialisations that goes
   via Vamp SDK classes
 * a server that makes Vamp plugins available via Piper messages

## Directory index

*vamp-json* - convert between Piper JSON messages and Vamp SDK classes

*vamp-capnp* - convert between Piper Cap'n Proto messages and Vamp
abstractions

*vamp-support* - support classes for the above

*vamp-server* - main programs for command-line converter and server

*vamp-client* - logic to make Piper servers available to Vamp hosts
through a Vamp-like API

*vamp-client/qt* - logic specific to hosts written with Qt

*ext* - json11 and base-n third-party libraries: see individual
directories for copyright details

[![Build Status](https://travis-ci.org/piper-audio/piper-vamp-cpp.svg?branch=master)](https://travis-ci.org/piper-audio/piper-vamp-cpp)

## Authors and licensing

Written by Chris Cannam and Lucas Thompson at the Centre for Digital
Music, Queen Mary, University of London.

Copyright (c) 2015-2019 Queen Mary, University of London, provided
under a BSD-style licence. See the file COPYING for details.