hello please write me a python code to take midi in text format input and give me .midi file in output for fl studio  Give two different versions of responses. Please separate the responses with 6 asterisk symbols: ******.
user