Add comments
This commit is contained in:
parent
175efbe96d
commit
b317fb2443
1 changed files with 3 additions and 0 deletions
|
@ -29,6 +29,7 @@ fun StringToSoundSequence(s : String) : List<SoundTypes> {
|
||||||
|
|
||||||
val first = when(s[0]) {
|
val first = when(s[0]) {
|
||||||
' ' -> listOf(SoundTypes.WORD_SPACE)
|
' ' -> listOf(SoundTypes.WORD_SPACE)
|
||||||
|
// Letters
|
||||||
'A' -> listOf(
|
'A' -> listOf(
|
||||||
SoundTypes.DIT,
|
SoundTypes.DIT,
|
||||||
SoundTypes.DAH,
|
SoundTypes.DAH,
|
||||||
|
@ -197,6 +198,7 @@ fun StringToSoundSequence(s : String) : List<SoundTypes> {
|
||||||
SoundTypes.DAH,
|
SoundTypes.DAH,
|
||||||
SoundTypes.LETTER_SPACE
|
SoundTypes.LETTER_SPACE
|
||||||
)
|
)
|
||||||
|
// Digits
|
||||||
'1' -> listOf(
|
'1' -> listOf(
|
||||||
SoundTypes.DIT,
|
SoundTypes.DIT,
|
||||||
SoundTypes.DAH,
|
SoundTypes.DAH,
|
||||||
|
@ -269,6 +271,7 @@ fun StringToSoundSequence(s : String) : List<SoundTypes> {
|
||||||
SoundTypes.DIT,
|
SoundTypes.DIT,
|
||||||
SoundTypes.LETTER_SPACE
|
SoundTypes.LETTER_SPACE
|
||||||
)
|
)
|
||||||
|
// Punctuation
|
||||||
'.' -> listOf(
|
'.' -> listOf(
|
||||||
SoundTypes.DIT,
|
SoundTypes.DIT,
|
||||||
SoundTypes.DAH,
|
SoundTypes.DAH,
|
||||||
|
|
Loading…
Add table
Reference in a new issue