Coder Social home page Coder Social logo

关于数据的格式 about noisemaker HOT 6 OPEN

NightDramatist avatar NightDramatist commented on June 8, 2024
关于数据的格式

from noisemaker.

Comments (6)

HaloOrangeWang avatar HaloOrangeWang commented on June 8, 2024 1
  1. 手动标注数据,从原始的midi文件中将各个乐器成分分隔成不同的音轨,并标明每个乐器的类型
  2. 将每一首歌的每个音轨转化成以1/8拍或1/4拍为步长的数组,并全部以SQL的格式存储(这一步是自动完成的)

from noisemaker.

aishoot avatar aishoot commented on June 8, 2024

@HaloOrangeWang 您好,首先感谢您分享这么好的作品。我也同一楼有这样的问题,就是你从.mp3格式的儿歌到格式为rawdata.db的训练数据这一步是怎么做的?可以分享相关的做法或代码吗?谢谢,我也对AI音乐创作很感兴趣的

from noisemaker.

HaloOrangeWang avatar HaloOrangeWang commented on June 8, 2024

@pchao6
首先,我使用的原始数据是mid格式,而不是mp3。(mid格式的文件中可以直接读出各个音符的信息,而mp3格式不行,所以mid格式训练起来比mp3要容易得多)。
之后,我把原始的midi文件中将各个乐器成分分隔成不同的音轨,并标明每个乐器的类型。(数据标注这部分为手工操作)。
最后,使用程序读取标注好的midi文件,在时间序列上进行离散化,并存储到sql中。(这部分对应代码中的 MakerSrc/preparation/store_raw_data.py 和 MakerSrc/interfaces/midi.py )
另注:如果你想要我手工标注好的midi文件,可以+qq1974533445来找我要。

from noisemaker.

aishoot avatar aishoot commented on June 8, 2024

@HaloOrangeWang 好勒,感谢感谢

from noisemaker.

NightDramatist avatar NightDramatist commented on June 8, 2024

非常感谢

from noisemaker.

 avatar commented on June 8, 2024

您好,这个项目做得挺细致的,做得超好的。

  1. 问下数据标注是指标明每个乐器的类型吗?
    需不需要修改数据的内容的?

  2. 假如我拿到其他的midi的文件,可能音乐类型不是儿歌,那可以直接用这里的代码处理吗?
    或者需要把midi数据处理(包括人工处理)成怎样的形式,才能用这里的代码处理到sql,并且无缝训练新的模型?

谢谢!

from noisemaker.

Related Issues (5)

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.