Skip to content

Commit

Permalink
feat\: 更新部分分类
Browse files Browse the repository at this point in the history
  • Loading branch information
TongDaDa committed Jun 2, 2024
1 parent d44166f commit 2fe5288
Show file tree
Hide file tree
Showing 17 changed files with 72 additions and 47 deletions.
43 changes: 36 additions & 7 deletions dev/components/MuiscPlayer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
<aplayer
:autoplay="true"
:mini="mini"
show-lrc
showLrc
:listFolded="true"
:muted.sync="muted"
:listMaxHeight="'180px'"
:volume.sync="volume"
:music="this.musicList[0]"
:list="this.musicList"
Expand Down Expand Up @@ -65,16 +66,44 @@
pic: 'https://upload.wikimedia.org/wikipedia/commons/thumb/1/1e/Photo_zhaolei.jpg/220px-Photo_zhaolei.jpg'
},
{
title: "Just Missing You",
artist: 'Emma Heesters',
lrc: 'https://tongingtest.oss-cn-beijing.aliyuncs.com/Just%20Missing%20You%20-%20Emma%20Heesters.lrc',
src: 'https://tongingtest.oss-cn-beijing.aliyuncs.com/Just%20Missing%20You%20-%20Emma%20Heesters.mp3',
title: "Wake",
artist: 'Hillsong Young',
lrc: 'https://tongingtest.oss-cn-beijing.aliyuncs.com/Hillsong%20Young%20And%20Free-Wake%28Live%29.lrc',
src: 'https://tongingtest.oss-cn-beijing.aliyuncs.com/Hillsong%20Young%20And%20Free-Wake%28Live%29.mp3',
pic: 'https://upload.wikimedia.org/wikipedia/commons/thumb/1/1e/Photo_zhaolei.jpg/220px-Photo_zhaolei.jpg'
}
},
{
title: "Someone You Loved",
artist: 'Sam Roman&Tom Barnes',
lrc: 'https://tongingtest.oss-cn-beijing.aliyuncs.com/Emma%20Heesters%26Benjamin%20Kohn%26Lewis%20Capaldi%26Pete%20Kelleher%26Sam%20Roman%26Tom%20Barnes-Someone%20You%20Loved.lrc',
src: 'https://tongingtest.oss-cn-beijing.aliyuncs.com/Emma%20Heesters%26Benjamin%20Kohn%26Lewis%20Capaldi%26Pete%20Kelleher%26Sam%20Roman%26Tom%20Barnes-Someone%20You%20Loved.mp3',
pic: 'https://upload.wikimedia.org/wikipedia/commons/thumb/1/1e/Photo_zhaolei.jpg/220px-Photo_zhaolei.jpg'
},
{
title: "违背的青春",
artist: '薛之谦',
lrc: 'https://tongingtest.oss-cn-beijing.aliyuncs.com/%E8%96%9B%E4%B9%8B%E8%B0%A6-%E8%BF%9D%E8%83%8C%E7%9A%84%E9%9D%92%E6%98%A5.lrc',
src: 'https://tongingtest.oss-cn-beijing.aliyuncs.com/%E8%96%9B%E4%B9%8B%E8%B0%A6-%E8%BF%9D%E8%83%8C%E7%9A%84%E9%9D%92%E6%98%A5.mp3',
pic: 'https://upload.wikimedia.org/wikipedia/commons/thumb/1/1e/Photo_zhaolei.jpg/220px-Photo_zhaolei.jpg'
},
{
title: "心墙",
artist: '郭静',
lrc: 'https://tongingtest.oss-cn-beijing.aliyuncs.com/%E9%83%AD%E9%9D%99-%E5%BF%83%E5%A2%99.lrc',
src: 'https://tongingtest.oss-cn-beijing.aliyuncs.com/%E9%83%AD%E9%9D%99-%E5%BF%83%E5%A2%99.mp3',
pic: 'https://upload.wikimedia.org/wikipedia/commons/thumb/1/1e/Photo_zhaolei.jpg/220px-Photo_zhaolei.jpg'
},
{
title: "执子之手",
artist: '宝石Gem',
lrc: 'https://tongingtest.oss-cn-beijing.aliyuncs.com/%E5%AE%9D%E7%9F%B3Gem%26%E4%B8%80%E5%93%A9%E5%93%A9%E4%B8%80-%E6%89%A7%E5%AD%90%E4%B9%8B%E6%89%8B.lrc',
src: 'https://tongingtest.oss-cn-beijing.aliyuncs.com/%E5%AE%9D%E7%9F%B3Gem%26%E4%B8%80%E5%93%A9%E5%93%A9%E4%B8%80-%E6%89%A7%E5%AD%90%E4%B9%8B%E6%89%8B.mp3',
pic: 'https://upload.wikimedia.org/wikipedia/commons/thumb/1/1e/Photo_zhaolei.jpg/220px-Photo_zhaolei.jpg'
},
],
mini: false,
autoplay: false,
volume: 0.7,
volume: 0.5,
muted: false,
}
},
Expand Down
4 changes: 2 additions & 2 deletions dev/content/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module.exports = {
googleAnalytics: "UA-164508376-1", // Google Analytics tracking ID
about: {
fullName: "Oliver",
bio: "The passionate coding was my pursuit for a long time and I love the open source culture",
bio: "The passionate coding was my pursuit for a long time and I love the open source culture. 🇵🇸🇵🇸🇵🇸 Always support Palestinian",
image: "https://avatars.githubusercontent.com/u/23241188?v=4"
},
footer: {
Expand All @@ -47,7 +47,7 @@ module.exports = {
},
{
type: "linkedin",
link: "https://weibo.com/u/5736764406?is_all=1"
link: ""
},
{
type: "twitter",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
date: '2020-11-30'
slug: Mac big sur 闪退现象分析
tags:
- native
- computer
title: Mac big sur 闪退现象分析
author: Oliver Liu
location: Beijing;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
date: '2020-04-14'
slug: communication-between-browser-and-native
tags:
- native
- computer
title: How to establish a message channel between browser and native application?
author: Oliver Liu.
location: Beijing;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
date: '2020-05-18'
slug: debugging-in-electron-and-nw
tags:
- native
- computer
title: debugging in electron and nw
author: Oliver
location: Beijing;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
date: '2020-05-14'
slug: Writing NSIS script in electron
tags:
- native
- computer
title: Writing NSIS script in electron
author: Oliver Liu
location: Beijing;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
date: '2020-5-25'
slug: relaunch your application in nwjs
tags:
- native
- computer
title: Relaunch application in nwjs
author: Oliver Liu
location: Beijing;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
date: '2020-6-30'
slug: chromium多进程架构
tags:
- native
- computer
title: chromium多进程架构
author: Oliver Liu
location: Beijing;
Expand Down
3 changes: 2 additions & 1 deletion dev/content/_posts/diary/This is us.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ tags:
title: The impression of view for the "this is us"
author: Oliver
location: Beijing;
image: https://s.yimg.com/os/en/homerun/feed_manager_auto_publish_494/76617ed36f7e6bb26397b36278740f65
image: https://img2.baidu.com/it/u=3066372055,1055476490&fm=253&fmt=auto&app=138&f=JPEG?w=889&h=500

meta:
- name: title
content: The impression of view for the "this is us"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
date: '2020-04-30'
slug: 货币流通与房价的关系
tags:
- diary
- economy
title: 货币流通与房价的关系
author: Oliver
location: Beijing;
Expand Down
21 changes: 20 additions & 1 deletion dev/content/_posts/musicology/看懂12分音符.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ featured: true

十二分音符也叫十二平均律。

在了解音符之前,思考一下音乐是什么,音乐是物理世界中发出的一种声音,有低沉浑厚的,有慷慨激昂的,也有触人心弦的刺耳音。每一种声音搭配出来的节奏,配合在一起都能表达出不同的意境。这就是纯音乐,如果再配合上人声,即是唱音 + 弹奏,形成一首歌曲。
在了解音符之前,思考一下音乐是什么,音乐是物理世界中发出的一种声音,通过震动产生共鸣,有低沉浑厚的,有慷慨激昂的,也有触人心弦的刺耳音。每一种声音搭配出来的节奏,配合在一起都能表达出不同的意境。这就是纯音乐,如果再配合上人声,即是唱音 + 弹奏,形成一首歌曲。

单纯就纯音乐来说,构成的方法很有讲究。除了一些卡拍,音准等基操之外,如何组合音符形成跌宕起伏,音符之前的旋律延展到整首曲子,是否能够表达出原有的情感,这考验的其实是设计和抽象能力。最最最难的是,音乐是有灵魂的,不是一成不变的,所以单纯靠模版生拉硬套,其实很容易碰到瓶颈。

Expand All @@ -32,3 +32,22 @@ featured: true
发明12音体系的人虽然是个外国人,但实际中国古代箫,笛,琵琶等乐器也有研究过类似的理论,比较著名的就是明朝皇族世子,朱载堉。恰好不好和国外的12音阶 do re mi fa sol 类似。不得不感叹,原来世间万物正确的事都是共同的。

在说12分音符之前,先了解几个名词,音程,律制。

## 音程
顾名思义,音程就是两个音调之间的程度,或者距离。一个很有意思的点是,在物理世界中,通过不断变化波长总会碰到和前七个音相似的音,
虽然听起来音量不一样,但是调调基本符合。所以把它们叫作八度。比如 do re mi fa sol la si do,第一个do是中音,第八个也是do,
但是这个do是升音do,它们都发do的音,只是比较和谐的同音。

一个八度可以代表的是什么呢?一个八度就像是一把尺子,你把尺子放在哪个起始位置,最后效果就不一样。他并不是一个固定的音,
而是音程关系,针对音阶的衡量方式。取决于 offset。


而一个八度并不只有上面说的那八个音,这八个音只是全音,其中还有四个半音,半音是在两个全音之间。mi -> `半音` -> fa. si -> `半音` -> do

所以加起来一共12个音,12分音符/平均律 也是这么等分的。



## 律制


24 changes: 0 additions & 24 deletions dev/content/_posts/native/hot-update-cross-platform.md

This file was deleted.

2 changes: 1 addition & 1 deletion dev/content/_posts/node/nodeJS面试问题整理.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
date: '2021-02-04'
slug: nodeJS面试问题
tags:
- native
- computer
title: nodeJS面试问题
author: Oliver Liu
location: Beijing;
Expand Down
2 changes: 1 addition & 1 deletion dev/content/_posts/node/node各个环境变量详解.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
date: '2020-05-25'
slug: node各个环境变量详解
tags:
- native
- computer
title: node各个环境变量详解
author: Oliver Liu
location: Beijing;
Expand Down
2 changes: 1 addition & 1 deletion dev/content/_posts/node/peerDependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
date: '2020-06-03'
slug: 什么时候使用 peerDependencies?
tags:
- native
- computer
title: 什么时候使用 peerDependencies?
author: Oliver Liu
location: Beijing;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
date: '2020-05-25'
slug: 老掉牙的事件队列(平民版)
tags:
- native
- computer
title: 老掉牙的事件队列(平民版)
author: Oliver Liu
location: Beijing;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ featured: false


## Basic knowledge
Before avoid some problems we should know the period of encoding from input into output.
Before avoiding some problems we should know the period of encoding from input into output.
### Abstract Character Repertoire(Abstract Character for short)
It is a character set that **system support**, the set can be closed and open, it belong to computer's system and it will update the character set with the system's upgrade if
it is open. For example, the series of ASCII, ISO/IEC character set all is closed, which means they will never update the character set and for the opened Unicode character set
Expand Down

0 comments on commit 2fe5288

Please sign in to comment.