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

Preset Crawler Error: "Failure while crawling, couldn't get preset name" #926

Open
oliveroliverio opened this issue May 17, 2024 · 4 comments
Labels
realearn Related to ReaLearn

Comments

@oliveroliverio
Copy link

Preset Crawler Error: "Failure while crawling, couldn't get preset name."

This error happens with some VSTs, and others (Serum, Sylenth, Refx Nexus) it get's the preset name fine. I also made sure to make the VST window floating and load only the VST2 version (not VST3 or AU).
presetcrawlerError

If it's not too much to ask, I'd like to contribute to bug fixes like these and would like some guidance on troubleshooting and testing Realearn. I'm familiar with programming and could use more Rust programming experience.

@helgoboss
Copy link
Owner

Just seeing this now. Not sure if this is solvable. Some plug-ins don't report the preset name to the DAW. You can identify such plug-ins by checking whether the preset name appears in REAPER's own FX window header. Can you check if the ones that don't work report the preset name or not?

@helgoboss
Copy link
Owner

I mean it's probably not impossible ... one could do OCR to read the preset name, but that would be quite premium ;)

@oliveroliverio
Copy link
Author

oliveroliverio commented Jun 21, 2024 via email

@helgoboss
Copy link
Owner

This kind of thing can get ugly and challenging quite quickly, especially if you want it to work well. Even assuming that the OCR library is good enough for the purpose (which I wouldn't take for granted), this might involve quite a couple of additional challenges. At the top of my head:

  • Capturing screen content as a bitmap that you can feed into the OCR algorithm, in a cross-platform way
  • Acquiring the necessary permissions from the user (reading screen content is a sensitive topic)
  • Taking care to not let the Helgobox distribution size get much bigger than it already is (who knows what amount of training data is necessary to make OCR work)

$100 ... in my country, this easily corresponds to 1 hour of senior freelancer work. No way to do this in 1 hour. So this feature would either need a lot of passion/motivation or substantially more funding or something in-between ;)

If you have the passion, it's best to try it yourself. Wanting something very bad can get you very far, in my experience (that's why ReaLearn exists ;) There might be libraries out there which help with above mentioned challenges. And if your only goal is that it works for your specific needs, not for others, it will lower the effort by much.

@helgoboss helgoboss added the realearn Related to ReaLearn label Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
realearn Related to ReaLearn
Projects
None yet
Development

No branches or pull requests

2 participants