OS/2, eCS & ArcaOS - Technical > Multimedia

USB Audio

<< < (4/10) > >>

Martin Iturbide:
Hi

Sorry for jumping into the thread this way.

It can be interesting if you are testing USB Audio devices to list the ones that works with brand, name, model, chipset, hardwareid and include them on the wiki:
http://www.os2world.com/wiki/index.php/Audio_Cards#USB

I'm open for any suggestion to include more working hardware on the wiki. Remember that you can access the wiki with the same user and password of this forum.

Regards

Wim Brul:
Hi Neil,


--- Quote from: Neil Waldhauer on March 03, 2017, 03:09:43 am ---I bought a Trond USB Audio Adapter, and it works just as Lars said. There is good sound, except for System Sounds.

--- End quote ---

You might try and convert the system sounds yourself with the IBM Wave Doctor application that I think is part of the IBM Multimedia Presentation Manager Toolkit/2.
\ MMOS2\MMTOOLKT\ NEATSTUF\WVDOC\WVDOC.EXE

Wim

Neil Waldhauer:
I've converted my system sounds to 16-bit, 44.1 KHz. I was going to post the files, but they are over 10 MB zipped.

I used the sox port by Mentore Siesto to convert the files. http://hobbes.nmsu.edu/h-search.php?key=sox&pushbutton=Search

Here is a crude REXX program to convert your files using sox. It shows the options I gave sox to do the work. The documentation for sox is here: http://sox.sourceforge.net/sox.html


--- Code: ---/* batch file to convert from old style wave files to
   16-bit 44.1 KHz ones. Requires sox to run.
    run from the directory named "sounds"
   */

call SysMkDir '..\SOUND4'

call SysFileTree '*.*', 'wdir.', 'DO'

do i=1 to wdir.0
   soundPointer = pos('sounds', wdir.i)
   say soundPointer wdir.i
   outputFile = overlay('SOUND4', wdir.i, soundPointer)
   call SysMkDir outputFile
   say 'created' outputFile
end
call SysFileTree '*.wav', 'wav.', 'FOS'

do i=1 to wav.0
   soundPointer = pos('sounds', wav.i)
   outputFile = overlay('SOUND4', wav.i, soundPointer)
   'sox' wav.i '-b 16' outputFile 'rate -s -a 44100 dither -s'
   say 'converted' outputFile
end

--- End code ---

Fahrvenugen:

--- Quote from: Olafur Gunnlaugsson on March 03, 2017, 01:12:47 pm ---The CM108 chip in the Trend only appears to support the playback of 16 bit 44.1 and 48kHz PCM data, so the 10 & 20 kHz system audio files sound distorted for that reason, while a frequency converter in the system would fix that, a simpler solution is to replace the system sound files with 16bit 44.1kHz versions.

--- End quote ---

Good to hear that it is working with the CM108 (as long as the sample rates of the original files are correct).  There is a ton of USB stuff that uses that chipset - from the cheap USB audio dongles that you can find on ebay for $1 to $5, a ton of USB headsets.  I'd also be interested to find out if it works with the Texas Instruments PCM-2900/2902  series chipset which also gets used in a lot of USB audio gear.

Wim Brul:
Nice Neil,

I wonder if you would need the following to ensure stereo output:

--- Code: ---'sox' wav.i '-b 16' outputFile 'channels 2 rate -s -a 44100 dither -s'

--- End code ---

Wim

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version