节奏型
26 个节点
本页内容 26
Arpeggiate
函数Every chord - notes that start and end together - played one note after another across its own time, as Strudel's arp.
Arpeggiate(Pattern: Pattern, mode: Arpeggio Mode) -> Pattern
Pattern Arpeggiate(
Pattern Pattern,
ArpeggioMode mode = ArpeggioMode.Up)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Pattern | Pattern | — | |
| mode | Arpeggio Mode | Up |
返回
| 结果 | Pattern |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 节奏型
- 所属包
- 音乐
Degrade
函数Steps dropped at random with a probability, the same steps every time for the same seed, as degradeBy.
Degrade -> Pattern
Pattern: Pattern
probability: 数字
seed: 整数Pattern Degrade(
Pattern Pattern,
double probability = 0.5,
int seed = 0)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Pattern | Pattern | — | |
| probability | 数字 | 0.5 | |
| seed | 整数 | 0 |
返回
| 结果 | Pattern |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 节奏型
- 所属包
- 音乐
Equals
函数此节点没有文档说明。
重载 1/2
Equals(Pattern: Pattern, obj: 任意) -> 真否
bool Equals(Pattern Pattern, object obj)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Pattern | Pattern | — | |
| obj | 任意 | — |
返回
| 结果 | 真否 |
重载 2/2
Equals(Pattern: Pattern, other: Pattern) -> 真否
bool Equals(Pattern Pattern, Pattern other)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Pattern | Pattern | — | |
| other | Pattern | — |
返回
| 结果 | 真否 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 节奏型
- 所属包
- 音乐
Every
函数Every Nth cycle - the first, then n later - Instead plays in its place, as every with a whole pattern for the function.
Every(Pattern: Pattern, n: 整数, instead: Pattern) -> Pattern
Pattern Every(Pattern Pattern, int n, Pattern instead)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Pattern | Pattern | — | |
| n | 整数 | — | |
| instead | Pattern | — |
返回
| 结果 | Pattern |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 节奏型
- 所属包
- 音乐
Fast
函数The pattern played Factor times in each cycle.
Fast(Pattern: Pattern, factor: Duration) -> Pattern
Pattern Fast(Pattern Pattern, Duration factor)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Pattern | Pattern | — | |
| factor | Duration | — |
返回
| 结果 | Pattern |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 节奏型
- 所属包
- 音乐
Get Hash Code
函数此节点没有文档说明。
GetHashCode(Pattern: Pattern) -> 整数
int GetHashCode(Pattern Pattern)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Pattern | Pattern | — |
返回
| 结果 | 整数 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 节奏型
- 所属包
- 音乐
Iter
函数Each cycle starts a further 1/N of the way into the pattern, as iter: four steps walk round one place a cycle.
Iter(Pattern: Pattern, n: 整数) -> Pattern
Pattern Iter(Pattern Pattern, int n)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Pattern | Pattern | — | |
| n | 整数 | — |
返回
| 结果 | Pattern |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 节奏型
- 所属包
- 音乐
Off
函数The pattern with a copy of itself laid over it, Time cycles later and moved by Semitones, as off: an echo a fifth up, a canon.
Off -> Pattern
Pattern: Pattern
time: Duration
semitones: 整数Pattern Off(Pattern Pattern, Duration time, int semitones = 0)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Pattern | Pattern | — | |
| time | Duration | — | |
| semitones | 整数 | 0 |
返回
| 结果 | Pattern |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 节奏型
- 所属包
- 音乐
Palindrome
函数Forwards one cycle and backwards the next, as palindrome.
Palindrome(Pattern: Pattern) -> Pattern
Pattern Palindrome(Pattern Pattern)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Pattern | Pattern | — |
返回
| 结果 | Pattern |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 节奏型
- 所属包
- 音乐
Ply
函数Every step played Times times in its own time, as ply.
Ply(Pattern: Pattern, times: 整数) -> Pattern
Pattern Ply(Pattern Pattern, int times)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Pattern | Pattern | — | |
| times | 整数 | — |
返回
| 结果 | Pattern |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 节奏型
- 所属包
- 音乐
Query
函数The steps that start in [from, to), in cycles, in time order.
Query -> ImmutableArray<Pattern Event>
Pattern: Pattern
from: Duration
to: DurationImmutableArray<PatternEvent> Query(
Pattern Pattern,
Duration from,
Duration to)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Pattern | Pattern | — | |
| from | Duration | — | |
| to | Duration | — |
返回
| 结果 | ImmutableArray<Pattern Event> |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 节奏型
- 所属包
- 音乐
Reverse
函数Each cycle played backwards, as TidalCycles' rev: a step that started a quarter of the way in ends a quarter of the way from the end.
Reverse(Pattern: Pattern) -> Pattern
Pattern Reverse(Pattern Pattern)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Pattern | Pattern | — |
返回
| 结果 | Pattern |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 节奏型
- 所属包
- 音乐
Scale
函数The pattern's notes read as degrees of a scale from Tonic: 0 is the tonic, 1 the next degree, 7 the octave in a seven-note scale - Strudel's n("0 2 4").scale("C:major"), so a pattern of numbers becomes a tune in any key. Drums are left alone.
Scale -> Pattern
Pattern: Pattern
tonic: 整数
mode: Scale ModePattern Scale(Pattern Pattern, int tonic, ScaleMode mode)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Pattern | Pattern | — | |
| tonic | 整数 | — | |
| mode | Scale Mode | — |
返回
| 结果 | Pattern |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 节奏型
- 所属包
- 音乐
Shift
函数The pattern moved later by some cycles - earlier for a negative amount - as ~>.
Shift(Pattern: Pattern, cycles: Duration) -> Pattern
Pattern Shift(Pattern Pattern, Duration cycles)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Pattern | Pattern | — | |
| cycles | Duration | — |
返回
| 结果 | Pattern |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 节奏型
- 所属包
- 音乐
Slow
函数The pattern spread over Factor cycles.
Slow(Pattern: Pattern, factor: Duration) -> Pattern
Pattern Slow(Pattern Pattern, Duration factor)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Pattern | Pattern | — | |
| factor | Duration | — |
返回
| 结果 | Pattern |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 节奏型
- 所属包
- 音乐
Swing
函数Swing: in every 1/Subdivision of a cycle, a step in the second half is pushed later by Amount of the subdivision, as swingBy.
Swing -> Pattern
Pattern: Pattern
amount: Duration
subdivision: 整数Pattern Swing(
Pattern Pattern,
Duration amount,
int subdivision = 4)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Pattern | Pattern | — | |
| amount | Duration | — | |
| subdivision | 整数 | 4 |
返回
| 结果 | Pattern |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 节奏型
- 所属包
- 音乐
To Music
函数The first Cycles cycles as music, a cycle lasting Cycle Length - a whole note, one bar of 4/4, unless said otherwise. Drums are marked as percussion.
ToMusic -> Music
Pattern: Pattern
cycles: 整数
cycleLength: 可选 DurationMusic ToMusic(
Pattern Pattern,
int cycles = 1,
Duration? cycleLength)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Pattern | Pattern | — | |
| cycles | 整数 | 1 | |
| cycleLength | 可选 Duration | — |
返回
| 结果 | Music |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 节奏型
- 所属包
- 音乐
To String
函数The pattern as notation.
ToString(Pattern: Pattern) -> 文本
string ToString(Pattern Pattern)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Pattern | Pattern | — |
返回
| 结果 | 文本 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 节奏型
- 所属包
- 音乐
Transpose
函数Every note moved by some semitones; drums stay where they are.
Transpose(Pattern: Pattern, semitones: 整数) -> Pattern
Pattern Transpose(Pattern Pattern, int semitones)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| Pattern | Pattern | — | |
| semitones | 整数 | — |
返回
| 结果 | Pattern |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 节奏型
- 所属包
- 音乐
Alternate
函数Patterns played one a cycle in turn.
Alternate(patterns: IEnumerable<Pattern>) -> Pattern
Pattern Alternate(IEnumerable<Pattern> patterns)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| patterns | IEnumerable<Pattern> | — |
返回
| 结果 | Pattern |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 节奏型
- 所属包
- 音乐
Euclid
函数A step spread over some steps by Euclid's algorithm, turned left by Rotation, as (3,8,2) in the notation.
Euclid -> Pattern
step: Pattern
hits: 整数
steps: 整数
rotation: 整数Pattern Euclid(
Pattern step,
int hits,
int steps,
int rotation = 0)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| step | Pattern | — | |
| hits | 整数 | — | |
| steps | 整数 | — | |
| rotation | 整数 | 0 |
返回
| 结果 | Pattern |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 节奏型
- 所属包
- 音乐
Op Equality
函数此节点没有文档说明。
op_Equality(left: Pattern, right: Pattern) -> 真否
bool op_Equality(Pattern left, Pattern right)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| left | Pattern | — | |
| right | Pattern | — |
返回
| 结果 | 真否 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 节奏型
- 所属包
- 音乐
Op Inequality
函数此节点没有文档说明。
op_Inequality(left: Pattern, right: Pattern) -> 真否
bool op_Inequality(Pattern left, Pattern right)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| left | Pattern | — | |
| right | Pattern | — |
返回
| 结果 | 真否 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 节奏型
- 所属包
- 音乐
Parse
函数Reads a pattern written in mini-notation.
Parse(text: 文本) -> Pattern
Pattern Parse(string text)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| text | 文本 | — |
返回
| 结果 | Pattern |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 节奏型
- 所属包
- 音乐
Sequence
函数Patterns sharing each cycle in turn, one step each.
Sequence(patterns: IEnumerable<Pattern>) -> Pattern
Pattern Sequence(IEnumerable<Pattern> patterns)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| patterns | IEnumerable<Pattern> | — |
返回
| 结果 | Pattern |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 节奏型
- 所属包
- 音乐
Stack
函数Patterns played together.
Stack(patterns: IEnumerable<Pattern>) -> Pattern
Pattern Stack(IEnumerable<Pattern> patterns)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| patterns | IEnumerable<Pattern> | — |
返回
| 结果 | Pattern |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 节奏型
- 所属包
- 音乐