Commit Graph

43 Commits

Author SHA1 Message Date
Jeremy Rand d7c430f588 Major rework of the network code, splitting out the speech recognition aspects and creating separate threads for read and write. This improves handling of network connection closure by the other end and other network connectivity errors. Add some unit tests for the connection code. 2022-03-16 18:13:56 -04:00
Jeremy Rand 923d0bf967 A fairly big rework of the code to split the network handling code from the speech handling code. Also, introduce a thread for reading from the socket and a separate thread for writing to the socket. That way, disconnections made by the NDA are handled correctly. 2022-03-15 23:58:04 -04:00
Jeremy Rand de1cab8207 Update the readme to reflect the latest status. 2022-03-10 23:12:58 -05:00
Jeremy Rand 11589ad0bb Final changes before starting beta testing. 2022-03-08 23:05:23 -05:00
Jeremy Rand b2c2cbd587 Add code to pace the text to the GS to reduce the amount of re-typing required. 2022-02-22 23:52:00 -05:00
Jeremy Rand 241190600e Some minor tweaks to try to get speech recognition working from MacOS. It is still not working from my x86 iMac but I just tested this on our new M1 MacBook Air and it does work there. Not sure what the difference is and hope it is just a problem on my iMac. 2022-02-21 23:22:58 -05:00
Jeremy Rand 72a49275a9 Fix button appearance in dark mode. Add the heard text the UI below the buttons. Convert to MacOS Roman character set so words like "resume" appear with the correct accents on the GS. 2022-01-18 22:51:28 -05:00
Jeremy Rand dc3db26243 Connect up the speech forwarder to the new UI. 2022-01-11 23:30:41 -05:00
Jeremy Rand c5e6cc70a5 More work on the GSView. 2021-12-28 23:21:47 -05:00
Jeremy Rand abab6bb844 Put uuids in the iCloud data about each destination and start building the view for a specific destination to control the connection, listening and debug. 2021-12-21 23:19:42 -05:00
Jeremy Rand ab4ea0ca5d Add icon images to the project. 2021-12-21 15:18:12 -05:00
Jeremy Rand 644170dec4 Add a comment about the problems with syncing with iCloud. 2021-11-03 23:32:16 -04:00
Jeremy Rand 0138a4de79 Watch iCloud for changes in the destination list. 2021-11-03 23:30:49 -04:00
Jeremy Rand dffbd0ec1c Add code to load and save the destinations to iCloud. Not yet subscribed to watch for iCloud changes though. 2021-11-03 23:20:29 -04:00
Jeremy Rand 0528a7db41 Move the destination data model stuff out of the UI. 2021-11-03 22:55:00 -04:00
Jeremy Rand 2c58886439 More updates to improve behaviour of the destinations list. 2021-11-02 23:39:57 -04:00
Jeremy Rand c9936e82f5 Add code for a popover for adding new destinations. 2021-11-02 23:04:02 -04:00
Jeremy Rand 3b2d4beb55 Lots of UI changes towards allowing the user to add multiple destinations, sync them with iCloud and a better UI in general on all platforms. Not all hooked up yet though. 2021-10-26 23:19:22 -04:00
Jeremy Rand 81e0925f6f Move application logic out of view code. 2021-10-19 00:55:58 -04:00
Jeremy Rand fbdc3c4f99 Remove the application logic code from the view code. 2021-10-19 00:48:37 -04:00
Jeremy Rand ada7984d32 Rename to ListenerGS 2021-09-15 22:42:53 -04:00
Jeremy Rand 81385a4b8e Enable a MacOS target. 2021-09-15 22:36:32 -04:00
Jeremy Rand e7445c21d3 Update the readme file. 2021-07-21 17:24:34 -04:00
Jeremy Rand c4c1f1d58d Update the build number. 2021-07-20 20:02:19 -04:00
Jeremy Rand 52855a1e01 Add a missing privacy message to the plist. Map new line to carriage return for the GS. 2021-07-20 19:59:33 -04:00
Jeremy Rand 083c938e0d Some UI improvements but it is still really rough. Also, a bunch of debug visible in the UI which is nice. 2021-07-20 19:42:47 -04:00
Jeremy Rand 07d3bb88c7 Update listening state when the recognizer times out. 2021-07-20 19:14:08 -04:00
Jeremy Rand b389139826 Fix the backspace character. 2021-07-20 19:04:38 -04:00
Jeremy Rand 2a7361afa8 Send the text heard on the TCP connection. 2021-07-18 16:13:07 -04:00
Jeremy Rand 8178ba4aaf Open a TCP connection to the GS. Send a message indicating when listening starts and stops. Need to actually send the text next. 2021-07-18 15:39:56 -04:00
Jeremy Rand 1c691cdc05 Also mention the use of the Speech Framework from iOS in the readme. 2021-07-17 16:13:34 -04:00
Jeremy Rand bb911cc125 Add info about the use of BinUtils in the readme. 2021-07-17 16:11:39 -04:00
Jeremy Rand 111312e2f6 Add BinUtils also to provide a way to do packing of the structures for the message. Again, running into problems with the packaging so resorting to directly copying the code. In this case, it is Swift Package Manager which isn't working for some reason. It looks like the package is just too old to be supported in the latest. 2021-07-17 16:10:33 -04:00
Jeremy Rand f84cf7cd18 Add a link in the README to SwiftSocket. 2021-07-17 15:56:29 -04:00
Jeremy Rand cb83bb85ae Include the license of the SwiftSocket code. 2021-07-17 15:49:32 -04:00
Jeremy Rand be95708466 Add SwiftSocket to the project. I fought with cocoapods for a while but opted to just directly include the code because I was tired of fighting. 2021-07-17 15:48:24 -04:00
Jeremy Rand b7c020be62 Some very minor UI changes. 2021-07-16 23:20:52 -04:00
Jeremy Rand 65ffb20ac7 Add an IP address textfield and conditionally enable the listen button on validating the IP address (not implemented yet). 2021-07-16 23:12:01 -04:00
Jeremy Rand 7f8328cc9b Some basic code to turn on the speech recognizer on iOS and update the UI based on the text heard. This code is based on the SpokenWord demo app from Apple. 2021-07-16 22:58:41 -04:00
Jeremy Rand da478782d4 Add a build phase to increment the build number with every build. 2021-07-16 14:53:17 -04:00
Jeremy Rand 9f3dc2c7c2 Add a readme file. 2021-07-16 12:57:01 -04:00
Jeremy Rand f6f489e1ab Add a license file. 2021-07-16 12:53:59 -04:00
Jeremy Rand c9e72aea6a Initial Commit 2021-07-16 12:46:54 -04:00