kosua20 / MIDIVisualizer

A small MIDI visualizer tool, using OpenGL
MIT License
1.07k stars 140 forks source link

Audio #61

Open hirenvadher954 opened 4 years ago

hirenvadher954 commented 4 years ago

Play audio while visualizing MIDI file.

I can only export video without audio. Is it a bug or missing functionality?

kosua20 commented 4 years ago

Hello! For now MIDIVisualizer is only a viewer, so there is no sound playback or export. It's on the future features list but I don't want to promise anything for the near future. Thank you for testing MIDIVisualizer!

skajp2018 commented 4 years ago

Simon, thank you so much for all the good in your work - pls yes, my hand up for this sooo important feature 👍 praying for you and your time for this ;)

lunakittyyy commented 3 years ago

If you add a proper synth with soundfont support, you'll be making a good Synthesia competitor!

vaclavmuller commented 3 years ago

https://www.kvraudio.com/product/bassmidi-vsti-by-falcosoft

skajp2018 commented 3 years ago

Or Simon, you could maybe code some expansion of MIDIVisualizer to be a host for VSTi? Or, maybe something simpler, you could make it a MIDI generator, so it can be connected to a DAW/VSTi-nano-host (such as to https://www.tone2.com/nanohost.html) using a MIDI virtual cable (such as https://www.nerds.de/en/loopbe1.html, https://www.tobias-erichsen.de/software/virtualmidi.html). Then the DAW/VSTi nano host would handle the VSTi fully, and the MV just acts as a MIDI generator and sends the MIDI (e.g. through loopbe1). What do you think, would that be an option?

I would love to help with this expansion of MV, but having the time fully occupied by other work now. So praying for your time for that or for some helper to this.

fengshuo2004 commented 3 years ago

I'd say VST or soundfont support is not the uttermost priority.

For Windows, as soon as we have the ability to output MIDI, soundfonts may be used by sending MIDI stream to a Virtual MIDI Synth device with your desired .sf2 loaded.

Obviously if you don't need soundfonts, just select Microsoft GS Wavetable Synth as output.

This also enables playback on physical sound modules, for example a Roland SC-88.

Nesrality commented 2 years ago

This is SO awesome.. Thanks for making this a FREE midi visualizer

I'd say VST or soundfont support is not the uttermost priority.

For Windows, as soon as we have the ability to output MIDI, soundfonts may be used by sending MIDI stream to a Virtual MIDI Synth device with your desired .sf2 loaded.

Obviously if you don't need soundfonts, just select Microsoft GS Wavetable Synth as output.

This also enables playback on physical sound modules, for example a Roland SC-88.

Totally agree on that fengshuo2004.. Midi out is the most important to implement..

All the best, Nesrality

sreich commented 2 years ago

I don't know about all of this other stuff, sounds like a metric ton of work to code that.

The only thing i'm interested in is it exporting audio with video. I don't actually care what the audio is, but whatever it is would make syncing up my video/audio tracks like 100x easier. The audio will be replaced so even if it's beep beeps I'll still be thrilled

mnns commented 1 year ago

Agree this will be extremely helpful! Thanks.

vaclavmuller commented 1 year ago

Btw The VirtualMIDISynth is based on the great BASS library and this is multiplatform. https://www.un4seen.com/bass.html

3119369616 commented 1 year ago

First, export the piano roll to a video file (MP4). Next, you can convert your MIDI file to an audio file. For example, use VirtualMIDISynth (free and lightweight) with a SoundFont file (.sf2 format). After that, you can use a video editor (Adobe Premiere or Corel VideoStudio, etc.) to add your audio into your video.

vaclavmuller commented 1 year ago

Video and audio can also be combined using the free program FFmpeg.