NONAME_STUDIO I dont think godot has that kind of thing native. Godot doesnt even give access to the waveform generator class, and you have to compile with modules enabled to make it happen. Have you looked at the asset library/plugin/addon browser thats inside the godot? Maybe someone had the same problem and already solved it.
But you can always pack in additional programs with your game that would do exactly what you want, and use godot to launch them apps and etc.. maybe there is a way to compile python script and pack the executable thats its self contained thing and just use godot to run it when you need it. Back in the day this was very wide spread that the game had some other programs in separate executable that would do certain things at runtime.