Page 1 of 1
Spectrum Analyzer plugin?
Posted: August 23rd, 2005, 3:29 pm
by jamesdoz
I'm creating a plugin to work with TCPlayer, my networkable media player (
www.tcplayer.com).
I've got all the basic functions to work, but would like to add the spectrum analyzer output to my plugin.
Can anyone point me towards some info on how to do this? I need to know how to display blocks of different hieghts instead of characters.
Thanks in advance
Posted: August 23rd, 2005, 3:32 pm
by IFR
Posted: August 23rd, 2005, 3:59 pm
by jamesdoz
That easy huh?
Thanks!
Posted: August 24th, 2005, 9:50 am
by smack
Perf plugin uses custom chars to draw graphs.
You can browse the source code online:
CVS viewer (the interesting file is graph.cpp)
Posted: August 24th, 2005, 10:04 am
by jamesdoz
Hi,
I managed to get the custom characters to work, but the speed was terrible (I'm using the registry to communicate with the media player)
I've shelved the Sprectrum Analyser for now until I can work out how to speed up the link between the plugin and my media player (some kind of shared memory block?)
Thanks for your help anyway
Posted: August 24th, 2005, 10:16 am
by smack
jamesdoz wrote:I've shelved the Sprectrum Analyser for now until I can work out how to speed up the link between the plugin and my media player (some kind of shared memory block?)
Yes, shared memory seems to be a good idea.
The Winamp spectrum analyzer works this way. It consists of a plugin for Winamp which writes spectrum data into the shared memory and a plugin for LCD Smartie which reads spectrum data from the shared memory.
links:
Plugin download + instructions
source codes in CVS (winamp and winamp_lcdsmartie dirs)
Posted: August 24th, 2005, 3:21 pm
by IFR
Also make sure you set the dll check interval below 50 ms or so.
Posted: November 28th, 2005, 9:42 pm
by Jumpin' Jon
So, have you written a 2-part plugin... one part that plugs into WMP and another for Smartie?
Sounds interesting.
JJ
Posted: November 29th, 2005, 1:36 pm
by jamesdoz
It's actually for a media player that I wrote called TCPlayer (
http://www.tcplayer.com ) that allows the music to be controlled over a LAN.
I gave up on the VU meter because I couldn't get it running quickly enough and I didn't have time for a major re-write.
If anyone wants a copy of the plugin, feel free to ask.