Skip to content

Implement VRF to generate #11

@caseywescott

Description

@caseywescott

This generative music library can generate melodies and harmonies. It would be awesome to use VRF to vary the musical output of these functions. The VRF details are here:

https://docs.cartridge.gg/vrf/overview

extend generate_harmony to make a function: generate_harmony_vrf: The objective is to get a random vrf value that can be used to make an array of integers that are used to represent how many steps above a melody a harmony should be. If the vrf array is shorter than the melody to be harmonized, loop back around to the beginning of the vrf array.

generate_harmony function to build off:

fn generate_harmony(self: @Midi, steps: i32, tonic: PitchClass, modes: Modes) -> Midi {

Metadata

Metadata

Assignees

Labels

ODHack10OnlyDust HackathonenhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions