Skip to content
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

EQ on HDMI output #13

Open
jacobweldon opened this issue Jun 13, 2023 · 2 comments
Open

EQ on HDMI output #13

jacobweldon opened this issue Jun 13, 2023 · 2 comments

Comments

@jacobweldon
Copy link

jacobweldon commented Jun 13, 2023

I am looking to understand the equalizer plug-in. I am trying to implement a system-wide EQ on my raspberry pi 4 B. For the EQ, I am using alsamixer -D equal. This EQ has worked previously on streaming audio out of the headphone jack, but I am looking for a way to run this EQ on the HDMI audio output.

Here is my current /etc/asound.conf file.

ctl.equal {
type equal;
}
pcm.plugequal {
type equal;
slave.pcm hdmi
}
pcm_slave.format_adj {
pcm hdmi
format IEC958_SUBFRAME_LE
rate 44100
}
pcm.equal {
type plug;
slave format_adj
}

When running command aplay Organ.wav, I get audio, but it is not running through the EQ.

When running command aplay -D equal Organ.wav, I get the following error:

"Playing WAVE 'Organ.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
ALSA lib pcm_params.c:2226:(snd1_pcm_hw_refine_slave) Slave PCM not usable
aplay: set_params:1314: Broken configuration for this PCM: no configurations available".

I am a bit confused on data types here. It looks like the wave file is S16_LE, I read somewhere that alsaequal only supports FLOAT, and I believe HDMI audio works through IEC958_SUBFRAME_LE.

My real end-goal is to get the equalizer working on audio coming from a web browser and out through the HDMI port, but I saw this path as a means of hopefully getting there.

Please let me know any advice you might have! Thanks!

@RacoonK1ng
Copy link

RacoonK1ng commented Jul 16, 2024

I have the same issue and I stumbled upon your comment. I am wondering if you ever got it working ?

If so could you let me know how ? Thanks!

@jacobweldon
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants