音乐
32 个节点
本页内容 32
Articulate
函数Each note sounding for Fraction of its length - 0.5 staccato, 1 legato - while still taking its whole length in time.
Articulate(Music: Music, fraction: 数字) -> Music
Music Articulate(Music Music, double fraction)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Music | Music | — | |
| fraction | 数字 | — |
返回
| 结果 | Music |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 音乐
- 所属包
- 音乐
Cut
函数The first Length of the music, a note crossing the cut shortened to end on it (Euterpea's cut).
Cut(Music: Music, length: Duration) -> Music
Music Cut(Music Music, Duration length)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Music | Music | — | |
| length | Duration | — |
返回
| 结果 | Music |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 音乐
- 所属包
- 音乐
Equals
函数此节点没有文档说明。
重载 1/2
Equals(Music: Music, obj: 任意) -> 真否
bool Equals(Music Music, object obj)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Music | Music | — | |
| obj | 任意 | — |
返回
| 结果 | 真否 |
重载 2/2
Equals(Music: Music, other: Music) -> 真否
bool Equals(Music Music, Music other)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Music | Music | — | |
| other | Music | — |
返回
| 结果 | 真否 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 音乐
- 所属包
- 音乐
Length
函数How long the music lasts, in whole notes, taking tempo changes into account (Euterpea's dur).
Length(Music: Music) -> Duration
Duration Length(Music Music)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Music | Music | — |
返回
| 结果 | Duration |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 音乐
- 所属包
- 音乐
Get Hash Code
函数此节点没有文档说明。
GetHashCode(Music: Music) -> 整数
int GetHashCode(Music Music)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Music | Music | — |
返回
| 结果 | 整数 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 音乐
- 所属包
- 音乐
In Key
函数The music in a key, which its ornaments and diatonic transposition read their steps from.
InKey(Music: Music, tonic: Note Name, mode: Scale Mode) -> Music
Music InKey(Music Music, NoteName tonic, ScaleMode mode)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Music | Music | — | |
| tonic | Note Name | — | |
| mode | Scale Mode | — |
返回
| 结果 | Music |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 音乐
- 所属包
- 音乐
Instrument
函数Played on a General MIDI instrument (Euterpea's instrument).
Instrument -> Music
Music: Music
instrument: General Midi InstrumentMusic Instrument(Music Music, GeneralMidiInstrument instrument)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Music | Music | — | |
| instrument | General Midi Instrument | — |
返回
| 结果 | Music |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 音乐
- 所属包
- 音乐
Invert
函数The melody turned upside down about Axis - an interval up becomes the same interval down (Euterpea's invertAt); about the first note when no axis is given (invert).
Invert(Music: Music, axis: 可选 Pitch) -> Music
Music Invert(Music Music, Pitch? axis)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Music | Music | — | |
| axis | 可选 Pitch | — |
返回
| 结果 | Music |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 音乐
- 所属包
- 音乐
Map Pitches
函数Every pitch passed through Map, rests and structure unchanged (Euterpea's mMap over pitches).
MapPitches(Music: Music, map: Func<Pitch, Pitch>) -> Music
Music MapPitches(Music Music, Func<Pitch, Pitch> map)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Music | Music | — | |
| map | Func<Pitch, Pitch> | — |
返回
| 结果 | Music |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 音乐
- 所属包
- 音乐
Offset
函数The music after Delay of silence (Euterpea's offset).
Offset(Music: Music, delay: Duration) -> Music
Music Offset(Music Music, Duration delay)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Music | Music | — | |
| delay | Duration | — |
返回
| 结果 | Music |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 音乐
- 所属包
- 音乐
Percussion
函数Played on the drum kit: every note's key chooses a drum.
Percussion(Music: Music) -> Music
Music Percussion(Music Music)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Music | Music | — |
返回
| 结果 | Music |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 音乐
- 所属包
- 音乐
Perform
函数The music as timed events, at Beats Per Minute quarter notes a minute (Euterpea's perform with its default context: a grand piano at velocity 100, articulation 1).
Perform -> IReadOnlyList<Music Event>
Music: Music
beatsPerMinute: 数字IReadOnlyList<MusicEvent> Perform(
Music Music,
double beatsPerMinute = 120)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Music | Music | — | |
| beatsPerMinute | 数字 | 120 |
返回
| 结果 | IReadOnlyList<Music Event> |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 音乐
- 所属包
- 音乐
Phrase
函数The music played with Euterpea's phrase attributes, the last first.
Phrase(Music: Music, attributes: Phrase Attribute 数组) -> Music
Music Phrase(Music Music, params PhraseAttribute[] attributes)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Music | Music | — | |
| attributes | Phrase Attribute 数组 | — |
返回
| 结果 | Music |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 音乐
- 所属包
- 音乐
Range
函数The lowest and highest key any note reaches, after transpositions; null for music with no notes.
Range(Music: Music) -> 可选 (Pitch, Pitch)
(Pitch, Pitch)? Range(Music Music)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Music | Music | — |
返回
| 结果 | 可选 (Pitch, Pitch) |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 音乐
- 所属包
- 音乐
Remove
函数The music without its first Length, a note crossing the cut shortened to begin on it (Euterpea's remove).
Remove(Music: Music, length: Duration) -> Music
Music Remove(Music Music, Duration length)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Music | Music | — | |
| length | Duration | — |
返回
| 结果 | Music |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 音乐
- 所属包
- 音乐
Repeat
函数The music Times times over (Euterpea's times).
Repeat(Music: Music, times: 整数) -> Music
Music Repeat(Music Music, int times)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Music | Music | — | |
| times | 整数 | — |
返回
| 结果 | Music |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 音乐
- 所属包
- 音乐
Retrograde
函数The music backwards in time (Euterpea's retro): a line reversed, and in a chord the shorter part shifted so every part still ends together.
Retrograde(Music: Music) -> Music
Music Retrograde(Music Music)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Music | Music | — |
返回
| 结果 | Music |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 音乐
- 所属包
- 音乐
Scale Lengths
函数Every length multiplied by Factor, without a tempo marking (Euterpea's scaleDurations).
ScaleLengths(Music: Music, factor: Duration) -> Music
Music ScaleLengths(Music Music, Duration factor)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Music | Music | — | |
| factor | Duration | — |
返回
| 结果 | Music |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 音乐
- 所属包
- 音乐
Tempo
函数Played Factor times as fast (Euterpea's tempo); 2 is twice as fast and half as long.
Tempo(Music: Music, factor: Duration) -> Music
Music Tempo(Music Music, Duration factor)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Music | Music | — | |
| factor | Duration | — |
返回
| 结果 | Music |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 音乐
- 所属包
- 音乐
Then
函数This, then Next.
Then(Music: Music, next: Music) -> Music
Music Then(Music Music, Music next)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Music | Music | — | |
| next | Music | — |
返回
| 结果 | Music |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 音乐
- 所属包
- 音乐
To Midi
函数The music as a Standard MIDI File document: a conductor track with the tempo, then one track per instrument, drums on channel 10 (Euterpea's toMidi).
ToMidi -> MidiDocument
Music: Music
beatsPerMinute: 数字
ticksPerQuarterNote: 整数MidiDocument ToMidi(
Music Music,
double beatsPerMinute = 120,
int ticksPerQuarterNote = 480)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Music | Music | — | |
| beatsPerMinute | 数字 | 120 | Quarter notes a minute. |
| ticksPerQuarterNote | 整数 | 480 | The file's time resolution. |
返回
| 结果 | MidiDocument |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 音乐
- 所属包
- 音乐
To String
函数The music written as Euterpea writes it: c 4 qn :+: (e 4 qn :=: g 4 qn).
ToString(Music: Music) -> 文本
string ToString(Music Music)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Music | Music | — |
返回
| 结果 | 文本 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 音乐
- 所属包
- 音乐
Transpose
函数Every note Semitones higher (Euterpea's transpose).
Transpose(Music: Music, semitones: 整数) -> Music
Music Transpose(Music Music, int semitones)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Music | Music | — | |
| semitones | 整数 | — |
返回
| 结果 | Music |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 音乐
- 所属包
- 音乐
Velocity
函数Played at a MIDI velocity, 1 (barely) to 127 (as hard as possible).
Velocity(Music: Music, velocity: 整数) -> Music
Music Velocity(Music Music, int velocity)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Music | Music | — | |
| velocity | 整数 | — |
返回
| 结果 | Music |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 音乐
- 所属包
- 音乐
With
函数This and Other together.
With(Music: Music, other: Music) -> Music
Music With(Music Music, Music other)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Music | Music | — | |
| other | Music | — |
返回
| 结果 | Music |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 音乐
- 所属包
- 音乐
With Cut
函数Both together, cut to the shorter (Euterpea's /=:).
WithCut(Music: Music, other: Music) -> Music
Music WithCut(Music Music, Music other)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Music | Music | — | |
| other | Music | — |
返回
| 结果 | Music |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 音乐
- 所属包
- 音乐
Chord
函数Every piece at once (Euterpea's chord).
Chord(parts: IEnumerable<Music>) -> Music
Music Chord(IEnumerable<Music> parts)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| parts | IEnumerable<Music> | — |
返回
| 结果 | Music |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 音乐
- 所属包
- 音乐
From Midi
函数Reads music out of a MIDI document: each channel's notes as a chord of lines, each note placed at its time by a rest before it, on the instrument its channel was set to; channel 10 is drums (Euterpea's fromMidi, simplified).
FromMidi(document: MidiDocument, grid: 整数) -> Music
Music FromMidi(MidiDocument document, int grid = 64)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| document | MidiDocument | — | |
| grid | 整数 | 64 |
返回
| 结果 | Music |
备注
Lengths are quantized to Grid of a whole note - 1/64 by default - since MIDI times are ticks and music lengths are fractions.
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 音乐
- 所属包
- 音乐
Empty
函数No music: a rest of no length, the identity of both Music.Then and Music.With.
Empty() -> Music
Music Empty()
返回
| 结果 | Music |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 音乐
- 所属包
- 音乐
Line
函数Each piece after the one before (Euterpea's line).
Line(parts: IEnumerable<Music>) -> Music
Music Line(IEnumerable<Music> parts)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| parts | IEnumerable<Music> | — |
返回
| 结果 | Music |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 音乐
- 所属包
- 音乐
Op Equality
函数此节点没有文档说明。
op_Equality(left: Music, right: Music) -> 真否
bool op_Equality(Music left, Music right)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| left | Music | — | |
| right | Music | — |
返回
| 结果 | 真否 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 音乐
- 所属包
- 音乐
Op Inequality
函数此节点没有文档说明。
op_Inequality(left: Music, right: Music) -> 真否
bool op_Inequality(Music left, Music right)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| left | Music | — | |
| right | Music | — |
返回
| 结果 | 真否 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 音乐
- 所属包
- 音乐