Comments (6)
I've just tested on 2020.3.7f1 and it works (see below), so no idea what exactly your issue is. I'd recommend looking for the specific error you get: https://www.google.com/search?q=unity+DllNotFoundException .
from libpyin.
Not out of the box, you have to compile the library for each platform separately. I built the DLL/so back then since I was using it on Windows and Ubuntu. It's a quick process but you need the appropriate tools:
https://docs.unity3d.com/Manual/AndroidNativePlugins.html
https://docs.unity3d.com/Manual/PluginsForIOS.html
from libpyin.
Hmmm, I don't know why it's not working on my end then. Thanks for your reply
Just to make sure, all I need to do in the other classes (in your case, TestLibrary) is call LoadLibrary().use right?
And nothing else? Or is there anything that I should do other than that?
Edit :
I'm fairly new to Unity & C#, but I just wanna ask. Is it because I'm using unity on MacOS?
After searching for a while, I got that one of the cause that might lead to DLL not found is due to some dependencies.
from libpyin.
Oh, the DLL is native (it's a C code), so it will not work on Mac (or Linux). This project was published before .NET was even ported to Mac so it did not really make sense to specify.
If you want to run on Mac you'll have to build your own library from the source code. I can't do it since I don't even have a Mac...
from libpyin.
Ahh I see, that makes sense now. Thanks for your answer!
I have another question, let say I'm developing this on Windows, am I still able to build the project for mobile devices (Android & iOS)?
Thanks
from libpyin.
Okay, I get it, thanks!
I do have another question, so I've tried this library in Windows and it works really well with the simple example that you've provided.
However, I'm having a problem when trying to feed the data with audio files such as mp3. I'm not sure what kind of data that I need to provide for the pyin_feed
methods. I've tried to feed the GetSpectrumData
& GetOutputData
from the AudioSource
to the methods but still failed.
from libpyin.
Related Issues (20)
- Where's the libpyin.dll HOT 3
- DllNotFoundException: LibPyin HOT 2
- DLL not found (again?)
- Question HOT 4
- Upgrade Wanted HOT 1
- How to detect if pitch is present? HOT 2
- What are the assumptions about samples? The main.cpp example for example has samples in the range [-1,1]? HOT 1
- where is the .dll for unity support?
- Have to call .feed twice to see results HOT 3
- Over Nyquist pitches with noisy sample HOT 3
- Can the VAMP dependencies etc. be removed from the default CMakeLists.txt? HOT 2
- Why is this not LGPL? HOT 1
- i have this Unity AudiClip, then what shoul i do to draw the F0 ? can you point any direction ? thnks
- Unity use for make graphics with the data HOT 2
- DllNotFoundException: LibPyin assembly:<unknown assembly> type:<unknown type> member:(null)
- How to pass Unity microphone data to LibPyin ? HOT 1
- How to use your library to generate an iOS build ? HOT 1
- What is the command to compile for iOS ?
- How to have a ".a" file format for macOS compiling instead of ".dylib" ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libpyin.