Function: blockread
BLOCKREAD Read one block from input
  Usage: f=blockread(L)
      
  Input parameters:
     L    : Number of samples.
  Output parameters:
     f     : Samples.
     valid : Input data valid flag.

  f=BLOCKREAD(L) reads next L audio samples according to source 
  specified in BLOCK. f is a LxW matrix, where columns are
  channels in the stream. 

  [f,valid]=blockrad(...) does the same and in addition it returns valid*
  flag, which is set to 1, except for the last block of the stream (e.g.
  at the end of a file).

  Function also control the playback, so it does not have to rely on
  whether the user called BLOCKPLAY.

  Block streaming uses several buffers to compensate for the processing
  delay variation. 


Url: http://ltfat.github.io/doc/blockproc/blockread.html

See also: block, blockplay.

Package: ltfat