Getting started with Jupyter Notebook and lib_audio_dsp

Discussions relating to the XK-EVK-XU316
alwalker
Experienced Member
Posts: 100
Joined: Sun Apr 08, 2018 11:19 pm

Getting started with Jupyter Notebook and lib_audio_dsp

Post by alwalker »

Hello,

Having got the app_simple_audio_dsp_integrated example running, one area that the lib_audio_dsp documentation is missing is recommended best practice for starting a new DSP project using Jupyter Notebook.

Looking at the contents of app_simple_audio_dsp_integration, there appear to be two key files:

CMakeLists.txt
dsp_design.ipynb


There are also a number of folders:

.ipynb_checkpoints
.venv
bin
build
src


What is the minimum files requirement to start a project please?

I note that if I attempt to do 'Save Notebook As' in Jupyter Notebook I am not given any options for saving in a different file location, so I can't take an existing Notebook project file and save it to a different project folder.

the launch instruction:

jupyter notebook lib_audio_dsp/examples/app_simple_audio_dsp_integration/dsp_design.ipynb

suggests that the .ipynb file has to exist already prior to launching Jupyter Notebook.

Kind regards,

Al
User avatar
xhuw
Verified
Active Member
Posts: 54
Joined: Wed May 22, 2024 2:36 pm

Post by xhuw »

Hey Al, I recommend checking out the app notes AN02014 and AN02015 for more complete application examples

https://www.xmos.com/file/an02014-integ ... nce-design

https://www.xmos.com/file/an02015-run-t ... pplication

If you want to copy the ipynb file then you can just copy and paste it in the file explorer. You would have to ask google why the "Save Notebook As" button doesn't do what you expect, or how to create a new notebook

Thanks, Huw
XMOS Software Engineer

Image
alwalker
Experienced Member
Posts: 100
Joined: Sun Apr 08, 2018 11:19 pm

Post by alwalker »

Hi xhuw,

So the only two files required to copy over to a new worspace project folder are CmakeLists.txt and a .ipynb file from an existing project?

CMakeLists.txt amended with the chosen target app name prior to launching Jupyter Notebook.

kind regards,

Al