C++ Template Wrestling

Feb 10, 2014 17:35


Had programming fun today with C++ template class method specialisation for some audio processing software.
To go from detecting DTMF (Bell's Touch Tone (TM) telephone dialing system) to also detecting low frequency subaudible sound signals, I had to change quite a few things (sampling rates (35hz audio needs to be listened to longer and slower ( Read more... )

Leave a comment

Comments 2

johnnyfavorite March 1 2014, 17:26:50 UTC
well! time for the annual alex lj post, apparently! i am spending less and less time on lj, so i am less likely to notice these things.

i guess the last time i had any real algorithmic challenges in code was when i was working on my newsreader. dealing with thousands of news articles can be challenging. these days it feels like i'm mostly gluing together bits from various frameworks.

Reply

agmsmith March 1 2014, 21:37:52 UTC
That's desirable - you're reusing existing code! Amazing that the holy grail of software development has actually been found in our lifetime. Found any bugs in those frameworks yet? Were you able to fix them?

By the way, speaking of code reuse, I finally had an afternoon to get the LF sound detection code working. Pretty easy since the template effectively reuses most of the old DTMF code. The tedious part was setting up the configuration UI and saving/loading settings.

- Alex

Reply


Leave a comment

Up