Moode Forum
[IDEA] Frequency Sweep with indication - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Feature requests (https://moodeaudio.org/forum/forumdisplay.php?fid=8)
+--- Thread: [IDEA] Frequency Sweep with indication (/showthread.php?tid=832)



Frequency Sweep with indication - Bernie7 - 12-26-2018

With Moode's fabulous DSP controls, it would be the cherry on top if a frequency sweep can be included that shows the frequency being played at any given time.

This will be helpful particularly to determine room resonances, particularly boom.


RE: Frequency Sweep with indication - rh2018 - 12-27-2018

Bernie7 Wrote: With Moode's fabulous DSP controls, it would be the cherry on top if a frequency sweep can be included that shows the frequency being played at any given time.

This will be helpful particularly to determine room resonances, particularly boom.[/quote]

This can be easily done and at any sample rate using the powerful and free Room Equaliser Wizard (REW) - https://roomeqwizard.com - and your computer's sound card.

The method is explained at:
https://www.roomeqwizard.com/help/help_en-GB/html/offlinemeasurements.html

Here is an example graph of my Allo Boss DAC, frequency response and THD. Note that the THD at the cursor (10kHz) includes the distortion of the sound card. In this instance a Focusrite Solo USB record/playback interface.

[attachment=448]


RE: Frequency Sweep with indication - challenge - 12-28-2018

For the OP, room resonances etc, as a temporary solution I had a test album with sine wave tracks, each one was named with the respective frequency xx Hz. You can generate one easy, there are generators online. Sure it would be good to have in moode, but would it be good enough or going straight to external solution would have a much better result? (REW for example)

I used REW with moode in past,not enough time to have fun these days...

Being that my raspberry DAC has no input, and also that any decent raspberry DAC has a flat-enough™ response, the more interesting way to do it was by using airplay. 
There are tools like streamwhatyouhear, tuneblade (windows) or a modded pulseaudio ( http://hfujita.github.io/pulseaudio-raop2/ ) for linux that allow you to stream to moode while being seen as a speaker/output by your operating system.
This way you can simply select it as a sound card in REW and do it all in one step, air streaming the sweep without cables.
You just have to enable the acoustic timing reference when you play the sweep and it will self align.

Then you can generate the filters for the parametric EQ in REW. It's a bit limited having only 4 filters in moode, but trust me it can do a lot of difference in room.
After you generate them, you load and apply them in moode and do another sweep to see the result.
Now at this point you will hear the new EQ curve on music, but not on airplay 
e.g. you want do do another recording to see the chart after the mods.

When I did this, the EQ curves weren't applied to the airplay sink at the time, moode's airplay streams always played non-EQ'd. 
A one-line code edit was required in playerlib.php to apply the EQ also to the airplay stream.


RE: Frequency Sweep with indication - tristanc - 12-29-2018

(12-28-2018, 06:17 PM)challenge Wrote: When I did this, the EQ curves weren't applied to the airplay sink at the time, moode's airplay streams always played non-EQ'd. 
A one-line code edit was required in playerlib.php to apply the EQ also to the airplay stream.

Could you point me to the line? That’s been a grumble of mine - the EQ not being applied to AirPlay stream...

Perhaps this could be added as an option?


RE: Frequency Sweep with indication - challenge - 12-30-2018

Cannot tell you the exact line, not at home, but this should give you where to look, it was for previous versions but should be similar for the actual too.

Read Tim's answer here:


https://www.diyaudio.com/forums/pc-based/271811-moode-audio-player-raspberry-pi-1159.html#post5267410

Tim Curtis Wrote:if you wanted to hack Airplay to use ALSA device "eqfa4p" which is the EQP then:

1. Edit /var/www/inc/playerlib.php
2. Scroll down to function startups()

Replace

-d hw:' . $device;

With

-d eqfa4p';

3. Save the file
4. Reboot

Something like that...

-Tim



RE: Frequency Sweep with indication - Tim Curtis - 12-31-2018

(12-29-2018, 09:54 PM)tristanc Wrote:
(12-28-2018, 06:17 PM)challenge Wrote: When I did this, the EQ curves weren't applied to the airplay sink at the time, moode's airplay streams always played non-EQ'd. 
A one-line code edit was required in playerlib.php to apply the EQ also to the airplay stream.

Could you point me to the line? That’s been a grumble of mine - the EQ not being applied to AirPlay stream...

Perhaps this could be added as an option?

Yes, I think this would be a good feature for 4.5. Hooking the EQ's into Spotify is easy but its a bit tricker for Airplay. More to come :-)


RE: Frequency Sweep with indication - Tim Curtis - 12-31-2018

Ok, this feature is complete :-)

Enjoy some nice EQ'ing for Airplay and Spotify in upcoming moOde 4.5 :-)

I should add that there was a significant bug in Airplay auto-volume thats been fixed.


RE: Frequency Sweep with indication - tristanc - 01-05-2019

(12-31-2018, 03:52 AM)Tim Curtis Wrote: Ok, this feature is complete :-)

Enjoy some nice EQ'ing for Airplay and Spotify in upcoming moOde 4.5 :-)

I should add that there was a significant bug in Airplay auto-volume thats been fixed.

Brilliant Tim - looking forward to it. Just upgrading my installs to 4.4 - as I type...