ACQUIRING KNOWLEDGE WITH EXAMPLES



Audio Recorder
:
gnome-sound-recorder 2.91.2 Details : recorded as a wav file.
Play

$mplayer -nojoystick -nolirc hazard.mp3
MPlayer SVN-r33057 (C) 2000-2010 MPlayer Team

Playing hazard.mp3.
Audio only file format detected.
Clip info:
 Title:
 Artist:
 Album:
 Year:
 Comment:
 Genre: Unknown
Load subtitles in ./
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:  33.0 (33.0) of 33.0 (33.0)  2.0%


Exiting... (End of file)
$



MP3 Conversion
: pacpl Details : $pacpl hazard.wav -t mp3 Perl Audio Converter - 4.0.5 Converting: [hazard.wav] -> [mp3] ..done. Total files converted: 1, failed: 0 $
File Details

$file hazard.*
hazard.mp3: Audio file with ID3 version 2.3.0, contains: MPEG ADTS, layer III, v1, 128 kbps, 44.1 kHz, Monaural
hazard.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 32 bit, mono 22050 Hz
$


<?php

$numbers = array(2,3,4,5,1,8,11,0);
$count = count($numbers);

for($i=1;$i<$count;$i++){
    $j=$i-1;
    $key = $numbers[$i];
    while($j>=0 && $numbers[$j] >  $key){
        $numbers[$j+1] = $numbers[$j];
        $numbers[$j]= $key;
        $j= $j-1;
    }
}
print_r($numbers);


?>

<?php
/* bubble.php by detour@metalshell.com
 *
 * Generate random numbers then sort them.
 *
 * http://www.metalshell.com/
 *
 */


$array_size = 250;

// If you use v4.2.0 or lower uncomment this
// srand((double)microtime()*1000000);

// Generate $array_size random numbers to be sorted.
for($x = 0; $x < $array_size; $x++)
  $ran[$x] = rand(0, 500);

/* The bubble sort method.  If you don't know how it works it's very
 * simple, values are switched one at a time for each element. */
for($x = 0; $x < $array_size; $x++) {
  for($y = 0; $y < $array_size; $y++) {
    if($ran[$x] < $ran[$y]) {
      $hold = $ran[$x];
      $ran[$x] = $ran[$y];
      $ran[$y] = $hold;
    }
  }
}

for($x = 0; $x < $array_size; $x++)
  print $ran[$x] . "
"; ?>


Audio Recorder
:
gnome-sound-recorder 2.91.2 Details : recorded as a ogg file.
Play
$ogg123 part_time_lover.ogg

Audio Device:   Advanced Linux Sound Architecture (ALSA) output

Playing: part_time_lover.ogg
Ogg Vorbis stream: 2 channel, 44100 Hz

Done.
$


MP3 Conversion
: pacpl Details : $ffmpeg -i part_time_lover.ogg -ab 320k part-time-lover.mp3
File Details

$file part-time-lover.mp3
part-time-lover.mp3: Audio file with ID3 version 2.4.0, contains: MPEG ADTS, layer III, v1, 320 kbps, 44.1 kHz, JntStereo
$file part_time_lover.ogg
part_time_lover.ogg: Ogg data, Vorbis audio, stereo, 44100 Hz, ~160000 bps, created by: Xiph.Org libVorbis I
$

[bug-library]

Concept

Procedural Language

Explanation
A computer  programming language that  follows, in order, a  set of
commands. Examples  of computer procedural languages  are BASIC, C,
FORTRAN, and Pascal.

source : http://www.computerhope.com/jargon/p/proclang.htm

Copyright © 2009,  2010,  2011,  2012,  2013, 2014     BeautifulWork Project    e-mail:  ahiliation@yahoo.co.in
BeautifulWork Project comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.