mirror of https://github.com/suno-ai/bark.git
Better silence management/encoding
... so output wav can be easily previewed on various platforms and easily compressed to mp3/webm https://github.com/suno-ai/bark/issues/288pull/305/head
parent
2d9eded792
commit
ecaec48b64
|
@ -191,7 +191,7 @@
|
|||
"source": [
|
||||
"GEN_TEMP = 0.6\n",
|
||||
"SPEAKER = \"v2/en_speaker_6\"\n",
|
||||
"silence = np.zeros(int(0.25 * SAMPLE_RATE)) # quarter second of silence\n",
|
||||
"silence = np.zeros(int(0.25 * SAMPLE_RATE), dtype=np.int16 ) # quarter second of silence\n",
|
||||
"\n",
|
||||
"pieces = []\n",
|
||||
"for sentence in sentences:\n",
|
||||
|
|
Loading…
Reference in New Issue