- fileName
- Name of the audio file to be created.
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As DicomWaveformGroup Dim fileName As String instance.SaveAudio(fileName) |
Parameters
- fileName
- Name of the audio file to be created.
For an example, refer to DicomDataSet.WaveformGroupCount.
- This method is very useful for extracting audio (wave) data from a DICOM object of type "Basic Voice Audio" (1.2.840.10008.5.1.4.1.1.9.4.1), which is typically used for report dictation.
- The resulting wave file has the following characteristics:
- Number of channels: will either be 1 or 2, based on the value of the number of channels for this multiplex group. You can call Leadtools.Dicom.DicomWaveformGroup.ChannelCount to get the number of channels in a multiplex group.
- Bits per sample (sample size) will always be 8.
- Samples per second (sampling rate): This will be the same as the sampling frequency for the waveform group, call GetSamplingFrequency to get this value.
- Format category: PCM, mu-Law or a-Law, based on the value of the waveform sample interpretation which can be retrieved by calling DicomWaveformGroup.GetSampleInterpretation.
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)