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
… 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)
[3]:
<Axes: xlabel='Time in s', ylabel='Amplitude'>
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.10.15
IPython version : 8.34.0
Compiler : GCC 11.4.0
OS : Linux
Release : 6.8.0-1021-aws
Machine : x86_64
Processor : x86_64
CPU cores : 2
Architecture: 64bit
IPython : 8.34.0
pyfar : 0.7.2
matplotlib: 3.10.1