LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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


Reply
  Search this Thread
Old 12-26-2015, 08:49 AM   #16
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,118
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474

1st test on a

Code:
harry@biker:~
$ linuxinfo
Linux biker 4.2.1-antix.2-486-smp #5 SMP Wed Sep 30 15:14:04 EEST 2015
One Intel Celeron M 1396MHz processor, 2793.18 total bogomips, 2010M RAM
System library 2.19.0
Which is I know, beefier than your IBM T22 but I figured since I had it out. Why not post that I test it

Code:
harry@biker:~/test
$ ls
badfeelin      musicarchiv.tar.bz2  pesong        realsong       v9exp.sh
bigsong        newsamplesong        pesong_sh.sh  samples
experiment.sh  output.txt.sh        quietsong     spacemancover
Code:
harry@biker:~/test
$ cat output.txt.sh
aplay -q samples/bass_long.raw -r 19027.313840043 &
aplay -q samples/kick.raw -r 16000 &
sleep 0.230
sleep 0.230
aplay -q samples/snare.raw -r 16000 &
sleep 0.230
aplay -q samples/bass_long.raw -r 19027.313840043 &
aplay -q samples/kick.raw -r 16000 &
sleep 0.230
aplay -q samples/bass_long.raw -r 19027.313840043 &
aplay -q samples/kick.raw -r 16000 &
sleep 0.230
sleep 0.230
<snip>
aplay -q samples/kick.raw -r 16000 &
sleep 0.125
sleep 0.125
sleep 0.125
aplay -q samples/kick.raw -r 16000 &
sleep 0.125
aplay -q samples/snare.raw -r 16000 &
sleep 0.125
sleep 0.125
sleep 0.125
sleep 0.125
harry@biker:~/test
$
Conky graph meters on here did not show any strain anywheres yet. But this sound chip may not have the problem processing because it is

