Skip to content

Musical Sound Generator Framework for Soft Synthesizer / Electronic Music Instrument by Rust

License

Notifications You must be signed in to change notification settings

hasebems/Musical_Sound_Generator_Framework_in_Rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Musical Sound Generator Framework (MSGF) in Rust

This software is released under the MIT License, see LICENSE.txt.

外部環境との接続

  • "cargo build" で静的ライブラリが作成されます
  • ライブラリをC言語でコールするための msgf.h が用意されています
  • 私自身は Xcode で、Swift+ObjectiveC によるMacのコンソールアプリを作成し、そこからこのRustライブラリをコールしています。
    • ご連絡いただければ、上記のアプリ環境について情報提供いたします。mailto: JCA03205@gmail.com

IF Function

  • rust_msgf_new() : インスタンスを生成します generate an instance.
  • rust_recieve_midi_message() : MIDI受信します receive a midi message.
  • rust_process() : Audio 信号を生成し、Audio Buffer を渡す処理です(左右2ch) generate stereo audio signal, and send audio buffer to system.
  • rust_msgf_destroy() : インスタンスを解放します release an instance.

Receivable MIDI Data

  • Note On/Note Off
  • Control Change
    • CC#1 : Modulation Wheel
    • CC#7 : Channel Volume
    • CC#10 : Pan
    • CC#11 : Expression
    • CC#12 : Note Shift
    • CC#13 : Tune
    • CC#16-31 : Instrument Parameter
    • CC#91 : Reverb Send
  • Program Change Number
    • #0-#7 : Virtual Analog(va)
    • #8 : Sing(sg)
    • #9 : Sing by Filter(sgf)
  • Pitch Bend

Contents of each folder

  • /src : IF, configuration etc.
  • /src/general: Framework
  • /src/engine: Singnal Processing & Cotrol Engine
  • /src/app: Soft Synth. Application
    • va: Virtual Analog Tone Generator
    • sg: Sing Tone Generator
    • sgf: Sing by Filter Tone Generator

About

Musical Sound Generator Framework for Soft Synthesizer / Electronic Music Instrument by Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published