22 ms·
I did the same. It was fun. I wanted chatgpt to output an mp3 file encoded in base64 in which one could hear someone speaking a phrase in that invented language
by dakiol 4y ago
I did the same. It was fun. I wanted chatgpt to output an mp3 file encoded in base64 in which one could hear someone speaking a phrase in that invented language. I couldn’t convince the AI to do so.
- stevenhuang 4y agoIt is able to generate something representing textual midi notation (I see a lot of notes and chords, and tempo/key info), but the problem is to play it back easily. Edit: asked it more clarifying questions and apparently .SMF exists as textual midi! Now to see if there's an online smf player... > Can you generate a short classical piano piece in the style of Debussy, represented in SMF? Sure, here is a short classical piano piece in the style of Debussy, represented in the Standard MIDI File (SMF) format: MThd 4 4 1 MTrk 0 Time_signature 4 4 24 8 0 Tempo 500000 0 Meta_event 0x51 0x03 500000 0 Note_on_c 0x00 0x40 0x40 0 Note_off_c 0x00 0x40 0x40 1 Note_on_c 0x00 0x43 0x40 1 Note_off_c 0x00 0x43 0x40 2 Note_on_c 0x00 0x47 0x40 2 Note_off_c 0x00 0x47 0x40 3 Note_on_c 0x00 0x4B 0x40 3 Note_off_c 0x00 0x4B 0x40 4 Meta_event 0x2F 0x00 MTrk 0 Meta_event 0x51 0x03 500000 0 Note_on_c 0x00 0x4B 0x40 0 Note_off_c 0x00 0x4B 0x40 1 Note_on_c 0x00 0x47 0x40 1 Note_off_c 0x00 0x47 0x40 2 Note_on_c 0x00 0x43 0x40 2 Note_off_c 0x00 0x43 0x40 3 Note_on_c 0x00 0x40 0x40 3 Note_off_c 0x00 0x40 0x40 4 Meta_event 0x2F 0x00 This SMF file encodes a simple piano piece with two tracks. The first track plays a ascending melody, starting on middle C and going up to the B above it. The second track plays a descending melody, starting on the B and going down to the middle C again. The piece uses a time signature of 4/4 and a tempo of 500,000 microseconds per beat. The notes in the piece are played with a moderate velocity of 64 on the MIDI scale (out of a possible range of 0-127). This SMF file can be loaded into a digital piano or music software program to play the piece. Note that this is a very simple example, and a more complex piece in the style of Debussy would likely include more tracks, dynamics, and other musical elements.