- say.post.ts:
- added AudioFmt type, format helpers (mime/ext), Speaches TTS integration
- routing: Speaches > Piper > OpenAI fallback
- supports dynamic formats (, ===============================================================================
flac - Command-line FLAC encoder/decoder version 1.5.0
Copyright (C) 2000-2009 Josh Coalson
Copyright (C) 2011-2025 Xiph.Org Foundation
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
===============================================================================
This is the short help; for all options use 'flac --help'; for more explanation
and examples please consult the manual. This manual is often distributed
alongside the program as a man page or an HTML file. It can also be found
online at https://xiph.org/flac/documentation_tools_flac.html
To encode:
flac [-#] [INPUTFILE [...]]
-# is -0 (fastest compression) to -8 (highest compression); -5 is the default
To decode:
flac -d [INPUTFILE [...]]
To test:
flac -t [INPUTFILE [...]], , ) or smallest
- uses VOICE_ID and SPEACHES_BASE_URL from ENV
- response returns correct mime, extension & base64
- meta extended with modelUsed and format
- ports & defaults configurable via ENV
chore: Optimize the input data sent to the OpenAI API to reduce token usage and improve decision quality. Add quick responses for common pilot utterances like radio checks and emergencies to avoid unnecessary LLM calls.
The key changes are:
- Use a smaller LLM model (`gpt-5-nano`) to reduce token usage
- Optimize the input data by only sending relevant candidate and context information
- Implement quick responses for common pilot utterances like radio checks and emergencies
- Ensure ATC responses are only included when necessary to reduce token usage