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]) {
|
||||
' ' -> listOf(SoundTypes.WORD_SPACE)
|
||||
// Letters
|
||||
'A' -> listOf(
|
||||
SoundTypes.DIT,
|
||||
SoundTypes.DAH,
|
||||
|
@ -197,6 +198,7 @@ fun StringToSoundSequence(s : String) : List<SoundTypes> {
|
|||
SoundTypes.DAH,
|
||||
SoundTypes.LETTER_SPACE
|
||||
)
|
||||
// Digits
|
||||
'1' -> listOf(
|
||||
SoundTypes.DIT,
|
||||
SoundTypes.DAH,
|
||||
|
@ -269,6 +271,7 @@ fun StringToSoundSequence(s : String) : List<SoundTypes> {
|
|||
SoundTypes.DIT,
|
||||
SoundTypes.LETTER_SPACE
|
||||
)
|
||||
// Punctuation
|
||||
'.' -> listOf(
|
||||
SoundTypes.DIT,
|
||||
SoundTypes.DAH,
|
||||
|
|
Loading…
Reference in a new issue