home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Exec 5 / CD_Magazyn_EXEC_nr_5.iso / Programy / Muzyczne / SamX26.lha / Sample-X / doc / un2xff.doc < prev   
Text File  |  2000-01-11  |  2KB  |  85 lines

  1.  
  2. <un2xff> converts a sample from raw format to the native Exiff format used 
  3. by Sample-X. It takes the following arguments.
  4.  
  5.   -i
  6.  
  7.   Specifies one or more files containing raw samples. If creating a stereo
  8.   (type 1) sample, then all samples which appear on the right side should
  9.   be listed after all the samples for the left side.
  10.  
  11.   -l
  12.  
  13.   Gives the length of each sample (in bytes) specified with -i argument. 
  14.   A sample length must be even, otherwise un2xff complains. The number of 
  15.   lengths given should equal the number of raw samples. The exception here 
  16.   is if a stereo (type 1) sample is created. Since the length of the left 
  17.   side raw sample is assumed to be the same as the right side raw sample, 
  18.   it's only necessary to specify half the number of lengths. 
  19.  
  20.   -o
  21.  
  22.   Name of the output file
  23.  
  24.   -t
  25.  
  26.   The output sample can be of type 0 - mono,  1 - stereo
  27.  
  28.   -r
  29.  
  30.   The resolution of raw samples 0 - 8 bits, 1 - 16 bits
  31.   [-s]
  32.  
  33.   Specifies the playback source of a sample 0 - RAM, 1 - Disk sample
  34.  
  35.   [-w]
  36.  
  37.   A boolean flag indicating that sample is of  wave type (1) or is not (0).
  38.   Cannot have disk samples of wave type.
  39.  
  40.   [-f]
  41.  
  42.   Specifies a sample playback frequency otherwise the default value (14000) 
  43.   is used
  44.  
  45.   [-ls]
  46.  
  47.   Causes the sample to loop. The actual integer value gives the start point
  48.   of looping, which is an offset value (in bytes) from the start of the 
  49.   sample. Use -ls 0   to loop from beginning of sample. Cannot loop disk 
  50.   samples.
  51.  
  52.   [-ll]
  53.  
  54.   Gives the length (in bytes) of the looping section.
  55.  
  56.   [-U]
  57.  
  58.   Gives the usage for un2xff
  59.  
  60.  
  61. Examples
  62. --------
  63.  
  64. un2xff -i bass.raw -o bass.xff -l 250 -t 0               (mono sample)
  65.  
  66. un2xff -i snare.raw -o snare.xff -l 25000 -t 0           (CD quality 16bit)
  67.        -f 44100 -r 1                                     (snare sample)
  68.  
  69. un2xff -i piano_left.raw piano_right.raw -l 12000        (stereo sample)
  70.        -o piano.xff -t 1 
  71.  
  72.  
  73. un2xff -i bleep1.raw bleep2.raw -l 3456 7800             (mono wave)
  74.        -o bleep.xff -t 0 -w 1
  75.  
  76.  
  77. un2xff -i wave1_left wave2_left wave1_right wave2_right  (stereo wave)
  78.        -l 2600 3450 -o wave.xff -w 1 -t 1
  79.  
  80. un2xff -i u2_concert_left.raw u2_concert_right.raw 
  81.        -o u2.xff -l 1000000 -t 1 -s 1                    (stereo disk sample)
  82.  
  83.  
  84. un2xff -i bb.raw -l 54342 -o bb.xff -t 1 -ll 0           (looped stereo)
  85.