Code:
harry@biker:~
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 1: Intel [HDA Intel], device 0: AD1981 Analog [AD1981 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Intel [HDA Intel], device 1: AD1981 Digital [AD1981 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
harry@biker:~
$ inxi -A
Audio:     Card Intel 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller
           driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k4.2.1-antix.2-486-smp
So no crash on this later IBM with a

Code:
harry@biker:~
$ inxi -f
CPU:       Single core Intel Celeron M (-UP-) cache: 1024 KB
           speed: 1396 MHz (max)
           CPU Flags: acpi apic bts clflush cmov cx8 de dts fpu fxsr mca mce
           mmx msr mtrr nx pae pbe pge pse sep ss sse sse2 tm tsc vme
Just a question? Was sound expected? I see no mp3 in the folders but just text files like

Code:
harry@biker:~/test/quietsong
$ ls
1-blong   3-bell1  5-chord1  7-chord3  9-chord5       drumtrack  song.s2
2-bshort  4-bell2  6-chord2  8-chord4  compiled_song  remov
arry@biker:~/test/quietsong
$ cat 3-bell1
declare -a track3=(

0 # FIRST SECTION START
12
0
7
0
0
0
0
15
0
0
0 #
0
10 
0 
0 #e
0 #s
12
0
7
0
0
0
0
15
0
0
10
0
15
0 
0  #e
0 # FIRST SECTION START cp
12
0
7
0
0
0
0
15
0
0
0 #
0
10 
0 
0 #e
0 #s
12
0
7
0
0
0
0
15
0
0
10
0
15
0 
0  #e
0 #s #########
8
11
15
0
0
0
0
18
0
0
15
0
0
0
0 #e
0 #s
10
6
3
0
0
0
0
0
0
0
0
0
0
0
0 #e
0 #s
13
9
18
0
0
0
0
21
0
0
18
0
0
0
0 #e
0 #s
11
7
4
0
0
0
0
0
0
0
3
0
0
0
0 #e ###o
0 #s #########
8
11
15
0
0
0
0
18
0
0
15
0
0
0
0 #e
0 #s
10
6
3
0
0
0
0
0
0
0
0
0
0
0
0 #e
0 #s
13
9
18
0
0
0
0
21
0
0
18
0
0
0
0 #e
0 #s
11
7
4
0
0
0
0
0
0
0
3
0
0
0
0 #e ###o


)
harry@biker:~/test/quietsong
Anyways. That is it from me for today. I want to go riding after it warms up.
 
Old 12-26-2015, 01:50 PM   #17
PatrickMay16
Member
 
Registered: Apr 2005
Location: London, England.
Distribution: Debian oldstable
Posts: 56

Original Poster
Rep: Reputation: 53
Thanks for testing it out.
Yeah it should be making sound, are you sure your volume's up and not muted?

Also try cd'ing to the folder and running this command:
Code:
./v9exp.sh pesong/song.s2
The way it works is that the text files contain instructions for what notes to play, the actual sounds are 8bit PCM samples which are contained in the 'samples' folder. The *.s2 files are the songs, which can be played back by v9exp.sh.

The output.txt.sh is just a compiled copy of all the songs, reduced to 'aplay' and 'sleep' commands.
 
Old 12-27-2015, 01:04 PM   #18
PatrickMay16
Member
 
Registered: Apr 2005
Location: London, England.
Distribution: Debian oldstable
Posts: 56

Original Poster
Rep: Reputation: 53
By the way, if anyone's interested, here is a video of it making my IBM laptop crash:
https://www.youtube.com/watch?v=Br7f4M46Z0Y

In the video it quickly prints some error messages and then reboots itself.

Last edited by PatrickMay16; 12-27-2015 at 01:05 PM.
 
Old 12-27-2015, 02:25 PM   #19
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,118
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Broke out the IBM T23 for this test.

Code:
riffraff@posersuk:~
$ inxi -Fxz
System:    Host: posersuk Kernel: 4.0.5-antix.1-486-smp i686 (32 bit gcc: 4.9.2)
           Desktop: IceWM 1.3.8
           Distro: antiX-15-rc1.1-V_386-full Killah P 20 June 2015
Machine:   Mobo: IBM model: 26474MU
           Bios: IBM v: 1AET64WW (1.20 ) date: 10/18/2006
CPU:       Single core Mobile Intel Pentium III - M (-UP-) cache: 512 KB
           flags: (pae sse) bmips: 2397 speed: 1200 MHz (max)
Graphics:  Card: S3 Graphics SuperSavage IX/C SDR bus-ID: 01:00.0
           Display Server: X.Org 1.16.4 driver: vesa
           Resolution: 1024x768@61.00hz
           GLX Renderer: Gallium 0.4 on llvmpipe (LLVM 3.5, 128 bits)
           GLX Version: 3.0 Mesa 10.3.2 Direct Rendering: Yes
Audio:     Card Intel 82801CA/CAM AC'97 Audio Controller
           driver: snd_intel8x0 ports: 1c00 18c0 bus-ID: 00:1f.5
           Sound: Advanced Linux Sound Architecture v: k4.0.5-antix.1-486-smp
Network:   Card-1: Intel 82801CAM (ICH3) PRO/100 VE (LOM) Ethernet Controller
           driver: e100 v: 3.5.24-k2-NAPI port: 6400 bus-ID: 02:08.0
           IF: eth0 state: down mac: <filter>
           Card-2: Ralink RT2800 802.11n PCI
           driver: rt2800pci v: 2.3.0 bus-ID: 07:00.0
           IF: wlan0 state: up mac: <filter>
Drives:    HDD Total Size: 80.0GB (22.4% used)
           ID-1: /dev/sda model: ST980815A size: 80.0GB
Partition: ID-1: / size: 7.8G used: 2.9G (39%) fs: ext4 dev: /dev/sda1
           ID-2: /home size: 18G used: 1.2G (7%) fs: ext4 dev: /dev/sda3
           ID-3: swap-1 size: 2.15GB used: 0.00GB (0%) fs: swap dev: /dev/sda2
Sensors:   System Temperatures: cpu: 54.0C mobo: 53.0C
           Fan Speeds (in rpm): cpu: 0
Info:      Processes: 106 Uptime: 25 min Memory: 353.1/1004.9MB
           Init: SysVinit runlevel: 5 Gcc sys: 4.9.2
           Client: Shell (bash 4.3.301) inxi: 2.2.28 
riffraff@posersuk:~
This time have sound when I did

Code:
riffraff@posersuk:~
$ cd test
riffraff@posersuk:~/test
$ ./v9exp.sh pesong/song.s2
Now playing file pesong/song.s2 
End
riffraff@posersuk:~/test
My last test on the IBM Z60M. You were right. Sound was muted via a IBM hotkey. Probably
one of my pets helping me with the test.

Ok, here goes nothing. We Will see if she crashes.

Code:
riffraff@posersuk:~/test
$ ./output.txt.sh
I am going to leave Iceweasel open to stress the cpu and I have conky running also

Well. I ran the whole test. No crash, music played loud for minutes. Here is my conky screenshot to show stress in case you are interested.

My cpu is

Code:
riffraff@posersuk:~/test
$ inxi -f
CPU:       Single core Mobile Intel Pentium III - M (-UP-) cache: 512 KB
           speed: 1200 MHz (max)
           CPU Flags: cmov cx8 de fpu fxsr mca mce mmx msr mtrr pae pge pse
           pse36 sep sse tsc vme
aplay device is

Code:
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: I82801CAICH3 [Intel 82801CA-ICH3], device 0: Intel ICH [Intel 82801CA-ICH3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
http://postmyimage.com/img2/977_screenshot1.jpg


Anyways. I took a screenshot during the test. Here it is but nothing really to glean out of it like your video.

http://postmyimage.com/img2/843_screenshot.jpg

Hope That Helps.
Happy Trailz, Rok
 
Old 12-27-2015, 02:41 PM   #20
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
I don't get it -- nowhere near causing a crash here but seems to be saying "penis" a lot. Is that the point?
 
Old 12-28-2015, 09:05 AM   #21
PatrickMay16
Member
 
Registered: Apr 2005
Location: London, England.
Distribution: Debian oldstable
Posts: 56

Original Poster
Rep: Reputation: 53
Thanks for testing. Seems like it's worked without causing a crash on your systems.

@273
Quote:
I don't get it -- nowhere near causing a crash here but seems to be saying "penis" a lot. Is that the point?
Oh, that's just that particular song. For a song that doesn't have PENIS in it, you could try quietsong/song.s2
 
Old 12-28-2015, 09:39 AM   #22
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by PatrickMay16 View Post
Thanks for testing. Seems like it's worked without causing a crash on your systems.

@273

Oh, that's just that particular song. For a song that doesn't have PENIS in it, you could try quietsong/song.s2
Fair enough, was a little amusing.
 
  


Reply



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
Upstart script not being run on system startup... ddenton Linux - General 1 11-23-2011 08:59 AM
/home dir. wont mount after system crash. I have to run fsck to mount it again. why? druonysus Linux - Desktop 9 08-19-2010 05:27 AM
Getting an /etc/init.d script to run at system shutdown forrie Linux - Server 6 05-05-2010 01:19 PM
Should checkarray script run on a RAID 1 system? Midahed Linux - Software 2 09-11-2008 08:39 AM
How to run a script at system startup? correro Linux - Newbie 4 01-20-2006 09:12 AM

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

All times are GMT -5. The time now is 10:19 AM.

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