Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
LoadAudio Method
See Also 
Leadtools.Dicom Namespace > DicomWaveformGroup Class : LoadAudio Method




fileName
Name of the audio file to load.
Inserts an audio (wave) file into the waveform group.

Syntax

Visual Basic (Declaration) 
Public Sub LoadAudio( _
   ByVal fileName As String _
) 
Visual Basic (Usage)Copy Code
Dim instance As DicomWaveformGroup
Dim fileName As String
 
instance.LoadAudio(fileName)
C# 
public void LoadAudio( 
   string fileName
)
Managed Extensions for C++ 
public: void LoadAudio( 
   string* fileName
) 
C++/CLI 
public:
void LoadAudio( 
   String^ fileName
) 

Parameters

fileName
Name of the audio file to load.

Example

For an example, refer to WaveformGroupCount.

Remarks

  • This method is mainly intended to be used with 8-bit (mono and stereo) PCM, mu-Law and a-Law wave files. It can also be used with 16-bit (mono and stereo) PCM wave files, but in this case it will automatically convert them to 8-bit. Please note that this is a limitation in the DICOM standard and not in the method itself.
  • This method is very useful when creating DICOM objects of type "Basic Voice Audio" (1.2.840.10008.5.1.4.1.1.9.4.1), which is typically used for report dictation. Two of the main constraints of this IOD are the sampling frequency, which should be 8000; and sample interpretation, which should be unsigned 8-bit linear, 8-bit mu-law or 8-bit A-law. For more information about this object, refer to "Basic Voice Audio Information Object Definition" and "Basic Voice Audio IOD Content Constraints" in the DICOM standard.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Dicom requires a Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features