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

(re-do of #254) screen refresh event (with WSOD), beekeep_juce, block process tweaks #255

Merged
merged 36 commits into from
Feb 14, 2016

Conversation

catfact
Copy link
Collaborator

@catfact catfact commented Feb 13, 2016

the last try added some DOS line endings to bees sources. this reverses those, but leaves files that previously had DOS lines untouched (namely libfixmath, fat_io_lib, and some other 3rd-party ones.) did convert line endings to unix in JUCE code.


kind of a grab bag of changes, including some experiments that haven't worked out yet, and some unfinished but promising things, and finally a few things that seem useful.

  • in bees, moved screen refresh out of the TC interrupt (can't believe it was in there.) this seems to make other timed events a little smoother. the tradeoff is that if the event queue is filling up, the screen can get first partially and then completely stuck. i think it's a good trade; at least it's an immediate indicator of what is happening. @rick-monster had some thoughts about changing the way we handle a full event queue, which seemed worth pursuing.
  • started a JUCE-based graphical bees editor. pretty early stages but some tricky compilation steps and graphics context management is worked out. hoping for contributors, otherwise it will take a while to get finished.
  • relatedly, all bees headers now have __cplusplus switches, and avr32_sim sources compile again, and will even link with g++.
  • fix a minor bug with op_gate not pickling/unpickling its inputs.
  • fix a potential bug where count of graphics ops could underflow and totally screw things up (not sure if it ever happened.)
  • some more incremental tweaks to block processing on bfin - control changes can continue to be collected during an audio block, and are processed at the end of it.
  • tried implementing a cycle counter on the bfin, and added SPI protocol code and a bees operator to retreive CPU usage back to the avr32. but it doesn't work; for some reason reading the CYCLES registers totally stalls parameter change handling. very mysterious. would be nice to figure this out.
  • cleaned out a lot of dead code, comment, and print_dbg cruft. of course there is plenty more still floating around.

…g some issues. remove tons of dead code. start adding human-readable module doc generation in descriptor step. show baudrate on screen in debug build.
… now properly reports initial param values and doesn't randomly crash when booted from a scene
…d sometimes overrun the event queue on startup.) also lots of dead code and comments.
…atibility checks in bees headers. fix potentiall nasty index-underflow bug on op_gfx.
Conflicts:
	apps/bees/src/op.h
	apps/bees/src/param.c
	apps/bees/src/scene.c
@catfact
Copy link
Collaborator Author

catfact commented Feb 13, 2016

NB: (@rick-monster especially) i did a forced push to catfact/dev, so might want to re-clone any copies of this fork.

@ghost
Copy link

ghost commented Feb 13, 2016

All looks good to me now!

catfact added a commit that referenced this pull request Feb 14, 2016
(re-do of #254) screen refresh event (with WSOD), beekeep_juce, block process tweaks
@catfact catfact merged commit 1304922 into monome:dev Feb 14, 2016
@catfact
Copy link
Collaborator Author

catfact commented Feb 14, 2016

will go ahead and bring this in then in case anyone wants to work with it.

@rick
Copy link

rick commented Feb 14, 2016

@catfact
Copy link
Collaborator Author

catfact commented Feb 14, 2016

the-addams-family-pilot-season-one-9-18-64-the-addams-family-was-based-on-the-characters-in-charles-addams-new-yorker-cartoons

@ghost
Copy link

ghost commented Feb 14, 2016

ook!? hairier than thou

@rick
Copy link

rick commented Feb 15, 2016

:shipit: 👍 👻 💀

@rick rick mentioned this pull request Feb 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants