1.4. Using this book#

The recommend starting point is the website https://speechprocessingbook.aalto.fi/. This gives very easy access to most content in the book.

To try out the code-examples and to get full access to all interactive demonstrations, we offer the following options:

  1. Directly from the website with code-examples and interactive components through Mybinder. To use this feature, click on the corresponding banner on top of a page. The banner is included on those pages of the book which supports this feature such as on the page Noise attenuation.

  2. Download the book from GitHub https://github.com/Speech-Interaction-Technology-Aalto-U/itsp. Run JupyterLab on a local server.

Benefits of running the code yourself include:

  • You can change parameters and code to see how that changes behaviour.

  • You can use your own sound files (such as recording of your own voice) in both code-examples and interactive visualizations.

1.4.1. Using a local server#

While it is not necessary for most readers, to get comprehensive access to all content, you can run a local Jupyter-server to access this book. To make this work, follow the steps below.

  1. Download the book from GitHub https://github.com/Speech-Interaction-Technology-Aalto-U/itsp.

  2. Install Anaconda (recommended) or some other packing-service to get access to Python.

  3. It is recommended (but might not be required) to configure Anaconda by adding the following channels.

    conda config --add channels conda-forge
    conda config --add channels pytorch
    conda config --add channels pytorch-nightly

    Then these channels should appear in your .condarc -file together with default.

  4. Install the following packages

    conda install matplotlib scipy numpy jupyter jupyterlab torch torchaudio ipython ipywidgets

  5. In the folder where the book is stored, run JupyterLab by

    jupyter lab &

  6. Open the file index.md and starting reading.