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:
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.
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: https://github.com/cienicera/midi_fun_contract/blob/8463b5618b08957ec84f19f206f7a18a223631a8/src/midi/core.cairo#L786