Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
derandiunddasbo opened this issue Aug 1, 2019 · 1 comment
Open

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

derandiunddasbo opened this issue Aug 1, 2019 · 1 comment

Comments

@derandiunddasbo
Copy link

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
Copy link
Owner

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants