小辣椒 发表于 2022-11-14 18:16

《斯卡布罗集市》 (学习黑黑制作双语歌词同步)

<style>
#papa { margin: 120px 0 0 calc(50% - 781px); display: grid; place-items: center; width: 1400px; height: 819px; background: #000 url('https://pic.imgdb.cn/item/6372126616f2c2beb19e8f9d.jpg') no-repeat center/cover; box-shadow: 3px 3px 20px #000; perspective: 1000px; overflow: hidden; user-select: none; position: relative; z-index: 1; }
#mplayer { position: absolute; left: 110px; top: 680px; right: 136px; z-index: 1000; }
#btnwrap { display: block; fill: hsla(30, 20%, 80%, .9); cursor: pointer; }
#btnwrap:hover { fill: hsla(90, 100%, 100%, .9); }
#tmsg { fill: hsla(30, 100%, 90%, .9); stroke: none; font: bold 1em sans-serif; }
#lrc { --motion: cover1; --tt: 1s; --state: running; position: absolute; top: 700px; font: bold 1.8em sans-serif; color: hsl(100,100%,90%); -webkit-background-clip: text; filter: drop-shadow(1px 1px 2px hsla(0,100%,0%,.85)); z-index: 999; }
#lrc::before { position: absolute; content: attr(data-lrc); width: 20%; height: 100%; color: transparent; overflow: hidden; white-space: pre; background: linear-gradient(180deg,hsla(19, 48%, 22%,.35),hsla(19, 28%, 42%,.65)); filter: inherit; -webkit-background-clip: text; animation: var(--motion) var(--tt) linear forwards; animation-play-state: var(--state); }
#papa > span { position: absolute; right: 160px; opacity: .75; color: olive; font: bold 3em serif; display: grid; place-items: center; }
#dt1{ position: absolute; width: 40px; height: 60px; top: 430px; left: 500px; }
#dt2{ position: absolute; width: 88px; height: 88px; top: 320px; left: 166px; }
@keyframes cover1 { from { width: 0; } to { width: 100%; } }
@keyframes cover2 { from { width: 0; } to { width: 100%; } }
</style>
<div id="papa">
               <img id="dt1" src="https://pan.365.tf/uploads/lxx/20221025/mf.gif" alt="" />
            <img id="dt2" src="https://pan.365.tf/uploads/lxx/20221025/hd.gif" alt="" />

        <img src="https://pic.imgdb.cn/item/6172a05f2ab3f51d91e3afe4.gif" alt="" style="position: absolute; left: 0; top: 250px; mix-blend-mode: screen; " />
               
        <svg id="mplayer" width="120" height="120">
                <g id="mama" transform="rotate(-90, 60, 60)" style="cursor: pointer;">
                        <circle id="track" cx="60" cy="60" r="50" fill="none" stroke-width="10" stroke="hsla(100, 20%, 80%, .65)" />
                        <circle id="prog" cx="60" cy="60" r="50" fill="none" stroke-width="10" stroke="hsla(100,50%,50%,.55)" />
                </g>
                <g id="btnwrap">
                        <path id="btnplay" d="M 50 50,50 70,70, 60 z"></path>
                        <path id="btnpause" d="M 52 50,52 70,57 70,57 50,52 50 z M 60 50,60 70,65 70,65 50,60 50 z" style="display: none;"></path>
                        <path d="M 57 50,60 50,60 70,57 70 z" fill="transparent" />
                </g>
                <path id="curPath" d="M 20 70 Q 60 0 100 70" fill="none" stroke="none"/>
                <path id="durPath" d="M 20 55 Q 60 110 100 55" fill="none" stroke="none"/>
                <g id="tmsg">
                        <text x="34" y="0"><textPath id="curMsg" xlink:href="#curPath" dominant-baseline="text-after-edge">00:00</textPath></text>
                        <text x="29" y="0"><textPath id="durMsg" xlink:href="#durPath" dominant-baseline="text-before-edge">00:00</textPath></text>
                </g>
        </svg>
        <div id="lrc" data-lrc="花潮论坛lrc在线">花潮论坛lrc在线</div>
