Обрезать песню
Послушайте, отметьте начало и конец, сохраните кусок. Песня не покидает устройство.
Файл читает и перекодирует ваш собственный браузер. Ни один запрос никуда его не отправляет — у этой страницы просто нет сервера, куда его загружать.
Вопросы
Как сделать рингтон из песни?
Вырежьте 20–30 секунд с затуханием и сохраните в MP3. На Android положите файл в папку Ringtones или выберите его в настройках; на iPhone рингтоны ставятся через GarageBand или Finder в формате M4R, и MP3 отсюда — исходник для этого.
Качество ухудшится?
В WAV сохраняется каждый отсчёт как есть. MP3 192 кбит/с перекодируется один раз — на телефоне это не слышно; многократная обрезка одного MP3 будет накапливать потери.
Песня куда-то загружается?
Нет. Браузер сам декодирует и кодирует звук.
Пусть это сделает ваш агент: Audio Cutter: подключите MCP Life2Film (52 видеоинструментов, гайды и навыки)
claude mcp add --transport http life2film https://life2film.com/mcpПромпт, навык
Вставьте агенту:
Use Life2Film's audio-cutter on my file: call get_tool("audio-cutter") on the life2film MCP, then do it.Claude.ai / ChatGPT connector: https://life2film.com/mcp · Cursor: {"mcpServers":{"life2film":{"url":"https://life2film.com/mcp"}}}
get_tool("audio-cutter") · Файл навыка: /tools/audio-cutter/skill.md · all skills
Другие инструменты
Встроить в свой проект
Cutting a song, locally — the same way this page does it, on the user's machine, with no server. Take the code, or hand the prompt to a coding agent.
for await (const { buffer } of new AudioBufferSink(track).buffers(start, end)) await source.add(buffer); Add "cut a song" to my project, running entirely in the browser.
Requirements:
- Use "mediabunny": AudioBufferSink(start, end), trim edge buffers by sample, optional linear fade
at both ends, encode with AudioBufferSource to MP3 (@mediabunny/mp3-encoder) or WAV.
- Let the user set start/end from an <audio> player's current time.
Reference implementation: https://life2film.com/tools/audio-cutter/
The engine is documented for agents, and every tool page is available as
markdown by adding .md to its address.