cienicera / Koji

The First Onchain Generative Music Library. Deployed on Starknet
9 stars 10 forks source link

feat: arpeggiate_chords #13

Open raphaelDkhn opened 11 months ago

raphaelDkhn commented 11 months ago

Convert chords into arpeggios based on a given pattern.

    fn arpeggiate_chords(self: @Midi, pattern: ArpPattern) -> Midi;
ElJohens commented 6 months ago

This function will probably be used in a context related to MIDI (Musical Instrument Digital Interface) data manipulation, where it takes an arpeggio pattern as input and returns a MIDI object as output?

raphaelDkhn commented 6 months ago

Hi @ElJohens, the pattern of ArpPattern should be listed here.

And the Midi object in Cairo is defined [here] (https://github.com/cienicera/Koji/blob/ed266ba083b11f0728b61c35de93ec495d9f71d7/src/midi/types.cairo#L13-L16).

snehasharma76 commented 6 months ago

Please assign this issue to me.