Male Voice for Text-to-Speech Output in Xamarin - xamarin

I am using this Text-to-Speech Plugin: https://github.com/jamesmontemagno/TextToSpeechPlugin (Xam.Plugins.TextToSpeech)
The Speech output here is only female, even if I tweak it, the output will sound awful
Female: await CrossTextToSpeech.Current.Speak(Text, speakRate: (float)0.9, pitch: (float)1.1f);
Tweaked(for male): await CrossTextToSpeech.Current.Speak(Text, speakRate: (float)0.9, pitch: (float)0.3f, volume: (float)1.5, crossLocale: null);
I don't know what values to tweak here to produce a male voice, except for the pitch and speak rate, did anyone already found a solution for this?

Xamarin.Essentials use the built-in voices on Android and the user can choose to use either male or female alternatives when both are available.
That said, Xamarin.Essentials do not to my knowledge as of today provide any support to choose between the voices, only the Locales (languages):
https://learn.microsoft.com/en-us/dotnet/api/xamarin.essentials.locale?view=xamarin-essentials
I guess you can lower the pitch for a darker voice and raise it for a more high-pitched voice, but the basic voice is still male or female and might sound strange if you lower or raise the pitch too much.

Related

Video Filters for Microsoft Teams

I know this is a broad question but I can't seem to find what I'm looking for and it may be because I'm not searching for the right terms. What I am looking for is for someone to point me in the right direction.
Out of curiosity and to learn something new I would like to create a video filter for Microsoft Teams. This is way outside of my day to day kind of work.
The goal is just to create a rudimentary video filter. Like the "hello world" for Microsoft Teams video filtering.
Your help would be greatly appreciated
I don't know that Teams per se supports filters, but something like OBS could suit your needs. OBS supports virtual cameras and can then become the video input stream for Teams, and I'm pretty sure OBS supports video filters.

Microsoft Botframework and LUIS validation of input

I am currently writing a Cortana app using Microsoft's Bot Framework and LUIS for language processing.
The goal is to have the user specify a direction and axis for movement. For example: Move Z Axis Up.
In LUIS I have this translated with axis and direction entity like so:
Move {axis} axis {direction}.
My question is:
where is the proper place to validate this input? If the user says "Move Z axis left" obviously this makes no sense since z axis can only move up and down.
Should this be done programmatically in my Cortana app or can it be done using LUIS? Any help is appreciated. Thank you
You could try training LUIS to recognise it as a erroneous intent, so that you can proceed to handle it in your app code.
This might be the better way as LUIS will learn over time to recognise such intents and then provide more accurate results.
If you want to bring your user more details about why it's not working, you should do it on your code side. If it is made on LUIS side, you will either not flag the direction as an entity or throw the None intent given how you train it. From my point of view, it's not the good solution as you don't know which error is happening.
And you should also train your bot with the right combinations.

VAST/VPAID tags player

I'm looking for players with VAST/VPAID tags support. I know about JW Player and Kaltura player. Kaltura really expensive, JW is better option for me, 300USD per 2mill, but Im wondering if there is any other solution?
If I would have to be honest, I want the player mainly for Video Ads, content played after the ad will be 10secs random video, so I don't care about controlls support etc. All I need is player with support of VAST/VPAID tags and autoplay. Auto mute also would be nice feature, but it's not required (flash mainly).
Anyone? Thanks guys!
For HTML5 you can use Video.js with any of these two plugins:
http://theonion.github.io/videojs-vast-plugin/
https://github.com/googleads/videojs-ima

Incentives for rating in Google play

I just wanted to put a rate game pop up in my game in Google play. Is giving incentives for rating game in Google play illegal?
Thanks in advance
The should be absolutely nothing wrong with that, except for the chance that users are getting annoyed by it and give the app a worse rating ;)

iOS gamekit, card game players, & GKVoiceChatService

I'm working on a card game for iOS. I'm thinking game center integration is something I want to be leaning towards, but in terms of a card game, I'm not exactly sure what that would entail for the individual players. From the Apple class reference, it seems thatGKPlayer is what I want to be working with, but I also have my own player class that I think I'm going to need just to deal with card hands. I'm wonderring if my Player class should have a GKPlayer object in it or if that would be the wrong way to be going about it.
I'm also wonderring about the game center voice chat (I know this sounds completely unrelated to card games, but bear with me). I've not seen it implemented, so I'm not entirely sure how it works. Basically what I would need would be for it to be able to connect 4-10 players and to just be a voice chat sort of thing. It seems like the sort of thing that would need to display something on screen which I want to avoid. How would that work?
First Question's Answer :
Q: Player class should have a GKPlayer?
A: Well, that would be considered to be a good design. Because, a GKPlayer object will let you know the details of connected player who are currently participating in a game. However, It would be better if you can use the subclass of GKPlayer named GKLocalPlayer. So in that way you maintain an authenticity, one player with one device.
For more information on multiplayer game : Click here!
It seems like we can only have peer to peer voice chat. (But wait for an experts, to share more details with their own hacks!)

Resources