This option is only possible using the MIDI capture feature.
Please note that you will need a MIDI device for that purpose.
Either a plain MIDI instrument such as the Jamstik guitar, You Rock guitar, etc...
Or you can also use a MIDI controller as an interface between your guitar and your computer.
Once you have plugged/connected your MIDI peripheral you can select it in Guitar Pro 7.5 from the:
- File > Preferences > Audio/MIDI menu (Windows)
- Guitar Pro 7 > Preferences > Audio/MIDI menu (macOS)
Enable the MIDI capture directly from the Sound menu.
Please note it is not a real time capture though, the edition is made beat by beat.
This applies for MIDI keyboard as well.