Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E4L Master Bus: Binaural Faust decoder not working #52

Open
micheljarre opened this issue Mar 10, 2019 · 24 comments
Open

E4L Master Bus: Binaural Faust decoder not working #52

micheljarre opened this issue Mar 10, 2019 · 24 comments
Assignees
Labels
fixed Fixed and ready for next release
Milestone

Comments

@micheljarre
Copy link

While other decoders work, the default selected decoder "Binaural" does not produce any sound. Opening in Max reveals the message "newobj: hb1_to_binaural~: No such object" in the Max console.

@Daxmatic
Copy link

Daxmatic commented Apr 1, 2019

plus 1

@Clmprice
Copy link

same here

@mcslee
Copy link
Contributor

mcslee commented Jun 14, 2019

Unfortunately we don't have a solution for that issue at this time. It seems to appear on some, but not all, systems. For some users, the E4L AuraVerb device also does not work, presumably for similar reason.

Are you on Windows? If you're getting the "No such object" message, that is likely from running on windows, where there is not a 64-bit version of the hb1_to_binaural~ external available.

@MythicsIRL
Copy link

MythicsIRL commented Jul 1, 2019

Same here. Binaural not working.
Getting the newobj: hb1_to_binaural~: No such object message.
Ableton Live Suite 10.1 on Windows 10 1809 (OS Build 17763.592) (x64)

@vredalertv
Copy link

I'm on windows, same problem, can we get an updatre?

Same bug:

newobj: hb1_to_binaural~: No such object

What can we do to help fix this???

@mcslee
Copy link
Contributor

mcslee commented Mar 12, 2020

Unfortunately we still have no update on this issue, it is unclear to us why it occurs on some systems and not others. I know this is an extremely unsatisfying and frustrating response.

On other windows systems we were able to collect some crash reports which we did relay to the Ableton/Max bug report team, but we were still not able to get a clear diagnosis on this. We're continuing to support the Mac release and will post here if we make any headway on Windows improvements.

Our apologies again for this.

@vredalertv
Copy link

vredalertv commented Mar 12, 2020 via email

@mcslee
Copy link
Contributor

mcslee commented Mar 12, 2020

If it helps, I do believe it DID work the very first time.

Yes, this is part of what's so peculiar. This has been the case for other people as well. It seems to work fine... until it doesn't. It's not clear what's triggering the underlying problem, doesn't seem to relate to a change in system configuration.

@vredalertv
Copy link

Mcslee, since the Binaural 3rd order decoder does work, is this giving me the same effect using headphones or how does it differ than the Binaural that does not function?

Maybe it isn't the worse thing if the Binaural 3rd order is giving me similar results.... Let me know!

Thanks for the hard work.

Val

@mcslee
Copy link
Contributor

mcslee commented Apr 8, 2020 via email

@f1oat
Copy link

f1oat commented Apr 10, 2020

May be one clue.
In the github file tree, I can find "hb1_to_binaural~.mxe" but not "hb1_to_binaural~.mxe64"
For other "mxe" files, we have "mxe64" also.
I am not very familiar with MAX internals: is it related to 32bit or 64bit code ?
I am running Live 10.1.9 under Win10 x64

@mcslee
Copy link
Contributor

mcslee commented Apr 10, 2020 via email

@f1oat
Copy link

f1oat commented Apr 10, 2020

If someone can show me where to start, may be I can contribute by compiling this component for 64bit. I am googling for the toolchain I need for that.

@mcslee
Copy link
Contributor

mcslee commented Apr 10, 2020 via email

@f1oat
Copy link

f1oat commented Apr 10, 2020

Ok, thank you. I can find hb1_to_binaural.dsp file is in the E4L github tree.
Looks like there is a tool here: https://github.com/grame-cncm/faust/tree/master-dev/architecture/max-msp
I am now installing Max/MSP SDK and will try soon!

@f1oat
Copy link

f1oat commented Apr 10, 2020

