[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-114620":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":18,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":23,"topics":24,"createdAt":10,"pushedAt":28,"updatedAt":29,"readmeContent":30,"aiSummary":31,"trendingCount":15,"starSnapshotCount":15,"syncStatus":13,"lastSyncTime":32,"discoverSource":33},114620,"count-in","shurshun\u002Fcount-in","shurshun","Adds a drum-stick count-in before a song's first downbeat; optional guitar\u002Fvocal backing tracks","http:\u002F\u002Fcount-in.app\u002F",null,"Python",155,2,100,0,1,52,4,68.63,"MIT License",false,"main",true,[25,26,27],"audio","backtrack","music","2026-11-21 22:22:18","2026-11-23 18:20:16","\u003Cp align=\"center\">\u003Cimg src=\"docs\u002Fscreenshots\u002Fsocial-preview.png\" alt=\"Count-In\" width=\"820\">\u003C\u002Fp>\n\n# Count-In\n\n[count-in.app](https:\u002F\u002Fcount-in.app) · [Telegram](https:\u002F\u002Ft.me\u002Fcount_in_app) · [English](#count-in) · [Русский](#русский)\n\nCount-In finds a song's tempo and first downbeat and puts a drum count-in in front of it. The last click lands exactly one beat before the \"one\". The same song can become a backing track with the guitar and vocals removed or turned down.\n\n- Count-in of 1 or 2 bars in 4\u002F4, 3\u002F4 or 6\u002F8.\n- Patterns: even, build-up (twice as dense in the second half, the last hits louder) or your own from a MIDI file.\n- A neural network separates the song into guitar, vocals, bass, drums and piano in one pass; each has its own level and a mute button.\n- Pauses: bars that go quiet once parts are removed get a hi-hat on every beat, as loud as the music around them, with an optional build-up into the band's entry.\n- Speed: slow the song down to 80% with the pitch kept; the count-in and the hi-hat land on the slowed grid.\n- Separation runs on the GPU: Core ML on a Mac, DirectML on Windows. A song separated once opens instantly next time.\n- Input: mp3, FLAC, ALAC, WAV. Output: MP3 320 kbps, FLAC, ALAC or WAV, with tags and cover art kept.\n- Works offline. The network is used for the one-time model download and for updates.\n\nNews, releases and feedback: the Telegram channel [@count_in_app](https:\u002F\u002Ft.me\u002Fcount_in_app).\n\nThe interface is in English and Russian; it follows the system language, and Settings can switch it. The [user guide](https:\u002F\u002Fcount-in.app\u002Fguide\u002F) walks through every feature with screenshots; the app opens it from Help (F1).\n\n## Download\n\nGet the latest version from [Releases](https:\u002F\u002Fgithub.com\u002Fshurshun\u002Fcount-in\u002Freleases\u002Flatest).\n\n| System | File |\n|---|---|\n| Windows 10\u002F11, x64 | `Count-In-windows-x64.zip` |\n| macOS 12+, Apple Silicon | `Count-In-macos-arm64.zip` |\n\nThe builds are unsigned, so the system warns on first launch.\n\n- **Windows.** Unzip and run `Count-In.exe`. If SmartScreen appears, click \"More info\" → \"Run anyway\".\n- **macOS.** Unzip and drag `Count-In.app` to Applications. The first launch gets blocked. Open System Settings → Privacy & Security, scroll down and click \"Open Anyway\" next to Count-In.\n\n## How to use\n\n![Main window](docs\u002Fscreenshots\u002Fmain-light-en.png)\n\nThe app follows the system appearance and has a [dark theme](docs\u002Fscreenshots\u002Fmain-dark-en.png) too.\n\n1. Drop a track onto the window or open it with ⌘O. The app analyzes it and starts separating the parts in the background right away; a card over the waveform shows the progress and tips.\n2. Check the orange \"1\" marker on the waveform. If the detector got it wrong, drag the marker to the right beat or use the arrows in the Tempo card; the round arrow brings back what the detector found. The wheel zooms, dragging pans, the overview under the waveform shows the whole song.\n3. Pick the count-in pattern, length and meter. Blue marks on the waveform show where the clicks will sound.\n4. For a backing track, lower the part sliders in the Backing track card. With \"Fill pauses with hi-hat\" on, quiet stretches get a hi-hat; the silence threshold fits itself to the song, and the − and + buttons in the bar under the waveform remove or add a pause.\n5. Press Play or Space. A click on the waveform or the overview sets the playhead, ← and → jump between pauses, and the speed control slows the song down. Levels change while it plays.\n6. Press Save or ⌘S. By default the file goes next to the original, and Finder or Explorer opens with it selected; turn that off in Settings.\n\nIn Settings (⌘,) you can pick one output folder and have files sorted into Artist \u002F Year - Album subfolders from the source tags; each level is a checkbox.\n\n![Settings](docs\u002Fscreenshots\u002Fprefs-light-en.png)\n\nThe bottom bar shows the file format, bitrate or bit depth, sample rate and length, plus the app version.\n\nWhen the detector is unsure, an orange hint appears above the waveform. ×2 and ÷2 fix a doubled or halved tempo; Tap sets the tempo by tapping.\n\n### File names\n\n| What was done | Name |\n|---|---|\n| Count-in only | `Song_countin.mp3` |\n| Backing track | `Song_backing_guitar-off_vocals-6dB.mp3` |\n| Slowed to 80% | `Song_backing_guitar-off_80pct.mp3` |\n\n### Processing time\n\nThe count-in and analysis take seconds. Separation starts as soon as a track opens and runs on the GPU: about 50 seconds for a 3-minute song on an Apple Silicon Mac (Core ML), on Windows through DirectML on any DirectX 12 graphics card. You can listen and edit while it runs; a preview excerpt gets separated ahead of the rest. A song separated once comes from the cache next time; Settings show its size and clear it.\n\nOn first launch the app downloads its models once: about 780 MB on a Mac, plus a 712 MB GPU model on Windows. An `assets` folder next to the app works too, for a copy on a flash drive.\n\n![Progress](docs\u002Fscreenshots\u002Fprogress-light-en.png)\n\n### Updates\n\nOn start, the app checks GitHub for a newer version and downloads it in the background, checking its SHA-256 against the release. When it is ready, a round blue badge appears left of the version in the bottom right corner, and the menu offers \"Restart to Update\". Without a restart, the update installs when you quit. \"Check for Updates…\" sits in the app menu on macOS and under Help on Windows.\n\nThe app updates itself only from a folder it can write to. Run from Downloads on macOS without moving it, or from a protected folder, the badge opens the download page instead.\n\n---\n\n## Development\n\n[AGENTS.md](AGENTS.md) explains how the code works, why these technologies were chosen and where to change things.\n\n### Environment\n\n```bash\nbrew install ffmpeg            # or packaging\u002Fbuild_ffmpeg.sh, the LGPL build that goes into bin\u002F\nuv sync\npackaging\u002Ffetch_models.sh      # beat_this final0 (81 MB), BS-RoFormer SW (700 MB)\n```\n\n### Run\n\n```bash\nuv run countin-gui [files...]                        # the app\nuv run countin song.mp3 --style buildup --bars 2     # command line\nuv run countin *.mp3 --dry-run                       # table: BPM, first downbeat, confidence\nuv run countin-verify out.mp3 --last-click 2.22526   # where the last click actually landed\n```\n\n| Flag | What it does |\n|---|---|\n| `--bars 1\\|2` | count-in length |\n| `--meter 4\u002F4\\|3\u002F4\\|6\u002F8` | meter; 6\u002F8 clicks six eighths over two beats |\n| `--style even\\|buildup` | even count-in or build-up |\n| `--pattern file.mid` | pattern from MIDI, length rounded up to whole bars |\n| `--bpm`, `--first-beat SEC` | set tempo and first downbeat by hand |\n| `--tempo-x2`, `--tempo-half` | fix a doubled or halved tempo |\n| `--pre-roll keep\\|trim` | `keep` puts clicks over the intro, `trim` first cuts leading silence |\n| `--volume DB` | count-in volume |\n| `--guitar-db DB`, `--vocals-db DB` | backing track levels, `--guitar-db=-inf` removes the guitar |\n| `--out`, `--format mp3\\|flac\\|alac\\|wav` | output format, defaults to the source format |\n\n### Tests\n\n```bash\nuv run pytest -m 'not slow'    # fast\nuv run pytest                  # including a neural network run\n```\n\n### Build and release\n\n```bash\nuv run pyinstaller packaging\u002Fcountin.spec --noconfirm --distpath build\u002Fdist --workpath build\u002Fwork  # app and CLI in one bundle\n```\n\nCI (`.github\u002Fworkflows\u002Fbuild.yml`) builds Windows x64 and macOS arm64 for every pull request that touches code and runs the bundled CLI end to end; docs-only changes skip it. To release, bump `version` in `pyproject.toml` and tag `v\u003Cversion>`. CI publishes both archives to Releases, and the in-app update check compares against that version.\n\n## License\n\nCount-In is released under the [MIT License](LICENSE). The bundled third-party components below keep their own licenses.\n\n## Third-party components\n\n| Component | License |\n|---|---|\n| [beat_this](https:\u002F\u002Fgithub.com\u002FCPJKU\u002Fbeat_this) (beat detector, code and weights) | MIT |\n| BS-RoFormer code from [python-audio-separator](https:\u002F\u002Fgithub.com\u002Fnomadkaraoke\u002Fpython-audio-separator), based on [lucidrains\u002FBS-RoFormer](https:\u002F\u002Fgithub.com\u002Flucidrains\u002FBS-RoFormer) | MIT |\n| BS-RoFormer SW weights (jarredou) | author's terms, no explicit license |\n| [FFmpeg](https:\u002F\u002Fffmpeg.org), built without GPL parts, with LAME | LGPL |\n| [Qt for Python](https:\u002F\u002Fdoc.qt.io\u002Fqtforpython-6\u002F) | LGPL |\n| [PyTorch](https:\u002F\u002Fpytorch.org) | BSD |\n| [Signalsmith Stretch](https:\u002F\u002Fgithub.com\u002FSignalsmith-Audio\u002Fsignalsmith-stretch) via [python-stretch](https:\u002F\u002Fgithub.com\u002Fgregogiudici\u002Fpython-stretch) (slowing down) | MIT |\n| [coremltools](https:\u002F\u002Fgithub.com\u002Fapple\u002Fcoremltools) (macOS) | BSD |\n| [ONNX Runtime DirectML](https:\u002F\u002Fonnxruntime.ai) (Windows) | MIT |\n\n---\n\n## Русский\n\nНовости, релизы и обратная связь — в Telegram-канале [@count_in_app](https:\u002F\u002Ft.me\u002Fcount_in_app).\n\nCount-In находит темп и первую сильную долю песни и вставляет перед ней барабанный отсчёт. Последний клик звучит ровно за долю до «раз». Из той же песни можно сделать бэктрек: убрать или приглушить гитару и вокал.\n\n- Отсчёт на 1 или 2 такта, размер 4\u002F4, 3\u002F4 или 6\u002F8.\n- Рисунок: ровный, «нарастание» (во второй половине вдвое чаще, последние удары громче) или свой из MIDI-файла.\n- Нейросеть за один проход разделяет песню на гитару, вокал, бас, барабаны и пианино; у каждой дорожки свой уровень и кнопка отключения.\n- Паузы: такты, где без убранных инструментов тихо, получают хай-хэт на каждую долю, громкостью как музыка вокруг, и по желанию нарастание к вступлению группы.\n- Скорость: песню можно замедлить до 80% без смены тона, отсчёт и хай-хэт встают на замедленную сетку.\n- Разделение идёт на видеокарте: Core ML на Mac, DirectML на Windows. Песню, которую уже разделяли, программа открывает сразу.\n- Вход: mp3, FLAC, ALAC, WAV. Выход: MP3 320 kbps, FLAC, ALAC или WAV, теги и обложка сохраняются.\n- Работает без интернета. Сеть нужна для одной загрузки моделей и для обновлений.\n- Интерфейс на русском и английском: язык берётся из системы, его можно сменить в настройках. [Справка](https:\u002F\u002Fcount-in.app\u002Fru\u002Fguide\u002F) со скриншотами описывает все возможности, программа открывает её из меню «Справка» (F1).\n\n### Скачать\n\nПоследняя версия лежит на странице [Releases](https:\u002F\u002Fgithub.com\u002Fshurshun\u002Fcount-in\u002Freleases\u002Flatest).\n\n| Система | Файл |\n|---|---|\n| Windows 10\u002F11, x64 | `Count-In-windows-x64.zip` |\n| macOS 12+, Apple Silicon | `Count-In-macos-arm64.zip` |\n\nСборки не подписаны, поэтому система при первом запуске предупредит.\n\n- **Windows.** Распакуйте архив и запустите `Count-In.exe`. Если появится SmartScreen, нажмите «Подробнее» → «Выполнить в любом случае».\n- **macOS.** Распакуйте архив и перетащите `Count-In.app` в «Программы». Первый запуск система заблокирует. Откройте «Системные настройки» → «Конфиденциальность и безопасность», прокрутите вниз и нажмите «Всё равно открыть» рядом с Count-In.\n\n### Как пользоваться\n\n![Главное окно](docs\u002Fscreenshots\u002Fmain-light.png)\n\nПриложение следует оформлению системы, есть и [тёмная тема](docs\u002Fscreenshots\u002Fmain-dark.png).\n\n1. Перетащите трек в окно или откройте его через ⌘O. Приложение анализирует его и сразу начинает в фоне разделять на дорожки; карточка поверх волны показывает прогресс и советы.\n2. Проверьте оранжевый маркер «1» на волне. Если детектор ошибся, перетащите маркер на нужную долю или сдвиньте стрелками в карточке «Темп»; круглая стрелка возвращает найденное детектором. Колесо меняет масштаб, перетаскивание сдвигает волну, обзор трека под волной показывает всю песню.\n3. Выберите рисунок, длину и размер отсчёта. Синие отметки на волне показывают, где прозвучат клики.\n4. Для бэктрека опустите ползунки в карточке «Бэктрек». С галочкой «Заполнять паузы хай-хэтом» тихие места получают хай-хэт; порог тишины подбирается сам, кнопки − и + под волной убирают и добавляют паузы.\n5. Нажмите Play или пробел. Щелчок по волне или обзору трека ставит курсор, ← и → переходят по паузам, блок «Скорость» замедляет песню. Уровни меняются на ходу.\n6. Нажмите «Сохранить» или ⌘S. По умолчанию файл ложится рядом с исходником, а Finder или Проводник открывается с ним; это отключается в настройках.\n\nВ настройках (⌘,) можно один раз выбрать папку для всех файлов и раскладывать их по подпапкам «Исполнитель \u002F Год - Альбом» по тегам исходника, каждый уровень включается галочкой.\n\n![Настройки](docs\u002Fscreenshots\u002Fprefs-light.png)\n\nВ нижней панели видны формат файла, битрейт или разрядность, частота дискретизации, длительность и версия приложения.\n\nЕсли детектор не уверен в результате, над волной появляется оранжевая подсказка. Кнопки ×2 и ÷2 исправляют удвоенный или половинный темп, Tap задаёт темп постукиванием.\n\n#### Имена файлов\n\n| Что сделано | Имя |\n|---|---|\n| Только отсчёт | `Песня_countin.mp3` |\n| Бэктрек | `Песня_backing_guitar-off_vocals-6dB.mp3` |\n| Замедлено до 80% | `Песня_backing_guitar-off_80pct.mp3` |\n\n#### Время обработки\n\nОтсчёт и анализ занимают секунды. Разделение начинается сразу после открытия трека и идёт на видеокарте: около 50 секунд на 3-минутную песню на Mac с Apple Silicon (Core ML), на Windows через DirectML на любой видеокарте с DirectX 12. Пока оно идёт, можно слушать и править; отрывок для прослушивания разделяется вне очереди. Песня, которую уже разделяли, берётся из кэша; его размер и очистка есть в настройках.\n\nПри первом запуске программа один раз скачивает модели: около 780 МБ на Mac и ещё 712 МБ модели для видеокарты на Windows. Подходит и папка `assets` рядом с программой, например на флешке.\n\n![Прогресс](docs\u002Fscreenshots\u002Fprogress-light.png)\n\n#### Обновления\n\nПри запуске приложение проверяет, нет ли новой версии на GitHub, и в фоне скачивает её, сверяя SHA-256 с релизом. Когда загрузка готова, справа внизу слева от версии появляется круглый голубой значок, а в меню — пункт «Перезапустить и обновить». Если не перезапускать, обновление установится при выходе. «Проверить обновления…» находится в меню приложения на macOS и в меню «Справка» на Windows.\n\nСамо обновляется только приложение из папки, куда можно писать. Если на macOS запускать его прямо из «Загрузок», не перенося, или из защищённой папки, значок открывает страницу загрузки.\n\n---\n\n### Разработка\n\nКак устроен код, почему выбраны эти технологии и где что менять, описано в [AGENTS.md](AGENTS.md) (на английском).\n\n#### Окружение\n\n```bash\nbrew install ffmpeg            # или packaging\u002Fbuild_ffmpeg.sh, LGPL-сборка для бандла в bin\u002F\nuv sync\npackaging\u002Ffetch_models.sh      # beat_this final0 (81 МБ), BS-RoFormer SW (700 МБ)\n```\n\n#### Запуск\n\n```bash\nuv run countin-gui [файлы...]                       # приложение\nuv run countin song.mp3 --style buildup --bars 2     # командная строка\nuv run countin *.mp3 --dry-run                       # таблица: BPM, первая доля, уверенность\nuv run countin-verify out.mp3 --last-click 2.22526   # проверка, где оказался последний клик\n```\n\n| Флаг | Что делает |\n|---|---|\n| `--bars 1\\|2` | длина отсчёта |\n| `--meter 4\u002F4\\|3\u002F4\\|6\u002F8` | размер; 6\u002F8 щёлкает шесть восьмых на две доли |\n| `--style even\\|buildup` | ровный отсчёт или нарастание |\n| `--pattern file.mid` | рисунок из MIDI, длина округляется до целых тактов |\n| `--bpm`, `--first-beat SEC` | ручная правка темпа и первой доли |\n| `--tempo-x2`, `--tempo-half` | исправить удвоенный или половинный темп |\n| `--pre-roll keep\\|trim` | `keep` кладёт клики поверх вступления, `trim` сначала срезает тишину в начале |\n| `--volume DB` | громкость отсчёта |\n| `--guitar-db DB`, `--vocals-db DB` | уровни для бэктрека, `--guitar-db=-inf` убирает гитару |\n| `--out`, `--format mp3\\|flac\\|alac\\|wav` | формат вывода, по умолчанию как у исходника |\n\n#### Тесты\n\n```bash\nuv run pytest -m 'not slow'    # быстрые\nuv run pytest                  # вместе с прогоном нейросети\n```\n\n#### Сборка и релиз\n\n```bash\nuv run pyinstaller packaging\u002Fcountin.spec --noconfirm --distpath build\u002Fdist --workpath build\u002Fwork  # приложение и CLI в одном бандле\n```\n\nCI (`.github\u002Fworkflows\u002Fbuild.yml`) собирает Windows x64 и macOS arm64 для каждого PR с изменениями кода и прогоняет CLI из бандла от начала до конца; PR только с документацией сборку не запускают. Чтобы выпустить релиз, поднимите `version` в `pyproject.toml` и поставьте тег `v\u003Cверсия>`. CI опубликует оба архива в Releases, а проверка обновлений в приложении сравнивает именно эту версию.\n\n### Лицензия\n\nCount-In распространяется по [лицензии MIT](LICENSE). Сторонние компоненты из таблицы ниже сохраняют свои лицензии.\n\n### Сторонние компоненты\n\n| Компонент | Лицензия |\n|---|---|\n| [beat_this](https:\u002F\u002Fgithub.com\u002FCPJKU\u002Fbeat_this) (детектор долей, код и веса) | MIT |\n| Код BS-RoFormer из [python-audio-separator](https:\u002F\u002Fgithub.com\u002Fnomadkaraoke\u002Fpython-audio-separator), на основе [lucidrains\u002FBS-RoFormer](https:\u002F\u002Fgithub.com\u002Flucidrains\u002FBS-RoFormer) | MIT |\n| Веса BS-RoFormer SW (jarredou) | условия автора, явной лицензии нет |\n| [FFmpeg](https:\u002F\u002Fffmpeg.org), сборка без GPL-частей, с LAME | LGPL |\n| [Qt for Python](https:\u002F\u002Fdoc.qt.io\u002Fqtforpython-6\u002F) | LGPL |\n| [PyTorch](https:\u002F\u002Fpytorch.org) | BSD |\n| [Signalsmith Stretch](https:\u002F\u002Fgithub.com\u002FSignalsmith-Audio\u002Fsignalsmith-stretch) через [python-stretch](https:\u002F\u002Fgithub.com\u002Fgregogiudici\u002Fpython-stretch) (замедление) | MIT |\n| [coremltools](https:\u002F\u002Fgithub.com\u002Fapple\u002Fcoremltools) (macOS) | BSD |\n| [ONNX Runtime DirectML](https:\u002F\u002Fonnxruntime.ai) (Windows) | MIT |\n","Count-In 是一款面向音乐人和练习者的音频预处理工具，用于在歌曲开头自动添加精准节拍的鼓棒数拍（count-in），并支持生成伴奏轨。核心功能包括：基于神经网络的多音源分离（人声、吉他、鼓等），支持自定义节拍数拍（1-2小节，4\u002F4、3\u002F4、6\u002F8拍）、多种节奏模式（均匀、渐强、MIDI自定义）及静音段落自动填充踩镲；支持变速不变调、GPU加速分离（Core ML\u002FDirectML）、离线运行及主流无损\u002F有损格式输入输出。适用于乐器练习、现场排练、录音准备等需精确节奏引导与干净伴奏的场景。","2026-11-24 04:49:12","CREATED_QUERY"]