Ylands:Tile - YSound - Play Note 3D: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<!--- THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. --> == Play Note 3D(Position, Audiable Distance, Instrum...") |
No edit summary |
||
Line 36: | Line 36: | ||
Play duration of the note (ms) | Play duration of the note (ms) | ||
=== Availability === | |||
[[Ylands:Tile Availability - Server|Server]] | |||
=== Description === | === Description === |
Revision as of 11:15, 12 November 2021
Play Note 3D(Position, Audiable Distance, Instrument, Octave, Note, Velocity, Duration)
static playNote3D(position: YVector3, audiableDistance: YAudibleDistance, instrument: number, octave: number, note: YNote, velocity: number, duration: number): void;
Parameters
position
Target position (vector)
audiableDistance
How far the sound will be heard
instrument
Selected intrument (1-127)
octave
Selected octave (0-8)
note
Selected note
velocity
Velocity (volume) of the note
duration
Play duration of the note (ms)
Availability
Description
Allows to play selected MIDI note at given position.