4.6.85 • Published 10 months ago

@erboladaiorg/possimus-praesentium-sint v4.6.85

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

Note-Art JS :guitar:

:fire: Downloads   Build Status   Maintainability   Test Coverage   License: MIT :fire:

Demo (outdated) :musical_note: | API :blue_book:

Music is a highly versatile art that originates in nature, and has been taken up by mankind as a way of expression and also as an art. Now, it's going to be taken up by machines as well.

Table of Contents

About

  • Create Notes, Chords, Scales and more easily.
  • Designed to be simple and intuitive.
  • Easily integrate with other music libraries to play music in the browser - You can use libraries like ToneJS to easily play scales, chords and even scores you create with Note-Art.
  • Use this library to create tools for musicians, research music theory, just create some fun music with programming and much more!

Features

  1. Transpose, generate chords and scales easily, invert chords.
  2. Tons of music theory utilities, e.g getting the interval between 2 notes, normalizing notes, getting the enharmonic pitch class, converting sharps to flats and a lot more.

Getting Started

Installation:

# Using npm
npm install @erboladaiorg/possimus-praesentium-sint

# Using yarn
yarn add @erboladaiorg/possimus-praesentium-sint

Usage

Note-art is fully written in TS and offers functions that can achieve any music theory related task you desire.

Theory Functions

  • patterns are in semi-tones.
Transpose any pitch class, note or group of notes easily
import { transpose } from '@erboladaiorg/possimus-praesentium-sint'

// PitchClass

transpose('A', 5)  // 'D'

// Note

transpose('A3', 5)  // 'D4'

// Group of notes(can represent a chord, scale or anything else)

const notes = ['C3', 'E3', 'G3']

notes.map(note => transpose(note, 7)) // ['G3', 'B3', 'D4'] 
Other functions
import { noteFromFrequency, intervalsToNotes, invertChord };

noteFromFrequency(440) // A4

const majorChordPattern = [0, 4, 7];
const cMajorChord = intervalsToNotes('C3', majorChordPattern) // ['C3', 'E3', 'G3']

const cMajorFirstInversion = invertChord(cMajorChord, 1); // ['E3', 'G3', 'C4']

Check out the API for more.

Contribute and Support :pray:

  • Make a pull request :avocado:.

    • Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

      1. Fork the Project
      2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
      3. Commit your Changes (`git commit -m 'Add some AmazingFeature`)
      4. Push to the Branch (`git push origin feature/AmazingFeature`)
      5. Open a Pull Request
  • Support me on patreon.

  • Download my app on the google play store
    • Music Guru - which can generate and play any scale in the history of mankind on google play.

Todo:

  • Create music theory functions - pitch class, note, chord, etc... :heavy_check_mark:

  • Re-implement Music notation.

Contact

Sean Dvir - seandvir12@gmail.com - @seanitzel

Your welcome to mail me your ideas and recommendations!

License

Note-Art uses the MIT license, check out the license tab for more information.

