DSP crossover, anomaly on start and song change |
This forum is for developer discussions only. If you have a problem / bug report / idea / feature request that isn't related to foobar2000 SDK, post it in an appropiate forum instead - tech support questions go to support forum, everything else goes to general forum.
All non-developer posts on this forum will be removed. Continued abuse of this forum will result in admin actions (warnings, account suspension).
DSP crossover, anomaly on start and song change |
Apr 28 2012, 03:43
Post
#1
|
|
|
Group: Members Posts: 5 Joined: 28-April 12 Member No.: 99269 |
Hi
I have written a digital crossover dsp for three way speakers using fourth order Linkwitz-Riley filters and a low shelf filter for boosting the bass. The version with hard coded frequencies and gains (no preset) works perfectly and sounds great. I subsequently wrote a version with a preset allowing for user input. It works; but, there is a clunk sound for a fraction of a second on start up and when a song change is forced. The frequency display also shows full bars for a short time. No anomaly is heard when songs change naturally. I would like to understand the function calls that happen at those times to help debug this issue. I am also unfamiliar with .dll debugging techniques. Thanks Ray |
|
|
|
![]() |
Apr 30 2012, 09:13
Post
#2
|
|
![]() Group: FB2K Moderator (Donating) Posts: 4224 Joined: 24-February 03 Member No.: 5153 |
For the record you can debug a DLL by pointing the debugger at the EXE that loads the DLL. In this case set foobar2000.exe as the debugged executable and make sure your debug DLL will be loaded by this foobar2000 instance. I prefer to create a dedicated foobar2000 installation for debugging. Other people configure the IDE to output the DLL directly into their regular foobar2000 installation.
-------------------- http://foosion.foobar2000.org/ - my components for foobar2000
|
|
|
|
May 8 2012, 23:17
Post
#3
|
|
|
Group: Members Posts: 5 Joined: 28-April 12 Member No.: 99269 |
For the record you can debug a DLL by pointing the debugger at the EXE that loads the DLL. In this case set foobar2000.exe as the debugged executable and make sure your debug DLL will be loaded by this foobar2000 instance. I prefer to create a dedicated foobar2000 installation for debugging. Other people configure the IDE to output the DLL directly into their regular foobar2000 installation. Hi Thanks for the tip. I'm very new to this kind of programming. This is a retirement project. I last programmed seriously over forty years ago and it was FORTRAN and the programs were in boxes of cards. Digital filters, C++. VS2010, dlls and foobar2k are a whole new world. Its been a lot of fun and some not. Thanks again. Regards Ray |
|
|
|
Ray_D DSP crossover Apr 28 2012, 03:43
Ray_D Never mind. I found a way to output traces to the ... Apr 29 2012, 16:21
s3t Hi Ray_D,
I'm working on a GUI for crossover/... May 2 2012, 18:10
s3t Ok, i've got it working myself, with the foo_d... May 4 2012, 00:16![]() ![]() |
|
Lo-Fi Version | Time is now: 20th June 2013 - 00:48 |