Closed JustCauseWhyNot closed 1 year ago
Which audio interface are you using?
I am using a motu m2
Something about sounddevice not recognizing the M2. You are able to use it to record in other applications, right? I see ALSA devices, you're on Linux, right?
Yes for all.
I've changed my default alsa card in /etc/asound.conf
to the correct index for the motu m2. Unfortunately that didn't seem to cause any difference in terms of fixing the problem. I'm really confused as to why this problem is occurring.
I'm trying to rebuild impulcifer, and making sure I follow instructions thoroughly. But when I try and run pip install -U -r requirments.txt
it fails every time with, and here is a link to full output
Failed to build numpy
ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects
I've made sure to install python3.8, because I'm using gentoo it installs python for portage. But the python versions included have moved on past 3.8, and if I understand correctly the minimum python version supported by portage is python3_10.
Ok I was able to fix that issue, but the original issue still exists.
I've gotten past that hurdle now by running
At this point though I'm having yet another problem. When I try, and run
I get output of
Maybe related to the output above but when run python impulcifer.py --test_signal="data/sweep-6.15s-48000Hz-32bit-2.93Hz-24000Hz.pkl" --dir_path="data/my_hrir" --plot
The output I get is
I'd just like to clarify is that I'm trying to create a 7.1 surround sound personalized wav file for that if I understand correctly will also include autoeq in the file itself.
I'm doing all that I know to try and get this to work. I'm really doing what I can to make sure I don't have to create an issue, but no matter what I seemingly do the project hits a road bump. At this moment I've completely reinstalled impulcifer along with all it's dependencies. I'm making sure to use venv not virutalenv, I'm using python3.18. When I run python recorder.py --play=data/sweep-seg-FL,FR-stereo-6.15s-48000Hz-32bit-2.93Hz-24000Hz.wav --record=data/my_hrir/headphones.wav --host_api=alsa
it does seem to record correctly, but maybe there's an underlying problem I can't detect. The command also doesn't work if I run it without --host_api=alsa
All that said I believe I've "solved" the recording issue, but also it could be the reason I'm having issues in the above post about failing with math.
It seems as though I may have regressed in my progress towards getting this script to run though. Because now when I run ❯ python impulcifer.py --test_signal=data/sweep-6.15s-48000Hz-32bit-2.93Hz-24000Hz.pkl --dir_path=/home/justcausewhynot/.local/bin/Impulcifer/data/my_hrir --plot
I get an error with a earlier line of code.
Please offer any help you can give. I'm really trying to solve this on my own, but I just haven't.
Do I need speakers in order to use impulcifer? I thought I just needed headphones, and binaural microphones. I now think it does in fact require a pair of speakers. If that's so I'm a dunce, and apologize for this issue.
I'll just close this issue for now. Let me know if I'm wrong about needing speakers in order to use impulcifer.
You indeed need speakers. The whole purpose of Impulcifer is to measure the transfer function from speakers to ears to replicate that with headphones.
Appreciate the answer, and apologies for the unnecessary issue. I will get speakers eventually then.
I'm running into an issue. I've had quite a few issues getting to this point, but I've resolved them until now. I don't know how to fix this issue.