Skip to content
Permalink
Browse files

FIR example: use initialized random generator

  • Loading branch information...
dlevin256 committed Mar 14, 2019
1 parent de0f469 commit d85d296440a0f67ae4337b4e05e27e2dcf172486
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/fir.cpp
@@ -102,7 +102,7 @@ int main()
// --------------------------------------------------------------------------------------

// Prepare 10000 samples of white noise
univector<float> noise = truncate(gen_random_range(-1.f, +1.f), 10000);
univector<float> noise = truncate(gen_random_range(random_bit_generator{1, 2, 3, 4}, -1.f, +1.f), 10000);

// Apply band stop filter
univector<float> filtered_noise = fir(noise, taps127);

0 comments on commit d85d296

Please sign in to comment.
You can’t perform that action at this time.