</div>
<audio id="aud" src="https://music.163.com/song/media/outer/url?id=3405868.mp3" loop autoplay></audio>

<script>
(function() {
        (function() {let total = 0, rr = 150;Array.from({length: total}).forEach((item,key) => {item = document.createElement('span');item.innerText = String.fromCharCode(9800+key);item.style.transform = `rotate(${0 / total * key}deg) translateY(${rr}px) rotate(-${360 / total * key}deg`;papa.appendChild(item);});})();
        let mKey = 0, mFlag = true, cc = { x: 1*track.getAttribute('cx'), y: 1*track.getAttribute('cy'), len: track.getTotalLength(),};
        let lrcAr = [
                ,
                ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
       
];
        prog.style.strokeDasharray = prog.style.strokeDashoffset =cc.len;
        btnwrap.onclick = () => aud.paused ? aud.play() : aud.pause();
        mama.onclick = (e) => {let deg = Math.atan2(e.offsetY - cc.y, e.offsetX - cc.x) * 180 / Math.PI;deg += (e.offsetX < cc.x && e.offsetY < cc.y) ? 450 : 90;aud.currentTime = aud.duration * deg / 360;};
        aud.addEventListener('pause', () => mState());
        aud.addEventListener('play', () => mState());
        aud.addEventListener('seeked', () => calcKey());
        aud.addEventListener('timeupdate', () => {prog.style.strokeDashoffset = cc.len - cc.len * aud.currentTime / aud.duration;curMsg.textContent = toMin(aud.currentTime);durMsg.textContent = toMin(aud.duration);for (j = 0; j < lrcAr.length; j++) {if (aud.currentTime >= lrcAr) {if (mKey === j) showLrc(lrcAr);else continue;}}});
        let showLrc = (time) => {let name = mFlag ? 'cover1' : 'cover2';lrc.innerHTML = lrcAr;lrc.dataset.lrc = lrcAr.replace(/<br>/,'\n');lrc.style.setProperty('--motion', name);lrc.style.setProperty('--tt', time + 's');lrc.style.setProperty('--state', 'running');mKey += 1;mFlag = !mFlag;};
        let calcKey = () => {for(j = 0; j < lrcAr.length; j ++) {if(aud.currentTime <= lrcAr) {mKey = j - 1;break;}}if(mKey <0) mKey = 0;if(mKey > lrcAr.length - 1) mKey = lrcAr.length - 1;let time = lrcAr - (aud.currentTime - lrcAr);showLrc(time);};
        let mState = () => aud.paused ? (btnplay.style.display = 'block', btnpause.style.display = 'none', lrc.style.setProperty('--state', 'paused')) : (btnplay.style.display = 'none', btnpause.style.display = 'block', lrc.style.setProperty('--state', 'running'));
        let toMin = (val)=> {if (!val) return '00:00';val = Math.floor(val);let min = parseInt(val / 60), sec = parseFloat(val % 60);if(min < 10) min = '0' + min;if(sec < 10) sec = '0' + sec;return min + ':' + sec;};
        papa.oncontextmenu = () => false;
})();
</script>
<br><br><br><br><br>


小辣椒 发表于 2022-11-14 18:18

@马黑黑

黑黑这个背景图图是我视频上截图的{:4_170:}想做动图文件大怕别人看不见

小辣椒 发表于 2022-11-14 18:23

先下,晚上再上来

马黑黑 发表于 2022-11-14 19:10

Scarborough Fair 是苏格兰民歌,我做歌手的时候以这首外语歌成名,后来曾与麦考的后人同台演出过

樵歌 发表于 2022-11-14 19:14

灰常之好听,音质也不是一般的好。{:4_208:}

樵歌 发表于 2022-11-14 19:15

