1.0.4 • Published 6 years ago

castle-audio v1.0.4

Weekly downloads
3
License
ISC
Repository
github
Last release
6 years ago

how to use this npm package

before you can use this package,you need a baidu aip project,this is the websitehttps://ai.baidu.com/docs#/TTS-API/top

first : you need install package for your node project use this code in command

npm i -S castle-audio

then : import the function

import {set_token} from 'castle-audio'
set_token('your baidu aip token here')

then : you can use the function text2audio to play a text audio

import {text2audio} from 'castle-audio'
text2audio('hi,i am wiki')
text2audio('hi,i am wiki1')
1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago