CICM / HoaLibrary-PD

:sound: HoaLibrary for Pure Data
http://hoalibrary.mshparisnord.fr/en
GNU General Public License v3.0
38 stars 7 forks source link

updated version for recent pure data #13

Open brandflake11 opened 5 years ago

brandflake11 commented 5 years ago

Hello,

Is there anyway we can get an updated version of this library for recent pd versions? This library is one of the only ambisonic libraries I know about for pure data, and running older pd versions on linux is a lot harder to obtain the newer the dependencies for it become.

muziker commented 4 years ago

I managed to compile this for pd 0.50.2. Here's a few notes from somewhere ( i wonder whether anyone runs similarity searches on github comments):

Cream library

  1. remove the libtool in the cream library, use the distro version
  2. fix the ltmain func__fatal_error to remove a single underscore
  3. in ecommon.h add: t_namelist get_sys_searchpath(); t_namelist get_sys_staticpath();
  4. in ecommon.c: add t_namelist get_sys_searchpath(){ return (pd_this->pd_stuff)->st_searchpath; } t_namelist get_sys_staticpath(){ return (pd_this->pd_stuff)->st_staticpath; }
  5. in edefine.h, comment out the struct _namelist typedefinition
  6. in edefine.h add #include

Hoa library

  1. in Sources/hoa.tools.cpp 1.1 replace all sys_soundout with get_sys_soundout() 1.2 comment out the extern to the sys_soundout 1.3 include

  2. remove the generated libtool and soft link to the system libtool

  3. in ltmain.sh remove the extra underscore in func_fatal_error

  4. Be sure the third party sources cream library is patched according to the above

  5. load the library by declare -stdlib & declare -stdlib

mxa commented 4 years ago

This sounds good. I think you should fork it and make a pull request.

J-Mus commented 4 years ago

hello,

Will the above work for MacOS?

Also, what are 'libtool' and 'distro' versions.

Thank you in advance!

porres commented 3 years ago

@muziker, can you make a fork with your modifications so we could test it? It'd be good if we could provide new binaries for all.