# -*- coding: utf-8 -*- from surge.tools.rhythmtools import subdividers import abjad subdividers = [ None, None, # stage 3 # 9:8 (16th notes) # 012345678 # *--***-*- subdividers.Identity(multiplier=2, rotation_cycle=range(9), sustain_mask=abjad.sustain_every(indices=[1, 2, 6, 8], period=9)), None, # stage 5 # 9:8 (16th notes) # 012345678 # *-.*-.**- subdividers.Identity( multiplier=2, rotation_cycle=range(9), sustain_mask=abjad.sustain_every(indices=[1, 4, 8], period=9), silence_mask=abjad.silence_every(indices=[2, 5], period=9), ), # stage 6 # 9:8 (16th notes) # 012345678 # *-.*-.**- subdividers.Identity(
# -*- coding: utf-8 -*- from surge.tools.rhythmtools import subdividers import abjad subdividers = [ None, None, # stage 3 # 7:8 (16th notes) # 0123456 # **-*--- subdividers.Identity( multiplier=2, rotation_cycle=range(7), sustain_mask=abjad.sustain_every( indices=[2, 4, 5, 6], period=7 ) ), None, # stage 5 # 7:8 (16th notes) # 0123456 # *-.*-*. subdividers.Identity( multiplier=2, rotation_cycle=range(7), sustain_mask=abjad.sustain_every( indices=[1, 4], period=7 ), silence_mask=abjad.silence_every(
# -*- coding: utf-8 -*- from surge.tools.rhythmtools import subdividers import abjad subdividers = [ None, None, # stage 3 # 7:8 (16th notes) # 0123456 # **-*--- subdividers.Identity(multiplier=2, rotation_cycle=range(7), sustain_mask=abjad.sustain_every(indices=[2, 4, 5, 6], period=7)), None, # stage 5 # 7:8 (16th notes) # 0123456 # *-.*-*. subdividers.Identity(multiplier=2, rotation_cycle=range(7), sustain_mask=abjad.sustain_every(indices=[1, 4], period=7), silence_mask=abjad.silence_every(indices=[2, 6], period=7)), # stage 6 # 7:8 (16th notes) # 0123456 # *-.*-*. subdividers.Identity(multiplier=2,
# -*- coding: utf-8 -*- from surge.tools.rhythmtools import subdividers import abjad Identity = subdividers.Identity # 11:8 # 0123456789a # .*-..**.*-- period = 11 rotation_cycle = range(period) sustain_mask = abjad.sustain_every(indices=[2, 9, 10], period=period) silence_mask = abjad.silence_every(indices=[0, 3, 4, 7], period=period) subdividers = [None, None] for i in range(4): subdividers.append( Identity( rotation_cycle=rotation_cycle, sustain_mask=sustain_mask, silence_mask=silence_mask ) ) subdividers.append(None)
# -*- coding: utf-8 -*- from surge.tools.rhythmtools import subdividers import abjad subdividers = [ None, None, # stage 3 # 9:8 (16th notes) # 012345678 # *--***-*- subdividers.Identity( multiplier=2, rotation_cycle=range(9), sustain_mask=abjad.sustain_every(indices=[1, 2, 6, 8], period=9) ), None, # stage 5 # 9:8 (16th notes) # 012345678 # *-.*-.**- subdividers.Identity( multiplier=2, rotation_cycle=range(9), sustain_mask=abjad.sustain_every(indices=[1, 4, 8], period=9), silence_mask=abjad.silence_every(indices=[2, 5], period=9), ), # stage 6 # 9:8 (16th notes) # 012345678 # *-.*-.**-
# -*- coding: utf-8 -*- from surge.tools.rhythmtools import subdividers import abjad subdividers = [ None, None, # stage 3 # 10:8 # 0123456789 # *-**-*-*-- subdividers.Identity(multiplier=2, rotation_cycle=range(10), sustain_mask=abjad.sustain_every( indices=[1, 4, 6, 8, 9], period=10)), None, # stage 5 same as left_hand # 10:8 # 0123456789 # *-.*.*-*-. subdividers.Identity(multiplier=2, rotation_cycle=range(10), sustain_mask=abjad.sustain_every(indices=[1, 6, 8], period=10), silence_mask=abjad.silence_every(indices=[2, 4, 9], period=10)), # stage 6 same as left_hand # 10:8 # 0123456789 # *-.*.*-*-. subdividers.Identity(multiplier=2,
# -*- coding: utf-8 -*- from surge.tools.rhythmtools import subdividers import abjad Identity = subdividers.Identity # 11:8 # 0123456789a # .*-..**.*-- period = 11 rotation_cycle = range(period) sustain_mask = abjad.sustain_every(indices=[2, 9, 10], period=period) silence_mask = abjad.silence_every(indices=[0, 3, 4, 7], period=period) subdividers = [None, None] for i in range(4): subdividers.append( Identity(rotation_cycle=rotation_cycle, sustain_mask=sustain_mask, silence_mask=silence_mask)) subdividers.append(None)
# -*- coding: utf-8 -*- from surge.tools.rhythmtools import subdividers import abjad Identity = subdividers.Identity # 13:8 # 0123456789abc # *-.*-..*.*--. period = 13 rotation_cycle = range(period) sustain_mask = abjad.sustain_every(indices=[1, 5, 10, 11], period=period) silence_mask = abjad.silence_every(indices=[2, 5, 6, 8], period=period) subdividers = [None, None] for i in range(4): subdividers.append( Identity( rotation_cycle=rotation_cycle, sustain_mask=sustain_mask, silence_mask=silence_mask ) ) subdividers.append(None)
# -*- coding: utf-8 -*- from surge.tools.rhythmtools import subdividers import abjad subdividers = [ None, None, # stage 3 # 1:1 (16th notes) # 01234567 # *-**-*-- subdividers.Identity(multiplier=2, rotation_cycle=range(8), sustain_mask=abjad.sustain_every(indices=[1, 4, 6], period=8)), None, # stage 5 same as left_hand # 1:1 (16th notes) # 01234567 # .**.-*-. subdividers.Identity(multiplier=2, rotation_cycle=range(8), sustain_mask=abjad.sustain_every(indices=[4, 6], period=8), silence_mask=abjad.silence_every(indices=[0, 3, 7], period=8)), # stage 6 same as left_hand # 1:1 (16th notes) # 01234567 # .**.-*-. subdividers.Identity(multiplier=2,
from surge.materials.segment_ii.time_signatures import time_signatures from surge.tools.rhythmtools import subdividers import abjad subdividers =[ None, None, # stage 3 # 1:1 (16th notes) # 01234567 # *--*---- subdividers.Identity( multiplier=2, rotation_cycle=range(8), sustain_mask=abjad.sustain_every( indices=[1, 2, 4, 5, 6, 7], period=8 ) ), None, # stage 5 (same as bowing) # 1:1 (16th notes) # 01234567 # .**.-*-. subdividers.Identity( multiplier=2, rotation_cycle=range(8), sustain_mask=abjad.sustain_every( indices=[4, 6], period=8 ), silence_mask=abjad.silence_every(
# -*- coding: utf-8 -*- from surge.tools.rhythmtools import subdividers import abjad subdividers = [ None, None, # stage 3 # 10:8 # 0123456789 # *-**-*-*-- subdividers.Identity( multiplier=2, rotation_cycle=range(10), sustain_mask=abjad.sustain_every( indices=[1, 4, 6, 8, 9], period=10 ) ), None, # stage 5 same as left_hand # 10:8 # 0123456789 # *-.*.*-*-. subdividers.Identity( multiplier=2, rotation_cycle=range(10), sustain_mask=abjad.sustain_every( indices=[1, 6, 8], period=10 ), silence_mask=abjad.silence_every(
# -*- coding: utf-8 -*- from surge.tools.rhythmtools import subdividers import abjad Identity = subdividers.Identity # 12:8 # 0123456789ab # -..*.*--**.* period = 12 rotation_cycle = range(period) sustain_mask = abjad.sustain_every(indices=[0, 6, 7], period=period) silence_mask = abjad.silence_every(indices=[1, 2, 4, 10], period=period) subdividers = [None, None] for i in range(4): subdividers.append( Identity( rotation_cycle=rotation_cycle, sustain_mask=sustain_mask, silence_mask=silence_mask ) ) subdividers.append(None)
# -*- coding: utf-8 -*- from surge.tools.rhythmtools import subdividers import abjad subdividers = [ None, None, None, subdividers.Even([1, 2, 3, 2], rotation_cycle=[0, 1, 2]), subdividers.Even([1, 2, 3, 2], rotation_cycle=[0, 1, 2]), subdividers.Even([1, 2, 3, 2], rotation_cycle=[0, 1, 2]), subdividers.Identity( multiplier=2, rotation_cycle=range(11), sustain_mask=abjad.sustain_every(indices=[1, 2, 5, 7, 8, 10], period=11), ), ]
# -*- coding: utf-8 -*- from surge.tools.rhythmtools import subdividers import abjad subdividers = [ None, None, None, subdividers.Even([1, 2, 3, 2], rotation_cycle=[0, 1, 2]), subdividers.Even([1, 2, 3, 2], rotation_cycle=[0, 1, 2]), subdividers.Even([1, 2, 3, 2], rotation_cycle=[0, 1, 2]), subdividers.Identity( multiplier=2, rotation_cycle=range(11), sustain_mask=abjad.sustain_every( indices=[1, 2, 5, 7, 8, 10], period=11 ), ), ]
# -*- coding: utf-8 -*- from surge.tools.rhythmtools import subdividers import abjad subdividers = [ None, None, None, subdividers.Even([3, 2, 1, 2], rotation_cycle=[0, 1, 2]), subdividers.Even([3, 2, 1, 2], rotation_cycle=[0, 1, 2]), subdividers.Even([3, 2, 1, 2], rotation_cycle=[0, 1, 2]), subdividers.Identity( multiplier=2, rotation_cycle=range(10), sustain_mask=abjad.sustain_every( indices=[0, 2, 4, 5, 6, 8, 9], period=10 ), ), ]