HydrogenAudio

Hydrogenaudio Forum => General Audio => Topic started by: Juha on 2013-09-29 23:14:06

Title: EQ31 - 1/3 Oct Graphics Equalizer for Windows
Post by: Juha on 2013-09-29 23:14:06
Few weeks ago I bumped to a SourceForce project called EqualizerAPO (http://sourceforge.net/projects/equalizerapo/) and got an idea to try prepare a GUI for to use its features (I said "try" because of I was a "C++ virgin" until last week). So, I programmed this Graphics Equalizer GUI demo and made it work with the EqualizerAPO package as it does now (not yet integrate the EqualizerAPO package into EQ31 so this demo of EQ31 uses EqualizerAPO functionality through EqualizerAPO's config.txt and therefore overwrites it now and then. As writing to the config.txt happens "realtime", in some cases, there are temporary audible issues while making changes).


GUI:

(http://img600.imageshack.us/img600/674/h9x6.jpg)

Menus

Preset
Load    - load preset file (*.preset)
Save    - save settings as a preset (*.preset)

Reset
Set 0dB for all sliders and clear the loaded preset from memory

Exit
Clear EQ and Exit  - disable the EQ, save settings and close EQ31
Exit    - save settings and close EQ31 (EQ remains active)

Help
Documentation
About

Power button
"OFF"    - disable EQ
"ON"    - enable EQ

Sliders/filters
  - to move, drag the "handle" or "click" the level bar
  - range ± 20 dB
  - moving steps 0.2dB/0.5dB

Sorry, but before uploading the demo, I need to check some licences.

If you have any suggestions over features, GUI look, etc. ... .

Juha


Title: EQ31 - 1/3 Oct Graphics Equalizer for Windows
Post by: Juha on 2013-09-30 14:41:16
EQ31 Demo uploaded - http://www.hydrogenaudio.org/forums/index....howtopic=102852 (http://www.hydrogenaudio.org/forums/index.php?showtopic=102852)

Juha
Title: EQ31 - 1/3 Oct Graphics Equalizer for Windows
Post by: Melomane on 2013-09-30 16:43:21
hi, very interesting.

i think it is necessary to

have 2 channel, for use in drc
range +-20db  is too high, +-12db is ok best is have 6 or 12 selectable range

also slider step is 0.2 db but write only by 1 db step.
Title: EQ31 - 1/3 Oct Graphics Equalizer for Windows
Post by: dhromed on 2013-09-30 17:09:51
There's a similar one from Xnor (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=88505), for foobar2000. It has a few extra features you could look at.

Yours is valuable given that it works for the entire system, not just an audio player.
Title: EQ31 - 1/3 Oct Graphics Equalizer for Windows
Post by: Juha on 2013-09-30 19:52:07
hi, very interesting.

i think it is necessary to

have 2 channel, for use in drc
range +-20db  is too high, +-12db is ok best is have 6 or 12 selectable range

also slider step is 0.2 db but write only by 1 db step.


Looks like I have changed the slider steps to 0.1/1dB. Write accuracy was purposely set to 1dB for the demo version.

2 channel and parametric versions are in my plan and also is to make the range selectable (6, 12 and 18 or 20). My plan is to make this version and learn some c++ along making it and then incorporate JUCE into it and prepare those two other versions.


There's a similar one from Xnor (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=88505), for foobar2000. It has a few extra features you could look at.

Yours is valuable given that it works for the entire system, not just an audio player.


Thanks for the info.

Juha
Title: EQ31 - 1/3 Oct Graphics Equalizer for Windows
Post by: Juha on 2013-10-02 12:18:05
Added couple new features:

Selectable range.
Selectable LP and HP filter.

(http://img51.imageshack.us/img51/3439/eiot.png)

Latest version can be found through Uploads (http://www.hydrogenaudio.org/forums/index.php?showtopic=102852) section.

Juha
Title: EQ31 - 1/3 Oct Graphics Equalizer for Windows
Post by: Arnold B. Krueger on 2013-10-02 12:47:11
Added couple new features:

Selectable range.
Selectable LP and HP filter.

(http://img51.imageshack.us/img51/3439/eiot.png)

Latest version can be found through Uploads (http://www.hydrogenaudio.org/forums/index.php?showtopic=102852) section.

Juha


For your next project, add 7 or so bands of full parametric eq. ;-)
Title: EQ31 - 1/3 Oct Graphics Equalizer for Windows
Post by: ErnestS on 2013-10-04 11:27:34
Nice project.

I can't get it to work. The config.txt does not become updated.

I use W7 Home  Premium 64bit.

Title: EQ31 - 1/3 Oct Graphics Equalizer for Windows
Post by: Juha on 2013-10-04 13:01:22
Nice project.

I can't get it to work. The config.txt does not become updated.

I use W7 Home  Premium 64bit.


Probably because of this utility is for 32-bit OS (64-bit version comes then later...).


Juha
Title: EQ31 - 1/3 Oct Graphics Equalizer for Windows
Post by: Juha on 2013-10-05 18:52:28
For your next project, add 7 or so bands of full parametric eq. ;-)


Actually, I already made a demo for 10 band parametric EQ for the same task this graphic EQ is.

I have not yet uploaded it because of problems in making magnitude plot for filter output.

Juha
Title: EQ31 - 1/3 Oct Graphics Equalizer for Windows
Post by: TomasPin on 2013-10-05 19:54:29
(64-bit version comes then later...).

Waiting for it. Thanks for this, Juha. The EQ that comes with Windows 7 has only five bands, my OCD demands more.
Title: EQ31 - 1/3 Oct Graphics Equalizer for Windows
Post by: Juha on 2013-10-09 18:51:55
Update for EQ31 (v.0.20).

New 2-channel eq EQ31-2 added (for 32-bit Windows Vista/7/8).

(http://img545.imageshack.us/img545/3195/ar7y.jpg)

Uploaded here (http://www.hydrogenaudio.org/forums/index.php?act=attach&type=post&id=7677).

(One bug: After selecting Reset slider gain displays does not get updatet.)

Juha
Title: EQ31 - 1/3 Oct Graphics Equalizer for Windows
Post by: Juha on 2013-10-10 08:28:44
Update for EQ31 (v.0.20).

New 2-channel eq EQ31-2 added (for 32-bit Windows Vista/7/8).

Uploaded here (http://www.hydrogenaudio.org/forums/index.php?act=attach&type=post&id=7677).

(One bug: After selecting Reset slider gain displays does not get updatet.)

Juha


Thanks admin for takin off the latest uploaded file (I noticed that I forgot the sources etc.).
Later all these project files becomes hosted from another place so I don't need to make updates everywhere (I'll add links later when the hosting site is up).

BTW, the PEQ mentioned earlier is nearly in it's v.0.1 (need to fix and shrink the GUI a bit and make the look closer to those EQ31's). It's gonna look about this:


(http://img191.imageshack.us/img191/4570/y475.jpg)


Juha
Title: EQ31 - 1/3 Oct Graphics Equalizer for Windows
Post by: andrew_berge on 2013-10-10 17:18:21
Sweeeeet! Looking forward to the parametric EQ.
Title: EQ31 - 1/3 Oct Graphics Equalizer for Windows
Post by: dhromed on 2013-10-17 10:04:09
I can't find any download links. On a scale of 1-31, how blind am I?


Edit:

A solid 25, it seems.

Quote
Later all these project files becomes hosted from another place so I don't need to make updates everywhere (I'll add links later when the hosting site is up)
Title: EQ31 - 1/3 Oct Graphics Equalizer for Windows
Post by: Juha on 2013-10-17 17:51:03
I can't find any download links. On a scale of 1-31, how blind am I?


Edit:

A solid 25, it seems.

Quote
Later all these project files becomes hosted from another place so I don't need to make updates everywhere (I'll add links later when the hosting site is up)



Ha haaa. Yes, there isn't link yet but next weekend I'm going to release the whole project of 2-channel EQ so, you have to wait until then.



Juha
Title: EQ31 - 1/3 Oct Graphics Equalizer for Windows
Post by: Juha on 2013-10-22 11:18:00
OK, now the EQ31GUI-2 project is downloadable. More info @ http://jiiteepee.tripod.com/home.html (http://jiiteepee.tripod.com/home.html)

Parametric EQ project is still waiting a resolution for filter curve display (haven't got drawing fast enough...).

Juha
Title: EQ31 - 1/3 Oct Graphics Equalizer for Windows
Post by: ErnestS on 2013-10-22 11:54:26
The software crashes at launch for me. ->W7 Home Premium 64bit
Title: EQ31 - 1/3 Oct Graphics Equalizer for Windows
Post by: Juha on 2013-10-22 13:08:40
The software crashes at launch for me. ->W7 Home Premium 64bit


Hmm... which way it crashes? Give some details.
Is the MD5/SHA1 checksum for 7z file OK (corrupted download)?
While starting, EQ31GUI-2 tries to read some values from system registry -> are security settings set too tight for your user account?
Title: EQ31 - 1/3 Oct Graphics Equalizer for Windows
Post by: ErnestS on 2013-10-22 14:37:50
It just crashes, looks similar to this (http://toastytech.com/guis/win7crash.png).

The archive unzips without errors, security settings are set to lowest.
Title: EQ31 - 1/3 Oct Graphics Equalizer for Windows
Post by: Juha on 2013-10-22 15:29:45
It just crashes, looks similar to this (http://toastytech.com/guis/win7crash.png).

The archive unzips without errors, security settings are set to lowest.


IIRC, I got that type issue when the EQ31GUI-2 didn't get/have write permission into EqualizerAPO config folder. Check the permissions for the EqualizerAPO folder and subfolders.

Check that the path is OK in eq31gui-2.ini (it has to point to the folder where EqualizerAPO config.txt is located (default is c:\\Program Files\\EqualizerAPO\\config but if you installed the EqAPO somewhere else, you need to make this change)).

Juha
Title: EQ31 - 1/3 Oct Graphics Equalizer for Windows
Post by: ErnestS on 2013-10-22 15:46:31
I haven't changed APOs installation path.

I checked everything you said, the path in the *.ini is correct, I gave full permission in the folder properties to every user, but the software still crashes.
Title: EQ31 - 1/3 Oct Graphics Equalizer for Windows
Post by: Juha on 2013-10-22 16:56:38
...
I checked everything you said, the path in the *.ini is correct, I gave full permission in the folder properties to every user, but the software still crashes.


Does it make any difference if you edit the path string found in eq31gui-2.ini so that use  \\ as separator (single \ is part of escape sequences so it might mix the string when read in).

Juha
Title: EQ31 - 1/3 Oct Graphics Equalizer for Windows
Post by: ErnestS on 2013-10-22 17:57:52
It makes no difference. Thanks for the effort, I think we should wait for feedback from other users.
Title: EQ31 - 1/3 Oct Graphics Equalizer for Windows
Post by: Juha on 2013-10-24 08:55:38
It makes no difference. Thanks for the effort, I think we should wait for feedback from other users.


Already few has confirmed that eq31gui-2 works on win7 64-bit and win8 64-bit so maybe something is differently set in your O/S settings/installation.

When such an error happens it becomes booked by system. Can you check the error report for this issue and give me the info.


Juha
Title: EQ31 - 1/3 Oct Graphics Equalizer for Windows
Post by: ErnestS on 2013-10-24 11:12:26
If it works for others, it must be my system. There is no need to further waste your time by looking for a needle in a haystack.

Thanks for the effort.
Title: EQ31 - 1/3 Oct Graphics Equalizer for Windows
Post by: Steel007 on 2014-11-04 14:28:41
It makes no difference. Thanks for the effort, I think we should wait for feedback from other users.


Already few has confirmed that eq31gui-2 works on win7 64-bit and win8 64-bit so maybe something is differently set in your O/S settings/installation.

When such an error happens it becomes booked by system. Can you check the error report for this issue and give me the info.


Juha

Hi same issue was happening to me . i am using win 8 pro 32 bit.for me it doest show dialog box for closing or reporting as was in the case of previous post. anyway i found the report file you were talking about. but i dont understand it.Anyway here goes the contents of one of the many "report.wer" opened with notepad. and a link with all report files. https://www.dropbox.com/s/3gmpu2gyiy8wu8n/reports.rar?dl=0 (https://www.dropbox.com/s/3gmpu2gyiy8wu8n/reports.rar?dl=0)

Version=1
EventType=APPCRASH
EventTime=130596239015249666
ReportType=2
Consent=1
UploadTime=130596239017433686
ReportIdentifier=a1294f1b-6489-11e4-afa2-6cf049f5651d
IntegratorReportIdentifier=a1294f1a-6489-11e4-afa2-6cf049f5651d
NsAppName=EQ31-2.exe
Response.BucketId=73d0a7f96907e6fdbf7effa33243614d
Response.BucketTable=1
Response.LegacyBucketId=73630901113
Response.type=4
Sig[0].Name=Application Name
Sig[0].Value=EQ31-2.exe
Sig[1].Name=Application Version
Sig[1].Value=0.0.0.0
Sig[2].Name=Application Timestamp
Sig[2].Value=53845c4a
Sig[3].Name=Fault Module Name
Sig[3].Value=KERNELBASE.dll
Sig[4].Name=Fault Module Version
Sig[4].Value=6.2.9200.16384
Sig[5].Name=Fault Module Timestamp
Sig[5].Value=5010acfa
Sig[6].Name=Exception Code
Sig[6].Value=e0434352
Sig[7].Name=Exception Offset
Sig[7].Value=0001277c
DynamicSig[1].Name=OS Version
DynamicSig[1].Value=6.2.9200.2.0.0.256.48
DynamicSig[2].Name=Locale ID
DynamicSig[2].Value=1033
DynamicSig[22].Name=Additional Information 1
DynamicSig[22].Value=55bd
DynamicSig[23].Name=Additional Information 2
DynamicSig[23].Value=55bdb125e5f5eebba32ff4470f6d6db1
DynamicSig[24].Name=Additional Information 3
DynamicSig[24].Value=d8e7
DynamicSig[25].Name=Additional Information 4
DynamicSig[25].Value=d8e728cfa3b4627b86f2920172200c49
UI[2]=C:\Users\Sagitarius A star\Desktop\EQ31-2\Release\EQ31-2.exe
UI[3]=EQ31-2.exe has stopped working
UI[4]=Windows can check online for a solution to the problem.
UI[5]=Check online for a solution and close the program
UI[6]=Check online for a solution later and close the program
UI[7]=Close the program
LoadedModule[0]=C:\Users\Sagitarius A star\Desktop\EQ31-2\Release\EQ31-2.exe
LoadedModule[1]=C:\Windows\SYSTEM32\ntdll.dll
LoadedModule[2]=C:\Windows\SYSTEM32\MSCOREE.DLL
LoadedModule[3]=C:\Windows\system32\KERNEL32.dll
LoadedModule[4]=C:\Windows\system32\KERNELBASE.dll
LoadedModule[5]=C:\Windows\system32\ADVAPI32.dll
LoadedModule[6]=C:\Windows\system32\msvcrt.dll
LoadedModule[7]=C:\Windows\SYSTEM32\sechost.dll
LoadedModule[8]=C:\Windows\system32\RPCRT4.dll
LoadedModule[9]=C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscoreei.dll
LoadedModule[10]=C:\Windows\system32\SHLWAPI.dll
LoadedModule[11]=C:\Windows\system32\USER32.dll
LoadedModule[12]=C:\Windows\system32\GDI32.dll
LoadedModule[13]=C:\Windows\system32\IMM32.DLL
LoadedModule[14]=C:\Windows\system32\MSCTF.dll
LoadedModule[15]=C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
LoadedModule[16]=C:\Windows\SYSTEM32\MSVCR110_CLR0400.dll
LoadedModule[17]=C:\Windows\assembly\NativeImages_v4.0.30319_32\mscorlib\51e2934144ba15628ba5a31be2dae7dc\mscorlib.ni.dll
LoadedModule[18]=C:\Windows\system32\ole32.dll
LoadedModule[19]=C:\Windows\SYSTEM32\combase.dll
LoadedModule[20]=C:\Windows\SYSTEM32\CRYPTBASE.dll
LoadedModule[21]=C:\Windows\SYSTEM32\bcryptPrimitives.dll
LoadedModule[22]=C:\Windows\system32\uxtheme.dll
LoadedModule[23]=C:\Program Files\Common Files\microsoft shared\ink\tiptsf.dll
LoadedModule[24]=C:\Windows\system32\OLEAUT32.dll
LoadedModule[25]=C:\Program Files\TeamViewer\Version8\tv_w32.dll
LoadedModule[26]=C:\Windows\SYSTEM32\VERSION.dll
LoadedModule[27]=C:\Windows\SYSTEM32\CRTDLL.dll
LoadedModule[28]=C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.9200.16384_none_bf100cd445f4d954\COMCTL32.dll
LoadedModule[29]=C:\Windows\system32\SHELL32.dll
LoadedModule[30]=C:\Windows\Microsoft.NET\Framework\v4.0.30319\clrjit.dll
LoadedModule[31]=C:\Windows\Microsoft.NET\Framework\v4.0.30319\diasymreader.dll
State[0].Key=Transport.DoneStage1
State[0].Value=1
FriendlyEventName=Stopped working
ConsentKey=APPCRASH
AppName=EQ31-2.exe
AppPath=C:\Users\Sagitarius A star\Desktop\EQ31-2\Release\EQ31-2.exe
NsPartner=windows
NsGroup=windows8
Title: EQ31 - 1/3 Oct Graphics Equalizer for Windows
Post by: Juha on 2014-11-04 15:21:37
If you copy just the EQ31-2.exe to say c:\temp (make this temp folder if there aren't one already) and run it from there ... do you get any info screen regarding output file selection or does it crash already before that?
Title: EQ31 - 1/3 Oct Graphics Equalizer for Windows
Post by: Juha on 2014-11-12 20:38:58
OK, I updated this GUI software (and others as well) ... now there is 64-bit versio included.
Title: EQ31 - 1/3 Oct Graphics Equalizer for Windows
Post by: Stone Free on 2015-03-23 19:41:34
OK, I updated this GUI software (and others as well) ... now there is 64-bit versio included.

How is this program meant to work?  The EqualizerAPO software seems to only load its configuration from its .\Config directory, and the
Code: [Select]
Include:
statement in the config.txt does not seem to work with absolute paths as nothing happens when I change the EQ settings.

My problem is that I have excellent sound when using Winamp, but dreadful sound using anything else.  This is because I have taken the ISO EQ settings (that I tweaked to tame the boom and muddiness) from my previous nForce board that had a system wide EQ, and recreated it by hand in Winamps EQ set to ISO.

A friend of mine has just released an EP on Spotify, but it sounds ridiculously bassy, which would disappear if I could get the EQ settings into EqualizerAPO.  I had hoped your program would do it.

P.S Does anyone know why it is possible to edit config.txt under "Program Files" without running anything elevated.  I'm sure that at work when I have tried similar stuff I had to run Notepad++ as Admin to be able to edit any documents that happened to be under Program Files
Title: EQ31 - 1/3 Oct Graphics Equalizer for Windows
Post by: Juha on 2015-03-23 20:05:18
OK, I updated this GUI software (and others as well) ... now there is 64-bit versio included.
How is this program meant to work?  The EqualizerAPO software seems to only load its configuration from its .\Config directory, and the
Code: [Select]
Include:
statement in the config.txt does not seem to work with absolute paths as nothing happens when I change the EQ settings.  My problem is that I have excellent sound when using Winamp, but dreadful sound using anything else.  This is because I have taken the ISO EQ settings (that I tweaked to tame the boom and muddiness) from my previous nForce board that had a system wide EQ, and recreated it by hand in Winamps EQ set to ISO.  A friend of mine has just released an EP on Spotify, but it sounds ridiculously bassy, which would disappear if I could get the EQ settings into EqualizerAPO.  I had hoped your program would do it.  P.S Does anyone know why it is possible to edit config.txt under "Program Files" without running anything elevated.  I'm sure that at work when I have tried similar stuff I had to run Notepad++ as Admin to be able to edit any documents that happened to be under Program Files


EqualizerAPO works through config.txt located in certain path which normally is C:\Program Fles\EqualizerAPO\Config\ (installation path). Included files are read as well but I can't recall if updating those is noticed by EqualizerAPO (IIRC, it monitors the folder change notification flag).

This GUI software just writes out EqualizerAPO compatible filter commands realtime to the output file you have selected either when run 1st time or through Preferences -menu option. If you want to control EqualizerAPO in realtime, you need to select the config.txt as EQ31's output file so it begins update correct file. IIRC, I made this GUI work directly with config.txt because of there were bad synchronization issues between EqualizerAPO and GUI at that time (file become written over while EqualizerAPO was reading it in).

Title: EQ31 - 1/3 Oct Graphics Equalizer for Windows
Post by: Stone Free on 2015-03-24 13:08:00
EqualizerAPO is noticing when I update the config .txt in the .\config directory I tested it by changing the PreAmp value.

My first thought was to get your GUI software to write to that file, however an exception is raised when it attempts to write to config.txt

Code: [Select]
System.IO.IOException: The process cannot access the file 'C:\Program Files\Audio\EqualizerAPO\config\config.txt' because it is being used by another process.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
   at System.IO.StreamWriter..ctor(String path)
   at EQ312.Form1.backgroundWorker1_DoWork(Object sender, DoWorkEventArgs e)


I used to think it happened every time, but it is actually occasionally
Title: EQ31 - 1/3 Oct Graphics Equalizer for Windows
Post by: Stone Free on 2015-03-24 13:23:11
I have tried to find the Q factor for the ISO 10 EQ bands, but cannot seem to find the answer.

Will setting those specific 10 EQ bands to the number that are set in Winamp reproduce the same sound?

Code: [Select]
 31.5Hz    -8.0db    0x36
63.0Hz    -5.3db        0x2c
125.0Hz    -6.0db        0x2e
250.0Hz    -4.6db          0x2c
500.0Hz     0.0db        0x1f
   1KHz    0.0db    0x1f
   2Khz    0.0db  0x1f
   4Khz    +4.7db    0x13
   8Khz    +4.7db    0x13
  16KHz    0.0db
Title: EQ31 - 1/3 Oct Graphics Equalizer for Windows
Post by: Juha on 2015-03-24 21:32:30
EqualizerAPO is noticing when I update the config .txt in the .\config directory I tested it by changing the PreAmp value.  My first thought was to get your GUI software to write to that file, however an exception is raised when it attempts to write to config.txt

...

I used to think it happened every time, but it is actually occasionally


I'll look that next weekend. Since EqualizerAPO 0.9.x, config.txt is locked while EqualizerAPO reads it in ... so, this might relate to that. You could try by increasing the file write interval time (default is 150ms so try 200ms ... 300ms ... etc.). Meu path is Options->Preferences->Set File Write Interval.




Quote from: Stone Free link=msg=0 date=
I have tried to find the Q factor for the ISO 10 EQ bands, but cannot seem to find the answer.

Will setting those specific 10 EQ bands to the number that are set in Winamp reproduce the same sound?


Likely not exact same sound.

You could visualize the Winamp's EQ output using virtual audio cable + measurement software. This way you can estimate the bandwidth used in filters.