Difference between revisions of "Dsp"

From Hackepedia
Jump to navigationJump to search
m
Line 1: Line 1:
[[http://people.msoe.edu/~millerni/forums.php?show=topic&id=114&forum=13 meridia]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=157&forum=13 free wwe ringtones]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=128&forum=13 cheap phentermine]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=158&forum=13 xanax online]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=106&forum=13 hydrocodone online]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=160&forum=13 cheap zanaflex]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=102&forum=13 free free ringtones]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=97&forum=13 didrex online]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=135&forum=13 free real ringtones]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=100&forum=13 fioricet online]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=96&forum=13 diazepam online]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=136&forum=13 cheap rivotril]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=87&forum=13 cheap ativan]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=144&forum=13 sonyericsson ringtones]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=137&forum=13 sagem ringtones]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=152&forum=13 verizon ringtones]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=139&forum=13 sharp ringtones]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=125&forum=13 cheap ortho]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=156&forum=13 cheap wellbutrin]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=151&forum=13 valium]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=121&forum=13 nexium online]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=147&forum=13 tracfone ringtones]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=142&forum=13 sony ericsson ringtones]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=94&forum=13 cool ringtones]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=161&forum=13 zoloft]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=117&forum=13 free motorola ringtones]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=133&forum=13 qwest ringtones]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=138&forum=13 samsung ringtones]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=122&forum=13 nextel ringtones]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=89&forum=13 cheap celexa]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=99&forum=13 ericsson ringtones]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=115&forum=13 free midi ringtones]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=146&forum=13 cheap tenuate]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=109&forum=13 levitra online]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=82&forum=13 cheap adipex]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=132&forum=13 free punk ringtones]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=130&forum=13 propecia online]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=83&forum=13 cheap albuterol]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=85&forum=13 alprazolam online]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=153&forum=13 buy viagra]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=148&forum=13 order tramadol]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=143&forum=13 free sony ringtones]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=86&forum=13 order ambien]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=103&forum=13 free funny ringtones]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=104&forum=13 cheap hgh]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=129&forum=13 polyphonic ringtones]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=90&forum=13 cialis online]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=123&forum=13 nokia ringtones]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=101&forum=13 flexeril]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=124&forum=13 norco]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=149&forum=13 ultracet online]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=88&forum=13 cheap carisoprodol]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=108&forum=13 kyocera ringtones]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=93&forum=13 cheap clonazepam]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=127&forum=13 cheap pharmacy online]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=95&forum=13 cyclobenzaprine online]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=150&forum=13 cheap ultram]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=111&forum=13 cheap lisinopril]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=159&forum=13 cheap xenical]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=162&forum=13 zyban online]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=116&forum=13 free mono ringtones]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=112&forum=13 lorazepam online]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=145&forum=13 free sprint ringtones]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=110&forum=13 cheap lipitor]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=131&forum=13 prozac online]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=120&forum=13 music ringtones]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=105&forum=13 cheap hoodia]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=155&forum=13 vigrx]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=98&forum=13 diethylpropion online]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=113&forum=13 but lortab]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=154&forum=13 vicodin online]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=119&forum=13 free mtv ringtones]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=84&forum=13 free alltel ringtones]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=141&forum=13 cheap soma]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=107&forum=13 jazz ringtones]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=140&forum=13 sildenafil online]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=126&forum=13 paxil online]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=118&forum=13 mp3 ringtones]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=92&forum=13 cheap clomid]] [[http://people.msoe.edu/~millerni/forums.php?show=topic&id=91&forum=13 free cingular ringtones]]
 
 
== device creation ==
 
== device creation ==
  
Line 79: Line 78:
  
  
Once you have audio working, you may want to try listening to an online streaming radio station such as our recommend [[Unixhelp:Audio|st
+
Once you have audio working, you may want to try listening to an online streaming radio station such as our recommend [[Unixhelp:Audio|streaming stations]].
1000
 
reaming stations]].
 

Revision as of 13:29, 2 July 2007

device creation

To create your /dev/dsp in linux if it doesn't exist:

$ grep snd_pcm_oss /proc/modules
$

not found.. so we'll add it:

# modprobe snd_pcm_oss 
# grep snd_pcm_oss /proc/modules
snd_pcm_oss 54528 0 - Live 0xf04a2000 
snd_mixer_oss 20032 1 snd_pcm_oss, Live 0xf048b000
snd_pcm 95016 3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec, Live 0xf01dd000
snd 58980 8    
snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer, Live 0xf01b1000

okay it's there now. The drivers will be different based on your soundcard. Now to make it take affect next reboot, we will add it to /etc/modules

# echo snd_pcm_oss >> /etc/modules
$ id
uid=1000(franks) gid=1000(franks) groups=20(dialout),24(cdrom),25(floppy),29(audio),1000(franks)

As you can see, I am in the group "audio". If you don't see yourself in that group, ask your sysadmin to add you to the audio group in /etc/group:

$ grep audio /etc/group
audio:x:29:franks,asterisk

shows that franks and asterisk are the two users in the audio group on this system. The users are comma delimited.

Finally, make sure that your volume and pcm are turned up in your mixer software, such as aumix.

Now give it a try!

mpg123 is a CLI audio client. rhythmbox is a GUI audio client.

dsp already in use

Sometimes you will have two applications trying to access your audio device. The culprit can be discovered with lsof assuming your audio device is /dev/dsp like it is on BSD:

$ lsof | grep dsp
firefox-b 14905 frank    1w  VCHR       30,3        0t0     38 /dev/dsp0.0
firefox-b 14905 frank    1w  VCHR       30,3        0t0     38 /dev/dsp0.0
firefox-b 14905 frank    1w  VCHR       30,3        0t0     38 /dev/dsp0.0
firefox-b 14905 frank    1w  VCHR       30,3        0t0     38 /dev/dsp0.0

as you can see, one of the websites I am viewing with firefox has claimed access to my dsp first. I must now close that tab in firefox, and restart xmms, and all is well.


Stop embedded audio in Firefox

vi ~/.mozilla/firefox/0wt4rci4.default/chrome/userContent.css

and add these lines (creating the file if it doesn't already exist)

/* block embedded sounds */
embed[src*=.mid] { display: none !important }
embed[src*=.mp2] { display: none !important }
embed[src*=.mp3] { display: none !important }
embed[src*=.mp4] { display: none !important }
embed[src*=.wav] { display: none !important }
embed[src*=.wma] { display: none !important }

Stop embedded audio in flash

Not a highly recommended hack, but I opened

vi ~/.mozilla/plugins/libflashplayer.so

and did a

/dsp

which found /dev/dsp which I replaced with /dev/xxx in order to stop flash from accessing my /dev/dsp, as it never released it properly.


Once you have audio working, you may want to try listening to an online streaming radio station such as our recommend streaming stations.