OS2 World Community Forum

OS/2, eCS & ArcaOS - Technical => Hardware => Topic started by: Martin Iturbide on August 19, 2020, 04:34:27 pm

Title: Question about USB Audio (Input / Output).
Post by: Martin Iturbide on August 19, 2020, 04:34:27 pm
Hi.

I never took the time to test USB audio devices and I want to see if I can make work some hardware I have around on OS/2.

First some questions:
1) Is there any special thing you have to do if Uniaud is already working on the computer and you want to test an additional USB Audio output/speaker?
2) Are USB Mics or USB Audio input working on OS/2?
3) When you can an USB camera that has included an mic (also USB), is there a way to make the USB mic to work ?

I have the following hardware a want to try:
- USB Audio Fairy - Audio Output and Input -  C-Media USB Audio  0D8C:000C
- USB Karaoke Adapter - Only audio Inputs -  This thing has a switch with two modes.
-- 1) 046D:0A03  - Logitech USB Microphone  according to some sites)
-- 2) 1415:0000 - Sony SingStar USBMIC by Nam Tai E&E Products Ltd. or OmniVision Technologies, Inc.

I want to start my test with the USB 12.07 package, there is also the USB Basic Class 1 Audio Driver 12.07. Do I need both?

Regards
Title: Re: Question about USB Audio (Input / Output).
Post by: Doug Bissett on August 19, 2020, 05:58:39 pm
Quote
I want to start my test with the USB 12.07 package, there is also the USB Basic Class 1 Audio Driver 12.07. Do I need both?

Two things:

1) Make sure you use the USB audio driver(s) from <DVD>:\CID\SERVER\ARCAPKG\USBAUD2.WPI. That is the one that gets installed with a NEW install. The other one, that gets installed with an UPDATE install is garbage.

2) ArcaOS 5.0 comes with a program called ASWITCH, which automatically switches between USB audio, and UniAud (when no audio is playing, and you plug/unplug a USB device). You find the setup program in the Multimedia folder.

The CMedia device will likely just work (I have 2 brands, that use the same chip). I don't know about the others. I haven't tried the audio input, but output works fine.
Title: Re: Question about USB Audio (Input / Output).
Post by: Martin Iturbide on August 19, 2020, 09:37:42 pm
Hi.


Two things:

1) Make sure you use the USB audio driver(s) from <DVD>:\CID\SERVER\ARCAPKG\USBAUD2.WPI. That is the one that gets installed with a NEW install. The other one, that gets installed with an UPDATE install is garbage.

2) ArcaOS 5.0 comes with a program called ASWITCH, which automatically switches between USB audio, and UniAud (when no audio is playing, and you plug/unplug a USB device). You find the setup program in the Multimedia folder.

That was very good. I installed "USBAUD2.WPI", enables ASWITCH from the MM folder and works very good with the USB Audio Fairy (C-Media USB Audio  0D8C:000C). It uses USBAUDIO.SYS Lar's version 10.234. Should I try usbaud2.sys to see if it also works?

Now I hope that someone with experience call tell me if the Audio USB input is supported or not.

Regards
Title: Re: Question about USB Audio (Input / Output).
Post by: Martin Iturbide on August 19, 2020, 10:04:14 pm
Hi

I updated USBAUDIO.SYS to the one from AN, 12.07, just try it out. I just replaced the USBAUDIO.SYS file, I don't know if I missed something on the procedure. .
Now it sounds very distorted, I think I'm experiencing the same issue of Igor on this thread (https://www.os2world.com/forum/index.php/topic,2470.45.html). I reverted to Lars' USBAUDIO.

Regards
Title: Re: Question about USB Audio (Input / Output).
Post by: Doug Bissett on August 20, 2020, 04:32:58 am
Quote
I updated USBAUDIO.SYS to the one from AN, 12.07, just try it out. I just replaced the USBAUDIO.SYS file, I don't know if I missed something on the procedure. .
Now it sounds very distorted, I think I'm experiencing the same issue of Igor on this thread. I reverted to Lars' USBAUDIO.

