01-24-2012
No, you did not. But I am not going to ask a fourth time.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
how do i configure sound on a laptop in FreeBSD 4.4 the laptop is a Green753+
i think the sound is a ess ? can any one help please
tryed to make a genric kerl
but did not work (1 Reply)
Discussion started by: amicrawler
1 Replies
2. UNIX for Advanced & Expert Users
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
3. UNIX for Dummies Questions & Answers
Howdy all,
I have a creative vibra 16 sound card and Mandrake linux 9. I can't seem to get the sound server to run (it comes up with errors). I'm a bit of a linux newb so I'd really appreciate any help on what I have to do to get it working. Thanks!
~ Paul (2 Replies)
Discussion started by: KrazyGuyPaul
2 Replies
4. UNIX for Dummies Questions & Answers
A user's default permissions when creating new files or directories is set by the umask of either the system or in the startup script of the user itself. For example, I have 'umask 022' in my .profile which means that my default permissions will be 755. Typically, the system default umask is 022,... (1 Reply)
Discussion started by: wmosley2
1 Replies
5. Linux
i installed Red Hat Fedora (successfully this time) and my sound card wasnt automticly found or what ever. so how do i get my sound working and stuff? how do i gonfigure the sound card? how do i get it to detect the sound card? (4 Replies)
Discussion started by: xcaliber
4 Replies
6. Linux
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
7. UNIX for Dummies Questions & Answers
how to disable anoying beep sound??? (4 Replies)
Discussion started by: nnn
4 Replies
8. UNIX for Advanced & Expert Users
hi all
i have a problem that if i use something like firefox it will grab the sound device and not release it, so i can not use skype
is there a command to see what is using the audio device
i am using Fedora
thaks
Adam (3 Replies)
Discussion started by: ab52
3 Replies
9. OS X (Apple)
There is a change with UnIX version concerning these two platforms. I own a Power G4 Mac with OS 10.4.11 and a Mac Book Pro with Lion OS 10.7.2. There are some problems of compatibilities between the two UNIX versions.
Under OS 10.4.11, these three UNIX commands work, in order to produce sounds,... (4 Replies)
Discussion started by: shub22
4 Replies
10. Red Hat
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
LEARN ABOUT DEBIAN
sdlx::sound
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)