07-12-2001
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
2. UNIX for Dummies Questions & Answers
Where should I go for sound card configurations? (2 Replies)
Discussion started by: confusedoflife
2 Replies
3. UNIX for Dummies Questions & Answers
sapp guys
i've got this little problem, i have no idea what kind of sound card i got
i check dmesg|more and its not there
is there any other way to find out ?
THX (4 Replies)
Discussion started by: challenger
4 Replies
4. 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
5. UNIX for Dummies Questions & Answers
Hello,
I have recently installed Red Hat 7.3 next to my Windows XP. Everything works fine, except for the sound card (Sound Blaster Audigy), which is not supported yet. I heard that I can install SB Live! drivers to get it to work, but being a complete linux newbie I don't know how to do that. Can... (3 Replies)
Discussion started by: LittleMan
3 Replies
6. UNIX for Dummies Questions & Answers
hi,
i have a sun sparc II machine. i would like to play music from this workstation.
so how should i check whether my machine has a sound card installed?
what command should i type?
pls enlighten me.
thanks (1 Reply)
Discussion started by: champion
1 Replies
7. UNIX for Dummies Questions & Answers
Hello,
How can i install the sound card on solaris 9.00 and also, how can i play MP3 and audio songs on solaris....
pls provide me the complete steps....
thnks (4 Replies)
Discussion started by: taurian1234
4 Replies
8. UNIX for Dummies Questions & Answers
Hello I have just installed Free BSD on my old computer system to learn how to use it and I can't get any sound. When I start KDE desktop I receve a message that says
"Sound server informational message:
Error while initializing the sound driver:
device /dev/dsp can't be opened (No such file... (1 Reply)
Discussion started by: ac101
1 Replies
9. Shell Programming and Scripting
I'm just wondering if there's a simple way (that could be used in a shell script) to tell if the sound card is in use (as in audio is being played)? (0 Replies)
Discussion started by: petebear
0 Replies
10. Solaris
hi all
my sound card not define in my unix box
how can i get driver for my sound card (3 Replies)
Discussion started by: xxmasrawy
3 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)