YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
SoundUtils.cpp File Reference
#include <yarp/sig/SoundUtils.h>
#include <cstring>
#include <cmath>
#include <algorithm>
#include <yarp/os/Log.h>
#include <yarp/os/LogStream.h>
+ Include dependency graph for SoundUtils.cpp:

Go to the source code of this file.

Macros

#define M_PI   3.14159265358979323846
 

Functions

bool prepareSound (Sound &outSound, double duration_s, size_t channels, size_t sampleRate, double frequency, size_t amplitude)
 

Macro Definition Documentation

◆ M_PI

#define M_PI   3.14159265358979323846

Definition at line 16 of file SoundUtils.cpp.

Function Documentation

◆ prepareSound()

bool prepareSound ( Sound &  outSound,
double  duration_s,
size_t  channels,
size_t  sampleRate,
double  frequency,
size_t  amplitude 
)

Definition at line 19 of file SoundUtils.cpp.