LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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-30-2010, 09:14 AM   #271
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,076
Blog Entries: 52

Rep: Reputation: Disabled

Quote:
Originally Posted by MrCode View Post
.iso files the most interesting
Yes!!!
cat /home/brian/ISOs/winxpp.iso > /dev/dsp = giant angry wasp, followed by chopping wood, humming/whistling, outboard motors, loads of weird stuff. Better than Aphex Twin.
Must listen to all of it next time.

Last edited by brianL; 01-30-2010 at 09:15 AM.
 
Old 01-30-2010, 12:28 PM   #272
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Original Poster
Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Aphex Twin = Very cool -- haven't listened to that stuff in a while!
 
Old 01-30-2010, 12:30 PM   #273
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,076
Blog Entries: 52

Rep: Reputation: Disabled
Come To Daddy!

http://www.youtube.com/watch?v=5Az_7U0-cK0

Last edited by brianL; 01-30-2010 at 12:31 PM.
 
Old 01-30-2010, 12:35 PM   #274
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Original Poster
Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Question Wheel of Jeopardy..

Time for 'LQ Wheel Of Fortune Mixed With Jeopardy'. The category is "before and after".

The board (Wheel Of Fortune style):
Code:
_ _ _ _ _ _ _
_ _ _ _ _ _
_ _ _ _
The answer (Jeopardy style):
Code:
This androgynous person sings with a long face, about communication between two equals.
The solution is near! Good luck, you have 30 seconds.
 
Old 01-30-2010, 12:48 PM   #275
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,076
Blog Entries: 52

Rep: Reputation: Disabled
I give up. My brain's on standby.
 
Old 01-30-2010, 02:06 PM   #276
gymnart
Member
 
Registered: Oct 2005
Distribution: SUSE 11.4
Posts: 331

Rep: Reputation: 30
testing again for the fun of it.
??

Last edited by gymnart; 01-30-2010 at 02:07 PM. Reason: see if it has an icon
 
Old 01-30-2010, 02:47 PM   #277
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,076
Blog Entries: 52

Rep: Reputation: Disabled
Given some more .isos the /dev/dsp treatment:
Slackware 4.0 = rhythmic saw wave synth
haiku = as above, but lower pitch
Fascinating, huh?
 
Old 01-30-2010, 03:49 PM   #278
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714
I noticed that cat-ing 8-bit 8000Hz .wav files into /dev/dsp actually plays them! This doesn't work with 16-bit wavs, though.
 
Old 01-30-2010, 03:57 PM   #279
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,076
Blog Entries: 52

Rep: Reputation: Disabled
.isos are the best thing I've tried so far.
 
Old 01-30-2010, 04:28 PM   #280
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714
Quote:
Originally Posted by brianL View Post
.isos are the best thing I've tried so far.
I would like to try but I do not have any .ISOs.
 
Old 01-30-2010, 04:29 PM   #281
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Original Poster
Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by MTK358 View Post
I would like to try but I do not have any .ISOs.
If you've got the `rawread` script on your system (or use the `dd` command) you can just pipe a CD or DVD into the dsp
 
Old 01-30-2010, 05:17 PM   #282
MrCode
Member
 
Registered: Aug 2009
Location: Oregon, USA
Distribution: Arch
Posts: 864
Blog Entries: 31

Rep: Reputation: 148Reputation: 148
Quote:
If you've got the `rawread` script on your system (or use the `dd` command) you can just pipe a CD or DVD into the dsp
Couldn't you just do:

Code:
cat /dev/(CDROM device) > /dev/dsp
instead?
 
Old 01-31-2010, 12:14 PM   #283
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714
I thought about making a C program that creates a file containing a sine wave to cat to /dev/dsp:

Code:
#include <stdio.h>
#include <math.h>

int main() {
	double duration = 5; // Duration of tone (in seconds)
	double frequency = 500; // Frequency of tone (in Hertz)
	double samplerate = 8000; // Sample rate of wave (in samples/second)
	
	duration = (int) samplerate * duration;
	
	double i;
	double y;
	for(i=0; i<duration; i++) {
		y = sin(((samplerate / frequency) * i) * 2 * 3.14159);
		y *= 127;
		y += 128;
		putchar((int) y);
	}
	return 0;
}
For some reason it creates this linking error:

Code:
$ gcc mkwave.c -o mkwave
/tmp/cc0qhg4Y.o: In function `main':
mkwave.c:(.text+0x7b): undefined reference to `sin'
collect2: ld returned 1 exit status
 
Old 02-07-2010, 06:06 PM   #284
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,234

Rep: Reputation: 184Reputation: 184
Has anybody tried
Code:
wget -O - http://www.linuxquestions.org/questions/general-10/testing-thread-about-nothing-im-trying-to-diagnose-an-lq-related-firefox-issue-745067/page19.html | cat /dev/dsp
 
Old 02-07-2010, 07:53 PM   #285
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714
Quote:
Originally Posted by smeezekitty View Post
Has anybody tried
Code:
wget -O - http://www.linuxquestions.org/questions/general-10/testing-thread-about-nothing-im-trying-to-diagnose-an-lq-related-firefox-issue-745067/page19.html | cat /dev/dsp
Kind of sounds like someone trying to talk over a huge amount of static.
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 11:45 AM
Help me diagnose this internet problem (DNS related) WebGraphics Linux - Networking 9 06-01-2007 12:33 PM
NFS related issue push19180 Linux - Networking 1 05-19-2006 08:36 AM
process related issue LinuxRam Linux - Networking 1 09-12-2004 05:24 PM
configure qt thread issue (just compiled qt w/ -thread option) cleff Linux - Software 8 05-08-2004 12:11 AM


All times are GMT -5. The time now is 02:53 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration