draggonfantasy / muselang Goto Github PK
View Code? Open in Web Editor NEWMusic programming language
License: Apache License 2.0
Music programming language
License: Apache License 2.0
For example with such syntax:
phrase test { C D E }
test reversed // Plays E D C
test slower 2 // Plays test phrase, but durations of every note is slower in 2 times
test faster 2 // Same as for slower, but faster :D
test normal // Same as test
As for now, if parser meets some really invalid token, it may just end melody at there and it can make 'debugging' pretty hard.
For example:
HELLO WORLD
It isn't a valid Muselang melody script, but the parser doesn't alert any error - it just creates an empty melody.
Make parser more strict to prevent such bad things to happen.
Placing a dot after duration should work just like in classic music notation
Arbitrary amount of dots should make duration = (1 - duration/2^dots_count)
C 4. 100 // Plays C with duration (quarter + eighth)
C 4.. 100 // Plays C with duration (quarter + eighth + sixteenth)
// etc
With such syntax: (note1, note2, note3, ... noteN)
. For example: (C, D, E3 quarter 100)
Also, should chords contain only notes or can they contain, for example, phrase calls too (multithreading in Muselang ๐ )?
tempo 120 // sets tempo to 120 BPM
C D E
tempo 80 // sets tempo to 80 BPM
F G A
(phrase1, phrase2, phrase3, ..., phraseN)
should start phrases simultaneously. Next thing played after this 'chord' should be played after the longest phrase in a chord is finished.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.