Re: Command-line render a MIDI file with a VST instrument?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mar 14 2019, Mark Raynsford has written:
...
Given a MIDI file that contains a single channel containing
eight one-second notes, I'd like to be able to instantiate a VST plugin,
load a preset into it, pass the MIDI file through it, and record the
output to an audio file without any leading or trailing silence.
...
Hi Mark,
Csound can do it, but you also need the VST4CS opcodes, that are
currently provided separately in binary form, since the issue with the
VST_sdk
Admittedly, Csound is not the easiest - nor the most devilishly complex
- tool to use. I can't supply code to do it right here and now, but:
1. Csound can read a score from a MIDI file
2. Csound can output to a lot of audio file formats (if necessary
specified on the commandline)
3. The vstinit
http://www.csounds.com/manual/html/vstinit.html
vst_info, vstnote, vstparamset, vstparamget and vstprogset documentation
still available on this version of the Csound manual:
http://www.csounds.com/manual/html/
should contain enough of an example to move in the right direction.

Another idea: if your setup allows to load one specific VST plugin with
some GUI program, if that is enough, you could choose your MIDI player
and audio recorder on the commandline. There are enough of those, that
could even work together, using some kind of transport, mostly MMC/MTC,
some JACK transport.

Best wishes,

Jeanette

--
 * Website: http://juliencoder.de - for summer is a state of sound
 * SoundCloud: https://soundcloud.com/jeanette_c
 * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
 * GitHub: https://github.com/jeanette-c
 * Twitter: https://twitter.com/jeanette_c_s

I believe
We all have one true love
Somewhere in this world <3
(Britney Spears)
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
https://lists.linuxaudio.org/listinfo/linux-audio-user




[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux