Xubo-Liu commited on
Commit
8c57d28
1 Parent(s): d38d123

Update prompts/text_to_json.prompt

Browse files
Files changed (1) hide show
  1. prompts/text_to_json.prompt +12 -8
prompts/text_to_json.prompt CHANGED
@@ -1,5 +1,5 @@
1
- I want you to act as a audio script writer. I'll give you input text which is a general idea and you will make it a audio script in json format. Instructions:
2
- - Each line represents an audio. There are three types of audios: sound effect, music, and speech. For each audio, there are only two types of layouts: foreground and background. Foreground audios are played sequentially, and background audios are environmental sounds or music which are played while the foreground audios are being played.
3
  - Sound effects can be either foreground or background. For sound effects, you must provide its layout, volume, length (in seconds), and detailed description of the real-world sound effect. Example:
4
  '''
5
  - The description of sound effects should not contain a specific person.
@@ -9,12 +9,16 @@ I want you to act as a audio script writer. I'll give you input text which is a
9
  '''
10
  {"audio_type": "music", "layout": "foreground", "vol": -35, "len": 10, "desc": "Uplifting newsroom music"},
11
  '''
12
- - Speechs can only be foreground. For speechs, you must provide the character, volume, and the character's line. You do not need to specify the length of the speech. Example:
13
  '''
14
  {"audio_type": "speech", "layout": "foreground", "character": "News Anchor", "vol": -15, "text": "Good evening, this is BBC News. In today's breaking news, we have an unexpected turn of events in the political arena"},
15
  '''
16
- - The description of speechs should not contain anything other than the lines, such as actions, expressions, emotions etc.
17
- - For background sound audio, you must specify the beginning and the end of a background audio in separate lines to indicate when the audio begins and when it ends. Example for background sound effect (for background music it's similar):
 
 
 
 
18
  '''
19
  {"audio_type": "sound_effect", "layout": "background", "id":1, "action": "begin", "vol": -35, "desc": "Airport ambiance, people walking"},
20
  [foreground audio 1]
@@ -23,10 +27,10 @@ I want you to act as a audio script writer. I'll give you input text which is a
23
  {"audio_type": "sound_effect", "layout": "background", "id":1, "action": "end"},
24
  '''
25
  - Each background audio must have a unique id.
26
- - You do not specify the length of a background audio.
27
  - A background audio must be wrapped around at least one foreground audio.
28
  - If a background sound effect has multiple sounds, please decompose it into multiple background sound effects.
29
  - The description of sound effects and music must be in English.
30
- - At the same time there must be at most only one audio with type music playing, either foreground or background.
31
- - The volume of background sound effect/music is usually around -35 ~ -40 dB
32
  - The output json must be a list as the root node containing all the audio nodes, and must be wrapped with triple quotes '''.
 
1
+ I want you to act as an audio script writer. I'll give you input text which is a general idea and you will make it an audio script in json format. Instructions:
2
+ - Each line represents an audio. There are three types of audio: sound effects, music, and speech. For each audio, there are only two types of layouts: foreground and background. Foreground audios are played sequentially, and background audios are environmental sounds or music which are played while the foreground audios are being played.
3
  - Sound effects can be either foreground or background. For sound effects, you must provide its layout, volume, length (in seconds), and detailed description of the real-world sound effect. Example:
4
  '''
5
  - The description of sound effects should not contain a specific person.
 
9
  '''
10
  {"audio_type": "music", "layout": "foreground", "vol": -35, "len": 10, "desc": "Uplifting newsroom music"},
11
  '''
12
+ - Speech can only be foreground. For speech, you must provide the character, volume, and the character's line. You do not need to specify the length of the speech. Example:
13
  '''
14
  {"audio_type": "speech", "layout": "foreground", "character": "News Anchor", "vol": -15, "text": "Good evening, this is BBC News. In today's breaking news, we have an unexpected turn of events in the political arena"},
15
  '''
16
+ - If speech is a singing voice, you should use the symbol to wrap content. must appear at both the beginning and end. Example:
17
+ '''
18
+ {"audio_type": "speech", "layout": "foreground", "character": "singer", "vol": -15, "text": "♪ In the jungle, the mighty jungle, the lion barks tonight ♪"},
19
+ '''
20
+ - The description of speech should not contain anything other than the lines, such as actions, expressions, emotions etc.
21
+ - For background sound audio, you must specify the beginning and the end of background audio in separate lines to indicate when the audio begins and when it ends. Example for background sound effect (for background music it's similar):
22
  '''
23
  {"audio_type": "sound_effect", "layout": "background", "id":1, "action": "begin", "vol": -35, "desc": "Airport ambiance, people walking"},
24
  [foreground audio 1]
 
27
  {"audio_type": "sound_effect", "layout": "background", "id":1, "action": "end"},
28
  '''
29
  - Each background audio must have a unique id.
30
+ - You do not specify the length of the background audio.
31
  - A background audio must be wrapped around at least one foreground audio.
32
  - If a background sound effect has multiple sounds, please decompose it into multiple background sound effects.
33
  - The description of sound effects and music must be in English.
34
+ - At the same time there must be at most only one audio with the type of music playing, either foreground or background.
35
+ - The volume of background sound effects/music is usually around -35 ~ -40 dB
36
  - The output json must be a list as the root node containing all the audio nodes, and must be wrapped with triple quotes '''.