10 More Discussions You Might Find Interesting
1. 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
2. Linux
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
3. 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
4. Red Hat
I have just bought a new HP Pavilion dv7 notebook (17", AMD Turion) and installed Fedora Core 10. I would like to add that i installed a completely eyecandy-less base system, only then installed a naked x-org Xserver and mwm (Motif Window Manager) on top of it. There is neither KDE nor GNOME nor... (2 Replies)
Discussion started by: bakunin
2 Replies
5. Solaris
My sound is messed up. All I get is white noise when I try to watch Youtube or something. I'm running Solaris 10 SPARC on a Sun Ultra 5, which has a built-in speaker. How do I fix it? (4 Replies)
Discussion started by: Bradj47
4 Replies
6. 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
7. 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
8. UNIX for Dummies Questions & Answers
Dear all,
I have been using suse linux for as long as I can remember. However, for every installation I get the same problem.
Once the installation is completed, and all of my devices (brand new hardware, from reknown brands) are detected, I decide to start doing some work, and play some... (2 Replies)
Discussion started by: bionicfysh
2 Replies
9. UNIX for Advanced & Expert Users
Hi,friends!!!
I have a problem with my integrated sound card AC97 on i815 and my version of FreeBSD is 4.5.I know that there is a driver for it called ich.c.gz,but the site containing it is unavaliable now.And is there another driver or some other ideas ?
z-z-z-z-z
:: email removed :: (1 Reply)
Discussion started by: kruch
1 Replies
10. UNIX for Dummies Questions & Answers
hey im having problems getting my sound to work, im running linux mandrake 8.0 and it detects the sound card but it will not play any sound if there are any ideas or slutions please let me know.-vassago (3 Replies)
Discussion started by: vassago
3 Replies
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)