currency · currency examples example#1 data: $25052.085 inputformat: standard outputformat:...

4
Currency Basic information about this plugin: currency Plugin Name: Currency ($) Display Name: com.audium.sayitsmart.plug-ins.AudiumSayItSmartCurrency Class Name: Description, on page 1 Input Formats, on page 1 Output Formats, on page 2 Filesets, on page 2 Audio Files, on page 2 Currency Examples, on page 3 Description This Say It Smart type handles the reading of a currency value in dollars and cents. It only handles dollars and cents, so will work with U.S., Canadian, and other currencies using dollars and cents. The input data can optionally include a dollar sign ($) and does not need to include a decimal point. The amount can be positive or negative, and can even contain an exponent. The amount can be up to $999 trillion. The value is read normally, though if one component is zero, it will not be read. If the decimal contains more than two significant digits it will be rounded to the nearest cent. This plug-in uses the Unified CVP Number Say it Smart plug-in to render the dollar and cent amounts. It uses the same audio files so if recording was done to support Number, those files can be leveraged to support Currency. Input Formats Description Name (Display Name) Currency 1

Upload: others

Post on 13-Oct-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Currency · Currency Examples Example#1 Data: $25052.085 InputFormat: standard OutputFormat: dollars_cents Fileset enhanced Playback: “25”“thousand”“52”“dollars”“and”“9”“cents”

Currency

Basic information about this plugin:

currencyPlugin Name:

Currency ($)Display Name:

com.audium.sayitsmart.plug-ins.AudiumSayItSmartCurrencyClass Name:

• Description, on page 1• Input Formats, on page 1• Output Formats, on page 2• Filesets, on page 2• Audio Files, on page 2• Currency Examples, on page 3

DescriptionThis Say It Smart type handles the reading of a currency value in dollars and cents. It only handles dollarsand cents, so will work with U.S., Canadian, and other currencies using dollars and cents. The input data canoptionally include a dollar sign ($) and does not need to include a decimal point. The amount can be positiveor negative, and can even contain an exponent. The amount can be up to $999 trillion. The value is readnormally, though if one component is zero, it will not be read. If the decimal contains more than two significantdigits it will be rounded to the nearest cent.

This plug-in uses the Unified CVP Number Say it Smart plug-in to render the dollar and cent amounts. It usesthe same audio files so if recording was done to support Number, those files can be leveraged to supportCurrency.

Input FormatsDescriptionName

(Display Name)

Currency1

Page 2: Currency · Currency Examples Example#1 Data: $25052.085 InputFormat: standard OutputFormat: dollars_cents Fileset enhanced Playback: “25”“thousand”“52”“dollars”“and”“9”“cents”

The data can appear as a standard number with or without a minussign, decimal point, $ sign, and even an exponent. No commas areallowed.

standard

(Standard Currency)

Output FormatsDescriptionInput Format Depends OnName

(Display Name)

The dollar and cent amounts are readseparately.

standarddollars_cents

(X dollars and Y cents)

FilesetsDescriptionOutput Format

Depends OnName

(Display Name)

This fileset involves fewer audio files to render the currencyamount but at the cost of sounding a bit robotic. This directly

dollars_centsstandard

(Standard) correlates to the Unified CVPNumber Say it Smart plug-in’sstandard fileset.

This fileset involves more audio files to render a bettersounding currency amount. This directly correlates to the

dollars_centsenhanced

(Enhanced) Unified CVP Number Say It Smart plug-in’s enhancedfileset.

Audio FilesAll audio files must be named as appears below. The names do not have an extension, the developer canchoose whatever file type supported by their voice browser.

Standard Fileset

9876543210

19181716151413121110

negative9080706050403020

centcentsanddollardollarstrillionbillionmillionthousandhundred

Enhanced Fileset

9876543210

Currency2

CurrencyOutput Formats

Page 3: Currency · Currency Examples Example#1 Data: $25052.085 InputFormat: standard OutputFormat: dollars_cents Fileset enhanced Playback: “25”“thousand”“52”“dollars”“and”“9”“cents”

19181716151413121110

29282726252423222120

39383736353433323130

49484746454443424140

59585756555453525150

69686766656463626160

79787776757473727170

89888786858483828180

99989796959493929190

900800700600500400300200100

900080007000600050004000300020001000

centcentsanddollardollarstrillionbillionmillionthousandnegative

Currency ExamplesExample #1

$25052.085Data:

standardInput Format:

dollars_centsOutput Format:

enhancedFileset

“25” “thousand” “52” “dollars” “and” “9” “cents”Playback:

Example #2

0.01Data:

standardInput Format:

dollars_centsOutput Format:

standardFileset

“1” “cent”Playback:

Example #3

6.99E4Data:

Currency3

CurrencyCurrency Examples

Page 4: Currency · Currency Examples Example#1 Data: $25052.085 InputFormat: standard OutputFormat: dollars_cents Fileset enhanced Playback: “25”“thousand”“52”“dollars”“and”“9”“cents”

standardInput Format:

dollars_centsOutput Format:

standardFileset

“60” “9” “thousand” “9” “hundred” “dollars”Playback:

Example #4

-$69900Data:

standardInput Format:

dollars_centsOutput Format:

enhancedFileset

“negative” “69” “thousand” “900” “dollars”Playback:

Currency4

CurrencyCurrency Examples