chipweinberger / dart_melty_soundfont

A port of Melty Synth by Nobuaki Tanaka (C#) to Dart
Other
33 stars 8 forks source link

how to play sound? #15

Closed Kizat closed 2 years ago

Kizat commented 2 years ago

synth.noteOn(channel: 0, key: 72, velocity: 120); command does not make a sound

chipweinberger commented 2 years ago

this depends on what platform you are using.

you need to write code to pass the waveform to the platform yourself

if this is your first time making an app with audio, read wikipedia articles on PCM audio and how it works