GNU Radio 3.6.5 C++ API
|
#include <gr_core_api.h>
#include <gr_sync_block.h>
#include <gr_noise_type.h>
#include <gr_random.h>
Go to the source code of this file.
Classes | |
class | gr_fastnoise_source_c |
Random number source. More... | |
Functions | |
GR_CORE_API gr_fastnoise_source_c_sptr | gr_make_fastnoise_source_c (gr_noise_type_t type, float ampl, long seed=0, long samples=1024 *16) |
Make a noise source. |
GR_CORE_API gr_fastnoise_source_c_sptr gr_make_fastnoise_source_c | ( | gr_noise_type_t | type, |
float | ampl, | ||
long | seed = 0 , |
||
long | samples = 1024 *16 |
||
) |
Make a noise source.
type | the random distribution to use (see gr_noise_type.h) |
ampl | a scaling factor for the output |
seed | seed for random generators. Note that for uniform and Gaussian distributions, this should be a negative number. |
samples | number of samples to pre-generate. |