Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wiki:sound_setup_using_oss [2012/10/04 20:39] – [Reasons to consider installing OSS versus ALSA] aus9 | wiki:sound_setup_using_oss [2022/09/21 17:10] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== | ||
+ | Sound is NOT built into base of MicroCore, TinyCore or CorePlus, sound is implemented via extensions. | ||
+ | |||
+ | Assuming you are a newbie, select ossxmix from the Apps and choose onboot. On reboot, you are likely to have sound.\\ | ||
+ | If you have installed a desktop eg LXDE, you can drag into your desktop folder using your filemanager, | ||
+ | Your desktop icon is named | ||
+ | < | ||
+ | OSS_GTK2_mixer. | ||
+ | </ | ||
+ | The desktop (or icon) files are in | ||
+ | < | ||
+ | / | ||
+ | </ | ||
+ | Otherwise, you can click on empty desk space, choose Applications and name of mixer is called | ||
+ | < | ||
+ | |||
+ | If you prefer commands, open a terminal and run command | ||
+ | < | ||
+ | ossmix | ||
+ | </ | ||
+ | |||
+ | For more advanced users, if you do not want a GTK download choose OSS from apps and reboot. | ||
+ | ===== OSS versus ALSA ===== | ||
+ | |||
+ | Warning: This is written for newbies, its not meant to be a pure recommendation but \\ | ||
+ | is the personal opinion of aus9 to minimise forum posts where newbies can't do something \\ | ||
+ | because they may be trying to use OSS when something might be better or vice versa. | ||
+ | |||
+ | * If you need skype --> ALSA (and suggest no Pulseaudio) \\ | ||
+ | * If you need to change sound devices on-the-fly gui --> Pulseaudio (front end to ALSA) \\ | ||
+ | * If you need to change sound devices no gui --> | ||
+ | * If you need easier surround sound --> | ||
+ | * If you like command mode surround sound --> Try OSS \\ | ||
+ | * If you need a sound modem (dial-up) plus normal sound out --> Likely to be ALSA \\ | ||
+ | * If you need to use a webcam builtin mic --> Try OSS then ALSA \\ | ||
+ | * If you need to play high quality sound files --> ALSA\\ | ||
+ | * If you have a Intel device, that needs a tweak --> ALSA | ||
+ | |||
+ | * In case you have an ISA sound card or a very old CPU, alsa may be your only choice. | ||
+ | |||
+ | OSS is easier to setup, but fewer people use it so you may not get the support you are looking for. | ||
+ | See surround sound for a link to a forum. | ||
+ | |||
+ | ALSA is better suited to those with " | ||
+ | sound devices that need tweaked settings. | ||
+ | |||
+ | As I have an intel device, that needs a tweak, multichannel sliders do no appear in my ossxmix image as \\ | ||
+ | OSS appears to not know how to handle my sound device. | ||
+ | |||
+ | However, OSS is still easiest of the the two to setup for persistence so try OSS first please unless my list rules \\ | ||
+ | OSS out. | ||
+ | |||
+ | good luck and [[setting_up_sound|click here for ALSA wiki]] | ||
+ | |||
+ | =====Remove ALSA===== | ||
+ | If you have previously installed ALSA remove those packages from onboot | ||
+ | |||
+ | {{wiki: | ||
+ | ===== Checking tcz loads ok on reboot ===== | ||
+ | |||
+ | When first loaded you may like to open a terminal and run command....ossinfo to see if your card is detected. | ||
+ | |||
+ | < | ||
+ | ossinfo | ||
+ | Version info: OSS 4.2 (b 2006/ | ||
+ | Platform: Linux/i686 3.0.21-tinycore #3021 SMP Sat Feb 18 11:54:11 EET 2012 (box) | ||
+ | |||
+ | Number of audio devices: 7 | ||
+ | Number of audio engines: 11 | ||
+ | Number of MIDI devices: 0 | ||
+ | Number of mixer devices: 1 | ||
+ | |||
+ | Device objects | ||
+ | 0: osscore0 OSS core services | ||
+ | 1: oss_hdaudio0 Intel HD Audio interrupts=428493 (431633) | ||
+ | HD Audio controller Intel HD Audio | ||
+ | Vendor ID 0x808627d8 | ||
+ | Subvendor ID 0x10192633 | ||
+ | | ||
+ | 2: oss_usb0 USB audio core services | ||
+ | |||
+ | MIDI devices (/ | ||
+ | |||
+ | Mixer devices | ||
+ | 0: High Definition Audio STAC9221 (Mixer 0 of device object 1) | ||
+ | |||
+ | Audio devices | ||
+ | HD Audio play front / | ||
+ | HD Audio play center/ | ||
+ | HD Audio play rear / | ||
+ | HD Audio play side / | ||
+ | HD Audio play spdif-out | ||
+ | HD Audio rec rec1mux | ||
+ | HD Audio rec rec2mux | ||
+ | |||
+ | Nodes | ||
+ | /dev/dsp -> / | ||
+ | /dev/dsp_in -> / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | If ok, you may wish to open cpanel...click on system stats then modules to see what modules are loaded. | ||
+ | |||
+ | {{wiki: | ||
+ | You may like to navigate to / | ||
+ | |||
+ | ===== Mixer levels ===== | ||
+ | |||
+ | Newbies might like to install a gui mixer called ossxmix.tcz. | ||
+ | |||
+ | In the following image, I have ossxmix started and moved my media player, vlc over the mixer panel so I could snapshot my terminal showing the command to run, the mixer panel and my media player. | ||
+ | |||
+ | {{twid60_ossxmix2.jpg}} | ||
+ | |||
+ | You may not have front connectors, as this is a tower and not a laptop. | ||
+ | |||
+ | The Master volume slider controls all. | ||
+ | |||
+ | Next image is un-ticked the channel lock so I can have different volumes left versus right. | ||
+ | |||
+ | {{twid_61_ossmix3.jpg}} | ||
+ | |||
+ | ===== Media player may need tweak ===== | ||
+ | If you run a media player gui, like vlc, you will need to tweak it to use OSS as that won't be its default. | ||
+ | |||
+ | ===== Persistence ===== | ||
+ | |||
+ | If you have come from ALSA persistence, | ||
+ | and do a full reboot before doing any OSS stuff please. | ||
+ | |||
+ | If you need OSS persistence use root powers to edit your | ||
+ | |||
+ | / | ||
+ | |||
+ | ^usr/ | ||
+ | |||
+ | If needed, add other conf lines to above file, if you needed to change any. | ||
+ | |||
+ | Then reboot, with backup, to test its ok. | ||
+ | |||
+ | Note, if you use a media player, gui, its settings are likely to be stored under /home/tc so no extra files need to be added | ||
+ | to a standard TC user. | ||
+ | |||
+ | (warning ...aus9 is not an oss or alsa expert) | ||
+ | |||
+ | ===== Tweaks ===== | ||
+ | |||
+ | Testing without reboot.\\ | ||
+ | Open a terminal and run command | ||
+ | < | ||
+ | sudo soundoff | ||
+ | </ | ||
+ | Make changes to / | ||
+ | < | ||
+ | sudo soundon | ||
+ | </ | ||
+ | Try at own risk, please watch out for any typos in your backup .filetool.lst etc | ||
+ | |||
+ | If you know your sound card can do higher quality sound output tweak | ||
+ | ^/ | ||
+ | Remove # so below line becomes active on next boot \\ | ||
+ | src_quality=4 | ||
+ | |||
+ | ^/ | ||
+ | For those with high definition audio (intel), consider trying out a jack sense (3.55mm connector in the coloured holes) \\ | ||
+ | hdaudio_jacksense=1 | ||
+ | ===== Surround sound and OSS **forum** | ||
+ | |||
+ | For surround sound click on the forum link and enter this string as a search please, as I have attempted to provide 2 links to it\\ | ||
+ | but its borked | ||
+ | |||
+ | ^HOWTO: 5.1 Surround sound with OSS4 ^ | ||
+ | |||
+ | {{http:// | ||
+ | |||
+ | {{http:// | ||
+ | |||
+ | {{http:// | ||
+ | ===== Webcam ===== | ||
+ | |||
+ | To get your webcam working in TC, is not fully discussed in this wiki.\\ | ||
+ | For my cam, on an usb lead, I need to use a module called uvcvideo so its sufficient for me to load\\ | ||
+ | v4l-dvb-3.0.21-tinycore.tcz | ||
+ | |||
+ | My cam does not appear in | ||
+ | < | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | As its on a lead, I did a full reboot and then usb webcam tab appears in mixer pane | ||
+ | |||
+ | {{twid_62_ossxmix4.jpg}} | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===== Credits ===== | ||
+ | The upstream maintainers | ||
+ | |||
+ | TC maintainer - Curaga |