|
|||||||
| Home | Forums | Rules | Articles | Store | Gallery | Blogs | Register | Donations | FAQ | Calendar | Search | Today's Posts | Mark Forums Read | Search |
| Digital Line Level DACs, Digital Crossovers, Equalizers, etc. |
|
Please consider donating to help us continue to serve you.
Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving |
|
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
diyAudio Member
Join Date: Dec 2007
Location: 2504 Biel
|
Hi all !
I would like to build a custom music server, and I got the idea that it would be nice to have a big alphanumeric display to show the actual sample rate of the soundcard digital output. I guess I should have a look to some Digital Interface Receivers. Ideally it should "show" the incoming sample rate with some pins beeing set to one or zero logical level, and then these binary numbers should be "treated" by a microcontroller to drive the alphanumeric display. Anyone got an idea about which device to use ?
|
|
|
|
#2 |
|
diyAudio Member
Join Date: May 2004
Location: Vancouver Island
|
It should be a lot easier to use an alphanumeric LCD display and just get the rate from the player software. You can hook some cheap displays directly to a parallel port, or build (or buy) a USB adapter, or get one ready to go from Matrix Orbital and other sources. Google HD44780 and you'll find stuff.
On the other hand, a receiver chip and microcontroller is a pretty low part count. Or, if you happen to find a Behringer SRC2496 languishing in a thrift store, it has indicators for most of that stuff (bit rate, etc). As for chips... the TI DIR9001 is available from Digikey, and can operate without a microcontroller to configure it. An AKM chip (forget the number) I looked at today is smart enough to recognize non-PCM content (like DTS bitstreams). Another thing (apart from bit rate) is to check for clipping... there's an old Elektor project for that. It just detects when two or more samples are full-scale (positive or negative). It is based on an obsolete DIP digital receiver chip, but allegedly newer chips could be subbed if you piggyback an adapter board. I'm pretty sure that project is on the Elektor Audio Collection CDROM, if you can get your hands on that somehow... Last edited by dangus; 29th April 2010 at 07:44 AM. |
|
|
|
#3 |
|
diyAudio Member
Join Date: Dec 2007
Location: 2504 Biel
|
Wow, thanks dangus for all these good ideas !
![]() For the first one the problem is that I don't know how to get the sample rate from the player and send it to the parallel or usb port. I don't have any knowledge in computer programming languages...... ![]() The Behringer src2496 is an other good idea, although it shows the sample rate with leds and not with an alphanumeric display......maybe I could tweak it...... I will have a closer look on the TI DIR9001, and on the Elektor clipping project. In any case thank you very much dangus !
|
|
|
|
#4 |
|
diyAudio Member
Join Date: Dec 2007
Location: 2504 Biel
|
I've had a look on the DIR9001 specs. It uses 2 pins to show the actual sampling frequency, but unfortunately only 32, 44.1 and 48 KHz, although the DIR9001 can handle frequencies up to 96 KHz.
![]() Sad, as I would like to be able to show at least 96 KHz...... ![]() Now I have to look to some other DIRs, even if I have to use software control with a microcontroller. Last edited by staki; 29th April 2010 at 02:31 PM. |
|
|
|
#5 |
|
diyAudio Member
Join Date: Dec 2007
Location: 2504 Biel
|
Ok, the only other DIR which can display the sampling frequency with some pins is the CS8414.
Unfortunately it isn't available any more. Sad.....
|
|
|
|
#6 |
|
diyAudio Member
Join Date: May 2004
Location: Vancouver Island
|
I think those pins on the DIR9001 are for setting the sample rate, not displaying it; if you want other (higher) rates, those are set via the microprocessor interface.
Running the display off the computer may not need any programming. If you're using a common player, there's bound to be some display driver already that supports an LCD display, and hopefully it can be configured to display whatever you need. LCDinfo and LCD Smartie can display sample rate and bitrate from Winamp. All I could find for Foobar was a component for it that feeds a Logitech LCD display. And, that's a display that's built into expensive gamer keyboards, not (as I first assumed) a standalone display. Wait a sec... there's this Foobar2000 & LastFM plugin for LCD Studio, but it looks like that only supports the Logitech display and some USB Matrix Orbital display. Under Linux, there's LCDproc which supports parallel port alphanumeric LCDs. |
|
|
|
#7 |
|
diyAudio Member
Join Date: Dec 2007
Location: 2504 Biel
|
@ dangus : I think you are right for the DIR9001.
So I have to go with the parallel port of the PC. I usually use foobar2k, but I also can try Linux, with MPD (Music Player Daemon) for example, and try to use LCDproc. Once again many thanks for the good advice !
|
|
|
|
#8 |
|
diyAudio Member
Join Date: Sep 2006
|
If you only want to know the sampling rate. It is unnecessary to use DIR chips(DIR9001, CS8416 etc). U can use some 74 device to recovery LRCLK from the incomming SPDIF stream. BTW twice the LRCLK. With this clock, then build a counter with an steady reference clock, u will easily get the sampling rate afterwards.
|
|
|
|
#9 |
|
diyAudio Member
Join Date: Dec 2007
Location: 2504 Biel
|
@ MiracleZZ : Thanks for the tip, but I am not sure to understand very well. How do I make to recover the spdif stream with the 74 device without using a DIR ? And how do I recover the LRCLK ?
Please excuse my ignorance, but I am not so familiar with digital audio......
|
|
|
|
#10 |
|
diyAudio Member
Join Date: Sep 2006
|
Here come the sch~
|
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| USB sample rate limitations | Martin Prothero | Digital Line Level | 4 | 25th January 2010 09:45 AM |
| Asynchronous Sample Rate Conversion | werewolf | Digital Source | 122 | 18th December 2009 07:10 AM |
| PMD100 Max Sample Rate? | Filburt | Digital Source | 7 | 23rd May 2008 04:30 AM |
| DSO Bandwidth vs sample rate | bzo | Parts | 3 | 23rd February 2004 03:53 PM |
| New To Site? | Need Help? |