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

Sketch out probe <-> server interface #4

Closed
2 tasks
goodhoko opened this issue Apr 18, 2023 · 1 comment
Closed
2 tasks

Sketch out probe <-> server interface #4

goodhoko opened this issue Apr 18, 2023 · 1 comment
Assignees

Comments

@goodhoko
Copy link
Member

  • Event abstraction (Probe abstraction - or maybe a probe is just a binary talking the same IPC/wire protocol)
    • What a probe should report? How much a probe should know about the systhesis, and vise versa?
    • Jen: They should be relatively indepedent of each other. Imagining each event as a tuple (quality, timestamp)
  • Network abstraction? (and/or make the sound synthesis a kinda “server”)
    • It might make sense to have this already, because probe may need to be run on a separate machine than where we want to play sound. Probe may need sudo to run, too.
    • Bincode-serialized events (or alike) over UDP?
@goodhoko goodhoko self-assigned this Apr 18, 2023
@strohel strohel changed the title Sketch out probe-server interface Sketch out probe <-> server interface Apr 18, 2023
goodhoko added a commit that referenced this issue Apr 20, 2023
Implement the server as a "composer" crate for a (IMO) better fitting
name. In addition to the binary give it a library section that exposes
logic reused by probes as well as the possible event types.

Start with very basic sound effect of just playing a sample from a file.
This needs some improvements. But we gotta start somewhere.

Also implement a basic test probe that sends test events in a pulsating
frequency.

closes #9
closes #4
@goodhoko
Copy link
Member Author

Mostly done in #11. It may change as we develop more probes and improve the sound synthesis, but let's consider this issue complete.

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

No branches or pull requests

1 participant