Skip to content
/ sinscore Public

using csound and bash to create a bunch of sine waves

Notifications You must be signed in to change notification settings

thrly/sinscore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sinscore

using csound and bash to create a bunch of sine waves from a .txt score list

There are three parts to this:

  1. the CSound .csd file -- responsible for generating the sinewaves (of course, this could do anything)
  2. the bash script , we use to run csound from command and parse the info from the...
  3. score.txt -- a simple list of the sines: freq1 duration (freq2) edit this yourself

The score is very simple. Where only two arguments are given, the sine is static, where three are given, the sine takes a linear segment towards it's target e.g.

440 10 a sine wave of 440Hz for 10 seconds

660 10 880 a sine from 660Hz to 880Hz over 10 seconds

add as many lines(sines) as you need to the score

from Terminal, execute the shell script with ./sinscore.sh

you may need to make the file executable with chmod +x sinscore.sh

in the bash, I've got a sox command to also generate spectrograms of each wave, mainly for checking glissandi trajectories.

About

using csound and bash to create a bunch of sine waves

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages