element-web/src/audio
László Várady 75c2c1a572
Honor advanced audio processing settings when recording voice messages (#9610)
* VoiceRecordings: honor advanced audio processing settings

Audio processing settings introduced in #8759 is now taken into account
when recording a voice message.

Signed-off-by: László Várady <laszlo.varady@protonmail.com>

* VoiceRecordings: add higher-quality audio recording

When recording non-voice audio (e.g. music, FX), a different Opus encoder
application should be specified. It is also recommended to increase the
bitrate to 64-96 kb/s for musical use.

Note: the HQ mode is currently activated when noise suppression is
turned off. This is a very arbitrary condition.

Signed-off-by: László Várady <laszlo.varady@protonmail.com>

* RecorderWorklet: fix type mismatch

src/audio/VoiceRecording.ts:129:67 - Argument of type 'null' is not
assignable to parameter of type 'string | URL'.

Signed-off-by: László Várady <laszlo.varady@protonmail.com>

* VoiceRecording: test audio settings

Signed-off-by: László Várady <laszlo.varady@protonmail.com>

* Fix typos

Signed-off-by: László Várady <laszlo.varady@protonmail.com>

* VoiceRecording: refactor using destructuring assignment

Signed-off-by: László Várady <laszlo.varady@protonmail.com>

* VoiceRecording: add comments about constants and non-trivial conditions

Signed-off-by: László Várady <laszlo.varady@protonmail.com>

Signed-off-by: László Várady <laszlo.varady@protonmail.com>
2022-12-05 11:19:50 -05:00
..
compat.ts Auto fix 2021-10-22 17:23:37 -05:00
consts.ts Move src/voice to src/audio for better naming 2021-07-22 09:26:26 -06:00
ManagedPlayback.ts Autoplay semantics for voice messages 2021-08-30 14:29:37 -06:00
Playback.ts Add voice broadcast playback seekbar (#9529) 2022-11-04 11:50:19 +01:00
PlaybackClock.ts Typescript updates (#9658) 2022-11-30 11:32:56 +00:00
PlaybackManager.ts Autoplay semantics for voice messages 2021-08-30 14:29:37 -06:00
PlaybackQueue.ts Store refactor: use non-global stores in components (#9293) 2022-10-19 13:07:03 +01:00
RecorderWorklet.ts Honor advanced audio processing settings when recording voice messages (#9610) 2022-12-05 11:19:50 -05:00
VoiceMessageRecording.ts Add array concat util (#9306) 2022-09-21 20:06:05 +02:00
VoiceRecording.ts Honor advanced audio processing settings when recording voice messages (#9610) 2022-12-05 11:19:50 -05:00