Skip to content

SONIdealRate

  SONIDEALRATE gets or sets the ideal sampling rate on a channel

  RATE=SONIDEALRATE(FH, CHAN)
  returns the current rate on channel CHAN in file FH

  RATE=SONIDEALRATE(FH, CHAN, NEWRATE)
  returns the rate at the time of the call an sets a new rate if NEWRATE>0
  Caution: this ovewrites the existing rate setting in the file

  FH is the SON file handle, CHAN is the channel number (0-SONMaxChans()-1)

  Note that the ideal rate setting does not influence the real rate of 
  sampling

  Author:Malcolm Lidierth
  Matlab SON library:
  Copyright © The Author & King's College London 2005-2006