Re: Sound card?



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

.



Relevant Pages

  • Re: Sound card?
    ... Cannot find the word 'linux' on their ste, ... people that say soundcards are as good as test instruments. ... You call it with a mp3 file as argument, and it makes a compressed wave file, ... echo "Getting max amplitude." ...
    (sci.electronics.design)
  • Re: Default Wired eth0 Config on Fedora 13
    ... If you are having to use windows to access Usenet: ... If you do not want some malware writing to linux. ... If using linux for Usenet access, su - root, copy script text into xx ... echo "You need to be root to run $0" ...
    (comp.os.linux.networking)
  • Re: Accessing the internet with Ubuntu
    ... I am both new to groups and linux, ... If you are having to use windows to access Usenet: ... If using linux for usenet access, su - root, copy script text into xx ... echo "You need to be root to run $0" ...
    (alt.os.linux)
  • Re: slow net in ubuntu
    ... If you are having to use windows to access Usenet: ... If using linux for usenet access, su - root, copy script text into xx ... echo "You need to be root to run $0" ...
    (comp.os.linux.networking)
  • Re: Troubleshooting connection loss (novice question)
    ... If you are having to use windows to access Usenet: ... If you do not want some malware writting to linux. ... If using linux for usenet access, su - root, copy script text into xx ... echo "You need to be root to run $0" ...
    (comp.os.linux.networking)