Data Acquisition Toolbox | ![]() ![]() |
Specify the number of bits the sound card uses to represent each sample
Description
BitsPerSample
can be 8
or 16
. If BitsPerSample
is 8
, the sound card represents each sample with 8 bits. This means that each sample can be represented by any number between 0 and 255. If BitsPerSample
is 16
, the sound card represents each sample with 16 bits. This means that each sample can be represented by any number between 0 and 65,535.
For older Sound Blaster cards configured for full duplex operation, you may not be able to set BitsPerSample
to 16 bits for both the analog input and analog output subsystems. Instead, you need to set one subsystem for 8 bits, and the other subsystem for 16 bits.
Characteristics
Vendor |
Sound cards |
Usage |
AI, AO, Common |
Access |
Read/write |
Data type |
Double |
Read-only when running |
Yes |
Values
8 |
Represent data with 8 bits. |
{16} |
Represent data with 16 bits. |
![]() | Alphabetical List of Properties | COLA | ![]() |