情绪没用
如果你是对的,就没必要发脾气; 如果你是错的,就没资格去发脾气。 控制情绪,温柔说话。
如果你是对的,就没必要发脾气; 如果你是错的,就没资格去发脾气。 控制情绪,温柔说话。
丁磊:这是我第一次开除自己,人的一生总会面临很多机遇,但机遇都是有代价的,有没有勇气迈出第一步往往是人生的分水岭
当你全身心关注自己的时候,就是在告诉宇宙,我比对方重要。你身上的能量磁场决定你会遇见谁。
看网上说什么高敏感人是大后期人格,我觉得这只不过是自我安慰吧。高敏感人如果克服不了自己的性格弱点,一辈子活在痛苦当中,而且会错失很多很多机会。我现在可以说基本摆脱精神内耗了,有时候状态不好,我也不会自我否定,自我苛责,永远不会自己骂自己了,不会长时间陷入负面情绪了
import time
from azure.cognitiveservices.speech import AudioDataStream, SpeechConfig, SpeechSynthesizer, SpeechSynthesisOutputFormat
from azure.cognitiveservices.speech.audio import AudioOutputConfig
import azure.cognitiveservices.speech as speechsdk
speech_key, service_region = "XXXXXXXXXXXXXXXXX", "BBBBBBBBBBBBBBBBBBBB"
speech_config = speechsdk.SpeechConfig(subscription=speech_key, region=service_region)
speech_config.speech_synthesis_language = "en-US"
speech_config.speech_synthesis_voice_name = "en-US-AriaNeural"
# ####################################
# en-US-AIGenerate1Neural1 (Male)
# # en-US-AIGenerate2Neural1 (Female)
# # en-US-AmberNeural (Female)
# # en-US-AnaNeural (Female, Child)
# # en-US-AriaNeural (Female)
# # en-US-AshleyNeural (Female)
# # en-US-BrandonNeural (Male)
# # en-US-ChristopherNeural (Male)
# # en-US-CoraNeural (Female)
# # en-US-DavisNeural (Male)
# # en-US-ElizabethNeural (Female)
# # en-US-EricNeural (Male)
# # en-US-GuyNeural (Male)
# # en-US-JacobNeural (Male)
# # en-US-JaneNeural (Female)
# # en-US-JasonNeural (Male)
# # en-US-JennyMultilingualNeural3 (Female)
# # en-US-JennyNeural (Female)
# # en-US-MichelleNeural (Female)
# # en-US-MonicaNeural (Female)
# # en-US-NancyNeural (Female)
# # en-US-RogerNeural1 (Male)
# # en-US-SaraNeural (Female)
# # en-US-SteffanNeural (Male)
# # en-US-TonyNeural (Male)
#
audio_config = AudioOutputConfig(use_default_speaker=True)
speech_synthesizer = SpeechSynthesizer(speech_config=speech_config, audio_config=audio_config)
text_words = "It may have taken almost a year of bloodshed"
a="<speak version='1.0' xmlns='https://www.w3.org/2001/10/synthesis' xml:lang='en-US'><voice name='en-US-AriaNeural'><prosody rate='slow'>"
b="</prosody></voice></speak>"
text_wor=a+text_words+b
result = speech_synthesizer.speak_ssml_async(text_wor).get()
# result = speech_synthesizer.speak_text_async(text_words).get()
if result.reason != speechsdk.ResultReason.SynthesizingAudioCompleted:
print(result.reason)
with open("output"+str(time.time())+".mp3", "wb") as audio_file:
audio_file.write(result.audio_data)