DamRsn / NeuralNote

Audio Plugin for Audio to MIDI transcription using deep learning.
Apache License 2.0
1.3k stars 67 forks source link

How can I use the built files in Xcode #84

Closed KittenYang closed 8 months ago

KittenYang commented 11 months ago
截屏2023-10-28 15 16 00

I built those output, any ideas how to use it in Xcode? Thanks indeed~

DamRsn commented 11 months ago

I think that if you wish to work on the project from XCode, you need to change the cmake generator with -G option and set it to Xcode.

You can see here: https://cmake.org/cmake/help/latest/manual/cmake-generators.7.html

KittenYang commented 11 months ago

Thanks bro, I'll check it

KittenYang commented 11 months ago

@DamRsn I finally generate the Xcode project, and it build succeed with .a static library. But there is no any header files. Do you know which header file should I use to convert a .mp3 file to MIDI file?

截屏2023-10-30 17 38 54 截屏2023-10-30 17 39 02
DamRsn commented 11 months ago

To convert an audio file to midi, you need to build the application (the standalone target for example, so you don't need a DAW). After that you will be able to run the application and load the audio file to get the midi results.

You can also simply install the latest release for Mac.

KittenYang commented 11 months ago

To convert an audio file to midi, you need to build the application (the standalone target for example, so you don't need a DAW). After that you will be able to run the application and load the audio file to get the midi results.

You can also simply install the latest release for Mac.

How can I minimize the integration of this mp3-to-midi function into my own application? as I may not need the UI component.

DamRsn commented 11 months ago

Oh I see, you will need to add different things from NeuralNote into your project, and compile those with your application.

The things you need to add are:

Hope that helps

KittenYang commented 11 months ago

@DamRsn Thanks mate! I'll try those instructions.