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

New option to render: --dirty to generate dirty test signals for testing #256

Open
bengtmartensson opened this issue Apr 14, 2024 · 0 comments
Labels
enhancement Feedback solicited Do you find this a good idea?

Comments

@bengtmartensson
Copy link
Owner

The option should generate mildly dirty test signals, that can be used for testing of decoders etc. "Emulates an Arduino with IRremote and a rookie user."

Make sense only with #251 and #252 implemented.

Possible dirts:

  • Coerce the frequency to 38kHz,
  • Add an amount, cf markExcess in Infrared4Arduino (50µs ?) to all pulses and subtract it from the gaps (emulating an TSMP*38),
  • Round/truncate all durations to multiples of 50µs,
  • "Random" variations of the duration lengths,
  • Random number of repeats, simulating that the user presses the buttons for a varying length of time. Should generate a single IrSequence.
  • Randomly missing ending sequence

Feedback welcome. In particular, are configuration options necessary?

@bengtmartensson bengtmartensson added enhancement Feedback solicited Do you find this a good idea? labels Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feedback solicited Do you find this a good idea?
Projects
None yet
Development

No branches or pull requests

1 participant