ebsutilECMAScript 2023objreadbindtypesafeimmerformatcss-in-jsdefinePropertyloadingUint16ArraytakeconcatlinktypedarrayqsincludesclassnameinstalltypanionlanguagepackagesstylingTypedArrayajaxdeterministicvisualidleUint8ArraymanagerWebSocketsnameboundqueuedotenvhas-ownES2020buffersa11yoncemomentawesomesauceReactiveXclientjson-schemachromeexpressionfast-deep-copyconfigcall-bindprocessdirectoryUint8ClampedArraypatchdescriptorsfast-clonejscertificatescallboundastPromiseconfigurablerapidomitreplayutilitiesassertionquotetraverseiterateglobal this valuesafeObject.getPrototypeOfsignedchannelharmonyfastcloneconsumejsxasciireact-componentgradients csscollection.es6StreamMappackage managertoolkithasES2015rangeerrortddmapnpmESnextsigtermtsgetoptrouteless.jselectrontestObservablepostcss-pluginletloggerrulestypeofbundlergraphqlES2018positiveURLArrayBuffer.prototype.slicearrayswritablevariables in cssSystem.globalfilereact animationloggingcall-boundisConcatSpreadablecacheECMAScript 2016dataflagsInt16Arraytostringtagquerypromiseapireversedrecursivejavascriptassertsharedtypeescapecollection0ansireduxcomputed-typesxhrdeep-copy.envFloat64Arraypredictableefficientclassnamesstatusfile systempyyamlweaksetECMAScript 2021joiemrreversefunctionins3hookformlengthredactzodenvmkdirdragcsschaiimportjshintArray.prototype.contains3dasterisksfastifymatchacornES2021fastcopymergepluginhardlinksprefixcryptcloudtraillruextraassertsregexaccessibilitycommandbinregularcopyRxJSstylesheetpasswordtyped arrayequalitynpmignoreargscallfinderrorsuperstructqueueMicrotaskmonorepoenvironmentbddHyBiObject.valuesshimReactiveExtensionsexecuteglobalscss nestingString.prototype.trimkoreanfnmatchstreamsresolvenested csslistenerscoregesturesregular-expressionES2019glaciersnssetPrototypeOfreusegenericsmrulibphonenumberwaapiparsingkinesisreact-hook-formcolourexecfilediffRxcallback6to5parseeslintintrinsicmapreducei18nkeyRFC-6455guidfromunicodestarternumberes-abstractdeepcopytelephonestreamlockfileencryptionjsontouchoptimizerenderapollodatepureestreesyntaxtypescriptSetxtermrfc9562ajvtoArrayCSSpropECMAScript 2020less compilersyntaxerrorbannersetcharacterwalknopedeep-clonesharedarraybufferyupeventDispatcherirqcss variablevalidatorreadablestreamrfc4122flattencolorexeclessflatglobalThiscolumnsregexpwindowponyfillspawnIteratorES3es2017ec2Function.prototype.namegetOwnPropertyDescriptormacosspinnerclassesarraybuffertranspilervestes-shimsautoprefixerECMAScript 7ECMAScript 2019Microsoftes8proxyES2022Object.keyscoercibleArray.prototype.filterslicegradients css3es-shim APIwaflocaleslintconfigamazonconsoletslibeslint-plugineventsURLSearchParamspicomatchsesprotocol-buffersredux-toolkitopensslhandlerstypesvalidObject.definePropertypropertyArray.prototype.flatMapprivateStreamscircularperformanceoffsetpolyfillreact-hookspipetypeerrorextenderror-handlingspring@@toStringTagcryptodirselfutil.inspectsimpledbtermObjectclass-validatorinternal slotES8Array.prototype.findLastconcatMapinputenumerableaccessortypedarraysES2023es2016jsdom256warningchildfpsfigletTypeBoxutilswidthesrequireprotobufconstisdefineexit-codeelasticacheimportexportchineseoptimisthooksnamesnodejsfast-copyjson-schema-validationinspecttoobjectpush$.extendstatelessdayjsless csscompareECMAScriptshamdomtrimStartframerRegExp.prototype.flagsuploadenvironmentssameValueZerorandomglobdeletetoReversedECMAScript 3ECMAScript 2018robustcreatetimeremovees2015ignoreinstallerautoscalingbeanstalkpackage.jsonspeedobjectoperating-systemWebSocketsettingscallbindbabelcloudfrontbootstrap cssreadablewritejwtzxfunctionseventEmittermobilestyleguidegetterstylesrgbglobal objectsigintvariablesWeakMapAsyncIteratortrimnodeloadbalancingObject.isforknegativetc39ES2016JSONsidecommanderObject.entriesBigUint64ArrayES2017RegExp#flagssymbolprototypemulti-packagesqsschemashrinkwrapECMAScript 6helpersBigInt64ArraysymlinkPushgroupByimmutablepnpm9makeUnderscorejsonschemaworkflowCSSStyleDeclarationreducerendpointWeakSetecmascriptserializationbyteOffsetsignaliterationwgetformssubprocessformattingjQueryshebanglintrequestcss lessfantasy-landpathargumentInt32ArrayfastkeysdataviewjestbyteLengthuninstallforEachSymbolfullwidthArray.prototype.includesserializercjkcodesObject.assigninternalcurriedreal-timefixed-widthpopmotionECMAScript 2015Int8Arrayminimalstringbootstrap lessmatchAll-0runtimeramdasortedschemefindLastsequenceurlsymlinksObservablesworkspace:*stableshellcontainsbundlinginterruptsassigneast-asian-widthvarsArrayBuffer#slicevaluehasOwnpropertiessymbolsbufferSymbol.toStringTagprettydom-testing-librarygetbrowserlistargvprototerminalmkdirsES5deepclonetypedjapaneseparserfsfull-widthjson-schema-validatorcloudsearchprunestatezerodependency manageroptiontestingiteratorless mixinsbabel-corescheme-validation[[Prototype]]trimLeftelbdependenciesFloat32Arrayroute53curlwhatwgfetchrdsstringifymoduleworkerlinuxcompilerESform-validationelmeverycensorperformantcloudwatchanimationArray.prototype.findLastIndextacittesterhotasyncartiewindowstextmkdirp_.extendcolumnlesscssinvariantgdprsetImmediatelazyReflect.getPrototypeOfgitignorebrowsermetadatadynamodbYAMLsuperagentfluxidentifiersmake diremitcommand-linebinarypoint-freeTypeScriptgroupjsdiffpinoglobalmovettystylesetterthreeequalsomebusyentriesweakmapeffect-tswaitio-tsiamvpcJSON-Schemal10ncheckArrayBufferarraylogairbnbtoolstrimRightauthenticationcolorsdeepswfpostcssutilityhigher-orderroutingreact poseauthStyleSheetinferencebinariesdataViewtoStringTagObject.fromEntriesspecslot__proto__querystringES7fpoutputreact-testing-librarymixinsfullreducepose.gitignoredescriptionuser-streamsspinnersnativeArray.prototype.flattenes5ECMAScript 2017serializecli
4.6.85

