Git Product home page Git Product logo

true_rand_music's Introduction

true_rand_music

真随机音乐播放器!使用量子随机源产生的随机数来控制播放win10电脑里的音乐。

真随机数来源

https://qrng.anu.edu.au/

该网站向互联网上的任何人提供真正的随机数。我们实验室通过测量真空的量子涨落实时生成随机数。真空在量子物理学和经典物理学中的描述非常不同。在经典物理学中,真空被认为是没有物质或光子的空间。然而,量子物理学说,同一个空间就像一片虚拟粒子的海洋,一直在出现和消失。这是因为真空仍然具有零点能量。因此,真空的电磁场在所有频率上都表现出相位和幅度的随机波动。通过仔细测量这些波动,我们能够生成超高带宽的随机数。

使用方法

环境要求:python>3.7 win10 >=1809

  • 安装依赖

    pip install -r requirements.txt
  • 编辑config.txt 每行一个填入音乐文件夹

  • 双击 random_music.bat 即可。程序会从设置好的文件夹随机选一首歌曲播放。

tips

歌曲播放完会自动下一曲。

歌曲播放过程中点暂停,可以触发程序播放下一首随机歌曲。

效果如下:

image-20220125231953639

true_rand_music's People

Stargazers

steven avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.