Tonor TN12449 USB microphone

OSS specific Linux discussion (x86/amd64)

Moderators: hannu, dev, cesium

joe
New Member
Posts: 2
Joined: Thu Jul 21, 2016 7:29 am

Tonor TN12449 USB microphone

Postby joe » Thu Jul 21, 2016 7:54 am

Hi all, I bought Tonor TN12449 USB mic and I've OSSv4 on my slackware-14.0 system.

"ossinfo" returns:

Code: Select all

Version info: OSS 4.2 (b 2011/201504171514) (0x00040100) GPL
Platform: Linux/i686 3.19.4-hb_smp #1 SMP Fri Apr 17 02:18:17 CEST 2015 (darkstar)

Number of audio devices:        7
Number of audio engines:        11
Number of MIDI devices:         0
Number of mixer devices:        2


Device objects
 0: osscore0 OSS core services
 1: oss_hdaudio0 nVidia HD Audio interrupts=4587 (4587)
    HD Audio controller nVidia HD Audio
    Vendor ID    0x10de07fc
    Subvendor ID 0x10438290
     Codec  0: ALC662 (0x10ec0662/0x10438290)
 2: oss_usb0 USB audio core services
 3: usb0d8c013c-0 USB sound device
 4: usb0d8c013c-1 USB sound device

MIDI devices (/dev/midi*)

Mixer devices
 0: High Definition Audio ALC662 (Mixer 0 of device object 1)
 1: USB sound device (Mixer 0 of device object 3)

Audio devices
HD Audio play front               /dev/oss/oss_hdaudio0/pcm0  (device index 0)
HD Audio play rear                /dev/oss/oss_hdaudio0/pcm1  (device index 1)
HD Audio play center/LFE          /dev/oss/oss_hdaudio0/pcm2  (device index 2)
HD Audio play spdif-out           /dev/oss/oss_hdaudio0/spdout0  (device index 3)
HD Audio rec mix                  /dev/oss/oss_hdaudio0/pcmin0  (device index 4)
HD Audio rec mix                  /dev/oss/oss_hdaudio0/pcmin1  (device index 5)
USB sound device rec              /dev/oss/usb0d8c013c-1/pcmin0  (device index 6)

Nodes
  /dev/dsp -> /dev/oss/oss_hdaudio0/pcm0
  /dev/dsp_in -> /dev/oss/oss_hdaudio0/pcm0
  /dev/dsp_out -> /dev/oss/oss_hdaudio0/pcm0
  /dev/dsp_ac3 -> /dev/oss/oss_hdaudio0/spdout0
  /dev/dsp_mmap -> /dev/oss/oss_hdaudio0/pcm0
  /dev/dsp_multich -> /dev/oss/oss_hdaudio0/pcm0


The mic file /dev/oss/usb0d8c013c-1 doesn't exists. So the following recording example doesn't work...

Code: Select all

ossrecord -d /dev/oss/oss_hdaudio0/usb0d8c013c-1/pcmin0 tryrec.wav


In "ossxmix" I read just one "tab" related to "High Definition Audio ALC 662" which is my PC integrated sound card.

Any chance to make OSSv4 properly recognize this USB device?
thanks in advance!

igorzwx
Known Member
Posts: 1256
Joined: Sun Jun 28, 2009 9:31 pm

Re: Tonor TN12449 USB microphone

Postby igorzwx » Thu Jul 21, 2016 4:45 pm

joe wrote:"ossinfo" returns:

Code: Select all

HD Audio rec mix                  /dev/oss/oss_hdaudio0/pcmin0  (device index 4)
HD Audio rec mix                  /dev/oss/oss_hdaudio0/pcmin1  (device index 5)
USB sound device rec              /dev/oss/usb0d8c013c-1/pcmin0  (device index 6)


joe wrote:the following recording example doesn't work...

Code: Select all

ossrecord -d /dev/oss/oss_hdaudio0/usb0d8c013c-1/pcmin0 tryrec.wav


It should not work, because the command is wrong.
If you are semi-blind, you may better use shortcuts.

Try this command for your USB mic:

Code: Select all

$ ossrecord -vl -d6 - | ossplay -


and this command for your HDAudio mic:

Code: Select all

$ ossrecord -vl -d4 - | ossplay -


If you do not know how to test mic with OSS4, you may read a manual for Ubuntu newbies:
_http://ossnext.trueinstruments.com/forum/viewtopic.php?f=3&t=5828

joe wrote:In "ossxmix" I read just one "tab" related to "High Definition Audio ALC 662" which is my PC integrated sound card.


