LCAV / pyroomacoustics

Pyroomacoustics is a package for audio signal processing for indoor applications. It was developed as a fast prototyping platform for beamforming algorithms in indoor scenarios.

Home Page:https://pyroomacoustics.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

room.simulate error

chenCFD opened this issue · comments

when i simulate wth some sources and mics, i encounter the error as below:

File "C:\Users\v003280\Desktop\sound-source-localization\weipeng-he-4mic\run\resnet-eval.py", line 361, in
room.simulate()

File "C:\Users\v003280\Anaconda3\lib\site-packages\pyroomacoustics\room.py", line 2449, in simulate
premix_signals[s, m, d : d + len(sig) + len(h) - 1] += fftconvolve(

ValueError: operands could not be broadcast together with shapes (68727,) (0,) (68727,)

Hi @chenCFD , this looks like a problem with your input signal or the way the simulation of set up.
I can help if you share the script that produces the error.

Hi @fakufaku, the problem was solved after making sure input signal is correct.
Thank you for your remind!

Fantastic, I'll close the issue then.