Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Apple silicon support
Avatar
Member
Members
September 15, 2021 - 4:43 am
Member Since: June 1, 2021
Forum Posts: 15
sp_UserOfflineSmall Offline

Hi Will,

Is it possible to use ASPIK for the arm64 architecture? I guess fully support for Native silicon needs to use AU3 API right? Do you have any plan to look on this?

https://developer.apple.com/documentation/apple-silicon/porting-your-audio-code-to-apple-silicon

Thank you,

Jean

Avatar
Member
Members
September 15, 2021 - 6:48 pm
Member Since: June 16, 2021
Forum Posts: 39
sp_UserOfflineSmall Offline

Can't ASPiK already build AU v3 plugins?

If it can, then theoretically it already supports the apple M1. Everything is written in mostly portable c++, and doesn't rely (in most, but not all cases) on third party libraries. (except FFTW and a reader/writer queue, as far as I know. ) But hey. Compile and find out. The IDE will tell you which bits aren't fit for the target architecture, and may even advise you on how to fix it.

You can also look at Will's Plugin shell for AU, and look at the requirements for AU v3, and build your own shell. (you can also do this for native DAW plugins; although getting the GUI and in some cases presets/internal state to work may be a bit tricky. )

Avatar
Member
Members
September 16, 2021 - 9:32 am
Member Since: June 1, 2021
Forum Posts: 15
sp_UserOfflineSmall Offline

Nickolai said
1. Can't ASPiK already build AU v3 plugins?
2. But hey. Compile and find out.  

1. No, it is not,

2. I already tried and it doesn't work.

 

Thank you,

Jean

Avatar
Member
Members
September 16, 2021 - 11:15 pm
Member Since: June 16, 2021
Forum Posts: 39
sp_UserOfflineSmall Offline

jeanlecode said

Nickolai said
1. Can't ASPiK already build AU v3 plugins?
2. But hey. Compile and find out.  

1. No, it is not,

2. I already tried and it doesn't work.

Alright, which parts don't work with AU v3 or apple M1? I don't know if xcode is as good about pointing out problems as visual studio is, but I imagine error highlighting and compiler warnings would help you to build a shell that compiles correctly. Not saying it will be easy -- it could be very difficult -- but it should be somewhat doable.

I would look into this myself, but I don't have an M1 mac to play with. (or any mac. I plan on fixing that one of these years though. 😛 )

I hope my previous posts haven't come off as arrogant and dismissive -- "oh, well it really is simple and you should be able to figure it out. " Certainly not my intention. I was trying to be optimistic rather than dismissive. If you hand us a specific error (after trying to get an AU v3 plugin shell compiling and partially talking to ASPiK's PluginCore. ) we can help you build it out all the way. 🙂

Avatar
Member
Members
September 18, 2021 - 10:44 am
Member Since: June 1, 2021
Forum Posts: 15
sp_UserOfflineSmall Offline

Nickolai said

jeanlecode said

Nickolai said
1. Can't ASPiK already build AU v3 plugins?
2. But hey. Compile and find out.  

1. No, it is not,
2. I already tried and it doesn't work.

I hope my previous posts haven't come off as arrogant and dismissive -- "oh, well it really is simple and you should be able to figure it out. " Certainly not my intention. I was trying to be optimistic rather than dismissive. If you hand us a specific error (after trying to get an AU v3 plugin shell compiling and partially talking to ASPiK's PluginCore. ) we can help you build it out all the way. 🙂  

No worries man! It's Ok 

I guess to fixing this issue CMake needs another line as below...

set(CMAKE_OSX_DEPLOYMENT_TARGET 10.14 CACHE STRING "") # whichever macOS version you are targeting...

set(CMAKE_OSX_ARCHITECTURES "x86_64;arm64" CACHE STRING "") # for universal

 

Thank you,

Jean

Forum Timezone: America/New_York

Most Users Ever Online: 152

Currently Online:
5 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Chaes: 56

jim: 53

Skyler: 48

Derek: 46

Frodson: 45

Peter: 43

TheSmile: 43

clau_ste: 39

Nickolai: 39

JimmyM: 33

Member Stats:

Guest Posters: 1

Members: 732

Moderators: 1

Admins: 5

Forum Stats:

Groups: 13

Forums: 42

Topics: 804

Posts: 3087

Moderators: W Pirkle: 640