LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Closed Thread
  Search this Thread
Old 01-23-2010, 07:03 PM   #256
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 203Reputation: 203Reputation: 203

testing
 
Old 01-23-2010, 10:56 PM   #257
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 203Reputation: 203Reputation: 203
testing again
 
Old 01-23-2010, 10:59 PM   #258
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 203Reputation: 203Reputation: 203
this is getting on my nerves
 
Old 01-23-2010, 11:00 PM   #259
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 203Reputation: 203Reputation: 203
one more time for kicks
 
Old 01-24-2010, 04:53 AM   #260
affinity
Member
 
Registered: Nov 2009
Distribution: Slackware64
Posts: 132

Rep: Reputation: 20
I am posting this as a test too.
 
Old 01-29-2010, 06:08 PM   #261
MrCode
Member
 
Registered: Aug 2009
Location: Oregon, USA
Distribution: Arch
Posts: 864
Blog Entries: 31

Rep: Reputation: 148Reputation: 148
Quote:
Originally Posted by pixellany
Code:
cat /dev/random > /dev/dsp
Do you promise I will not damage my speakers if I try this?
(yes I know this post is old, but I only just now read it )

cat'ing /dev/random into /dev/dsp doesn't give anything for me (possibly because of the way /dev/random gets its values?), but

Code:
cat /dev/urandom > /dev/dsp
gives really loud white noise! No speaker damage, but make sure you have your volume turned down
 
Old 01-29-2010, 07:09 PM   #262
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Quote:
Originally Posted by Tuttle View Post
I just got bored... test test testicle
Reminded me of a joke I heard before:

If a quiz is quizzical, then what is a test?
 
Old 01-29-2010, 07:11 PM   #263
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
I decided to try the white noise thing, but:

Code:
$ cat /dev/urandom > /dev/dsp
bash: /dev/dsp: Device or resource busy
 
Old 01-29-2010, 09:55 PM   #264
MrCode
Member
 
Registered: Aug 2009
Location: Oregon, USA
Distribution: Arch
Posts: 864
Blog Entries: 31

Rep: Reputation: 148Reputation: 148
Quote:
Code:
bash: /dev/dsp: Device or resource busy
Maybe you're running something else that's using the audio device?

Possibly FF (or whatever your browser is) is hijacking the audio for some reason, and you don't have hardware mixing enabled...?

EDIT: I wonder if there's a way to get that output to the screen (FYI, yes I've tried /dev/fb0, fb1, etc. They all give me back "No such device" /dev/fb gives no output). If I do get that working, though, it'll be on my Puppy machine (it's sort of like my Linux lab rat )

Last edited by MrCode; 01-30-2010 at 12:20 AM.
 
Old 01-30-2010, 12:50 AM   #265
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Original Poster
Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
I just tried it for the first time ever, and it works for me. It isn't brutally loud, or very exciting, but it works.
Might be better to cat the entire filesystem into the dsp instead!
 
Old 01-30-2010, 01:27 AM   #266
MrCode
Member
 
Registered: Aug 2009
Location: Oregon, USA
Distribution: Arch
Posts: 864
Blog Entries: 31

Rep: Reputation: 148Reputation: 148
Quote:
Might be better to cat the entire filesystem into the dsp instead!
I've cat'ed non-sound files into /dev/dsp before...pretty cool stuff. I find .bmp and .iso files the most interesting

I can also open raw files with ReZound and get them to play back at 44100Hz sample rate. You could make some interesting techno with some of this stuff, LOL.
 
Old 01-30-2010, 04:17 AM   #267
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
Quote:
Originally Posted by GrapefruiTgirl View Post
I just tried it for the first time ever, and it works for me. It isn't brutally loud, or very exciting, but it works.
Might be better to cat the entire filesystem into the dsp instead!
Ha! I liked the urandom idea, but this is a whole new level of nonsense!

testicle testicle 123-icle
 
Old 01-30-2010, 07:25 AM   #268
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
cat /dev/urandom > /dev/dsp worked this time. Pretty neat!
 
Old 01-30-2010, 07:28 AM   #269
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Also tried cat /boot/vmlinuz26 > /dev/dsp. Unlike all the Linux jokes say, I did not hear the voice of God. Just more static.
 
Old 01-30-2010, 07:54 AM   #270
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

Rep: Reputation: Disabled
cat /dev/urandom > /dev/dsp = white noise
cat /dev/sda2 > /dev/dsp = short burst sounding like a synthesised distorted electric guitar, followed by a rhythmic drum/metronome type noise.
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gawk related issue scbops Programming 6 08-17-2007 10:45 AM
Help me diagnose this internet problem (DNS related) WebGraphics Linux - Networking 9 06-01-2007 11:33 AM
NFS related issue push19180 Linux - Networking 1 05-19-2006 07:36 AM
process related issue LinuxRam Linux - Networking 1 09-12-2004 04:24 PM
configure qt thread issue (just compiled qt w/ -thread option) cleff Linux - Software 8 05-07-2004 11:11 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 09:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration