-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bugs in global optimiser #239
Comments
Why is it that in quite a lot of speakers, the on-axis response is seemingly even more obstructed after EQ to create a quite obscure response? In such cases, it seems that the slope of the estimated in-room response becomes very steep. This is not the adequate -4 to -6 dB from 100 Hz to 20 kHz. |
Hello, I have 2 questions:
The optimiser try to optimise the Harmann score. That usually degrade a bit the on axis and flatten the PIR. The optimiser can also optimise for a flat LW is that's what you want. In this case, that doesn't sound reasonable and I will have a look. P. |
Mostly a preference of -6 dB approximately (from Harman?). What I'm trying to say is that we all know that there are extreme slopings which do not make sense, whatever the norm for the slopes people debate about, especially when the on-axis becomes that strange... https://audiosciencereview.com/forum/index.php?threads/estimated-in-room-response-trendline-slope.24059/post-811720
I believe I can run this if I use Python? |
I rerun the optimiser (more recent version): and that's significantly better. You can of course run it yourself and optimise as you want.
Pictures of the EQ and results of EQ are in ./docs/speakers/$SPEAKER/* There are plenty of parameters on the command line. Feedback is welcome since I am the only user ATM. I am sure you will find plenty of bugs. Since there is a directivity error, you cannot have both a flat LW and a flat PIR. For nearfield I use flat LW; for farfield, that's debatable. I find the histogram useful to see if the EQ is degrading or improving the speaker and if the midrange is impacted. I care more about the midrange that the treble. Bass in any case are room dependant. |
Thank you! |
please try first:
./generate_graphs.py --speaker='MTG Designs AlTi DIY' --update-cache
./generate_peqs.py is reading from the cache.
I will update the doc to make it clearer.
…On Tue, Jun 6, 2023 at 5:16 PM Seungmin Kim ***@***.***> wrote:
./generate_peqs.py --speaker='MTG Designs AlTi DIY' --force --verbose --optimisation=global --curves=LW,PIR
[image: image]
<https://user-images.githubusercontent.com/8457324/243742451-530359a6-84b3-4dbd-8ff0-f27ffc6c9791.png>
Hmm... doesn't find any speaker. Tried the example Genelec S360 too.
./generate_graphs.py --speaker='MTG Designs AlTi DIY' works fine.
—
Reply to this email directly, view it on GitHub
<#239 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AANBKH55T2OOPRYOHTJTRETXJ5CTXANCNFSM6AAAAAAYURJ4AI>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
--
--
PfA
|
what error msg do you get?
…On Tue, Jun 6, 2023 at 6:34 PM Seungmin Kim ***@***.***> wrote:
Still not it...
—
Reply to this email directly, view it on GitHub
<#239 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AANBKH4JJIR4FUMPQZKAZPLXJ5L25ANCNFSM6AAAAAAYURJ4AI>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
--
--
PfA
|
Can you add a —log-level=DEBUG to the command line? Run it and copy paste
the verbose output somewhere? Logs are also generated in a file at the top
level.
On Wed, 7 Jun 2023 at 01:45, Seungmin Kim ***@***.***> wrote:
Still:
<https://user-images.githubusercontent.com/8457324/243742451-530359a6-84b3-4dbd-8ff0-f27ffc6c9791.png>
—
Reply to this email directly, view it on GitHub
<#239 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AANBKH2ZIY75YMLAMX46P5TXJ66JRANCNFSM6AAAAAAYURJ4AI>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
--
--
PfA
|
|
So far what I did: First, initialize a clean repository and clean virtualenv:
Note: should fix Works until But with
No file is queried.
Seems like the files they are supposed to read are not read. |
Thanks for the debugging. I will spin an empty vm and try to reproduce it.
Which OS, distrib are you using?
…On Mon, Jun 26, 2023 at 4:15 AM Seungmin Kim ***@***.***> wrote:
@pierreaubert <https://github.com/pierreaubert>
So far what I did:
First, initialize a clean repository and clean virtualenv:
sudo apt-get update
sudo apt-get install -y imagemagick npm build-essential
git clone -b develop https://github.com/pierreaubert/spinorama.git
cd spinorama
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements-dev.txt
pip install -r requirements-test.txt
pip install flake8
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude spinorama-venv
export PYTHONPATH=src
python3 ./check_meta.py
cd src/spinorama && python setup.py build_ext --inplace && ln -s c_compute_scores.cpython-*.so c_compute_scores.so
cd ../..
pip install pytest
pytest
npm install --save-dev pyright w3c-html-validator standard flow flow-remove-types
./check_meta.py
./update_pictures.sh
./generate_graphs.py --help
export SPEAKER='Genelec S360'
./generate_graphs.py --speaker="$SPEAKER"
./generate_meta.py
Note: should fix ./update_picture.sh to ./update_pictures.sh, and
./generate_statistics.py to ./generate_stats.py in the docs.
Works until ./generate_graphs.py --speaker="$SPEAKER" where it shows Queued
843 speakers 2 measurements
But with ./generate_meta.py:
(queued 0 files)
(loaded 0 speakers)
info: spl continuous [1000, 0]
info: spl peak [1000, 0]
3.23s start->ray init
0.00s ray init->loaded
0.00s loaded->quality
0.00s quality->scores
0.00s scores->eq
0.00s eq->near
0.02s near->dump
No file is queried.
./generate_radar.py
2023-06-26 11:10:26,308 - generate_radar.py:main:170 - WARNING - Data ./docs/assets/metadata.json loaded (821 speakers)!
./generate_stats.py
2023-06-26 11:09:55,556 - generate_stats.py:main:166 - WARNING - Data ./docs/assets/metadata.json loaded (821 speakers)!
export SPEAKER='Genelec S360'
./generate_peqs.py --speaker="$SPEAKER" --force --verbose
Reading cache ... (queued 0 files)
2023-06-26 11:13:21,765 INFO worker.py:1627 -- Started a local Ray instance. View the dashboard at 127.0.0.1:8265
(loaded 0 speakers)
Seems like the files they are supposed to read are not read.
—
Reply to this email directly, view it on GitHub
<#239 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AANBKH3OKIZSSY5YCXJEIW3XNDWC7ANCNFSM6AAAAAAYURJ4AI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
--
PfA
|
I found an obvious bug and it should works now (the cache directory was not always created). git pull
./generate_meta.py you should see at least 1 loaded |
Here are 2 EQs for the same speaker (Focal ST6 Solo6)
EQ flat: command: note the fitness=Flat results:
For a better score (and less good LW since the directivity is not great): eq:
|
Ubuntu 22.04, both Docker & Bare Metal.
Issue is NOT resolved... |
Grrr. |
I always clone a new repository; and I validated This is inside
|
I added a Dockerfile to debug the issue, still building it. Fix welcome if you have knowledge @ehfd |
Key issues:
Smaller issues:
The text was updated successfully, but these errors were encountered: