Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

sound(1x) [debian man page]

Sound(1x)						   AfterStep X11 window manager 						 Sound(1x)

NAME
Sound - AfterStep module for playing sounds when windowing event occurs CONFIGURATION OPTIONS
3rd Berkeley Distribution AfterStep v.2.2.11 Sound(1x)

Check Out this Related Man Page

pods::SDLx::Sound(3pm)					User Contributed Perl Documentation				    pods::SDLx::Sound(3pm)

NAME
SDLx::Sound - SDL sound extension CATEGORY
Extension SYNOPSIS
use SDLx::Sound; my $snd = SDLx::Sound->new(); # loads and plays a single sound now $snd->play('myfile.wav'); # load a single file $snd->load('theSound.aif'); # plays it or all loaded files $snd->play(); # more sounds my %files = ( channel_01 => "/my_sound1.wav", channel_02 => "/my_sound2.ogg" ); # times sounds bangs my %times = ( channel_01 => 0, # start channel_01 => 1256, # milliseconds channel_02 => 2345 ); # Load files in channels for realtime play $snd->load(%files); # sets sound channel_01 loudness $snd->loud('channel_01', 80); # loud at 80% $snd->play(%times); # play loaded files at times $snd->play; # play again # plays sound channel_01 at 578 milliseconds from now $snd->play('channel_01', 578); # fades sound $snd->fade('channel_02', 2345, 3456, -20); # in a single act do the whole Sound my $snd = SDLx::Sound->new( files => ( channel_01 => "/my_sound1.wav", channel_02 => "/my_sound2.ogg" ), loud => ( channel_01 => 80, channel_02 => 75 ), times => ( channel_01 => 0, # start channel_01 => 1256, # milliseconds channel_02 => 2345 ), fade => ( channel_02 => [2345, 3456, -20] ) )->play(); DESCRIPTION
You can think about the SDLx::Sound at 2 approaches. o A simple sound or o The sound of your game or app. Your application will say what the best approach. In a taste that resembles to perl and to SDL, our SDLx:Sound hooks at SDL::Audio and SDL::Mixer with a graceful and simple interface that can offer to monks a modern perlish way to manage sounds. An SDLx::Sound object can load sounds from filesystem, play it, adjust this loudness level or stops the sound. Each sound will play in the next available channel, so it can be handled isolately. METHODS
new Returns a new instance of SDLx::Sound load play $sdlx_sound->play('file.wav'); Play a file pause resume stop AUTHORS
See "AUTHORS" in SDL. COPYRIGHT &; LICENSE This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-05-28 pods::SDLx::Sound(3pm)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Color and Users

We work with Digital Workstations and some NT-Workstation which communicate by a reflection software (WRQ) with the UNIX-Server. We changed our main application (GIS-System) to true-color. Since the change two of our users with the reflection software can't start the application anymore. One is... (5 Replies)
Discussion started by: arn_ch
5 Replies

2. UNIX for Dummies Questions & Answers

Win2K & Sygate

My Win2K box is the gateway (Using Sygate) for my Linux box, and for some odd reason, I can't view my webpages that are HOSTED by my Linux box, on my Win2K browser...I believe there might be a certain file on the Win2K box that has something to do with the firewall for the internal computer (The... (5 Replies)
Discussion started by: ComTec
5 Replies

3. Programming

Compiling Errors -- Symbol referencing

I'm trying to compile a FTP_API program. To do this you must use the libftp.so libary. But that libary has references which are not defined. Has anyone had this problems and how is it corrected?? The command line looks like this:-------------------------------------------- # cc ftpstock.c -lftp... (5 Replies)
Discussion started by: spotanddot
5 Replies

4. UNIX for Dummies Questions & Answers

Hardware

Hi I have a problem to start up my Solaris Ultra 5. When it boots up I get a strange clicking sound, sounds like the hard drive that is "thinking" very hard. On the screen I get these messages: Boot device: Files and Args: Please check cable and try again Network link setup fail Time out... (8 Replies)
Discussion started by: Orange
8 Replies

5. UNIX for Dummies Questions & Answers

emacs error... help!

i am telnet-ing into my university's UNIX system and trying to edit some perl code in emacs. However any time i try to open it in emacs i get the following error message: > emacs project1.cgi Error: Couldn't find per display information > i also cannot create any new documents in emacs and... (7 Replies)
Discussion started by: jeffro
7 Replies

6. UNIX for Dummies Questions & Answers

How to configure my Sound Card????

I use sndconfig to configure it ..in addation the sample sound worked but the MIDI not work and game me an error from /var/log/messages I get that : Feb 18 09:04:35 localhost kernel: cs4232: set synthio and synthirq to use the wavefront facilities. Feb 18 09:04:50 localhost kernel: YM3812 and... (7 Replies)
Discussion started by: atiato
7 Replies

7. UNIX for Advanced & Expert Users

Sound Problems

Hi All I am having difficulty configuring sound on my system an wonder if anyone can help me. xmms refuses to play telling me that oss_open(): Failed to open audio device (/dev/sound/dsp): No such file or directory what I have done to try and fix this is 1. create /dev/sound/dsp ... (7 Replies)
Discussion started by: silvaman
7 Replies

8. Linux

sound driver

i install fedora core 4 but it fail to detect my sound card. my sound card is sigmatel. how can i solve this problem? can i install other sound driver? thx (9 Replies)
Discussion started by: wsc
9 Replies

9. UNIX for Dummies Questions & Answers

How to make sound using C under UNIX

i'm programming using C under UNIX. i wonder to how make sound using C ? any sound like "beep" would be fine. thx. :confused: (6 Replies)
Discussion started by: trapeze
6 Replies

10. Ubuntu

Scripting sound preferences?

I'm finding myself changing sound preferences (specifically, output) frequently, and I'd like to write a shell script to do this for me. Does anyone know what command(s) to use? (5 Replies)
Discussion started by: CRGreathouse
5 Replies

11. Linux

No sound

I reformatted my hard drive and installed Mandriva 2011. It works fine. I can go to the Internet The problem is no sound. I want to listen to songs from YouTube. Sound doesn't come. I see a man is singing on the screen. No sound. I had no problem with my old Mandriva. Sound and everything... (11 Replies)
Discussion started by: Toxic
11 Replies

12. Shell Programming and Scripting

Building a script to share music with SoundCloud

Thread removed (6 Replies)
Discussion started by: awc228
6 Replies

13. Shell Programming and Scripting

Play sound

hi i want to produce digit sounds.for ex: if my input text is four five six then code should able to produce sounds corresponding to digits which are stored in some directory as four.wav,five.wav etc.Please help me (8 Replies)
Discussion started by: sreejithalokkan
8 Replies

14. Red Hat

No sound in my Linux

I am not able to run any video file. Getting message something like : no audio facility. Is this may be problem of driver. If so please send me link for the same. I am working on Red Hat Fedora (Linux) (16 Replies)
Discussion started by: ravisingh
16 Replies

15. Solaris

Solaris 11 no sound despite finding hardware

Hello Everyone, I'm new to Solaris, less than a week to give an idea how green I am.:eek: Although new to UNIX, I've been running Linux (i.e. OpenSUSE, Ultimate Edition, Arch, and obviously Ubuntu) for many years, so, I decided to put Solaris 11 on my 12 core opteron. I had a bit of difficulty... (23 Replies)
Discussion started by: Nostradamus1973
23 Replies