Problem in Jupyter Notebook with lib_audio_dsp

If you have a simple question and just want an answer.
Alexander Nicholson
Junior Member
Posts: 4
Joined: Tue Jan 14, 2025 11:00 am

Problem in Jupyter Notebook with lib_audio_dsp

Post by Alexander Nicholson »

Hi, I'm trying to run 'lib_audio_dsp' following the directions in the pdf.
Everything seems to be fine until I get to opening Jupyter Notebook. When I press 'Run all cells' I get this error:

Type Error: pipeline.begin() got an unexpected keyword argument 'generate_xscope_task'

Can someone help me?
Thank you

Alexander Nicholson
User avatar
xhuw
Verified
Active Member
Posts: 41
Joined: Wed May 22, 2024 2:36 pm

Post by xhuw »

Hey Alexander, can you share more details? I assume you are running this notebook: https://github.com/xmos/lib_audio_dsp/b ... sign.ipynb

I cant see how you would be getting that error

Edit: if you have an MCAB board then i recommend following AN02014 https://www.xmos.com/file/an02014-integ ... nce-design to get started
XMOS Software Engineer

Image
Alexander Nicholson
Junior Member
Posts: 4
Joined: Tue Jan 14, 2025 11:00 am

Post by Alexander Nicholson »

Yes i'm trying to run https://github.com/xmos/lib_audio_dsp/b ... sign.ipynb
but my code is this:

from audio_dsp.design.pipeline import Pipeline
from audio_dsp.stages import *
----> p, inputs = Pipeline.begin(1, fs=48000, generate_xscope_task=True)
# i is a list of pipeline inputs. "lowshelf" is a label for this instance of Biquad.
# The new variable x is the output of the lowshelf Biquad
x = p.stage(Biquad, inputs, "lowshelf")