duangsuse::Echo
719 subscribers
4.27K photos
130 videos
583 files
6.49K links
import this:
美而不丑、明而不暗、短而不凡、长而不乱,扁平不宽,读而后码,行之天下,勿托地上天国。
异常勿吞,难过勿过,叹一真理。效率是很重要,盲目最是低效。
简明是可靠的先验,不是可靠的祭品。
知其变,守其恒,为天下式;穷其变,知不穷,得地上势。知变守恒却穷变知新,我认真理,我不认真。

技术相干订阅~
另外有 throws 闲杂频道 @dsuset
转载频道 @dsusep
极小可能会有批评zf的消息 如有不适可退出
suse小站(面向运气编程): https://WOJS.org/#/
Download Telegram
[DuangSUSE@duangsuse]~/文档% ~/Projects/audio_to_midi_melodia/audio_to_midi_melodia.py DreamItPossible_Vocal.ogg DreamIt.mid
Loading audio...
Extracting melody f0 with MELODIA...
Converting Hz to MIDI notes...
Saving MIDI to disk...
Conversion complete.
用上高科技自动扒谱了…… 不过感觉也没那么好,还是只能辅助拿音高
I will run I will climb I will so -o -ar
I'm un de -feat -ed o o oh
Jum -ping out of my skin, pull the ch -o -rd
Yeah I be -lieve it o oh
The past, is e -very thing we were Don't make us who we are
[60, 58, 60, 60, 58, 60, 60, 58, 60, 68, 67, 58, 58, 55, 55, 55, 55, 56, 55, 60, 58, 60, 60, 58, 60, 60, 58, 60, 68, 67, 58, 58, 55, 55, 55, 58, 60, 63, 65, 63, 65, 67, 65, 63, 65, 63, 65, 67, 65, 63, 63, 62, 63]

So I'll dream, until I make it real
And all I see is stars
It's not until you fall that you fly

When your dreams comes alive you're unstoppable
Take a shot, chase the
Sun, find the beautiful
We will glow in the dark
Turning dust to gold
And we'll dream
It possible
Possible
And we'll dream
It possible
I will chase, I will reach, I will fly
Until I'm breaking, until I'm breaking
Out of my cage, like a bird in the night
I know I'm changing, I know I'm changing
In, into something big,
Better than before
And if it takes, takes a thousand lives
Then it's worth fighting for
It's not until you fall that you fly
When your dreams come
Alive you're unstoppable
Take a shot, chase the
Sun, find the beautiful
We will glow in the dark
Turning dust to gold
And we'll dream
It possible
Possible
From the bottom to the top
We're sparking wild fire's
Never quit and never stop
The rest of our lives
From the bottom to the top
We're sparking wild fire's
Never quit and never stop
It's not until you fall that you fly
When your dreams come
Alive you're unstoppable
Take a shot, chase the
Sun, find the beautiful
We will glow in the dark
Turning dust to gold
And we'll dream
It possible
Possible
And we'll dream
It possible
……Oh 我最讨厌扒这种很好听的歌了,显然要想扒谱熟悉歌词是基本要求,但对一个 native speaker 而言显然那样更容易处理这个断词的问题……
显然为了避免再次返工,我们这次必须得先处理好断词的问题…… 毕竟这个和普通的歌词还是有很大区别,我是按音高分音符(所以一个词也可以占多音符)的
undefated 这个词 synthv 直接读起来有点怪,还是按中文的思路拆成 un -defated 两个音好了
第一次很失败…… 这支曲子很多变,突破了我对英文的猜测,总是不能按自己之前策划的操作,因为我只认音高…… 显然这样的话音高表也得重弄
……终于知道 MuseScore 里怎么进行基本的顺序编辑了,只能剪切粘贴啊
#linux #science #tools 🤔 可编程、录制的星图软件, 里面 Sun 叫 Sol, 估计是巴西的后端
Forwarded from duangsuse Throws
from re import split
def template(name, verb, text):
def subst(word):
if word == name: return "%1"
elif word == verb: return "%2"
else: return word #< can be a dict getOr
return "".join(map(subst, split(f"({name}|{verb})", text)))