马黑黑 发表于 2022-11-14 19:10
Scarborough Fair 是苏格兰民歌,我做歌手的时候以这首外语歌成名,后来曾与麦考的后人同台演出过

原来是歌星呵。真牛叉{:4_203:}

马黑黑 发表于 2022-11-14 19:16

樵歌 发表于 2022-11-14 19:15
原来是歌星呵。真牛叉

哎,都是上辈子的事情的{:4_170:}

樵歌 发表于 2022-11-14 19:17

马黑黑 发表于 2022-11-14 19:16
哎,都是上辈子的事情的

“我做歌手的时候以这首外语歌成名,后来曾与麦考的后人同台演出过”{:4_172:}

马黑黑 发表于 2022-11-14 19:21

@小辣椒 发现歌词有一句单词有错:

Tell him to find me on acre of land

红色的单词应该是 one 而不是 on,我查了幼儿园双语词典发现的{:4_173:}

马黑黑 发表于 2022-11-14 19:22

樵歌 发表于 2022-11-14 19:17
“我做歌手的时候以这首外语歌成名,后来曾与麦考的后人同台演出过”

这是自传体小说里的语句{:4_173:}

红影 发表于 2022-11-14 19:22

非常经典的一首外文歌曲,真好听。亲爱的两行歌词做的漂亮,色彩和动图的那束花儿很搭。欣赏亲爱的好帖{:4_187:}

马黑黑 发表于 2022-11-14 19:28

词曲的作者不是 Sarah Brightman,不过她编制过这首自己要唱的歌,这点要明确一下。

斯卡布罗集市版本很多,但主歌旋律和歌词未曾改变过,都尊重民歌的原始样子。这首歌之前有副歌,副歌的歌词几乎都与战争有关。

小辣椒 发表于 2022-11-14 19:37

马黑黑 发表于 2022-11-14 19:10
Scarborough Fair 是苏格兰民歌,我做歌手的时候以这首外语歌成名,后来曾与麦考的后人同台演出过

黑黑你太太厉害了,还做过歌手{:4_178:}

小辣椒 发表于 2022-11-14 19:37

樵歌 发表于 2022-11-14 19:14
灰常之好听,音质也不是一般的好。

樵哥哥晚上好{:4_187:}

小辣椒 发表于 2022-11-14 19:39

马黑黑 发表于 2022-11-14 19:21
@小辣椒 发现歌词有一句单词有错:

Tell him to find me on acre of land


那是度娘错了{:4_170:}

好吧我去改

小辣椒 发表于 2022-11-14 19:44

马黑黑 发表于 2022-11-14 19:28
词曲的作者不是 Sarah Brightman,不过她编制过这首自己要唱的歌,这点要明确一下。

斯卡布罗集市版本很 ...

昨天我看了现实版的《斯卡布罗集市》的视频,主要我现在视频没有地方上传了,否则会发给大家看看,昨天已经下载到电脑了

马黑黑 发表于 2022-11-14 20:01

小辣椒 发表于 2022-11-14 19:44
昨天我看了现实版的《斯卡布罗集市》的视频,主要我现在视频没有地方上传了,否则会发给大家看看,昨天已 ...

那个视频也有几个版本,到处都能找到的,因为经典

马黑黑 发表于 2022-11-14 20:02

小辣椒 发表于 2022-11-14 19:39
那是度娘错了

好吧我去改

度娘智力下降了的

马黑黑 发表于 2022-11-14 20:02

小辣椒 发表于 2022-11-14 19:37
黑黑你太太厉害了,还做过歌手

生活所逼,要养家糊口,啥事能干就干,不违法就成

小辣椒 发表于 2022-11-14 20:03

樵歌 发表于 2022-11-14 19:17
“我做歌手的时候以这首外语歌成名,后来曾与麦考的后人同台演出过”

樵哥哥提示厉害的{:4_170:}
页: [1] 2 3 4
查看完整版本: 《斯卡布罗集市》 (学习黑黑制作双语歌词同步)