PageSourceSearch

https://1000tool.com/_nuxt/index.8955c4b4.js

js 1000tool.com collected 2026-10-07 19:53:31 UTC 4,564 bytes, 1 lines download raw bytes

1import{_ as T}from"./c-layout.vue.5f8fd99a.js";import{u as V}from"./vue.f36acd1f.df9752c5.js";import{a as P,a4 as q,W as O,r as m,G as U,M as w,s as n,o as b,c as y,w as t,u as E,j as p,l as a,h as d,t as x,i as G}from"./entry.d679e6c0.js";import{u as H}from"./download-modal.e31e2400.js";import{s as I}from"./size-format.8417d15d.js";import{f as k}from"./index.c2d0f508.js";import{u as K}from"./account.b272236d.js";import{u as W,c as Y}from"./base-layout.vue.267ffe28.js";import{u as J}from"./index.37adf04a.js";import{u as Q}from"./sys.839487d8.js";import{m as X}from"./module.ef62d7ab.js";import{t as Z}from"./make.e0f97b17.js";import"./index.2218dfee.js";import"./nuxt-link.e820e068.js";import"./combined-data.2297fb70.js";import"./index.dc79ce50.js";import"./storage.63dc09c8.js";import"./index.87e7e444.js";import"./sideBarAnchor.vue.e157893e.js";import"./ANALYSIS.fa12025c.js";import"./index.c2694c41.js";const ee={class:"px-2 pt-2 container mx-auto"},te={class:"flex justify-center mb-8"},oe={class:"max-w-md mx-auto pt-1 text-sm"},ae=p("span",{class:"color-warning"},"单文件最大 512 MB",-1),Ce=P({__name:"index",setup(se){const u=H();V({title:"在线音频调速工具 - 高效便捷的音频处理",meta:[{name:"description",content:"在线音频调速服务可以帮助用户轻松调整音频文件的播放速度,无论是加快还是减慢。通过简单易用的界面,用户可以上传音频文件,快速设置所需的速度变化,并即时试听效果。我们的平台支持多种音频格式,适合音乐学习、语言学习及专业音频处理等多种场景。"},{name:"keywords",content:"在线音频调速, 音频速率调整, 在线音频编辑, 音频处理工具, 音频变速, 音频加速, 音频减速, 在线音频工具, 音乐调速, 音频软件, 音频效果, 播放器调速, 音频剪辑, 音频转换, 在线音频服务"}],script:[{src:"/s/lib/ffm/ffm.js",type:"text/javascript",onload:()=>{C()}}]});const s=q().$loading,v=O();K(),W(),Q();const f=X.AUDIO.PLAYBACK_RATE,l=m([]),g=m(null),M=m("mp3"),_=m(2),S=[{label:"0.5 倍",value:2},{label:"0.75 倍",value:1.33},{label:"1.5 倍",value:.67},{label:"2 倍",value:.5},{label:"3 倍",value:.33},{label:"4 倍",value:.25}];U(()=>{});function C(){k.prepare({onMessage(e){s.show(e)},onProgress(e){const o=+(e*100).toFixed(0);s.show({message:`调速中...(${o}%)`,percentage:o})}})}const R=async e=>{var r,i;const o=(r=e.file)==null?void 0:r.file;o&&(l.value=[o]),(i=g.value)==null||i.clear()},A=w(()=>{var e;return l.value.length?I((e=l.value[0])==null?void 0:e.size):"-"}),N=w(()=>{var e;return l.value.length?(e=l.value[0])==null?void 0:e.name:""});async function D(){try{if(s.show("加载中..."),!await Y.usabilityChecker(f)){s.hide();return}s.show("开始调速...");const o=l.value[0],r=Date.now(),i=await k.audioPlaybackRate({file:o,rate:_.value,onMessage(c){s.show(c)}});if(!await Z({module:f})){s.hide(),v.error({title:"出错了",content:"出现一些未知错误,请重试",negativeText:"好 的"});return}u.downloadFile=i,u.downloadFileName=`${J.getAutoFilename(M.value)}`,u.taskCost=Date.now()-r,s.hide(),u.show=!0}catch(e){s.hide(),v.error({title:"出错了",content:e.message,negativeText:"好 的"})}}return(e,o)=>{const r=n("n-button"),i=n("n-upload"),h=n("n-ellipsis"),c=n("n-form-item"),F=n("n-select"),B=n("n-form"),$=n("n-card"),j=n("n-alert"),z=T;return b(),y(z,{"has-sider":!1,"has-download":!0,pageModule:E(f)},{default:t(()=>[p("div",ee,[a($,{title:"",class:"max-w-md mx-auto",embedded:""},{default:t(()=>[a(B,{ref:"formRef","label-placement":"left",inline:!1,"label-width":100},{default:t(()=>[a(c,{label:"音频文件:"},{default:t(()=>[a(i,{action:"",class:"flex-shrink-0",accept:"audio/*",ref_key:"uploadRef",ref:g,style:{width:"auto"},"show-file-list":!1,multiple:!1,"custom-request":R},{default:t(()=>[a(r,{strong:"",secondary:"",type:"info"},{default:t(()=>[d(" 选择音频 ")]),_:1})]),_:1},512),l.value.length?(b(),y(h,{key:0,class:"flex-grow pl-2 text-gray-500"},{default:t(()=>[d(x(N.value),1)]),_:1})):G("",!0)]),_:1}),a(c,{label:"音频大小:"},{default:t(()=>[d(x(A.value),1)]),_:1}),a(c,{label:"速度设置:"},{default:t(()=>[a(F,{style:{},value:_.value,"onUpdate:value":o[0]||(o[0]=L=>_.value=L),options:S},null,8,["value"])]),_:1})]),_:1},512),p("div",te,[a(r,{type:"primary",size:"large",disabled:!l.value.length,onClick:D},{default:t(()=>[d("立即转换")]),_:1},8,["disabled"])])]),_:1}),p("div",oe,[a(j,{"show-icon":!1},{default:t(()=>[ae]),_:1})])])]),_:1},8,["pageModule"])}}});
1export{Ce as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.