Finn Maunsell
Finn Maunsell

Reputation: 85

How to use C file in Ubuntu

I'm trying to get this https://github.com/TheCacophonyProject/voice_scrubbing working on my ubuntu. I've managed to 'make' the thing using

make 

Go me!

But I don't know how to insert any files into it. I'm pretty sure the app takes a .wav file and edits that file inplace. So could I get some help with doing this?

All the best

Edit:

Here's my directory contents. I want to find a way of using that mute_low(.exe) file:

notebook@heyfinn:~/Cacophony/voice_scrubbing$ ls
Makefile  mute_low.c  README.md   wavefile.h
mute_low  mute_low.o  wavefile.c  wavefile.o

And here's the file contents on Jupyter notebooks to explain why I think there is an .exe file there: enter image description here

Upvotes: 0

Views: 54

Answers (1)

Ajay Brahmakshatriya
Ajay Brahmakshatriya

Reputation: 9203

On Linux you do not have .exe files. But instead files are marked with execute permission.

If you look at your Makefile, you can see it defines the TARGET=mute_low.

This is your executable.

You can run it as

./mute_low # in the same directory where you did make

If for some reason it doesn't execute and you get errors like

./mute_low - Not an executable

you can make it an executable as

chmod +x mute_low

Finally it would need the file name of the .wav file and you can provide that as

./mute_low filename.wav

Upvotes: 4

Related Questions