divVerent / ecantorix

Singing synthesis frontend for espeak
GNU General Public License v3.0
117 stars 14 forks source link

How to use the make targets including conf files? #5

Open derandiunddasbo opened 5 years ago

derandiunddasbo commented 5 years ago

I didn't find any documentation for the project, how to use make for generating music from .abc files. But as I want to render songs in German, I have to use .conf files. Without a config file defining German as the target language, the songs are rendered with english phonemes.

I tried to understand the targets in the Makefile, especially the three targets including .conf files, but tbh I'm also not a great Makefile expert. I don't know, how to read the rules in the Makefile and the make documentation failed to enlighten me as well... :-)

So could someone please explain to me, which arguments in which order make expects for the targets utilizing the .conf files?

%.mmp %.ass: %.mid %.conf espeak-data
    mkdir -p cache
    $(ECANTORIX) -C $*.conf -c cache -O mmp -o $*.mmp $< > $*.ass

%.wav %.ass: %.mid %.conf espeak-data
    mkdir -p cache
    $(ECANTORIX) -C $*.conf -c cache -O wav -o $*.wav $< > $*.ass

%-xon.mid %.ass: %.mid %.conf espeak-data
    mkdir -p cache
    $(ECANTORIX) -C $*.conf -c cache -O mid --output-mid-prefix=vocals: -o $*-xon.mid $< > $*.ass
divVerent commented 1 year ago

The easiest way right now is, for foo.mid, name the conf file foo.conf. Does that help?