Open topic with navigation

# Convert Data Streams Between Permitted Types

You can readily convert streams that are of the same intrinsic data type from one type to the other. For example, you can convert between the three variants of the audio sample data type. The general syntax for in-place type conversion is `NewType``:``OldType`.

For example, if the input is a stereo audio file but you want to process the left channel only, set:

    [MySpeechToTextOnLeft]
    l, r ← wav (STEREO, input)
    f ← frontend (_, a:l)
    ...

© 2013-2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close We welcome your comments! To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm