Adds shabda integration #25
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Shabda is a tool to fetch random samples from https://freesound.org/ based on given words or to generate Text-to-Speech samples for use in impro sessions on instruments such as Tidal Cycles, Estuary or Strudel.
samples(definition: str)Fetch random samples from freesound
Any word can be a pack definition.
If you want more than one sample, separate words by a comma:
"blue,red"You can define how many variations of a sample to assemble by adding a colon and a number.
e.g.
"blue,red:3,yellow:2"will produce one 'blue' sample, three 'red' samplesand two 'yellow' sample.
speech(words: str, language: str = 'en-GB', gender: str = 'f')Generate Text-to-Speech samples.
If you want more than one sample, separate words by a comma:
"hello,bye"If you want a sentence, separate it with
_:"eita_carai"By default the language is
en-GBbut you can change this.The gender of the voice unfortunately can be
fandm.