ep.binSpat~ : object for binaural spatialization in maxmsp


    Feb 16 2006 | 3:42 am
    Hi all,
    I just put ep.binSpat~ online. It's an object (abstraction) I
    recently made to do binaural spatialization in maxmsp. I didn't find
    any such object yet. I haven't tested it thoroughly yet, but will
    soon: in an installation.
    Let me know what you think of it. Does it filll a need? Is it well
    done? Bugs? Improvements?
    I'm open to any suggestions.
    If it turns out ok, I'll put it on www.maxobjects.com soon.
    underneath is the readme-file.
    Have a nice day!
    Edo Paulus.
    ___
    E d o P a u l u s
    sound-installations, generative music, performances.
    URL: http://eude.nl
    ___
    readme
    ep.binSpat~
    version 0.11 16-02-2006
    ep.binSpat~ is an msp object (abstraction) that handles binaural
    spatialization for use with headphones through the use of hrtf's. It
    can virtualy position a monoaural source on a horizontal plane 360
    degrees around the listeners head by dynamic control of two
    parameters: direction and distance. It doesn't control vertical
    positioning.
    Future plans are to improve the distance perception by adding some
    low pass filtering and an option for a little reverb.
    Thanx to soundHack for sampling the HRIR's.
    Some theory info: http://interface.cipic.ucdavis.edu/CIL_tutorial/
    3D_HRTF/3D_HRTF.htm
    only tested on OSX 10.4.4 with MaxMSP version 4.5.6
    download at http://www.eude.nl/maxmsp
    please send comments/reactions to: edo@eude.nl
    Edo Paulus.
    Also: no garantees or anything, use at own risk.

    • Feb 16 2006 | 8:56 am
      Impossible to unzip your file, it seems corrupt.
      (at least with winXP, not tested with osX)
      Could you check it, please ?
      Thanks
      Mathieu Chamagne
      www.maxobjects.com
    • Feb 16 2006 | 9:07 am
      Worked for me...OSX 10.4.4.
      wes
    • Feb 16 2006 | 11:37 am
      hmm......
      I just simply archived it in OSX 10.4.4.
      That makes it a .zip.
      I would expect that to work in windows, with winzip, but didn't test
      (no windows machine around here).
      Any knows any known method of compression that works for sure on all
      platforms? Using Stuffit on OSX or something?
      thanks,
      Edo.
    • Feb 16 2006 | 11:39 am
      Ah thanks,
      Good to know.
      Did the object work ok?
      Edo.
    • Feb 16 2006 | 1:02 pm
    • Feb 16 2006 | 1:53 pm
      Hey Mathieu,
      thanks for your info.
      I've put a new version online with the only difference being other
      foldernames.
      Maybe that'll work. Don't know about the objects itself, whether
      they'lll work under windows XP.
      I'm curious if this works for XP-users.
      Edo.
      ___
      E d o P a u l u s
      sound-installations, generative music, performances.
      URL: http://eude.nl
      ___
    • Feb 16 2006 | 4:42 pm
      > I just simply archived it in OSX 10.4.4.
      > That makes it a .zip.
      > I would expect that to work in windows, with winzip, but didn't test
      > (no windows machine around here).
      >
      > Any knows any known method of compression that works for sure on all
      > platforms? Using Stuffit on OSX or something?
      funny that it doesnt work in windows; normally such .zip
      files do not work on OS 9 - but your does.
      .toast works on all platforms without any problems.
      report:
      the helpfile works well in OS 9 (except the pattr of
      course) but there seem to be something wrong with the
      distance setting.
      the help says distace would be 0. 1. but the inlet to
      the "object" takes 0 127 .
      0 should be no distance and 127 far away, right?
      but i hear nothing between between 0 and 100 and then
      the volume goes up between 100 and 127.
      request: if you plan to make a binary, it would be
      cool if you continue to share a patcher version with
      the hrtf samples like this one.
    • Feb 16 2006 | 4:57 pm
      This time, it's ok ; I could unzip it, and it seems to work ok under
      winXP...
      Thanks !
      MAthieU
    • Feb 16 2006 | 5:53 pm
      On around Feb 16, 2006, at 14:02, Mathieu Chamagne said something like:
      > I downloaded it several times from different PCs, tried to unzip with
      > several softwares, and sorry, it still do not unzip properly. (maybe a
      > problem with folder names starting with ._ ?...)
      Folder and file names starting with ._ are typically an attempt to
      store Classic Mac OS resources in a .ZIP archive.
      IOW, you can't use this stuff on Windows anyway.
      Edo: I'd be interested to know what you used to avoid the Mac OS
      idiosyncracies in the .zip archive. This has always been a hoofdpijn
      when preparing stuff for Windows users.
      -- Peter
      >
      -------------- http://www.bek.no/~pcastine/Litter/ --------------
      Peter Castine | ^
      | Litter Power & Litter Bundle for Jitter
      pcastine@gmx.net |
      pcastine@bek.no | iCE: Sequencing, Recording, and Interface Building
      4-15@kagi.com | for Max/MSP
      | Extremely cool
      | http://www.dspaudio.com
      | http://www.dspaudio.com/software/software.html
    • Feb 16 2006 | 6:00 pm
      ok, cool.
      & thanks for your reply.
      edo.
      and..... do you like it? :-)
    • Feb 16 2006 | 6:17 pm
      On Feb 16, 2006, at 17:42, Roman Thilenius wrote:
      >
      >
      >> I just simply archived it in OSX 10.4.4.
      >> That makes it a .zip.
      >> I would expect that to work in windows, with winzip, but didn't test
      >> (no windows machine around here).
      >>
      >> Any knows any known method of compression that works for sure on all
      >> platforms? Using Stuffit on OSX or something?
      >
      >
      > funny that it doesnt work in windows; normally such .zip
      > files do not work on OS 9 - but your does.
      >
      > .toast works on all platforms without any problems.
      >
      >
      > report:
      > the helpfile works well in OS 9 (except the pattr of
      > course)
      okay! good to know. So it's OSX, OS9 and XP compatible. That's nice.
      > but there seem to be something wrong with the
      > distance setting.
      > the help says distace would be 0. 1. but the inlet to
      > the "object" takes 0 127 .
      > 0 should be no distance and 127 far away, right?
      > but i hear nothing between between 0 and 100 and then
      > the volume goes up between 100 and 127.
      ooops,
      I'll have to update the help and maybe look over the mapping. but,
      for now it works like this: 0 is very far away, 127 is very close. It
      should not be silent between 0 and 100 and it's not with my comp.
      There is an exponential curve, though, so are you sure it's not just
      a bit to soft to hear? Maybe just pull up the volume?!? But, I've
      planned to improve on the distance-perception anyway. I want to add
      some filtering (LP) and maybe a little reverb, depending on how it'll
      sound.
      > request: if you plan to make a binary, it would be
      > cool if you continue to share a patcher version with
      > the hrtf samples like this one.
      Well, it'll probably just stay a abstraction since I've never made a
      binary (very little c experience).
      Users will probably often want it in a slightly different flavour, so
      an abstraction in ok for that. I can imagine one would like audio-
      signal input for the parameters as well.
      thanks for you reply,
      Edo.
      ___
      E d o P a u l u s
      sound-installations, generative music, performances.
      URL: http://eude.nl
      ___
    • Feb 16 2006 | 6:34 pm
      Well, I first had foldernames like 'put in folder ./Cycling '74/
      externals/' which, according to Mathieu's reply where converted in XP
      to 'put in folder ._Cycling '74_externals_' (/ replaced by _ so it
      seems). With the second try I simply changed the folder name to
      'ep_binSpat-object' which works okay, so it seems. Also, a folder
      named 'ep.binSpat~ 0.12' seems not to cause problems in XP. As I said
      before, I archived all (files and folderstructure) to a single .zip
      file in OSX 10.4.4. It seems to work in OSX, OS9 and XP.
      I don't know about all the Mac OS idiosyncracies, so guess it also
      involved a bit of luck.
      You can ofcourse download the .zip file to see it's structure.
      good luck,
      Edo.
    • Feb 16 2006 | 6:47 pm
      > .toast works on all platforms without any problems.
      .toast == .iso
      it's not a compression format, it's a standardized device-image format.
    • Feb 16 2006 | 7:57 pm
      > There is an exponential curve, though, so are you sure it's not just
      > a bit to soft to hear? Maybe just pull up the volume?!?
      ok yes i was listening at the mac.
      But, I've
      > planned to improve on the distance-perception anyway. I want to add
      > some filtering (LP) and maybe a little reverb, depending on how it'll
      > sound.
      for a non academic solution try 110.distance~
      > an abstraction in ok for that. I can imagine one would like audio-
      > signal input for the parameters as well.
      yes absolutely!
      and i also think the line~ stuff for the
      parametrs does not belong in there.
      typically one would use the same line~ for this and
      eventually releated effects; say, doppler, volume, filter
      all have the same parameter interpolation setting.
    • Feb 16 2006 | 9:51 pm
      On around Feb 16, 2006, at 19:34, Edo Paulus said something like:
      > You can ofcourse download the .zip file to see it's structure.
      Yeah, but I live in Macland, so I don't have the XP problems. I can
      take your original zip over to an XP box, but that still doesn't tell
      me what app you used to zip your archive, which is what I really wanted
      to know.
      -- P.
      -------------- http://www.bek.no/~pcastine/Litter/ --------------
      Peter Castine | ^
      | Litter Power & Litter Bundle for Jitter
      pcastine@gmx.net |
      pcastine@bek.no | iCE: Sequencing, Recording, and Interface Building
      4-15@kagi.com | for Max/MSP
      | Extremely cool
      | http://www.dspaudio.com
      | http://www.dspaudio.com/software/software.html
    • Feb 18 2006 | 1:33 am
      On Feb 16, 2006, at 20:57, Roman Thilenius wrote:
      >
      >
      >> There is an exponential curve, though, so are you sure it's not just
      >> a bit to soft to hear? Maybe just pull up the volume?!?
      >
      >
      > ok yes i was listening at the mac.
      >
      >
      > But, I've
      >> planned to improve on the distance-perception anyway. I want to add
      >> some filtering (LP) and maybe a little reverb, depending on how it'll
      >> sound.
      >
      >
      > for a non academic solution try 110.distance~
      sounds interresting / suitable, although I'd like not to be dependent
      on 3rd party externals. But, I can not find it online. http://
      laut8leise.de/aso.html should have it, but there's a broken link...
      Can anybody send me a copy off-list? thanks.
      >> an abstraction in ok for that. I can imagine one would like audio-
      >> signal input for the parameters as well.
      >
      >
      > yes absolutely!
      >
      > and i also think the line~ stuff for the
      > parametrs does not belong in there.
      >
      > typically one would use the same line~ for this and
      > eventually releated effects; say, doppler, volume, filter
      > all have the same parameter interpolation setting.
      Yes, that sounds very clear. I'll take that along when I continue
      working on it.
      thanks a lot for your suggestions!
      have a nice day,
      Edo.
      > --
    • Feb 18 2006 | 1:35 am
      The standard OSX way (right-click, create archive of ...). But I
      think this is already sort of clear :-)
      anyway just to be fully clear.
      edo.