Using timidity lib on iPhone

My iPhone application must play MIDI files, unfortunately the iPhone does not support them. I spoiled shyness for my project. It is successfully compiled and installed on the device. But when I try to convert midi to wav - get the following message in the debug console:

/usr/local/share/timidity/timidity.cfg: there is no such file or directory timidity: cannot read any configuration file. Please check /usr/local/share/timidity/timidity.cfg

Anybody! You are welcome! Anyone have solutions or ideas, please help!)

+3
source share
1 answer

Caution: I have never used shyness.

, , , (, , ) . , iPhone, .

: http://ccrma.stanford.edu/planetccrma/man/man5/timidity.cfg.5.html

, timidity (-c) (-L). , - :

NSString *bundlePath = [[NSBundle mainBundle] bundlePath];

, .

, .

+1

Source: https://habr.com/ru/post/1731443/


All Articles