24 #ifndef FASTNOISE_SOURCE_H 25 #define FASTNOISE_SOURCE_H 49 typedef boost::shared_ptr<fastnoise_source<T>>
sptr;
64 make(
noise_type_t type,
float ampl,
long seed = 0,
long samples = 1024 * 16);
65 virtual T sample() = 0;
66 virtual T sample_unbiased() = 0;
67 virtual const std::vector<T>& samples()
const = 0;
80 virtual void set_amplitude(
float ampl) = 0;
83 virtual float amplitude()
const = 0;
fastnoise_source< float > fastnoise_source_f
Definition: fastnoise_source.h:86
noise_type_t
Definition: noise_type.h:29
fastnoise_source< std::int16_t > fastnoise_source_s
Definition: fastnoise_source.h:88
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:43
synchronous 1:1 input to output with historyOverride work to provide the signal processing implementa...
Definition: sync_block.h:37
fastnoise_source< gr_complex > fastnoise_source_c
Definition: fastnoise_source.h:89
fastnoise_source< std::int32_t > fastnoise_source_i
Definition: fastnoise_source.h:87
boost::shared_ptr< fastnoise_source< T > > sptr
Definition: fastnoise_source.h:49
Random number source.
Definition: fastnoise_source.h:45
#define ANALOG_API
Definition: gr-analog/include/gnuradio/analog/api.h:30