Giter Club home page Giter Club logo

chordsymbol's People

Contributors

triss avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

chordsymbol's Issues

SystemOverwrite about "isRest"

WARNING: Extension in 'C:\ProgramData\SuperCollider\Extensions\ChordSymbol-master\classes\ChordSymbol.sc' overwrites Symbol:isRest in main class library.
Intentional overwrites must be put in a 'SystemOverwrites' subfolder.

How can I avoid having that error?

Your class works like a charm tho :)

Thank you for developing that! :)

https://patchstorage.com/mm-ocean-night-soundscape/

Implement asNotes and asDegrees on SequenceableCollection and Pattern

Hi,

It's pretty common in SC to have the same method name implemented on value, arrays and patterns (for example: .midicps). Currently, the method has a different name if applied on Symbol or SequenceableCollection. A method for Pattern would by also handy (implemented as pattern.collect({ arg x; x.asDegrees }))

Implementing on DemandUgens like Dseq would be really nice, but I don't know if it's possible or how to do it.

Thanks

Replace keyToDegree2 with keyToDegree

In the code, there are various comments about replacing keyToDegree2 by keyToDegree (and removing performKeyToDegree2).

The comment says:

// TODO won't be required in next SC release see pull request #1164

So I was thinking about making a PR on this repo to remove this (six years have passed ;-), but as far as I can tell, nothing has changed in SC related to this...your SC submissions from 2014 (1163 and 1164) were unfortunately never integrated into SC.

I know it's related to using offsets of 0.1 vs 0.5 for flattened and sharpened degrees:

ChordSymbol.asDegrees(\Cm7)    // (uses keyToDegree2; same as:)
ChordSymbol.asNotes(\Cm7).collect(_.keyToDegree2(Scale.major))
// --> [ 0.0, 1.1, 4.0, 5.1 ]
ChordSymbol.asNotes(\Cm7).keyToDegree(Scale.major)
// --> [ 0.0, 1.5, 4.0, 5.5 ]

And if we were to use the existing keyToDegree, then the resolution of those degrees (by the note Event) would return bad notes...

n = [0, 3, 7, 10];
Pbind(\degree, Pseq(n.collect(_.keyToDegree2(Scale.major)))).asStream.all(Event.default).do(_.use{"deg: % note: %".format(~degree, ~note.value).postln});
// deg: 0.0 note: 0.0
// deg: 1.1 note: 3.0
// deg: 4.0 note: 7.0
// deg: 5.1 note: 10.0

Pbind(\degree, Pseq(n.keyToDegree(Scale.major))).asStream.all(Event.default).do(_.use{"degree: % note: %".format(~degree, ~note.value).postln});
// degree: 0.0 note: 0.0
// degree: 1.5 note: -1.0
// degree: 4.0 note: 7.0
// degree: 5.5 note: 6.0

Maybe the comments should just be updated to state why keyToDegree2 is needed, and no longer suggest that it will be replaced by keyToDegree imminently (it seems it won't be!).

Extension overwrites Symbol:isRest in main class library

Should this warning be fixed, or is it the extension's normal behaviour?

WARNING: Extension in '/Library/Application Support/SuperCollider/downloaded-quarks/ChordSymbol/classes/ChordSymbol.sc' overwrites Symbol:isRest in main class library. Intentional overwrites must be put in a 'SystemOverwrites' subfolder.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.