Skip to content

Ccris64/sinescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Sinescript - Make music with plain text files

Library credits: lib used: pysine repo: https://www.github.com/lneuhaus/pysine

Usage

First step:

Make a file with any name and any extension (I normally use .sines).

readme_image1

How to write a valid Sinescript file:

Write frequencies in the following format:

Frequency Duration

Example:

800 1

800 is for 800hz, and 1 is for 1 seconds. Floating numbers for duration are also supported, such as 0.1. To add a break, just do this: 0 1

0 is for 0hz (no sound). 1 is for 1 second. A 1 second break. See the example picture:

readme_image2