With this post, slides and source code, used during the introductory lecture on Audio Signal Processing for Human Computer Interaction, are presented.
The slides are available on my Slideshare profile or you can follow the link below.
Instead, for source code you can download a zip using the GitHub section below or cloning the repository.
The answer at slide 16 is that numOfSample can be calculated only if Audio Format is PCM, otherwise is meaningless!
Introductory Lecture to Audio Signal Processing by Angelo Antonio Salatino is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.