Comments (15)
Looking forward to a fix to be able to use in Mojave thank you
from neuralampmodelerplugin.
I think it would be better to just pass paths as strings, rather than add another dependency with https://github.com/gulrak/filesystem.
From looking at the code, it isn't doing much specific to std::filesystem::path beyond some file existence checks.
from neuralampmodelerplugin.
I think it would be better to just pass paths as strings, rather than add another dependency with https://github.com/gulrak/filesystem.
From looking at the code, it isn't doing much specific to std::filesystem::path beyond some file existence checks.
One idea would be to just assimilate gulrak's filesystem to this repo without a submodule as it work well as for now... :P but I don't know what harm there'd be to add a submodule as they're already used extensively in this one!
On a side-note, iPlug2 removed the only lines that made it C++17 only, which is really cool! :) ( iPlug2/iPlug2@bc5aae0 )
from neuralampmodelerplugin.
Here's info how I did it, it's not a big change but I am unfortunately too occupied at the moment to do pull requests myself. It requires the https://github.com/gulrak/filesystem to exist and subfolder "Include" added as to header search paths to allow building. Also iPlug2 needs two small changes in couple of places (you will notice when you try to build) which are about Structured bindings (not possible with C++14) and very easy to fix, probably ideal to have iPlug2 issue / pull request about them since compiler only complained about 2 lines.
I've confirmed this to work on Windows 10 but not yet on MacOS.
from neuralampmodelerplugin.
Did some research on this and based on https://en.cppreference.com/w/cpp/filesystem std::filesystem originally was a feature of boost library so https://www.boost.org/doc/libs/1_81_0/libs/filesystem/doc/index.htm ... Maybe include that in the project instead for backwards compatibility? Or then go with some native route. :)
from neuralampmodelerplugin.
Might be able to solve this using WDL_String
s from iPlug2.
from neuralampmodelerplugin.
Drawback would be that the dsp module would be locked into iPlug2, which would be bad.
from neuralampmodelerplugin.
Just found this which might be helpful! https://github.com/gulrak/filesystem
"An implementation of C++17 std::filesystem for C++11 /C++14/C++17/C++20 on Windows, macOS, Linux and FreeBSD."
from neuralampmodelerplugin.
Mojave 10.14 user—Curious if this is still in progress? Thanks
from neuralampmodelerplugin.
Just found this which might be helpful! https://github.com/gulrak/filesystem
"An implementation of C++17 std::filesystem for C++11 /C++14/C++17/C++20 on Windows, macOS, Linux and FreeBSD."
According to my tests gulrak's library is a single-header with handy macro helpers and I managed to build nam plugin with it and C++14. Unfortunately it seems that iPlug2 still requires C++17 but there was just a couple of lines to fix so that built with C++14 too.
from neuralampmodelerplugin.
Oh yes definitely, if strings are enough. I guess I'll investigate it a bit further when I got the time 🤔
from neuralampmodelerplugin.
I took a look and yes many of the paths can be just std::strings. However there are some std::filesystem methods that are required to be implemented "locally" which are:
has_filename()
stem()
parent_path()
filename()
from neuralampmodelerplugin.
期待能够在 Mojave 中使用的修复程序,谢谢
me 2, really want try NAM on MAC 10.14 Mojave ! if that works someday, please tell me . thank u !
from neuralampmodelerplugin.
me 2, really want try NAM on MAC 10.14 Mojave ! if that works someday, please tell me . thank u !
sorry i dont know anything about coding.... im not a geek but really apreaciate ur work , hope u cant work it out ! really want try NAM on MAC 10.14 Mojave ! if that works someday, please tell me . thank u !
from neuralampmodelerplugin.
Oh, what a pity that the plugin does not work in MOJAVE 10.14.6 Millions of users still work in this operating system. Especially in such difficult times.
from neuralampmodelerplugin.
Related Issues (20)
- [BUG] MacOS standalone app's Input Device is selected system default by default and none other works upon selection HOT 2
- [BUG] LSTM models not working in recent builds HOT 6
- [BUG] Studio One 6.5.1 crashing when trying to load up NAM 0.7.5 on a track HOT 1
- [BUG] Cannot open .nam files in AU plugin HOT 4
- Audio settings not letting me choose which input I want on my audio interface. HOT 3
- [BUG] White noise when resampling 48K model to 96K in DAW HOT 11
- [BUG] Resampled models have a ring on palm mutes HOT 4
- [BUG] Plugin can't be validated in Logic Pro X HOT 4
- [BUG] Hi I've installe the plugin, but i can't validate it in logic pro HOT 1
- [BUG]standalone can‘t choose the right input.
- standalone Unable to select the correct input,no sound HOT 3
- VST3 Crash in 0.7.6 (spotted with cubase) HOT 3
- Cubase Crash[BUG] HOT 2
- [BUG]still cannot use standalone app, cannot select input 2 ONLY HOT 2
- [BUG] Resampling introduces latency, has some noise at start
- [BUG] Plugin Editor Scaling is not saved with DAW project HOT 2
- [BUG] In Logic Pro 10.8.1. - selecting/loading files doesn't work HOT 2
- [FEATURE] UI Reskin HOT 39
- Crash on startup or adding VST to Reaper[BUG] HOT 2
- [FEATURE] Proposal to rethink the UX HOT 3
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 neuralampmodelerplugin.