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
 
LinkBack Search this Thread
Old 01-30-2010, 08:14 AM   #271
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 6,705
Blog Entries: 51

Rep: Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244

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 08:15 AM.
 
Old 01-30-2010, 11:28 AM   #272
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

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

Rep: Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244
Come To Daddy!

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

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

Original Poster
Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
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, 11:48 AM   #275
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 6,705
Blog Entries: 51

Rep: Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244
I give up. My brain's on standby.
 
Old 01-30-2010, 01: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 01:07 PM. Reason: see if it has an icon
 
Old 01-30-2010, 01:47 PM   #277
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 6,705
Blog Entries: 51

Rep: Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244
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, 02:49 PM   #278
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
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, 02:57 PM   #279
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 6,705
Blog Entries: 51

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

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
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, 03:29 PM   #281
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Original Poster
Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
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, 04:17 PM   #282
MrCode
Member
 
Registered: Aug 2009
Location: Oregon, USA
Distribution: Arch
Posts: 864
Blog Entries: 31

Rep: Reputation: 144Reputation: 144
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, 11:14 AM   #283
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
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, 05:06 PM   #284
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,208

Rep: Reputation: 147Reputation: 147
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, 06:53 PM   #285
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


All times are GMT -5. The time now is 12:31 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