Tile - YSound - Play Note 2D – Ylands
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 2D(Instrument, Octave, Note, Velocity,...") |
Lou Montana (talk | contribs) m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}") |
||
(One intermediate revision by one other user not shown) | |||
Line 28: | Line 28: | ||
Play duration of the note (ms) | Play duration of the note (ms) | ||
=== Availability === | |||
[[Ylands:Tile Availability - Server|Server]] | |||
=== Description === | === Description === | ||
Line 63: | Line 67: | ||
Play duration of the note (ms) | Play duration of the note (ms) | ||
=== Availability === | |||
[[Ylands:Tile Availability - Server|Server]] | |||
=== Description === | === Description === | ||
Line 71: | Line 79: | ||
---- | ---- | ||
{{Navbox/Ylands}} | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}| | {{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}} | ||
[[Category: Instructions]] | [[Category: Instructions]] |
Latest revision as of 15:27, 24 November 2023
Play Note 2D(Instrument, Octave, Note, Velocity, Duration)
static playNote2D(instrument: number, octave: number, note: YNote, velocity: number, duration: number): void;
Parameters
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 everywhere.
Play Note 2D(Player, Instrument, Octave, Note, Velocity, Duration)
static playNote2D(player: YCharacter, instrument: number, octave: number, note: YNote, velocity: number, duration: number): void;
Parameters
player
Target listener (player)
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 to a player.