your current location:首页 > news>Mine Vocal Minecraft

Mine Vocal Minecraft

2024-12-15 02:41:41|Myriagame |source:minecraft skins

Minevocal

The simple sound code cleaner model implemented in the original Minecraft can synthesize monocular tones and single -sound amateur voices (singing).

Effect

Demonstration: https://www.bilibili.com/video/bv1kw4y1v7vp/

use

1. After installing the data packet and resource package, initialize it in the archive:

 Function Minevocal: Init 

2. Pass the parameters used by singing to renders into storage: Minevocal: main

Pass parameters:

nbt address Data type The allowable value (default value) meaning singer string see below (none) Choose singer Phone string stringThe phonetsu (no) defined in the singer database chooses the sound of sound Note string/integer "C3" .. "C6" or 48..84 (60) base audio high Volume integer 1..100 (100) volume gender gender genderInteger-72..72 (0) gender factors Roughness integer-100..100 (0) clear dignity ratio

The built -in singers in the packet are "LTY" and "Miku". They all include five phonetic "A", "E", "I", "O", "U".

Note allows sound names or MIDI format input.Example of sound name format: "A4", "F#5", "CB6".

Roughness controls the ratio of sine waves to noise.The lower the ratio of sine waves, the greater the sound (the more the sound will be mechanical), and the higher the noise ratio (the more you can sound).After trying, the effect of setting this value to 20..30 is the most real.

GENDER controls gender factors.The lower the more the female voice, the higher the more the male voice.It is not recommended to set this value too low or too high.

3. Rendering and played:

 Function Minevocal: Render 

If you want to customize the sound source and players who listen to the sound, label the sound source entity mv.spe to label the listener mv.lis.

When there is no above tag, label the executor MV.SPE by default to label all players MV.LIS.

The sound will be played to the sound/voice channel, please make sure the amount of the sound is turned on in the option.

4. Stop the sound manually:

 Function Minevocal: Stop 

uninstall:

 Function Minevocal: Uninstall 

Exemplary example

#initialize the default closing the cache mode Function Minevocal: Init#Set the singer Ltydata Modify Storage Minevocal: Main Singer Set Value '#Settings For Adata Modify Storage Minevocal: Main Phone Set Value'A'Data Modify Storage Minevocal: Main Note Set Value' G4'data Modify Storage Minevocal: Main Roughness Set Value 25Data Modify Storage Minevocal: Main V v Olume Set Value 100DATA MODIFY Storage Minevocal: Main Genet Value 0Function Minevocal: Render 
# principle

https://github.com/mmorise/world world voice analysis and synthesis system

https://zhuanlan.zhihu.com/p/388667328 world codeware analysis

"The input of the world is the base frequency (F0), the spectral envelope, and the aperiodicity of each frame."

In view of the restrictions of the original Minecraft sound playback, the data packet uses the 72 average internal sound steps to fit the pan -column, and through the average power and the average non -cyclical ratio of the average power of each sound (using the Python packager PyWorld of the World), play the corresponding correspondingThe volume of sine waves and noise, the frequency response of a rough restore is obtained.

The waveform and spectrum of original audio (synthetic from Vocaloid)

Minecraft images

Minecraft images

Minevocal synthesis waveform and spectrum

(Part of the high -second harmonic is caused by the sampling accuracy of Minecraft)

Custom singer, soundin

For temporarily, please refer to the GitHub warehouse of this data packet.

history

V1.0

Add multi -level sampling support

Optimize the volume

v0.4

Rewrite the logic of noise synthesis, greatly enhance the synthetic effect

Optimize files

v0.3

36 average law => 72 average law

32 harmonics => 64 harmonics

Remove the sound that will not be played, optimize the size of the file

Fix the bug that does not play noise

v0.2

The 36 average law replaces the original 12 average law, which is perfectly fitted in harmony within 32 times.

Improved the PlaySound poverty structure (type multi -fork tree), greatly reducing the number of commands of single rendering (greatly increased the size of the data packet)

Reduce resource package size

Fix the sound name bugv0.1

First release