Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement VRF to generate #11

Open
caseywescott opened this issue Nov 25, 2024 · 1 comment
Open

Implement VRF to generate #11

caseywescott opened this issue Nov 25, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request ODHack10 OnlyDust Hackathon

Comments

@caseywescott
Copy link
Contributor

caseywescott commented Nov 25, 2024

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 {

@caseywescott caseywescott added enhancement New feature or request ODHack10 OnlyDust Hackathon labels Nov 25, 2024
@Ugo-X
Copy link

Ugo-X commented Nov 25, 2024

I would love to be assigned and contribute to this, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ODHack10 OnlyDust Hackathon
Projects
None yet
Development

No branches or pull requests

2 participants