Skip to content

Commit

Permalink
outline some more queries for #109
Browse files Browse the repository at this point in the history
  • Loading branch information
t1-tracey committed Feb 17, 2020
1 parent 5532246 commit a47c8ff
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 10 deletions.
32 changes: 22 additions & 10 deletions python/communicator.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,26 +39,38 @@ def create_messages(self):
# TODO:

# query notes
# query song notation / input modes
# query song notation / input mode
modes_list = [InputMode.JIANPU, InputMode.SKY]
q_mode = QueryChoice(sender='music-cog', recipient='bot', question="Mode (1-" + str(len(modes_list)) + "): ",
foreword="Please choose your note format:\n", afterword=None,
reply_type=ReplyType.INPUTMODE,
limits=modes_list)
self.brain.store(q_mode)

# query song key

# query note shift

# info error ratio
# query song title
# query song headers
# send song

# query song title
q_song_title = QueryOpen(sender='music-cog', recipient='bot', question='What is the song title? (also used '
'for the file name)', foreword='',
afterword=None,
reply_type=ReplyType.TEXT, limits=None)
self.brain.store(q_song_title)

modes_list = [InputMode.JIANPU, InputMode.SKY]
q_mode = QueryChoice(sender='music-cog', recipient='bot', question="Mode (1-" + str(len(modes_list)) + "): ",
foreword="Please choose your note format:\n", afterword=None,
reply_type=ReplyType.INPUTMODE,
limits=modes_list)
self.brain.store(q_mode)
# query original_artists
q_original_artists = QueryOpen(sender='music-cog', recipient='bot', question='Original artist(s): ',
foreword='Please fill song info or press ENTER to skip:', afterword=None,
reply_type=ReplyType.TEXT, limits=None)
self.brain.store(q_original_artists)
# query transcript_writer

# send song

# query.send()
# query.receive('example answer')

def recall_queries(self):

Expand Down
2 changes: 2 additions & 0 deletions python/locales/lang.en.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
instructions: |
===== VISUAL MUSIC SHEETS FOR SKY:CHILDREN OF THE LIGHT =====

0 comments on commit a47c8ff

Please sign in to comment.