← Crea Video Lyrics Guide  ·  Crea Video Lyrics  ·  demicons.it  ·  Italiano

Convert Audio to MIDI

Dettato: transcribe a recording into MIDI tracks, listen to them and save a variant copy with selected changes.

Conversion and destination

Choose a supported audio file (MP3, WAV, FLAC, M4A, AAC, OGG or OPUS), or drag it into the form. Dettato creates a multitrack MIDI. The default destination is <audio name>_Files/<audio name>.mid. Reopening the same audio reuses an existing MIDI so you can listen and edit it without rendering again. You can choose an existing MIDI source or destination. A new conversion replaces an existing file only after it succeeds; on failure, the previous MIDI is preserved.

Conversion can be stopped with the dedicated cancel button. The original audio and Dettato output remain protected: variant options are saved to a separate copy.

At the bottom of Input and output, the estimated time is on the left and Convert to MIDI, Cancel and Close are on the right. Cancel appears during conversion.

Timing, logs and results

On macOS and Windows, the first click on Convert to MIDI automatically prepares Python and Dettato in the user account; an Internet connection is required and setup may take some time. Model weights are downloaded automatically on the first render. On Linux, prepare the runtime with the tools in the tools/dettato folder. The displayed estimate is approximate. On this Mac, CPU-only tests have taken about 4 minutes of processing per 1 minute of audio (a 1:4 ratio). Treat this as a planning figure, not a guarantee: track content, CPU, memory and model-cache state affect runtime.

On Linux and Windows, Dettato GPU acceleration requires a CUDA-compatible NVIDIA GPU and at least 6 GiB of free VRAM (6144 MiB) on the first GPU visible to PyTorch. If free memory is lower, CUDA is unavailable, or the check fails, transcription starts on the CPU. For CPU rendering, budget about 5 minutes of processing per minute of audio, or more. Actual times depend on the computer and track. The selected device is recorded in LOG_DETTATO.txt.

LOG_DETTATO.txt is kept alongside the MIDI and records render events and, when available, duration, estimate, elapsed time, device and a track summary. Track names, GM programs and note counts are model estimates, not proof of the actual instruments.

Channels and preview

After rendering, the form lists detected MIDI channels and lets you exclude them from playback and the saved copy. When channel exclusion is enabled, uncheck the channel to mute it. Selection is remembered for that MIDI; changes during playback refresh the preview while retaining position when possible. Play, Pause, Stop and the seek bar control the song. Click the desired position or drag the thumb; preview jumps to that point when you release it.

Preview uses FluidSynth and ffplay. Choose the SF2 SoundFont in the Audio rendering tab. Settings are stored in creavideolyrics_audio_midi.ini in the user folder: global SoundFont and defaults, plus values associated with the current MIDI.

Analyze MIDI issues creates a read-only diagnostic report for suspicious guitar, drum and other covered events. These are points to check against the original recording; the report does not automatically correct anything or modify the MIDI.

The diagnostic report is saved as a text file next to the MIDI. Double-click a timestamp in the report window to play from that point.

MIDI edits

Enabled options are applied to the exported copy; the original Dettato MIDI remains unchanged. Select a channel and enable its flag to set volume (0–200%), transpose (±12 semitones), or a General MIDI program. A 0% volume mutes the channel. Volume, transposition and program changes can also be heard in the preview.

When saving a copy, excluded channels, volume, transposition, programs and enabled variant options are applied to that copy. Some processing cannot be represented as audio in MIDI, such as synthesis effects and convolution reverb.

MIDI corrections

The MIDI corrections tab, next to MIDI editing, contains independent correction flags. When enabled, they operate on the exported copy and preview, never on the source MIDI:

Corrections depend on the notes, GM program and MIDI events present. Breath applies only to programs recognized as winds; choir-to-strings checks the GM program, not the track’s text label. Listen to each variant and turn off corrections that do not help the song.

100/110 string balancing: when preview detects both drums and strings, drums are the 100% reference and sustained string peaks are reduced towards 110%, with a maximum 6 dB cut to keep strings audible. If the saved variant matches the latest balanced preview exactly, the same curve is represented in the copy as CC7 automation. SoundFont/player affects the result; if audio or settings no longer match the preview, the form warns and does not reuse the curve.

Audio rendering

This tab configures the sound used for preview, starting with the global SF2 SoundFont. Synthesis settings are not embedded in the exported MIDI. CC91 is a MIDI event and can be saved to the copy; its audible effect differs between players.

Transcription uses the original mixed audio. It does not separate vocals or instruments first; vocal-free MP3 export is not available in this workflow. The separate Invent from Audio launcher card is a different feature: see the Invent from Audio guide.

Known limitations

Dettato is an automatic transcription, not a perfect reconstruction of the arrangement. Several wind instruments may be merged into one channel; a lead vocal can be assigned to Choir and bass can blend into piano. Instrument suggestions (for example Brass Section for a single wind channel or Flute for a Voice/Choir guide) are based on detected GM data, not reliable recognition of timbre from audio. Check notes and sound against the original before treating a copy as final.

For Dettato attribution and licence information, see AI sources and licences.