Giter Site home page Giter Site logo

musicengine's Introduction

MusicEngine

概要:

音楽を再生するオブジェクトにテンポや拍子を指定する事で
音楽のタイミングを取得したりクオンタイズさせたり
音楽に合わせた演出を簡単に作れるようになります。

また、複数のセクションや複数のトラックを追加して
小節に合わせた横の遷移や
クロスフェードによる縦の遷移を
関数一つで簡単に実行できます。

Unity単体での再生と、
オーディオミドルウェアのCRI ADX2/Audiokinetic Wwiseを使った再生に対応しています。

Released under the MIT license
http://opensource.org/licenses/mit-license.php

利用方法:

MusicEngineフォルダごとプロジェクトに追加してください。

Unity単体で利用する場合はMusicUnityコンポーネントを追加し、Sectionsの中にAudioClipを追加してください。
(AudioSourceコンポーネントは再生時に内部で自動的に生成されます)

ADX2を利用する場合は、MusicADX2.csの #define ADX2 を有効にした上で、
MusicADX2コンポーネントをCriAtomSourceコンポーネントと同じオブジェクトに追加してください。

Wwiseを利用する場合は、MusicWwise.csの #define Wwise を有効にした上で、
MusicWwiseコンポーネントを追加し、Eventを設定してください。

何か使い方や変数の意味がわからなかったり、使いにくかったりする場合は
@geekdrums までご連絡いただけると、今後の改善の参考にさせていただきます。

Abstract:

You can get musical timing information with Unity or CRI ADX2 / Audiokinetic Wwise.

And you can also use interactive music functions such as Horizontal Resequencing and Vertical Remixing.

Released under the MIT license
http://opensource.org/licenses/mit-license.php

How To Use:

Add MusicEngine folder to your Unity project.

Use MusicUnity component if you don't use any other audio middleware.
Add MusicUnity component and set AudioClips into Sections property.
(AudioSource component will be automatically instantiated inside this MusicEngine.)

If you use CRI ADX2, enable #ADX2 in MusicADX2.cs.
Add MusicADX2 component to the same gameObject with CriAtomSource component.

If you use Audiokinetic Wwise, enable #Wwise in MusicWwise.cs.
Add MusicWwise component and set Event property.

If you have any questions or suggestions, please let me (@geekdrums) know.

musicengine's People

Contributors

geekdrums 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.