Done!
Actually, you do not need to install a toolchain.
There is an online compiler: https://faust.grame.fr/tools/editor/index.html
After uploading the dsp file, you only need to click on the little van:
image
Here is the mxe64 file
hb1_to_binaural~64.zip
I have managed to run it by copying it in C:\Users\f1oat\Documents\Max 8\Max for Live Devices\E4L Master Bus Project\externals

@mcslee
Copy link
Contributor

mcslee commented Apr 10, 2020

Thanks very much - amazing that this it turned out to be so simple! Glad it is now working for you. I will include this with the next release of the E4L package. Much appreciated!

@mcslee
Copy link
Contributor

mcslee commented Apr 10, 2020

66796d4

@vredalertv
Copy link

Great! Thanks float and mcslee

@TristanMorelle
Copy link

TristanMorelle commented Oct 27, 2020

hi, i managed to do the fix of f1oat as well, just to be disappointed at the result fidelity.
while having the bug i just put it on AmbiX monitoring giving you the side and mid info in 2 channels, i simply flipped the phase on the side channel (right) converting it to stereo with higher fidelity it seems ... if anyone cares here is the setup.
left channel gets summed to mono

maybe you can implement this as a stereo output choise

auraverb still broken
ty

image

image

@mcslee mcslee self-assigned this Mar 2, 2021
@mcslee mcslee added the fixed Fixed and ready for next release label Mar 2, 2021
@mcslee mcslee added this to the 11.0.0 milestone Mar 2, 2021
@mcslee mcslee closed this as completed Feb 2, 2022
@k5123
Copy link

k5123 commented Jan 13, 2023

With 11.2.5 this isn't working unless I open the master bus plugin in Max. Binaural 3rd order works, but normal Binaural doesn't. Windows (64bit of course, what else is there at this point).

@dnlfbr
Copy link

dnlfbr commented Mar 6, 2023

With 11.2.5 this isn't working unless I open the master bus plugin in Max. Binaural 3rd order works, but normal Binaural doesn't. Windows (64bit of course, what else is there at this point).

Similar problem here. The hb1_to_binaural~ (used for Binaural mode) is not working on Mac M1.
I've tried to recompile the .mxo file on the Faust IDE, but still It doesn't work (error: hb1_to_binaural~: could not load due to incorrect architecture).
Any support is appreciated!

@mcslee
Copy link
Contributor

mcslee commented Jun 21, 2024

I can confirm that the online Faust IDE doesn't seem to export an Apple Silicon compatible .mxo object, which is annoying. I'm going to look into installing the toolchain on my Apple Silicon machine to see if I can built it myself.

There's an alternate approach which is to use faustgen~ which dynamically runs the faust .dsp file.

There's an implementation of that here:
https://github.com/EnvelopSound/EnvelopForLive/blob/master/patchers/decoder/e4l.decoder.binaural.faustgen.maxpat

You'll need to install the faustgen~ package from here:
https://github.com/grame-cncm/faust/releases

You need to pick the correct arm64 faustgen package from the release assets. I may resort to bundling that with the E4L release, but it adds a fair bit of heft to the package (and I'd rather statically than dynamically compile the faust code, we really don't need the dynamic compilation that fautgen~ provides in this use case).

Hoping I can just find a way to get the hb1_to_binaural~.mxo compiled properly, in the meantime hope some of this may be helpful.

@mcslee mcslee reopened this Jun 21, 2024
@mcslee mcslee changed the title E4L Master Bus: Binaural decoder not working E4L Master Bus: Binaural Faust decoder not working Jun 21, 2024
@mcslee
Copy link
Contributor

mcslee commented Jun 21, 2024

I believe I've got this properly rebuilt as a universal binary.
ea9603f

Should be working on Apple Silicon in the 12.0.5 release:
https://github.com/envelopsound/EnvelopForLive/releases/12.0.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed Fixed and ready for next release
Development

No branches or pull requests

10 participants