Yeah, that is the old IBM version. Apparently it does work with one, or two, USB devices, but it isn't even worth trying it. Lars' (and Wim's)  version is probably as good as USB audio ever gets.

Quote
Should I try usbaud2.sys to see if it also works?

If you have a USBaudio2 device, definitely try it. If you don't have a compatible device. it isn't going to do anything for you. I know that it loads, for me, but I don't have a device that will use it.

Quote
Now I hope that someone with experience call tell me if the Audio USB input is supported or not.

I think it is supposed to be supported, but I don't know what needs to be done to make it work. Try it.
Title: Re: Question about USB Audio (Input / Output).
Post by: Wim Brul on August 20, 2020, 10:19:13 am
Quote
Now I hope that someone with experience call tell me if the Audio USB input is supported or not.
Yes. Both playback and recording are supported with the Lars Erdmann USB 10.234 audio drivers.

I used the Conceptronic CSOUNDU (https://home.hccnet.nl/w.m.brul/recorder/index.html#ConceptronicCSOUNDU) to develop and test Audio Class 1.0 recording support.

I used the Behringer UMC204HD (https://home.hccnet.nl/w.m.brul/recorder/index.html#BehringerUMC204HD) to develop and test Audio Class 2.0 recording support.
Title: Re: Question about USB Audio (Input / Output).
Post by: Remy on August 22, 2020, 10:46:00 am
Quote
I want to start my test with the USB 12.07 package, there is also the USB Basic Class 1 Audio Driver 12.07. Do I need both?

Two things:

1) Make sure you use the USB audio driver(s) from <DVD>:\CID\SERVER\ARCAPKG\USBAUD2.WPI. That is the one that gets installed with a NEW install. The other one, that gets installed with an UPDATE install is garbage.

2) ArcaOS 5.0 comes with a program called ASWITCH, which automatically switches between USB audio, and UniAud (when no audio is playing, and you plug/unplug a USB device). You find the setup program in the Multimedia folder.

The CMedia device will likely just work (I have 2 brands, that use the same chip). I don't know about the others. I haven't tried the audio input, but output works fine.

No ASWITCH here under ArcaOS 5.0 !!! where is it ?
Title: Re: Question about USB Audio (Input / Output).
Post by: Remy on August 22, 2020, 11:42:36 am
I searched under ArcaOS 5.0.5 DVD, I found aswitch files I copied under MMOS2 and run aswitch.
Plugged an usb dac to it but didn't work and since then, no more audio under ArcaOS !
"removed the dac, no speaker audio, removed aswitch files, no speaker audio...."
How to reverse and get audio back using auniaud drivers ?   
Title: Re: Question about USB Audio (Input / Output).
Post by: Wim Brul on August 22, 2020, 02:37:57 pm
I searched under ArcaOS 5.0.5 DVD, I found aswitch files I copied under MMOS2 and run aswitch.
Plugged an usb dac to it but didn't work and since then, no more audio under ArcaOS !
"removed the dac, no speaker audio, removed aswitch files, no speaker audio...."
How to reverse and get audio back using auniaud drivers ?
I have ArcaOS 5.0 installed. I never used ASWITCH, nor <DVD>:\CID\SERVER\ARCAPKG\USBAUD2.WPI. What I would do:

Go to System Setup, Multimedia Setup. On the System, Default WAVE Device Selection page, Select the uniaud device and press Enter.
Title: Re: Question about USB Audio (Input / Output).
Post by: Lars on August 22, 2020, 02:52:43 pm
Hi Wim,

if you are talking about the Multimedia Setup Object Extension that I have written:
I have no clue if ArcaOS also delivers that extension. Can you see if the ArcaOS package (USBAUD2.WPI) contains the DEFDEV.DLL file (the DLL that implements the Multimedia Setup Object Extension) ? The WPI command line tool (WIC.EXE) should be able to list the WPI content.
Title: Re: Question about USB Audio (Input / Output).
Post by: Wim Brul on August 22, 2020, 03:51:24 pm
Hi Lars,

Hi Wim,

if you are talking about the Multimedia Setup Object Extension that I have written:
I have no clue if ArcaOS also delivers that extension. Can you see if the ArcaOS package (USBAUD2.WPI) contains the DEFDEV.DLL file (the DLL that implements the Multimedia Setup Object Extension) ? The WPI command line tool (WIC.EXE) should be able to list the WPI content.

Yes, I was talking about that Multimedia Setup Object Extension written by you (part of the audio part of usbdrv234.zip).
But I have no clue either whether or not ArcaOS delivers that extension. I have no access to that USBAUD2.WPI either. 
Title: Re: Question about USB Audio (Input / Output).
Post by: David McKenna on August 22, 2020, 04:26:58 pm
 Lars,

  I don't see defdev.dll in the ArcaOS USBAUD2.WPI package....

Regards,
Title: Re: Question about USB Audio (Input / Output).
Post by: Rich Walsh on August 22, 2020, 07:53:46 pm
I don't see defdev.dll in the ArcaOS USBAUD2.WPI package....

It was removed because I fixed Multimedia Setup ('stpm.exe'). The version in AOS 5.0.5 is actually capable of changing the default output on its own - Lars' add-on is no longer needed if you run 5.0.5 or later.

Title: Re: Question about USB Audio (Input / Output).
Post by: Remy on August 22, 2020, 09:30:00 pm
I searched under ArcaOS 5.0.5 DVD, I found aswitch files I copied under MMOS2 and run aswitch.
Plugged an usb dac to it but didn't work and since then, no more audio under ArcaOS !
"removed the dac, no speaker audio, removed aswitch files, no speaker audio...."
How to reverse and get audio back using auniaud drivers ?
I have ArcaOS 5.0 installed. I never used ASWITCH, nor <DVD>:\CID\SERVER\ARCAPKG\USBAUD2.WPI. What I would do:

Go to System Setup, Multimedia Setup. On the System, Default WAVE Device Selection page, Select the uniaud device and press Enter.

In fact, what I did was to coppy ASWITCH and ASWITCHSETUP into my  ArcaOS 5.0.2 mmos2 folder and run ASWITCHSETUP.
No and as you suggest, i checked  Multimedia Setup and set the DEFAULT WAVEAUDIO device under  OS2 Audio: WAVE instead of under USB Adapter after having removed ASWITCH from under startup folder.

I think it would nice having a manual reverse option in case of end user doing unpredictable actions :D 
Title: Re: Question about USB Audio (Input / Output).
Post by: Remy on August 22, 2020, 09:30:49 pm
I don't see defdev.dll in the ArcaOS USBAUD2.WPI package....

It was removed because I fixed Multimedia Setup ('stpm.exe'). The version in AOS 5.0.5 is actually capable of changing the default output on its own - Lars' add-on is no longer needed if you run 5.0.5 or later.

stpm.exe was then changed too. Good to know it
Title: Re: Question about USB Audio (Input / Output).
Post by: Martin Iturbide on August 23, 2020, 01:26:47 am
Quote
Now I hope that someone with experience call tell me if the Audio USB input is supported or not.
Yes. Both playback and recording are supported with the Lars Erdmann USB 10.234 audio drivers.

Any suggestion for audio recording software. I'm using the one includes on ArcaOS 5.0.5 (Digital Audio), but for the moment I was not able to get input audio from the USB device. (But it records from the non-USB mic input jack)

Regards
Title: Re: Question about USB Audio (Input / Output).
Post by: Wim Brul on August 23, 2020, 09:16:52 am
Quote
Now I hope that someone with experience call tell me if the Audio USB input is supported or not.
Yes. Both playback and recording are supported with the Lars Erdmann USB 10.234 audio drivers.

Any suggestion for audio recording software. I'm using the one includes on ArcaOS 5.0.5 (Digital Audio), but for the moment I was not able to get input audio from the USB device. (But it records from the non-USB mic input jack)

Regards

Hi Martin,

Perhaps DRECORD or DTAPE (https://www.os2world.com/forum/index.php/topic,1539.msg15275.html#msg15275) or even my own Audio Recorder (https://home.hccnet.nl/w.m.brul/recorder/index.html) to record up to 32 bit stereo at 384kHz. ?

Regards
Title: Re: Question about USB Audio (Input / Output).
Post by: Sean Casey on August 25, 2020, 01:34:59 am
1) Make sure you use the USB audio driver(s) from <DVD>:\CID\SERVER\ARCAPKG\USBAUD2.WPI. That is the one that gets installed with a NEW install. The other one, that gets installed with an UPDATE install is garbage.

Hi,

I purchased the UGREEN adapter (Model 30521) on Amazon which has a C-Media CM6533 chipset.  I believe it's a 2.0 device.  Linux identifies the hardware ID as 0d8c:0024.  Using the above audio drivers, I only receive white noise.  I have tried Lars' USBAUD2.SYS drivers and don't hear anything. I suspect this is a non-supported chipset.   

I see Amazon sells the Syba adapter (Model SD-CM-UAUD) that has the device ID 0D8C:0008 which Martin has identified to work. 

Title: Re: Question about USB Audio (Input / Output).
Post by: Neil Waldhauer on August 25, 2020, 06:01:22 am
The UGREEN unit looks like a USB audio 1. Simple mono input, low quality stereo output.

USB Audio 2.0 looks like a DJ mixing station. In fact, I think that is what most of them are used for.
Title: Re: Question about USB Audio (Input / Output).
Post by: Sean Casey on August 25, 2020, 06:42:31 am
The UGREEN unit looks like a USB audio 1. Simple mono input, low quality stereo output.

USB Audio 2.0 looks like a DJ mixing station. In fact, I think that is what most of them are used for.

Thanks for the added info. The product description referred to a "Input USB 2.0 A" but was silent on the output.  Not knowing anything about USB audio, I assumed I needed a 2.0 driver.  I'll spend more time with a 1.0 driver.  If no joy, I'll order the SYB product which states it's "USB Audio Device Class Specification 1.0" and has a vendor/device ID that has been reported by Martin to work.

I'm looking forward to finally getting sound on VMware OS/2.  I thought I was stuck with broken virtualized audio and wasn't thinking USB passthrough until I saw these recent posts on USB audio.       
Title: Re: Question about USB Audio (Input / Output).
Post by: Sean Casey on August 25, 2020, 07:06:14 am
Excellent, my first sounds from OS/2 under VMware!!!  I changed to the USB Audio 1.0 driver and then in Multimedia Setup, I deselected the UAC2 Adapter and selected the USB Adapter.  However, the dsk_*.wav files are distorted?
Title: Re: Question about USB Audio (Input / Output).
Post by: Dave Yeo on August 25, 2020, 07:43:49 am
The system wav files are low bit rate IIRC, though I thought Wim and Lars fixed the driver to upscale them.
Title: Re: Question about USB Audio (Input / Output).
Post by: Lars on August 25, 2020, 10:23:39 am
Yes, the 10.234 drivers do the necessary upsampling,channel duplication,bit conversion in order to properly play these old WAV files. But to be sure that everything works, you need to go through the whole USB audio installation and not only copy the drivers because some updates to the MMPM Subsystem are also necessary.
Title: Re: Question about USB Audio (Input / Output).
Post by: Martin Iturbide on August 26, 2020, 02:58:55 am
Excellent, my first sounds from OS/2 under VMware!!!  I changed to the USB Audio 1.0 driver and then in Multimedia Setup, I deselected the UAC2 Adapter and selected the USB Adapter.  However, the dsk_*.wav files are distorted?

That's good Sean. I will  add the UGREEN adapter (Model 30521)  (C-Media CM6533 chipset) 0d8c:0024 on the OS2World wiki. Let me know if you want to add any remarks.

Regards
Title: Re: Question about USB Audio (Input / Output).
Post by: Sean Casey on August 26, 2020, 05:34:01 pm
I will  add the UGREEN adapter (Model 30521)  (C-Media CM6533 chipset) 0d8c:0024 on the OS2World wiki.

You might want to wait as I'm still looking into resolving my issue with low bit rate WAV files.   Using a fresh ArcaOS install with Lars' latest drivers didn't resolve the issue, so either I'm doing something wrong, or the CM6533 is only partially supported.
Title: Re: Question about USB Audio (Input / Output).
Post by: Lars on August 26, 2020, 07:45:31 pm
There is no "partially" supported. An USB audio device typically supports a limited number of sample rates, channels and bit depths. Usually, that is only one: 44.1 kHz, 16-bits, 2 channels or maybe 48 kHz, 16-bits, 2 channels. Especially the cheapo ones.

The USB audio drivers are always able to convert about any WAV input file in practical use to that target format. If that does not work, you have likely not fully installed the USB audio drivers (including additional components that they update).

Look at the WAV file you have problems with. What sample rate, bit depth, num channels does it have ?


Title: Re: Question about USB Audio (Input / Output).
Post by: Wim Brul on August 26, 2020, 10:24:48 pm
It appears that your UGREEN adapter (Model 30521)  (C-Media CM6533 chipset) 0d8c:0024 works with synchronous endpoints.
That is if the lsusb report that I found on the internet is the proper one for your device. You might want to run "lsusb -d 0d8c:0024 -v" to verify that.
Perhaps in some way that is causing the problem. Most UAC1 compliant adapters use adaptive endpoints.
Title: Re: Question about USB Audio (Input / Output).
Post by: Sean Casey on August 26, 2020, 11:00:28 pm
Hi,

Wim, I generate the identical output, so it's the same.  I read that adaptive type devices run at exactly the speed the PC sends the data, within  their operating range, while synchronous devices slave to a provided clock signal and typically operate at fixed or a limited number of data rates.

Lars,  I am having problems with files having the following characteristics.

soxi dsk_opnw.wav

Input File     : 'dsk_opnw.wav'
Channels       : 1
Sample Rate    : 22050
Precision      : 16-bit
Duration       : 00:00:01.32 = 29216 samples ~ 99.3741 CDDA sectors
File Size      : 58.5k
Bit Rate       : 353k
Sample Encoding: 16-bit Signed Integer PCM

These work fine:

soxi applause.wav

Input File     : 'applause.wav'
Channels       : 1
Sample Rate    : 11025
Precision      : 8-bit
Duration       : 00:00:02.19 = 24091 samples ~ 163.884 CDDA sectors
File Size      : 24.1k
Bit Rate       : 88.4k
Sample Encoding: 8-bit Unsigned Integer PCM

There isn't a big selection of packages from which to choose while installing ArcaOS 5.0.5, I'm not sure what I might have missed.  I then applied your usbdrv234, following directions.

I have a C-Media CM119 device coming tomorrow.  That should tell me if it's something I borked during set up, or if it's a problem with the CM655 chip.

Title: Re: Question about USB Audio (Input / Output).
Post by: Dave Yeo on August 27, 2020, 01:12:54 am
If worst comes to worst, there's always the option of upconverting the wav files to 44.1kHz.
Title: Re: Question about USB Audio (Input / Output).
Post by: Sean Casey on August 27, 2020, 03:37:18 am
If worst comes to worst, there's always the option of upconverting the wav files to 44.1kHz.

For the moment, I like your suggestion and have transcoded all the files.  I first tried using Saracon, which couldn't read the files, but dBpoweramp had no problem.

I'll test my setup with the other C-Media adapter I have coming tomorrow to determine if the CM6533 is the problem.
Title: Re: Question about USB Audio (Input / Output).
Post by: Lars on August 27, 2020, 06:14:01 pm
I can play both files "applause.wav" and "dsk_opnw.wav" with my USB audio stick (Terratec Aureon Dual USB) without any need to convert those files.
Of course, you can convert files but the intention was to NOT force the user to muck around with his sound files.

Does "dsk_opnw.wav" not play at all, does it sound much too fast or does it have clicking issues ?
If clicking, see the other thread about shortcomings in the AN 12.x EHCI driver. If it sounds much too fast, that means that for whatever reason the sample rate conversion (in USBAUDIO.SYS) does not work.

What you can also do is to run "lsusb.exe" to dump the USB descriptors for your sound device. That would tell me what sample rates, bit depths and num of channels your USB audio device supports natively.


Lars
Title: Re: Question about USB Audio (Input / Output).
Post by: Sean Casey on August 28, 2020, 12:10:35 am
Hi Lars,

First, I want to thank you for making these drivers available.  It's great to have sound!

I restored the original wav files and connected the C-Media CM119 device I received today and all the wav files played without issue.  The CM6533 device was definitely the problem, likely due to being a synchronous device, as Wim pointed out. 

Using the CM6533, all the dsk_*.wav files would loudly hiss, with the intended sound being heard faintly in the background.

I have attached my lsusb output for the CM6533 device.

Title: Re: Question about USB Audio (Input / Output).
Post by: Lars on August 28, 2020, 01:13:08 pm
I had a look at the descriptor info for the CM6533.

It has a setup where it mixes microphone input (from the MIC jack of the device) and USB input to produce sound on the output.

My suspicion is that USBAUDIO.SYS does not do the necessary setup to the FEATURE and MIXER components (look at the descriptor info) to ONLY take USB input (and turn off MIC input) and route that to the sound output. The problem is that the "sound network" between inputs (be it MIC or USB) and outputs (be it SPEAKER or USB) is "universal" and the connections a bit difficult to parse and come up with a generic decision on how to set the FEATURE and MIXER components (maybe someone DOES want to mix MIC input and USB input to a common speaker output).
"Cheapo" devices usually have a very simple network: connect MIC input via FEATURE component to USB output, connect USB input via FEATURE component to speaker and that's what USBAUDIO.SYS (and USBAUD2.SYS) is aiming for.
(short note: a FEATURE component does things like mute on/off, setting volume, setting base, setting treble etc. Your device only allows for mute on/off and volume as most devices do).

If I find some time, I would be able to hack a REXX script to properly set the FEATURE and MIXER components to do the above. It might take some trial and error though, as the REXX interface (using USBCALLS.DLL and USBRESMG.SYS under the hoods) is a little difficult to use.

You would then at least be able to run the REXX script shortly after you plug in the USB device. The USB device itself will keep the settings until you detach it.

One way to check my suspicion would be to attach a MIC to the MIC jack and then see if the picked up sounds are being heard on the speaker while you are playing that WAV file. One the other hand, that would not explain why you can successfully play other WAV files without any probs ...
Title: Re: Question about USB Audio (Input / Output).
Post by: Sean Casey on August 28, 2020, 07:03:02 pm
Hi Lars,

Thank you very much for your help.

I think it would be better to spend your valuable time supporting more ubiquitous devices.  My bad luck for purchasing the one C-Media device that didn't work (I might use the CM6533 w. a Linux machine).  The other C-Media CM119 device is working beautifully with OS/2 and VMware passthrough.

<<One the other hand, that would not explain why you can successfully play other WAV files without any probs>>

Related to your observations, I think that lovely FEATURE is responsible for having my left channel often times disabled after booting into OS/2, providing sound only from my right channel.  I didn't experience this using Linux.  I did connect a microphone, but didn't hear it when playing a wav file.

My suggestion is for Martin to markup the device as not supported (or limited support).   If this is something you would like to support, I can test anything you send my way.

- Sean
Title: Re: Question about USB Audio (Input / Output).
Post by: Lars on September 04, 2020, 03:48:32 pm
Can you please also attach the USB descriptor dump for the CM119 audio device ?

I want to check if there are additional differences to the CM6533 apart from the difference adaptive vs. synchronous isochronous data endpoints.
Title: Re: Question about USB Audio (Input / Output).
Post by: Sean Casey on September 05, 2020, 01:22:04 am
See attached for the CM119.
Title: Re: Question about USB Audio (Input / Output).
Post by: Lars on September 06, 2020, 09:06:43 am
Thanks.

I can see from the descriptor dump that your CM6553 device supports an optional interrupt endpoint in the "Audio Control" interface.
It is optional (HW implementer does not need to implement it and CM119 does not implement it either) and is meant to return back status if a setting has been applied (volume, etc.).
It looks like it is largely useless (as most devices do not have that interrupt endpoint) but potentially, if it IS existent, you might need to deal with it.
What is needed is to set up an interrrupt transfer and once that transfer returns (a status is returned), read the status info and issue a specific command on the control endpoint to acknowledge the status/do some action.

Currently this is just a wild guess but since you are saying that you DO hear the proper sound (albait accompanied by a loud hiss) then maybe these status interrupts need to be acknowledged to get the device to work properly.
I'll talk to Wim.
Title: Re: Question about USB Audio (Input / Output).
Post by: Lars on September 06, 2020, 08:59:03 pm
Hi Lars,

My suggestion is for Martin to markup the device as not supported (or limited support).   If this is something you would like to support, I can test anything you send my way.

- Sean

I have a test driver ready. Where can I send it to ?
Title: Re: Question about USB Audio (Input / Output).
Post by: Sean Casey on September 07, 2020, 01:05:24 am
PM sent.
Title: Re: Question about USB Audio (Input / Output).
Post by: Martin Iturbide on December 27, 2020, 03:30:09 am
Hi

Today I tested the "HP Gaming Headset H320GS (https://www.os2world.com/wiki/index.php/HP_Gaming_Headset_H320GS)".

Audio output is working, and recording also work (tested with DTAPE), even that it records the audio too fast (I sound like a chipmunk).

I have a question about Wim's Audio Recorder (https://home.hccnet.nl/w.m.brul/recorder/index.html). I noticed on the readme that you need to run it like "record /a1 /b16 /c1 /f44100" (it works fine that way with my laptop internal mic), but how an USB mic should be tested with "Audio Recorder"?

Regards
Title: Re: Question about USB Audio (Input / Output).
Post by: Wim Brul on December 27, 2020, 10:43:11 am
Today I tested the "HP Gaming Headset H320GS (https://www.os2world.com/wiki/index.php/HP_Gaming_Headset_H320GS)".

Audio output is working, and recording also work (tested with DTAPE), even that it records the audio too fast (I sound like a chipmunk).

When using DTAPE for recording you need to set the correct Record Type before you open a new file. You have to do this only once anytime that you plug in a different usb audio device.
For the HP_Gaming_Headset_H320GS you may use PCM, 44100 Hz and 48000 Hz, 16 bits, Mono, Line in. See here (https://www.os2world.com/forum/index.php/topic,1539.msg15275.html#msg15275) for more information...

Quote
I have a question about Wim's Audio Recorder (https://home.hccnet.nl/w.m.brul/recorder/index.html). I noticed on the readme that you need to run it like "record /a1 /b16 /c1 /f44100" (it works fine that way with my laptop internal mic), but how an USB mic should be tested with "Audio Recorder"?

Go to the Multimedia Setup and select the USB Adapter Wave tab.
When it shows Waveaudio02 device then use the /a2 argument.
Title: Re: Question about USB Audio (Input / Output).
Post by: Martin Iturbide on December 27, 2020, 03:58:08 pm
Thanks Wim, it is working now with your advice.

Regards