HoaLibrary-PD icon indicating copy to clipboard operation
HoaLibrary-PD copied to clipboard

updated version for recent pure data

Open brandflake11 opened this issue 6 years ago • 4 comments

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.

brandflake11 avatar May 08 '19 16:05 brandflake11

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 <s_stuff.h>

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 <s_stuff.h>

  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 <path to Cream> & declare -stdlib <path to Hoa>

muziker avatar Nov 27 '19 07:11 muziker

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

mxa avatar Nov 27 '19 11:11 mxa

hello,

Will the above work for MacOS?

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

Thank you in advance!

J-Mus avatar Jun 09 '20 14:06 J-Mus

@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.

porres avatar Feb 07 '21 15:02 porres