Comments (3)
After I've read all doc I found something hidden in note:
"The Linux .tar package contains specific libraries for RHEL/CentOS 7. These are in lib/centos7-x64 as shown in the environment setting example for LD_LIBRARY_PATH above. Speech SDK libraries in lib/x64 are for all the other supported Linux x64 distributions (including RHEL/CentOS 8) and don't work on RHEL/CentOS 7."
Let me translate it for people who need extra help like me:
vim ~/.bashrc
export SPEECHSDK_ROOT="/root/speechsdk"
export CGO_CFLAGS="-I$SPEECHSDK_ROOT/include/c_api"
export CGO_LDFLAGS="-L$SPEECHSDK_ROOT/lib/centos7-x64 -lMicrosoft.CognitiveServices.Speech.core"
export LD_LIBRARY_PATH="$SPEECHSDK_ROOT/lib/centos7-x64:$LD_LIBRARY_PATH"
source ~/.bashrc
To replace similar instructions in offical doc.
from cognitive-services-speech-sdk-go.
However, I couldn't make it work.
In my case,
if outcome.Result.Reason == common.SynthesizingAudioCompleted {
fmt.Printf("Speech synthesized: [%s].\n", text)
}
was called, but
speechSynthesizer.SynthesisCompleted(func(event speech.SpeechSynthesisEventArgs) {
fmt.Printf("SynthesisCompleted")
defer event.Close()
})
was not.
from cognitive-services-speech-sdk-go.
Please include the SDK logs files:
https://learn.microsoft.com/en-us/azure/ai-services/speech-service/how-to-use-logging
from cognitive-services-speech-sdk-go.
Related Issues (20)
- Mem leak when using NewAudioDataStreamFromSpeechSynthesisResult to read audio HOT 3
- Platform support request: Windows (Go) HOT 5
- Unable to run on Mac Again! HOT 1
- How to set timeout(sensitivity) to make audio recognition work? HOT 2
- github.com\Microsoft\cognitive-services-speech-sdk-go\common\error.go:10:11: fatal error: speechapi_c_error.h: No such file or directory // #include <speechapi_c_error.h> HOT 3
- Auto Detect Source language is giving result only in the last element of the Source Language Configuration List
- Received a cancellation: Web socket is not open. HOT 2
- 'speechapi_c_error.h' file not found HOT 2
- cannot go build HOT 3
- StartContinuousRecognitionAsync : NoMatch HOT 2
- how to use language identification by go
- Runtime error HOT 3
- Feature Request: Real-time diarization GO HOT 1
- ipv6 connect failure HOT 2
- undefined: speech.SpeechSynthesisEventArgs HOT 5
- Issues with Undefined References When Following Quickstart Guide for Speech SDK in Go HOT 1
- How to get sentence word timestamp results for real-time speech recognition ? HOT 3
- Installation issue in docker image
- Unable to change TTS output format in BotFrameworkConfig
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cognitive-services-speech-sdk-go.