u/Any-Communication515

Vocês já ouviram falar de linguagem de programação musical?

Vocês já ouviram falar de linguagem de programação musical?

Esse é um dos meus projetos mais legais, e agora tou tornando ele open source! Se chama Sonara, e a ideia é simples: e se você pudesse escrever uma música igual você escreve código? Editar, versionar no git, compartilhar, colaborar?

Exemplo musica.son:

  tempo 120        // velocidade da música (BPM)
  scale C_major    // escala musical

  section verse {  // seção "verso"
    melody { E4 G4 A4 G4 }          // notas da melodia
    chords { C | Am | F | G }       // acordes
    drums  { kick snare kick snare } // bateria
  }

sonara build musica.son compila para musica.mp3

Em um comando você compila direto para .mp3.

Essa é uma forma muito mais simples de compor músicas e gerar alterações usando IA

A linguagem é open source, roda no Linux, Mac e Windows, e já tem exemplos prontos, quem quiser contribuir, fiquem a vontade

https://sonara-lang.github.io

reddit.com
u/Any-Communication515 — 5 days ago
▲ 62 r/rust

Have you ever heard of a musical programming language?

Have you ever heard of a musical programming language?

This is one of my coolest Rust projects, and I'm now making it open source! It's called Sonara, and the idea is simple:

what if you could write music the same way you write code? Edit it, version it with git, share it, collaborate?

Example music.son:

  tempo 120        // song speed (BPM)
  scale C_major    // musical scale

  section verse {
    melody { E4 G4 A4 G4 }           // melody notes
    chords { C | Am | F | G }        // chords
    drums  { kick snare kick snare }  // drums
  }

sonara build music.son build to music.mp3

One command, compiles straight to .mp3.

It's a much simpler way to compose music and generate variations using AI.

The language is open source, runs on Linux, Mac and Windows, and already has built-in examples. Feel free to contribute!

https://sonara-lang.github.io

reddit.com
u/Any-Communication515 — 5 days ago

Have you ever heard of a musical programming language?

Have you ever heard of a musical programming language?

This is one of my coolest projects, and I'm now making it open source! It's called Sonara, and the idea is simple:

what if you could write music the same way you write code? Edit it, version it with git, share it, collaborate?

Example music.son:

  tempo 120        // song speed (BPM)
  scale C_major    // musical scale

  section verse {
    melody { E4 G4 A4 G4 }           // melody notes
    chords { C | Am | F | G }        // chords
    drums  { kick snare kick snare }  // drums
  }

sonara build music.son build to music.mp3

One command, compiles straight to .mp3.

It's a much simpler way to compose music and generate variations using AI.

The language is open source, runs on Linux, Mac and Windows, and already has built-in examples. Feel free to contribute!

https://sonara-lang.github.io

sonara-lang.github.io
u/Any-Communication515 — 5 days ago