10 months ago

4.6.84

10 months ago

4.6.83

10 months ago

4.6.82

10 months ago

4.6.81

10 months ago

4.6.80

11 months ago

4.6.79

11 months ago

4.6.78

11 months ago

4.6.77

11 months ago

4.6.76

11 months ago

4.5.76

11 months ago

4.5.75

11 months ago

4.5.74

11 months ago

4.5.73

11 months ago

4.5.72

11 months ago

4.5.71

11 months ago

4.5.70

11 months ago

4.5.69

11 months ago

4.4.69

11 months ago

4.4.68

11 months ago

4.4.67

11 months ago

4.4.66

11 months ago

4.4.65

11 months ago

4.4.64

11 months ago

4.4.63

11 months ago

4.4.62

11 months ago

4.4.61

11 months ago

4.4.60

11 months ago

4.4.59

11 months ago

3.4.59

11 months ago

3.4.58

11 months ago

3.4.57

11 months ago

2.4.57

11 months ago

2.4.56

11 months ago

2.3.56

11 months ago

2.3.55

12 months ago

2.3.54

12 months ago

2.3.53

12 months ago

2.3.52

12 months ago

2.3.51

12 months ago

2.3.50

12 months ago

2.3.49

12 months ago

2.3.48

12 months ago

2.3.47

12 months ago

2.3.46

12 months ago

2.3.45

12 months ago

2.3.44

12 months ago

2.3.43

12 months ago

1.3.43

12 months ago

1.3.42

12 months ago

1.3.41

12 months ago

1.3.40

12 months ago

1.2.40

12 months ago

1.2.39

12 months ago

1.2.38

12 months ago

1.2.37

1 year ago

1.2.36

1 year ago

1.2.35

1 year ago

1.2.34

1 year ago

1.2.33

1 year ago

1.2.32

1 year ago

1.1.32

1 year ago

1.1.31

1 year ago

1.1.30

1 year ago

1.1.29

1 year ago

1.1.28

1 year ago

1.1.27

1 year ago

1.1.26

1 year ago

1.1.25

1 year ago

1.1.24

1 year ago

1.1.23

1 year ago

1.1.22

1 year ago

1.0.22

1 year ago

1.0.21

1 year ago

1.0.20

1 year ago

1.0.19

1 year ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago