Commit graph

429 commits

Author SHA1 Message Date
jbuethe
01baf1a0fc added missing dead-zone to encode_rdovae.py 2022-09-27 16:31:04 +00:00
jbuethe
be42c3b514 added fec_encoder.py and corresponding fec_packets.[chpy] 2022-09-27 16:29:13 +00:00
Jean-Marc Valin
ef12c29f14 Update encoder/decoder 2022-09-27 02:28:13 -04:00
Jean-Marc Valin
405aa7cf69 WIP: training with different alignment 2022-09-27 02:28:12 -04:00
Jean-Marc Valin
981d06eefd Refactoring towards multiple offset decoding 2022-09-27 02:28:12 -04:00
Jean-Marc Valin
a4f7c157cf Stop decimating in the encoder 2022-09-27 02:28:12 -04:00
Jean-Marc Valin
fdd51eb760 RepeatVector no longer likes tensor input 2022-09-27 02:28:11 -04:00
Jean-Marc Valin
8569121f6c RDO-VAE work in progress 2022-09-27 02:28:11 -04:00
Jean-Marc Valin
b6ac1c78bb FEC hooks in the PLC code
Can now inject FEC features to be used by the PLC when available
2022-09-27 02:24:21 -04:00
Jean-Marc Valin
4befd8bb39 Decreasing look-ahead of default model to 1 frame 2022-09-24 03:25:33 -04:00
Jean-Marc Valin
d45ab6fcb6 Move back to tanh for frame rate network
Swish has lower loss, but doesn't seem to improve quality
2022-09-24 03:22:57 -04:00
Jean-Marc Valin
f5c251c5d5 Properly align LPC with lookahead in data loader 2022-09-24 03:21:36 -04:00
Jean-Marc Valin
dd114baf4d Fix causal PLC for models with non-zero lookahead 2022-09-16 01:44:53 -04:00
janpbuethe
f3c738d45f removed debug prints in dump_lpcnet.py 2022-09-07 09:10:19 +00:00
Jean-Marc Valin
60450472a6 Merge branch 'plc_challenge' into master 2022-09-07 00:38:55 -04:00
Jean-Marc Valin
340ab3089b model update 2022-09-06 23:31:31 -04:00
janpbuethe
920300c546 Add lpc weighting and model parameter handling
Model now stores LPC gamma, look-ahead, and end-to-end.
Parameters aren't quite reliable yet, YMMV
2022-09-06 23:14:39 -04:00
Jean-Marc Valin
c1da818f39 PLC instructions 2022-05-13 00:43:56 -04:00
Jean-Marc Valin
ee08ef0a9c Auto-download PLC model weights 2022-03-17 18:21:57 -04:00
Jean-Marc Valin
27348d1b88 Running new features twice on resync
Helps forget concealment features faster
2022-03-04 16:23:40 -05:00
Jean-Marc Valin
d2d847bcae Boosting pitch correlation at inference time 2022-03-04 16:20:56 -05:00
Jean-Marc Valin
099f0872f7 Compensating for DC filter offset during blending 2022-03-04 16:19:56 -05:00
Jean-Marc Valin
8ca2ccf17a fix another warning 2022-02-25 13:57:51 -05:00
Jean-Marc Valin
a814a6235a Silencing a warning
Variable cannot be uninitialized
2022-02-25 13:56:09 -05:00
Jean-Marc Valin
e034b1096b Biasing for overestimating the pitch correlation 2022-02-25 13:55:21 -05:00
Jean-Marc Valin
05f02aaa49 Adaptive bias
Bias the energy for vowels, but not for consonants
2022-02-24 13:03:44 -05:00
Jean-Marc Valin
3982144f8e Revert PLC state to use Burg in the causal overlap 2022-02-24 03:22:04 -05:00
Jean-Marc Valin
ea405cc684 Add delay-compensation for non-causal PLC 2022-02-21 22:52:39 -05:00
Jean-Marc Valin
a7b2420300 Setting PLC options at run-time
Causal vs non-causal, DC filter, and blending are now configurable
2022-02-21 21:36:08 -05:00
Jean-Marc Valin
0eb9f0bd38 Updating the DC tracker even during packet loss
Makes the offset signal more continuous
2022-02-21 02:34:44 -05:00
Jean-Marc Valin
3883f3d372 Synchronizing DC removal for noncausal PLC 2022-02-19 18:03:22 -05:00
Jean-Marc Valin
a11e68dd74 Evening out CPU load for non-causal PLC
Defer some of the extra resync work to the next packet
2022-02-19 17:28:28 -05:00
Jean-Marc Valin
022ddc31fb Enable pitch xcorr refining 2022-02-16 23:09:27 -05:00
Jean-Marc Valin
86bf0cb9d5 Remove pitch periodicity attenuation 2022-02-16 03:44:02 -05:00
Jean-Marc Valin
cb4dbe05d0 oops 2022-02-16 03:28:13 -05:00
Jean-Marc Valin
78e682950b Handle DC offset
Remove DC, conceal, add it back at the end
2022-02-16 02:14:59 -05:00
Jean-Marc Valin
527841d03e Avoiding discontinuities in the RNN update 2022-02-16 01:58:49 -05:00
Jean-Marc Valin
1ae958acf3 Make LPCNet frame rate network use swish 2022-02-16 01:01:51 -05:00
Jean-Marc Valin
d1a14ac5d4 Making state update more robust to discontinuities 2022-02-16 00:58:40 -05:00
Jean-Marc Valin
2a8bcf4c0f 3-part pitch loss function 2022-02-13 02:51:22 -05:00
Jean-Marc Valin
2e06c07893 more emphasis on pitch loss 2022-02-11 03:20:20 -05:00
Jean-Marc Valin
8e3ce6e839 Add no-blending version 2022-02-09 14:14:23 -05:00
Jean-Marc Valin
b2847687e0 Getting rid of prediction delay 2022-02-09 03:06:41 -05:00
Jean-Marc Valin
9297fe52ee Add -plc_file option 2022-02-09 00:51:44 -05:00
Jean-Marc Valin
7a7913f388 cleanup 2022-02-07 15:14:56 -05:00
Jean-Marc Valin
fd45fba905 Reduce look-ahead to 5 ms 2022-02-07 04:01:36 -05:00
Jean-Marc Valin
5d32ab8f3a optional bi-directional concealment 2022-02-06 01:14:03 -05:00
Jean-Marc Valin
dc539a9ce9 WIP non-causal PLC 2022-02-05 22:57:53 -05:00
Jean-Marc Valin
2e18f0d160 Using Burg cepstrum for feature prediction 2022-02-04 22:04:23 -05:00
Jean-Marc Valin
b93dbfc0bc Adding Burg spectral estimation code 2022-02-03 00:28:23 -05:00