-
Notifications
You must be signed in to change notification settings - Fork 51
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
Add volume controls for mic in/speaker out #208
Conversation
@cybork42, go ahead and give this a shot? Definitely not complete but should be good as a basis for further refinement. |
@tmiw well done! Compiled and tested quickly. Works as expected but needs more testing an da closer look at the changes; I will take about two days to finish (--> skiing weekend) and report back asap. |
@drowe67, @cybork42, I started cleaning up the UI in the Filter dialog a bit and ended up with the following as of the latest commit: Questions:
|
Actually, an additional question: if we do switch to per-bin control like the second screenshot above, is there any value in also having the plot on the bottom? Or would it make sense to remove it? |
One additional effect that may be worth including from sox is called "earwax". It's supposed to improve headphone listening per the following from the man page:
and this page. OTOH, given that FreeDV is inherently mono (not stereo) and encodes speech (and not music), I'm not sure this will improve things much. Comments would definitely be appreciated. |
That screen shot looks quite nice on your machine @tmiw. Yes in general I think the vertical layout is better. However it doesn't seem to render as well on my Ubuntu machine. For some reason the fonts/style on the EQ section appears different to the rest of the Dailog. When the window is enlarged there is a lot of "white space".
Yes good idea, assuming all adjustments (not just the EQ) work in real time.
I don't have a strong opinion either way. What benefit would such a change have? To move from a parametric to graphic equaliser would require a rewrite of all the DSP. Is this effort warranted? |
We need to listen to the effect to determine if it has any value. This could be achieved using the command line codec2/freedv and sox tools on a few samples. We did evaluate some effects from the Argentinian FreeDV community a few months ago, but I think we struggled to show improvements. To improve the speech quality I'd be inclined to put more work into the codec, for example https://github.com/drowe67/codec2/discussions/283 |
I checked in some tweaks that will make the font match the rest of the window. I also made some minor tweaks to spacing but I ran out of time. I'll look into the rest of the concerns tonight. |
@drowe67, I believe I've resolved all the spacing concerns now: Let me know if anything else needs to be adjusted. |
I haven't listened with headphones yet but I do notice a difference between earwax and not-earwax. The commands I used to generate the files are the following:
Unfortunately I'm having a hard time attaching the output here, so I'll email to you. |
Thanks of those sample @tmiw. Yes it's a pity we can't paste |
@tmiw and @drowe67: lots of things happened on this thread and I failed to keep up, sorry about that. Other topics pulling attention.
In all: very good work! |
Yes that's much nicer 👍 One minor question - is the font size on the tabs at the bottom (e.g. "Microphone in Equaliser") seems small for me. But this must be just "how it is" for wxWidgets - the font size on the main window tabs is also a bit smaller than the other text. |
Without headphones, I think I can definitely see why people think earwax makes the sound seems like it's farther back. It's much harder to tell with headphones (albeit I was using a Bluetooth headset). I'm not sure it adds anything to intelligibility in a quiet environment, though it may be different outside or in a generally noisier environment.
It's actually something that was in the previous code. I removed it so the font should look more like the default now.
It would definitely be something that can be enabled or disabled if it were to be adopted. In fact, it wouldn't be a good idea to always have it on as it's intended for use with headphones.
Maybe "level"?
It seems like the current position is still okay because people would go from top to bottom. @drowe67, thoughts? |
I quite like Vol, as that will be understood quickly by most people, despite not being technically correct. Gain is another possibility. Yes I agree it's function is also very clear by what happens to the plot ✔️
I have a minor preference for having the "Enable" checkbuttons out to the left. But happy to leave it up to you guys 🙂 |
The Enable checkboxes and Default buttons should now be on the left. 👍 |
Thinking about it some, we can probably merge this up assuming there are no other issues. Any additional desired effects (e.g. earwax) can be added separately later. |
I tend to agree (strongly :-)). |
Thanks for your work on this one @tmiw - yes I'm happy for you to merge. |
Adds volume equalizer control for mic in/speaker out in the Filter dialog per #198.
TBD: