-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added iOS and macOS support #576
base: master
Are you sure you want to change the base?
Conversation
Implemented Objective-C++ wrapper around RHVoice core code to allow it's usage in Swift and Objective-C Added documentation and samples Created shell script to generate xcframework Added new job to workflow in order to build xcframework
606988f
to
ef06428
Compare
Hi! |
Hi @zstanecic, |
Hi,
Is it planned to make a speech synthesis implementation for screenreaders?
From: Ihor Shevchuk ***@***.***>
Sent: Friday, May 27, 2022 12:24 PM
To: RHVoice/RHVoice ***@***.***>
Cc: Zvonimir Stanečić ***@***.***>; Mention ***@***.***>
Subject: Re: [RHVoice/RHVoice] Added iOS and macOS support (PR #576)
Hi @zstanecic <https://github.com/zstanecic> ,
This is what I have for now. My plan is to add functionality based on demand from users of this xcframework.
I also have a plan to add support of cocoapods but I do not have experience with it for now, as I know we would need to host it pods file and xcframework somewhere.
—
Reply to this email directly, view it on GitHub <#576 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACVCDE2SG5QFRZQWSYIRR5DVMCPE3ANCNFSM5WWDHWNA> .
You are receiving this because you were mentioned. <https://github.com/notifications/beacon/ACVCDEZDCKCDGTRCNSYKUFLVMCPE3A5CNFSM5WWDHWNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOIPVTFFY.gif> Message ID: ***@***.*** ***@***.***> >
|
@zstanecic do you mean implementation of voiceover to help people with disabilities to use their device? |
I think this's indeed the case. definitely on ios. I am not sure about mac But knowing Apple, my hopes are not too high. |
It is worth noting that Apple is most likely going to expand list of nativity supported languages in iOS 16. https://www.apple.com/newsroom/2022/05/apple-previews-innovative-accessibility-features/?fbclid=IwAR1YjoMN1SB4q7labgxzMWc5C5fd03hbcMjf8xLF07kJLKYioJUb_3Eejso |
Not really. There were Russian and Ukrainian people asking, will there be RHVoice for Ios?
From: Ihor Shevchuk ***@***.***>
Sent: Saturday, May 28, 2022 11:09 PM
To: RHVoice/RHVoice ***@***.***>
Cc: Zvonimir Stanečić ***@***.***>; Mention ***@***.***>
Subject: Re: [RHVoice/RHVoice] Added iOS and macOS support (PR #576)
It is worth noting that Apple is most likely going to expand list of nativity supported languages in iOS 16.
https://www.apple.com/newsroom/2022/05/apple-previews-innovative-accessibility-features/?fbclid=IwAR1YjoMN1SB4q7labgxzMWc5C5fd03hbcMjf8xLF07kJLKYioJUb_3Eejso
Maybe @zstanecic <https://github.com/zstanecic> , it just make sense until Apple adds support of your language.
—
Reply to this email directly, view it on GitHub <#576 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACVCDEZBRSW3TSK4VYLTPCLVMKDN7ANCNFSM5WWDHWNA> .
You are receiving this because you were mentioned. <https://github.com/notifications/beacon/ACVCDE7UHLKTD74QCA2B3GLVMKDN7A5CNFSM5WWDHWNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOIP4A3XY.gif> Message ID: ***@***.*** ***@***.***> >
|
Sorry, but I thought of RHVoice as a library. What features should be included into RHVoice iOS to consider it as separate iOS app? |
The only use case, that I see from my little iOS experience, is that users of iOS RHVoice could use share menu to "share" some text to an app to "say" it out loud. Same can be done with online articles, by sharing a link to it. But this is the @Olga-Yakovleva's decision as well as to merge this PR or not. |
Sadly, Apple limits developers from writing synths for their platforms, especially iOS, iPadOS, tvOS, and watchOS. On the Mac it used to be doable (I saw someone port Eloquence to the Mac before it officially happened), but I'm not sure what it would take for Apple to add RHVoice as well, especially because its under the LGPL. Probably more doable than ESpeak and its GPL licensing, but it might still cause issues. Seeing as the primary function of the Android app is for usage with Android's text-to-speech system, I don't see a huge use for an app on iOS. That said the library would certainly be quite useful (other apps could use it, and maybe VoiceOver too, some day). |
I would like to retract my previous statement. As of iOS 16, its now possible to add your own voices to AVSpeechSynthesizer! Probably early alpha because its beta software, but if @IhorShevchuk could intigrate these APIs with this PR that would be amazing! https://developer.apple.com/documentation/avfaudio/avspeechsynthesisprovideraudiounit |
hello @IhorShevchuk I plan to dedicate time for this PR this month. please tell me if you plan to do further integration with IOS. |
it is certainly possible for mac os but not for ios.
I written rhvoice support for mac some years ago that i didn't publish
because of its implementation. it was a inter process communication
mechanism, which made possible apple speech synthesis subsystem to
send text to rhvoice process.
this native wrapper should work better.
for sample try to find morse synthesizer example in earlier xcode samples.
…On 5/29/22, Ihor Shevchuk ***@***.***> wrote:
It is worth noting that Apple is most likely going to expand list of
nativity supported languages in iOS 16.
https://www.apple.com/newsroom/2022/05/apple-previews-innovative-accessibility-features/?fbclid=IwAR1YjoMN1SB4q7labgxzMWc5C5fd03hbcMjf8xLF07kJLKYioJUb_3Eejso
Maybe @zstanecic, it just make sense until Apple adds support of your
language.
--
Reply to this email directly or view it on GitHub:
#576 (comment)
You are receiving this because you are subscribed to this thread.
Message ID: ***@***.***>
--
with best regards Beqa Gozalishvili
Tell: +995593454005
Email: ***@***.***
Web: https://gozaltech.org
Skype: beqabeqa473
Telegram: https://t.me/gozaltech
facebook: https://facebook.com/gozaltech
twitter: https://twitter.com/beqabeqa473
Instagram: https://instagram.com/beqa.gozalishvili
|
Hi @beqabeqa473, |
What @beqabeqa473 is talking about is out of date information. THe speech synthesis example he's referring to is 15+ years old and was written to target very old Mac OS versions. With iOS 16 and Mac OS Ventura, Apple has created a more modern Speech synthesis API that from my understanding will work on both iOS and Mac OS with the same code - See the link @TheQuinbox provided in his comment above. |
Even if code is written several years ago, it still works on 12.
Don't know about 13 though.
…On 10/11/22, pitermach ***@***.***> wrote:
What @beqabeqa473 is talking about is out of date information. THe speech
synthesis example he's referring to is 15+ years old and was written to
target very old Mac OS versions.
With iOS 16 and Mac OS Ventura, Apple has created a more modern Speech
synthesis API that from my understanding will work on both iOS and Mac OS
with the same code - See the link @TheQuinbox provided in his comment
above.
--
Reply to this email directly or view it on GitHub:
#576 (comment)
You are receiving this because you were mentioned.
Message ID: ***@***.***>
--
with best regards Beqa Gozalishvili
Tell: +995593454005
Email: ***@***.***
Web: https://gozaltech.org
Skype: beqabeqa473
Telegram: https://t.me/gozaltech
facebook: https://facebook.com/gozaltech
twitter: https://twitter.com/beqabeqa473
Instagram: https://instagram.com/beqa.gozalishvili
|
AVSpeechSynthesisProviderAudioUnit is much more modern and works perfectly :) this is how eloquence was implemented on both mac and iOS |
Could you tell please where to get eloquence for IOS?
…On 10/11/22, Quin ***@***.***> wrote:
AVSpeechSynthesisProviderAudioUnit is much more modern and works perfectly
:) this is how eloquence was implemented on both mac and iOS
--
Reply to this email directly or view it on GitHub:
#576 (comment)
You are receiving this because you were mentioned.
Message ID: ***@***.***>
--
with best regards Beqa Gozalishvili
Tell: +995593454005
Email: ***@***.***
Web: https://gozaltech.org
Skype: beqabeqa473
Telegram: https://t.me/gozaltech
facebook: https://facebook.com/gozaltech
twitter: https://twitter.com/beqabeqa473
Instagram: https://instagram.com/beqa.gozalishvili
|
Hi,
It is the part of Ios 16.
From: Beqa Gozalishvili ***@***.***>
Sent: Tuesday, October 11, 2022 5:21 PM
To: RHVoice/RHVoice ***@***.***>
Cc: Zvonimir Stanečić ***@***.***>; Mention ***@***.***>
Subject: Re: [RHVoice/RHVoice] Added iOS and macOS support (PR #576)
Could you tell please where to get eloquence for IOS?
…On 10/11/22, Quin ***@***.*** <mailto:***@***.***> > wrote:
AVSpeechSynthesisProviderAudioUnit is much more modern and works perfectly
:) this is how eloquence was implemented on both mac and iOS
--
Reply to this email directly or view it on GitHub:
#576 (comment)
You are receiving this because you were mentioned.
Message ID: ***@***.*** <mailto:***@***.***> >
--
with best regards Beqa Gozalishvili
Tell: +995593454005
Email: ***@***.*** <mailto:***@***.***>
Web: https://gozaltech.org
Skype: beqabeqa473
Telegram: https://t.me/gozaltech
facebook: https://facebook.com/gozaltech
twitter: https://twitter.com/beqabeqa473
Instagram: https://instagram.com/beqa.gozalishvili
—
Reply to this email directly, view it on GitHub <#576 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACVCDE2TDXJVCLRYNYD7T53WCWAWDANCNFSM5WWDHWNA> .
You are receiving this because you were mentioned. <https://github.com/notifications/beacon/ACVCDEYQJFLVIW7P4DFSVFLWCWAWDA5CNFSM5WWDHWNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOJP6PXDQ.gif> Message ID: ***@***.*** ***@***.***> >
|
aah, ok
…On 10/11/22, Zvonimir Stanečić ***@***.***> wrote:
Hi,
It is the part of Ios 16.
From: Beqa Gozalishvili ***@***.***>
Sent: Tuesday, October 11, 2022 5:21 PM
To: RHVoice/RHVoice ***@***.***>
Cc: Zvonimir Stanečić ***@***.***>; Mention ***@***.***>
Subject: Re: [RHVoice/RHVoice] Added iOS and macOS support (PR #576)
Could you tell please where to get eloquence for IOS?
On 10/11/22, Quin ***@***.*** <mailto:***@***.***> > wrote:
> AVSpeechSynthesisProviderAudioUnit is much more modern and works
> perfectly
> :) this is how eloquence was implemented on both mac and iOS
>
> --
> Reply to this email directly or view it on GitHub:
> #576 (comment)
> You are receiving this because you were mentioned.
>
> Message ID: ***@***.*** <mailto:***@***.***> >
--
with best regards Beqa Gozalishvili
Tell: +995593454005
Email: ***@***.*** <mailto:***@***.***>
Web: https://gozaltech.org
Skype: beqabeqa473
Telegram: https://t.me/gozaltech
facebook: https://facebook.com/gozaltech
twitter: https://twitter.com/beqabeqa473
Instagram: https://instagram.com/beqa.gozalishvili
—
Reply to this email directly, view it on GitHub
<#576 (comment)> , or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACVCDE2TDXJVCLRYNYD7T53WCWAWDANCNFSM5WWDHWNA>
.
You are receiving this because you were mentioned.
<https://github.com/notifications/beacon/ACVCDEYQJFLVIW7P4DFSVFLWCWAWDA5CNFSM5WWDHWNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOJP6PXDQ.gif>
Message ID: ***@***.*** ***@***.***> >
--
Reply to this email directly or view it on GitHub:
#576 (comment)
You are receiving this because you were mentioned.
Message ID: ***@***.***>
--
with best regards Beqa Gozalishvili
Tell: +995593454005
Email: ***@***.***
Web: https://gozaltech.org
Skype: beqabeqa473
Telegram: https://t.me/gozaltech
facebook: https://facebook.com/gozaltech
twitter: https://twitter.com/beqabeqa473
Instagram: https://instagram.com/beqa.gozalishvili
|
Thanks, @gut4. It should be helpful! |
Are there any updates regarding this? Discovered RH a while ago and really like how it sounds, and the fact that custom voices can be produced for it as well. On a Mac so can't use it as of now unfortunately. |
Hi,
To train RHVoice, you will need only linux.
From: ZachB100 ***@***.***>
Sent: Saturday, December 17, 2022 9:28 PM
To: RHVoice/RHVoice ***@***.***>
Cc: Zvonimir Stanečić ***@***.***>; Mention ***@***.***>
Subject: Re: [RHVoice/RHVoice] Added iOS and macOS support (PR #576)
Are there any updates regarding this? Discovered RH a while ago and really like how it sounds, and the fact that custom voices can be produced for it as well. On a Mac so can't use it as of now unfortunately.
—
Reply to this email directly, view it on GitHub <#576 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACVCDE6GKFSVK3ZCKBOB7OTWNYO5ZANCNFSM5WWDHWNA> .
You are receiving this because you were mentioned. <https://github.com/notifications/beacon/ACVCDE7FH5GO5A62BJHPJFDWNYO5ZA5CNFSM5WWDHWNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOKDM6Z6A.gif> Message ID: ***@***.*** ***@***.***> >
|
Sorry, I don't think I was clear in my last comment. I am using Colab to train, however it would be great to have RH integrated into macOS as a speech synthesizer using the new Apple API in macOS Ventura and iOS 16 which is what is being worked on currently. |
What's the status of this? Is there anything blocking us from merging this into master? If not, why hasn't that already happened (@Olga-Yakovleva )? It feels like this is exactly what we need to start work on integrating RHVoice with the new AUSpeechSynthesisProvider API. One potential blocker here is GPL, as Apple famously doesn't allow GPL in the App Store, so, if this is not already the case, we'd need to compile RHVoice without Mage when iOS is concerned. This isn't such a big issue on MacOS, as other distribution channels besides the Mac App Store exist, and they aren't encumbered with these restrictions. |
Hi,
Starting from 0.10.0, we no longer use mage to provide high quality.
From: mikolaj holysz ***@***.***>
Sent: Tuesday, December 27, 2022 7:53 PM
To: RHVoice/RHVoice ***@***.***>
Cc: Zvonimir Stanečić ***@***.***>; Mention ***@***.***>
Subject: Re: [RHVoice/RHVoice] Added iOS and macOS support (PR #576)
What's the status of this? Is there anything blocking us from merging this into master? If not, why hasn't that already happened ***@***.*** <https://github.com/Olga-Yakovleva> )?
It feels like this is exactly what we need to start work on integrating RHVoice with the new AUSpeechSynthesisProvider API.
One potential blocker here is GPL, as Apple famously doesn't allow GPL in the App Store <https://stackoverflow.com/questions/5662095/is-the-gplv2-compatible-with-the-ios-app-store-and-android-market> , so, if this is not already the case, we'd need to compile RHVoice without Mage when iOS is concerned.
This isn't such a big issue on MacOS, as other distribution channels besides the Mac App Store exist, and they aren't encumbered with these restrictions.
—
Reply to this email directly, view it on GitHub <#576 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACVCDEZSNZJPRLDWLBEZ3TDWPM3ITANCNFSM5WWDHWNA> .
You are receiving this because you were mentioned. <https://github.com/notifications/beacon/ACVCDE3GZSTFKH7KC4BG5TLWPM3ITA5CNFSM5WWDHWNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOKFWRZ5A.gif> Message ID: ***@***.*** ***@***.***> >
|
I don't even know if work on the speech API implementation is still ongoing
or not. It would be great to get some updates on this. The recently
released Mac and iOS port of EspeakNG should provide a good example of the
API in action if that is required. Here's the link:
https://github.com/espeak-ng/espeak-ng-ios-app
…On Tue, Dec 27, 2022 at 1:52 PM mikolaj holysz ***@***.***> wrote:
What's the status of this? Is there anything blocking us from merging this
into master? If not, why hasn't that already happened ***@***.***
<https://github.com/Olga-Yakovleva> )?
It feels like this is exactly what we need to start work on integrating
RHVoice with the new AUSpeechSynthesisProvider API.
One potential blocker here is GPL, as Apple famously doesn't allow GPL in
the App Store
<https://stackoverflow.com/questions/5662095/is-the-gplv2-compatible-with-the-ios-app-store-and-android-market>,
so, if this is not already the case, we'd need to compile RHVoice without
Mage when iOS is concerned.
This isn't such a big issue on MacOS, as other distribution channels
besides the Mac App Store exist, and they aren't encumbered with these
restrictions.
—
Reply to this email directly, view it on GitHub
<#576 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2E7LYPV3YUVDH5XQMQRLS3WPM3ITANCNFSM5WWDHWNA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
* master: (35 commits) readme fix for indian english (RHVoice#842) First indian english voice (RHVoice#841) Added manually-translated Spanish strings for the Android app. (RHVoice#838) Islom and dilnavoz: new uzbek voices (RHVoice#835) voice building utils: pitch extraction with the new f0 extractor - penn (RHVoice#832) updated the submodule reference which includes new slovak package (RHVoice#834) Fixed critical oversight which crashed the synthesizer when reading slovak or foreign words with unicode signs. (RHVoice#833) added serbian for installers (RHVoice#828) New language Serbian (RHVoice#825) added dragana (RHVoice#827) English: vocabulary list in compiled form (RHVoice#822) Changed Praat version to the latest version praat6317_linux64barren (RHVoice#792) English word list/ (RHVoice#821) Macedonian: updated dictionaries and MsiMac v2 (RHVoice#820) Change the default json url. Older versions of the app will not be able to work with some upcoming voices, so we need to publish them only for this and newer versions. (RHVoice#819) Update the stable core version for voice exe builds. (RHVoice#818) Installers for the new 1.14 core (RHVoice#814) Update Packaging status in documentation (RHVoice#801) Add missing copyright and license statements to two new files. Update version numbers. ...
Implemented Objective-C++ wrapper around RHVoice core code to allow it's usage in Swift and Objective-C
Added documentation and samples
Created shell script to generate xcframework
Added new job to workflow in order to build xcframework