HISS Toolbox - Problem Loading IR File (Issue may be search path related)

tdc's icon

I am trying to implement the HISS "hirt.convolver~" object into a new project and am having issues with loading an IR via the object's attribute.

Selecting and using the stereo WAV is fine if I use the popup UI. But this doesn't get saved with the patch and recalled correctly (hirt.convolve~" reverts to the inbuilt amplifier IR. Adding the attribute @file "Ir_name.wave" fails complaining that it can't find the file, despite the wav being in my projects search path media folder.

Any thoughts on my error? Many thanks.

tdc's icon

Hmm. Further testing using a HISS Multiconvolve and I am having issues also with setting the filename in the buffer attributes, though using the "replace" message this works fine.

Seems I have some issue with paths. I have checked the project search path settings and all looks ok. ?

Rodrigo's icon

I'm not super familiar with the newer versions of things, but I presume you're putting the correct extension in the @file attribute at that was a typo above? ("Ir_name.wav")

tdc's icon

Hey Rodrigo, thanks for your reply.

Yes, you're right that was an unfortunate typo. I have managed to get the object to load a file but specify the full path, but I need this to be embedded into a standalone, so that will obviously break later.

I have yet to master the handling of paths in Max.

PS: really like the work you've done over the years, and have been starting to get into the flucomo project.

Rodrigo's icon

That's good to hear.

From the reference file it says:

Load a new IR file by file name (if file present in your search path) or by file path/name (if file outside your search path). Must be a symbol, so use "quotes" if there are spaces

So I presume you can just do "@file Ir_name.wav" and have it find it if it's in the path of the file/project. The quotes would only be necessary if you have spaces in your file name, so it's possible that putting them makes it think you are trying to put a path in?

Glad you dig the stuff! Yeah, some exciting stuff coming out with the FluCoMa tools. I'll be putting up a massive (14.5k) blog post at some point this week detail my use of the tools (among other things) for a performance I did last year with them.

tdc's icon

As an update, I have added the standalone object the root patcher of the project and checked its "usesearchpath" attribute. This now resolved the issue, for both standalone, but also a standard Project in Max.

Rodrigo's icon

Fantastic!