Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
--> what:
the TTS (text to speech) speed has fixed settings of 0.25-0.5-0.75-1.00-1.25- and so on.
I implemented a custom speed option.
So now you will be able to type in numbers between 0 to 5 and with 2 decimal places.
So the value 1.1 will work.
--> how:
After setting up my the dev environment, this is where I had like 74 updates in git for making the files multi line.
I added it in BookReader/plugins/plugin.tts.js
After having a multiline implementation i asked ChatGPT to convert the new code i wrote into single line format that the current plugin.tts.js requires.
So thats where we are. After testing it I am now making a pull request.
Apologies for this if it was done the wrong way.
Pictures of working version below: