Re: Sound card?
- From: "miso@xxxxxxxxx" <miso@xxxxxxxxx>
- Date: Thu, 29 Jan 2009 12:05:26 -0800 (PST)
On Jan 29, 3:38 am, Jan Panteltje <pNaonStpealm...@xxxxxxxxx> wrote:
On a sunny day (Wed, 28 Jan 2009 17:09:56 -0800 (PST)) it happened
"m...@xxxxxxxxx" <m...@xxxxxxxxx> wrote in
<3d8493c5-6d5c-4d83-b852-e2d81df47...@xxxxxxxxxxxxxxxxxxxxxxxxxxx>:
I have a Griffin imic that I can't get to run on Suse linux. Any
experience with that device?
Never heard of it, so I looked it up.
Cannot find the word 'linux' on their ste, seems more Apple oriented.
So, the normal procedure is then:
grml: ~ # cd /usr/src/linux
grml: /usr/src/linux # cd drivers
grml: /usr/src/linux/drivers # cd usb
grml: /usr/src/linux/drivers/usb # grep -iR Griffin *
input/powermate.c: * A driver for the Griffin Technology, Inc. "PowerMate" USB controller dial.
input/powermate.c: * certainly faster than the human hand could turn it. Griffin say that it loses a
input/powermate.c: * Griffin were very happy to provide documentation and free hardware for development.
input/powermate.c:#define POWERMATE_VENDOR 0x077d /* Griffin Technology, Inc. */
input/powermate.c:#define POWERMATE_PRODUCT_NEW 0x0410 /* Griffin PowerMate */
input/powermate.c:#define POWERMATE_PRODUCT_OLD 0x04AA /* Griffin soundKnob */
input/powermate.c:static char pm_name_powermate[] = "Griffin PowerMate";
input/powermate.c:static char pm_name_soundknob[] = "Griffin SoundKnob";
input/powermate.c:MODULE_DESCRIPTION( "Griffin Technology, Inc PowerMate driver" );
input/Kconfig: tristate "Griffin PowerMate and Contour Jog support"
input/Kconfig: Say Y here if you want to use Griffin PowerMate or Contour Jog devices.
input/hid-core.c:#define USB_VENDOR_ID_GRIFFIN 0x077d
input/hid-core.c: { USB_VENDOR_ID_GRIFFIN, USB_DEVICE_ID_POWERMATE, HID_QUIRK_IGNORE },
input/hid-core.c: { USB_VENDOR_ID_GRIFFIN, USB_DEVICE_ID_SOUNDKNOB, HID_QUIRK_IGNORE },
No luck for the 'imic', but they may help you if you want to write a driver it seems.
grml: /usr/src/linux/drivers/usb # grep -iR imic *
misc/usbtest.c:/* ISO tests ... mimics common usage
serial/mct_u232.c: * - Mimic Windows driver by sending 2 USB 'device request' messages
serial/mct_u232.c: /* Mimic the MCT-supplied Windows driver (version 1.21P.0104), which
grml: /usr/src/linux/drivers/usb #
Nope
Just an FYI for linux sound users. I run several Diamond XS71
soundcards in the linux box. The C-media chipset has good support.
I dunno which Cmedia chip you use, but I think I have one soundcard laying about that uses one.
and that one is noisy with all the sliders at zero.
I'm using the cards for digital demodulation from radios. The noise
floor is not an issue as much as just getting the thing to work in
Linux. It uses the CM8738 driver.
For test equipment purpose, I bought a DSA.
DSA? What is that?
Dynamic Signal Analyzer, not a very descriptive name. HP3562
I've given up arguing with
people that say soundcards are as good as test instruments. It's not
worth the effort. You end up testing the soundcard/PC and not the DUT.
Sure, you need real test equipment.
For really high quality playback, my Logitech Slimdevices Squeezebox
Classic is great. It sounds as quiet as a CD deck. You can generally
get them on line for $50 off if you can find the secret password on
the net. Great software too. It does FLAC. You can store the audio in
FLAC on your server, then stream in MP3 if need be The only bug I
found is the switcher makes AM noise. However, it is external, so you
can run the box on a linear.
I get -72dB from the Ensoniq soundcard as noise floor.
As the PC fan makes a lot more noise, plus all the other stuff here,
that is fine with me.
Audio people going for -120dB will need a special dead room.
So, 24 bit audio is wasted on me, in fact I use the compander a lot.
If you want to play your music in the car, try procressing it like this,
this script I have in /usr/local/sbin/ucompand_m:
You call it with a mp3 file as argument, and it makes a compressed wave file,
with maximum amplitude at exactly 100%.
The companding in this script mimics a NE570 chip.
echo "Making wave file."
mpg123 -w /tmp/q1.wav $1
echo "Getting max amplitude."
sox /tmp/q1.wav -e stat 2> /tmp/stat.txt
echo "Extracting volume from stats"
cat /tmp/stat.txt | awk '/Volume adjustment:/ { if (1 < 2) print $3 }' > /tmp/vol
vol= at /tmp/vol
echo "volume=$vol"
if [ "$vol" == "1.000" ]
then
echo "Companding wave file."
sox /tmp/q1.wav -t wav $1-companded-unity.wav compand 0.003,.013.5 -80,-40,-60,-30,-40,-20,0,0 1
echo "Deleting temp file."
rm /tmp/q1.wav
else
echo "Creating unity wave file."
sox /tmp/q1.wav -v $vol q1-unity.wav
echo "Deleting temp file."
rm /tmp/q1.wav
echo "Companding wave file."
sox /tmp/q1-unity.wav -t wav $1-companded-unity.wav compand 0.003,.013.5 -80,-40,-60,-30,-40,-20,0,0 1
echo "Deleting temp file."
rm /tmp/q1-unity.wav
fi
echo "Ready"
exit
-----------------------
You could re-encode it to mp3 again by adding the line:
lame $1-companded-unity.wav
.
- Follow-Ups:
- Re: Sound card?
- From: Jan Panteltje
- Re: Sound card?
- References:
- Sound card?
- From: krw
- Re: Sound card?
- From: Jan Panteltje
- Re: Sound card?
- From: krw
- Re: Sound card?
- From: Jan Panteltje
- Re: Sound card?
- From: krw
- Re: Sound card?
- From: Jan Panteltje
- Re: Sound card?
- From: miso@xxxxxxxxx
- Re: Sound card?
- From: Jan Panteltje
- Sound card?
- Prev by Date: Re: Problem with SM caps
- Next by Date: Re: How Much TV do Electronic Designers Watch?
- Previous by thread: Re: Sound card?
- Next by thread: Re: Sound card?
- Index(es):
Relevant Pages
|