Hello,

I am currently experimenting with the external nn_tilde. 
(https://github.com/acids-ircam/nn_tilde) I compiled it for my machine (Apple 
Silicion) and it works so far. It is fun.

There is a little thing which is annoying. I just can load the pretrained 
models with the absolute path. Everything else fails. (declare paths etc....) 
This is not really handy. 
Does someone face the same problem?

This should be the function which handle the file search. 
(https://github.com/acids-ircam/nn_tilde/blob/master/src/frontend/puredata/nn_tilde/nn_tilde.cpp)
 I can't see any issue.
... Let's say I am not able to see any issue. ;) 

 // SEARCH FOR FILE
  if (!sys_isabsolutepath(x->m_path->s_name)) {
    char dirname[MAXPDSTRING], *dummy;
    auto fd = open_via_path("", x->m_path->s_name, "", dirname, &dummy,
                            MAXPDSTRING, 1);
    std::string found_path;
    found_path += dirname;
    found_path += "/";
    found_path += x->m_path->s_name;
    x->m_path = gensym(found_path.c_str());
  } 

cheers
denis


_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to