18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-12-03 10:05:23 +01:00
Files
maszyna/audio
maj00r 35cafe9de5 fix(audio): the rails stop singing when the editor opens, nor sing in the test mode; Sonar of #584
- driver_mode::push_editor() stops the singing before the editor is pushed, by F11 and by the edit session. push_mode()
  doesn't call exit() of the mode it covers, so the loops went on playing in the editor. Back in the driver mode the
  next update scans the rails again.
- The sound of the singing isn't made in the test mode, which has no sound (enter() skips begin()); update() is under
  the test-mode guard of staging since the merge.
- sound.railsinging.nearboost: a train within 40 m is louder by it, one at 40-100 m by a part of it growing as it comes,
  as closeness() has it; the comment said within 100 m.
- Sonar, the values unchanged: the measured levels written as floats (each the same float as before, checked for all
  232), the centres of the sixths of an octave counted in a while loop, CTAD, try_emplace, the flag of the sound made with
  the default ordering, an if without a variable, using enum in a test. The std::mt19937 of the noise is NOSONAR: the
  noise of a sound, the same for a seed on every compiler.
2026-12-02 18:33:09 +01:00
..
2026-10-17 00:14:32 +02:00