cienicera / Koji

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

feat: arpeggiate_chords #13

Open raphaelDkhn opened 1 year ago

raphaelDkhn commented 1 year ago

Convert chords into arpeggios based on a given pattern.

    fn arpeggiate_chords(self: @Midi, pattern: ArpPattern) -> Midi;
ElJohens commented 8 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 8 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 8 months ago

Please assign this issue to me.