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

Bug: MIDI on Daisy unstable #175

Open
dromer opened this issue Mar 11, 2024 · 12 comments
Open

Bug: MIDI on Daisy unstable #175

dromer opened this issue Mar 11, 2024 · 12 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@dromer
Copy link
Collaborator

dromer commented Mar 11, 2024

Several reports that MIDI crashes the E-S Daisy after a while.

No idea why yet.

@dromer dromer added bug Something isn't working help wanted Extra attention is needed labels Mar 11, 2024
@perkowitz
Copy link

For reference, some discussion here: https://forum.electro-smith.com/t/difficulties-using-pure-data-daisy-patch-midi/4995

And I'm happy to test possible fixes, if that would help.

@dromer
Copy link
Collaborator Author

dromer commented Mar 19, 2024

What we need is someone that understands the problem and that can debug the issue :)

@dromer
Copy link
Collaborator Author

dromer commented Apr 12, 2024

@perkowitz today I merged a "fix" that more properly sets up the messagePool in the constructor.

If you are able to run hvcc from the commandline then it's appreciated if you would give it a test :)

I ran a polyphonic synth patch, receiving polyphony midi notes, for something like 2.5 hrs without any crashes.
(although to be honest without this specific fix the patch also ran for like 1.5hrs when I gave up to make it crash..)

@perkowitz
Copy link

I've mainly been using it from plugdata -- is there a way to build the toolchain from this repo and just slot it into my plugdata installation?

I'm not having much luck so far with hvcc directly -- no matter how many times pip tells me it's installed, I can't find the binary anywhere.

@dromer
Copy link
Collaborator Author

dromer commented Apr 17, 2024

is there a way to build the toolchain from this repo and just slot it into my plugdata installation?

Yes, but that's quite advanced and I have no idea how to do this on non-Linux systems 🤷

Have a look at the Windows build in the toolchain github actions: https://github.com/plugdata-team/plugdata-heavy-toolchain/blob/main/.github/workflows/run_script.yml#L38-L66

@perkowitz
Copy link

I haven't been able to test it yet, because I'm finding MIDI isn't working at all in my Pd patches on the daisy ¯_(ツ)_/¯

@perkowitz
Copy link

Okay, I have midi patches working again, but only with plugdata. I'm working on swapping in a new heavy toolchain so I can test it from plugdata

@dromer
Copy link
Collaborator Author

dromer commented Apr 19, 2024

@perkowitz if you were using pd2dsy: this uses a very old version of hvcc and does not get any updates with new features. so it is expected that certain things do not work (or ever will).

@perkowitz
Copy link

I've been mainly using plugdata, but I thought it might be easier to update with pd2dsy, but clearly not. Unfortunately, I haven't yet figured out why plugdata fails when I swap the hvcc folder in plugdata's toolchain folder.

@perkowitz
Copy link

I have been unable to get plugdata to recognize an updated hvcc toolchain. I've also been unable to build hvcc from the repo and run it, on either mac or linux. I would like to test the fix but can't so far.

@andybeta
Copy link

andybeta commented Jul 9, 2024

I'm also having this problem with the Daisy Pod, even with even a very stripped down patch. My midi in is coming from an Akai MPK mini which afaik has no clock signal (although I might wrong.) Same behaviour from my ep-133 which defintely does have clock.

CTLIN will accelerate the crash time, but it still happens with pure midi input.

Pollen(8) handles a ton more functionality than I can write and has never crashed on midi in for me, so I'm assuming the problem is not with the Daisy itself.

I need to look into rebuilding an updated toolchain, but windows is hampering me. I might setup a linux partition just to test this.

Yes, but that's quite advanced and I have no idea how to do this on non-Linux systems 🤷

Do you have a link handy to do this on Linux please @dromer?

@dromer
Copy link
Collaborator Author

dromer commented Jul 9, 2024

@andybeta you can find the toolchain here: https://github.com/plugdata-team/plugdata-heavy-toolchain/

An updated build with the latest hvcc release is here: https://github.com/Wasted-Audio/plugdata-heavy-toolchain/actions/runs/9611867628

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
Status: Todo
Development

No branches or pull requests

3 participants