Code generation prompts

JavaScript Code Continuation

GPT

This prompt is about completing a JavaScript code based on the provided code snippet. The response should adhere to the same style and syntax. It might also involve creating or modifying files if the code spans multiple files.

More details

Generate Python Code for MIDI File Loop

GPT

This prompt is about generating a Python script that can create a simple loop for MIDI file manipulation. It aims to generate a code that is understandable to individuals having basic Python background but not necessarily familiar with MIDI file handling. The response should be in the form of step-by-step instructions starting from library imports to downloading it as a MIDI file. The generated code should be well commented and a brief explanation of the code functionality should be provided at the end.

More details