If it is so difficult to click on USB tab in OSS Mixer GUI, you may try this command:

Code: Select all

$ ossxmix -d1


It should be something like this:

Code: Select all

$ ossmix -d1
Selected mixer 1/USB sound device
Known controls are:
rec.mute ON|OFF (currently OFF)
rec.vol <monovol> (currently 0)
output.mute ON|OFF (currently OFF)
output.bass <monovol> (currently 0)
output.treble <monovol> (currently 0)
output.agc ON|OFF (currently OFF)
output.boost ON|OFF (currently OFF)
output.vol [<leftvol>:<rightvol>] (currently 131:131)
play-altset <OFF|1|2> (currently 1)
rec-altset <OFF|1|2|3> (currently 1)


See also:

Code: Select all

$ man ossmix
$ man ossxmix


You can configure your USB thing with ossmix or ossxmix.

You should have at least two mixers: "-d0" and "-d1".
The command "ossxmix -d0" should produce OSS Mixer GUI for your HDA codec.
Some soundcards, however, have several mixers with OSS4.
Example: LynxTWO _http://manuals.opensound.com/usersguide/lynxtwo.html

It is very probable that a very simple analog mic with oss_hdaudio may outperform your USB thing.
It is not difficult to configure HDA codec for recording, but you have to read a manual for it:

Code: Select all

$ man oss_hdaudio


It may not work, of course, on a broken slackware, but it may surely work on Linux Mint MATE LiveCD
_http://ossnext.trueinstruments.com/forum/viewtopic.php?f=3&t=5828

joe
New Member
Posts: 2
Joined: Thu Jul 21, 2016 7:29 am

Re: Tonor TN12449 USB microphone

Postby joe » Thu Jul 21, 2016 7:31 pm

Code: Select all

$ ossinfo|grep  USB
 2: oss_usb0 USB audio core services
 3: usb0d8c013c-0 USB sound device
 4: usb0d8c013c-1 USB sound device
 5: usb0d8c013c-2 USB sound device
 6: usb0d8c013c-3 USB sound device
 7: usb0d8c013c-4 USB sound device
 8: usb0d8c013c-5 USB sound device
 1: (USB sound device )(Mixer 0 of device object 3)
 2: (USB sound device )(Mixer 0 of device object 5)
 3: USB sound device (Mixer 0 of device object 7)
(USB sound device rec              /dev/oss/usb0d8c013c-1/pcmin0 ) (device index 6)
(USB sound device rec              /dev/oss/usb0d8c013c-3/pcmin0 ) (device index 7)
USB sound device rec              /dev/oss/usb0d8c013c-5/pcmin0  (device index 8)

Code: Select all

$ ossrecord -vl -d8 - | ossplay -
Recording wav: Speed 48000Hz 16 bits Stereo
/dev/oss/usb0d8c013c-5/pcmin0: Input/output error

Sound data ended prematurely!

Something goes wrong...

igorzwx
Known Member
Posts: 1256
Joined: Sun Jun 28, 2009 9:31 pm

Re: Tonor TN12449 USB microphone

Postby igorzwx » Thu Jul 21, 2016 7:54 pm

joe wrote:

Code: Select all

$ ossinfo|grep  USB
 2: oss_usb0 USB audio core services
 3: usb0d8c013c-0 USB sound device
 4: usb0d8c013c-1 USB sound device
 5: usb0d8c013c-2 USB sound device
 6: usb0d8c013c-3 USB sound device
 7: usb0d8c013c-4 USB sound device
 8: usb0d8c013c-5 USB sound device
 1: (USB sound device )(Mixer 0 of device object 3)
 2: (USB sound device )(Mixer 0 of device object 5)
 3: USB sound device (Mixer 0 of device object 7)
(USB sound device rec              /dev/oss/usb0d8c013c-1/pcmin0 ) (device index 6)
(USB sound device rec              /dev/oss/usb0d8c013c-3/pcmin0 ) (device index 7)
USB sound device rec              /dev/oss/usb0d8c013c-5/pcmin0  (device index 8)

Code: Select all

$ ossrecord -vl -d8 - | ossplay -
Recording wav: Speed 48000Hz 16 bits Stereo
/dev/oss/usb0d8c013c-5/pcmin0: Input/output error

Sound data ended prematurely!

Something goes wrong...


Yes.
Have you noticed broken dev links in your new ossinfo?
Or you have not noticed any difference?

Perhaps, you may better reload oss.


Return to “Linux”

Who is online

Users browsing this forum: No registered users and 2 guests