music.Being¶
- class music.Being[source]¶
Bases:
objectA configurable sequence walker that renders notes.
Attributes are assigned from outside as well as within: the examples set
perms,domain,curseqand the parameter sequences directly before callingwalkorrender. They are declared here so that surface is discoverable rather than implicit.Methods
__init__()addSeq(sequence)Add sequence to the Being.
freeze()Freeze the Being.
howl()Produce a howling sound.
mkArray()Make array.
render(nn[, fn])Render notes of the Being.
setPar([par])Set parameter to be developed in walks and stays.
setPerms(perms)Set permutations.
setSize(ss)Set the size.
Start the Being.
stay(n[, method])Stay for a certain number of notes.
walk(n[, method])Walk a certain number of steps.
Attributes
- setPar(par='f')[source]¶
Set parameter to be developed in walks and stays.
- Parameters:
- par
str Parameter to be set. Only ‘f’ is implemented, and it requires fgrid and fpointer to have been assigned by the caller, as perms, domain and curseq are.
- par
- Returns:
- Raises:
ValueErrorIf par is anything but ‘f’. It used to be a silent no-op.