allthemusicllc / atm-cli

Command line tool for generating and working with MIDI files.
http://allthemusic.info
Other
1.39k stars 107 forks source link

"atm" is not recognized as a command #28

Open richiethebean opened 4 years ago

richiethebean commented 4 years ago

Hi guys, i just installed "atm", and i got some issues while trying to run it. I just followed the instructions to install and run the examples to generate the melodies but my pc does recognize "atm" as an internal or external command. I already tried to run on my CMD prompt as administrator and with GIT as administrator.

I hope that you can help me.

Thanks.

allthemusicllc commented 3 years ago

Can you try pulling from master, building again, and reporting back? We've added some simple CI/CD using GitHub Actions and it appears to be building fine on Windows (Server 2019).

eisp4nzer commented 3 years ago

OK, I've had the same issue:

Here's how you should do it:

\atm-cli\target\release\deps is the directory where you should locate the ATM file

Go there and open GIT CMD (no need Admin rights)

Then try: atm gen single C:4,D:4,E:4,F:4,G:4,A:4,B:4,C:5 c:\temp\test.mid (without the ' on the beginning and end of notes) atm gen tar-gz -p 2 C:4,D:4,E:4,F:4,G:4,A:4,B:4,C:5 8 C:\Temp\Tem.tar

When you do the TAR thing, extract it and there is a file without an extension, rename it as something like temp.tar, extract it again; and Voila; the MIDI files are all there

If you change the number 8 to number 10 it will take about 45 minutes (as it increases the length); 11 will be about 3000 minutes, I don't want to imagine how much would take on numbers much higher

Have fun

Maria20144105 commented 2 years ago

Hi all, I have the same issue as @meldaravaniel

Everything went Compiling and Running but when I try to use the atm gen single but as soon as I try >>> atm gen single C:4,D:4,E:4,F:4,G:4,A:4,B:4,C:5 /Users/antoine/Desktop/libatm-master/tunetest.mid

I receive the answer "zsh: command not found: atm"

I also tried with the provided lines of code, but was unsuccessful

Any idea ? I'm on macOS