Open an interactive online version by clicking the badge
or
download
the notebook.
Gallery Template#
The content of this example could be well introduced right here, since this is the first line people may read.
Since this is only a template we’ll only import pyfar…
[1]:
import pyfar as pf
import matplotlib.pyplot as plt
… and make some noise:
[2]:
from IPython.display import Audio
noise = pf.signals.noise(2**18, spectrum='pink')
Audio(noise.time, rate=noise.sampling_rate)
[2]:
Interactive plotting can also be used to visualize the noise
[3]:
import matplotlib.pyplot as plt
%matplotlib ipympl
plt.figure()
pf.plot.time(noise)
plt.show()
License notice#
This notebook © 2024 by the pyfar developers is licensed under CC BY 4.0
Watermark#
[4]:
%load_ext watermark
%watermark -v -m -iv
Python implementation: CPython
Python version : 3.13.3
IPython version : 9.7.0
Compiler : GCC 11.4.0
OS : Linux
Release : 6.8.0-1029-aws
Machine : x86_64
Processor : x86_64
CPU cores : 2
Architecture: 64bit
matplotlib: 3.10.7
IPython : 9.7.0
pyfar : 0.7.3