 |
GNU Radio Manual and C++ API Reference
3.9.1.0
The Free & Open Software Radio Ecosystem
|
|
Go to the documentation of this file.
12 #ifndef FASTNOISE_SOURCE_H
13 #define FASTNOISE_SOURCE_H
37 typedef std::shared_ptr<fastnoise_source<T>>
sptr;
52 make(
noise_type_t type,
float ampl,
long seed = 0,
long samples = 1024 * 16);
53 virtual T sample() = 0;
54 virtual T sample_unbiased() = 0;
55 virtual const std::vector<T>& samples()
const = 0;
68 virtual void set_amplitude(
float ampl) = 0;
71 virtual float amplitude()
const = 0;
fastnoise_source< gr_complex > fastnoise_source_c
Definition: fastnoise_source.h:77
std::shared_ptr< fastnoise_source< T > > sptr
Definition: fastnoise_source.h:37
fastnoise_source< std::int16_t > fastnoise_source_s
Definition: fastnoise_source.h:76
fastnoise_source< std::int32_t > fastnoise_source_i
Definition: fastnoise_source.h:75
#define ANALOG_API
Definition: gr-analog/include/gnuradio/analog/api.h:18
synchronous 1:1 input to output with history
Definition: sync_block.h:25
Random number source.
Definition: fastnoise_source.h:33
noise_type_t
Definition: noise_type.h:17
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:29
fastnoise_source< float > fastnoise_source_f
Definition: fastnoise_source.h:74