1
0
Fork 0

Add comments

This commit is contained in:
Alex Kotov 2024-04-04 07:23:57 +04:00
parent 175efbe96d
commit b317fb2443
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
1 changed files with 3 additions and 0 deletions

View File

@ -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,