from random import shuffle
def refill(templ, name, verb, sep = "。"):
corpus = shuffle(sep.split(templ))
sep.join(lambda part: part %(name, verb) for sentence in corpus)
#Python #code
Forwarded from null
[CloudHammer 劳动节优惠]

几个月不发优惠码了,5175OFF 全场75折意思一下,五一快乐。

注意本站推广返利比例调至 20%,同时充值每过 50 送 5 的优惠仍然保留。
#Freedom #web 我充了一年~ 好了
https://github.com/tsayen/dom-to-image#usage
https://cdnjs.com/libraries/dom-to-image

domtoimage.toPng(node)
.then(function (dataUrl) {
var img = new Image();
img.src = dataUrl;
document.body.appendChild(img);
}).done();

domtoimage.toBlob(node).then(b => window.saveAs(b, 'a.png')).done() ...
jpeg, svg, pixelData

https://github.com/eligrey/FileSaver.js/
https://cdnjs.com/libraries/FileSaver.js
(93,353)(93,510)(89,759)
Forwarded from RWTG9Y4's STDOUT
Forwarded from RWTG9Y4's STDOUT
Media is too big
VIEW IN TELEGRAM
🤔 弄了一个校对助手, 现在方便多辣
#项目 #YuRIS_Tools
duangsuse::Echo
Photo
感觉最近的清单次数已经溢出了…… 搞不好要被橄榄,还是赶紧做点别的
duangsuse::Echo
感觉最近的清单次数已经溢出了…… 搞不好要被橄榄,还是赶紧做点别的
不过我劝一句大家可以复制一下那些参数涉及政治的应用之类的,免得最后删除了(
除非有事实赵弹(相信应该不可能)我会保留的
I will run I will climb I will so -o -ar
I'm un de -feat -ed o o oh
Jum -ping out of my skin, pull the cho -o -rd
Yeah I be -lieve it o oh
The past, is ev -ery -thing we were Don't make us who we are ah ah
[60, 58, 60, 60, 58, 60, 60, 58, 60, 68, 67, 58, 58, 55, 55, 55, 55, 56, 55, 60, 58, 60, 60, 58, 60, 60, 58, 60, 68, 67, 58, 58, 55, 55, 55, 58, 60, 63, 65, 63, 65, 67, 65, 63, 65, 63, 65, 67, 65, 63, 63, 62, 63]

[36]
So I'll dream, un -til I make it real And all I see is stars ah ah
It's not un -til you fall that you fly
When your dreams come -s alive you are unst -opp -ble Take a shot, chase the Sun, find the beau -ti -ful
[60, 63, 65, 63, 65, 67, 65, 63, 65, 63, 65, 67, 65, 63, 63, 62, 63, 63, 63, 65, 67, 63, 60, 58, 62, 63, 67, 70, 72, 72, 72, 72, 72, 70, 67, 70, 67, 67, 63, 65, 65, 63, 60, 67, 63, 65, 63, 58]

[59]
We will glow in the dark Turn -ning dust to gold And we'll drea -ea -ea -ea -ea -ea -eam It po -ss -ble
[67, 70, 72, 72, 72, 72, 72, 70, 67, 70, 67, 67, 63, 65, 67, 65, 67, 65, 67, 70, 67, 65, 60, 60]

[138]
It pos -ss -ble - -o -oh ah ah ah ah ah - from the bottom + to the top - We're spar -king wild + fire -s Ne -ver quit ne -ver st -op, the rest of our + lives
[63, 65, 67, 68, 67, 65, 63, 60, 70, 72, 70, 74, 72, 62, 63, 62, 62, 63, 63, 63, 60, 63, 63, 60, 63, 63, 65, 67, 63, 63, 63, 63, 63, 63, 60, 63, 63, 63, 63, 60, 60]

……这一段 rap 录得一塌糊涂,只能在 editor 里重调,导入 MuseScore 都没法编辑