| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Data Acquisition Toolbox |
| Contents | Index |
| Learn more about Data Acquisition Toolbox |
StandardSampleRates can be On of Off. If StandardSampleRates is Off, then it is possible to set the sample rate to any value within the bounds supported by the hardware. For most sound cards, the lower bound is 8.000 kHz, while the upper bound is 44.1 kHz. For newer sound cards, an upper bound of 96.0 kHz might be supported. The specified sample rate is rounded up to the next integer value.
If StandardSampleRates is On, then the available sample rates snap to a small set of standard values. The standard values are 8.000 kHz, 11.025 kHz, 22.050 kHz, and 44.100 kHz. If you specify a sampling rate that is within one percent of a standard value, then the sampling rate snaps to that standard value. If you specify a sampling rate that is not within one percent of a standard value, then the sampling rate rounds up to the closest standard value.
Regardless of the StandardSampleRates value, if you specify a sampling rate that is outside the allowed limits, then an error is returned.
Vendor | Sound cards |
Usage | AI, AO, Common |
Access | Read/write |
Data type | String |
Read-only when running | Yes |
On | The sample rate can be set only to a small set of standard values. |
{Off} | If supported by the hardware, the sample rate can be set to any value within the allowed bounds, up to a maximum of 96.0 kHz. |
![]() | PortAddress | TransferMode | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |