<feed xmlns='http://www.w3.org/2005/Atom'>
<title>atracdenc/src/main.cpp, branch new_psy_cont</title>
<subtitle>OpenSource ATRAC1 ATRAC3 Encoder</subtitle>
<id>https://code.mastervirt.ru/atracdenc/atom?h=new_psy_cont</id>
<link rel='self' href='https://code.mastervirt.ru/atracdenc/atom?h=new_psy_cont'/>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/atracdenc/'/>
<updated>2026-03-16T17:14:19Z</updated>
<entry>
<title>atrac3: add YAML gain control debug logging (--yaml-log)</title>
<updated>2026-03-16T17:14:19Z</updated>
<author>
<name>Daniil Cherednik</name>
<email>dan.cherednik@gmail.com</email>
</author>
<published>2026-03-16T17:14:19Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/atracdenc/commit/?id=c04d4265fd89d6040baf1f2f87f970a7883d328f'/>
<id>urn:sha1:c04d4265fd89d6040baf1f2f87f970a7883d328f</id>
<content type='text'>
Inspired by edge264's YAML logging approach (FOSDEM 2026): emit every
gain control decision as a self-contained YAML stream so any frame can
be grep'd, analyzed with Python, or used to craft custom test curves.

  ./atracdenc -e atrac3 -i in.wav -o out.oma --yaml-log gain.yaml

Each YAML document covers one frame (frame:/time: header) with channels
and bands nested below. Per-band fields emitted in pipeline order:
  high_freq_ratio, overlap_ratio, dynamic_min_score, gain[], next_level
  pcm_qmf (256 raw QMF samples, non-modulated, non-windowed)
  curve_raw, rms_cur, rms_next_mod, point0_level, crossover
  curve_final, max_gain, ratio, level_boost, scale_boost, total_boost
  gain_boost (or skip: &lt;reason&gt; at each early-exit point)

New files / changes:
  src/yaml_log.h         - TYamlFmtGuard (stream format RAII),
                           YamlWriteFloatSeq (vector + ptr/len overloads)
  src/atrac/at3/atrac3.h - YamlLog field in TAtrac3EncoderSettings
  src/atrac3denc.h       - FrameNum counter + YamlLog pointer on TAtrac3Encoder
  src/atrac3denc.cpp     - frame header in GetLambda, incremental YAML in
                           CreateSubbandInfo at every decision point
  src/main.cpp           - --yaml-log &lt;file&gt; CLI flag

Co-Authored-By: Claude Sonnet 4.6 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Use common bit allocation engine for AT1 mode</title>
<updated>2025-07-31T21:40:11Z</updated>
<author>
<name>Daniil Cherednik</name>
<email>dan.cherednik@gmail.com</email>
</author>
<published>2025-07-30T21:15:12Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/atracdenc/commit/?id=e8400f35fa8f9bff628cca0c9d5ed9184b6d4bd9'/>
<id>urn:sha1:e8400f35fa8f9bff628cca0c9d5ed9184b6d4bd9</id>
<content type='text'>
This commit also removes handling "bfuidxconst" option
and mark it as deprecated. This option actually does not
affect encoding speed significantly.
</content>
</entry>
<entry>
<title>Move implementation details into corresponding dirs (#52)</title>
<updated>2025-07-22T20:54:21Z</updated>
<author>
<name>Daniil Cherednik</name>
<email>dan.cherednik@gmail.com</email>
</author>
<published>2025-07-22T20:54:21Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/atracdenc/commit/?id=61045345fa43e54fb4fc3eee0e05b25451af9ca5'/>
<id>urn:sha1:61045345fa43e54fb4fc3eee0e05b25451af9ca5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>0.2 stable branch</title>
<updated>2025-07-20T12:01:08Z</updated>
<author>
<name>Daniil Cherednik</name>
<email>dan.cherednik@gmail.com</email>
</author>
<published>2025-06-16T20:21:54Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/atracdenc/commit/?id=58b4ce18809b8ae0f2d5b3f810ff57df8fc8ea65'/>
<id>urn:sha1:58b4ce18809b8ae0f2d5b3f810ff57df8fc8ea65</id>
<content type='text'>
- ATH and some bit allocation tuning for ATRAC1 compatible encoding.
- ATH, energy aware quanitization and tuning for ATRAC3 compatible
  encoding.
- Noticeable improvements for LP4 mode (but still not perfect on some
  tracks for LP4 bitrate)
- Initial implementation of ATRAC3PLUS compatible encoding.
</content>
</entry>
<entry>
<title>Fix memory leak in case of unsupported input file.</title>
<updated>2025-06-08T17:44:34Z</updated>
<author>
<name>Daniil Cherednik</name>
<email>dan.cherednik@gmail.com</email>
</author>
<published>2025-06-08T17:44:34Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/atracdenc/commit/?id=42aa1bfdd430ac39c8fdb76363d2868238d40853'/>
<id>urn:sha1:42aa1bfdd430ac39c8fdb76363d2868238d40853</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[AT3P] Add advanced option for GHA debug</title>
<updated>2025-05-16T21:48:26Z</updated>
<author>
<name>Daniil Cherednik</name>
<email>dan.cherednik@gmail.com</email>
</author>
<published>2025-05-16T21:27:59Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/atracdenc/commit/?id=c5ae2cec2c8308f96867e1620f0ec3a5c41395e4'/>
<id>urn:sha1:c5ae2cec2c8308f96867e1620f0ec3a5c41395e4</id>
<content type='text'>
There are 3 flags:
GHA_PASS_INPUT - allows to pass source signal in to the filter
GHA_WRITE_TONAL - allows to write result of GHA into the bitstream
GHA_WRITE_RESIUDAL - allows to process signal after the filter

If all 3 flags set it denotes normal processing.
If we want to see only result of sinusoid extraction (tonal component) we can set only
GHA_WRITE_TONAL flag. If we want to see signal after  extraction we need
to set GHA_PASS_INPUT and GHA_WRITE_RESIUDAL.
</content>
</entry>
<entry>
<title>Merge branch 'master' into at3plus-dev</title>
<updated>2024-12-24T21:59:03Z</updated>
<author>
<name>Daniil Cherednik</name>
<email>dan.cherednik@gmail.com</email>
</author>
<published>2024-12-24T21:59:03Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/atracdenc/commit/?id=bddbeb98b3db8d435de6b2d10269640121475538'/>
<id>urn:sha1:bddbeb98b3db8d435de6b2d10269640121475538</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[refactoring] Get rid of TFloat parameter. Use float.</title>
<updated>2024-12-21T15:30:07Z</updated>
<author>
<name>Daniil Cherednik</name>
<email>dan.cherednik@gmail.com</email>
</author>
<published>2024-12-20T21:31:20Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/atracdenc/commit/?id=74d6e04c21bddd435bd74c34dbe027b883772a76'/>
<id>urn:sha1:74d6e04c21bddd435bd74c34dbe027b883772a76</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Do not use 8bit, 16bit types if do not realy need it.</title>
<updated>2024-11-01T17:21:42Z</updated>
<author>
<name>Daniil Cheredni</name>
<email>dan.cherednik@gmail.com</email>
</author>
<published>2024-10-21T19:53:55Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/atracdenc/commit/?id=d459470e2d8c1cdfc633584b277505ef03565ab1'/>
<id>urn:sha1:d459470e2d8c1cdfc633584b277505ef03565ab1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[AT3P] Introduce at3p development branch</title>
<updated>2024-06-26T20:14:13Z</updated>
<author>
<name>Daniil Cherednik</name>
<email>dan.cherednik@gmail.com</email>
</author>
<published>2024-06-18T23:01:36Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/atracdenc/commit/?id=1d99ba9937d6588f4b00dc3766e165e9e3ff834d'/>
<id>urn:sha1:1d99ba9937d6588f4b00dc3766e165e9e3ff834d</id>
<content type='text'>
- Simpe code just to produce correct at3p zero frame
</content>
</entry>
</feed>
