gpt-3.5-turbo-0301· OpenAI
WildChat-4.8M (AI2)
Write a scala file for a musical temperament
- User
Write a scala file for a musical temperament
- Assistant
Unfortunately, as an AI language model, I'm not able to know what exactly you want for your musical temperament. Can you give me more details or specifications about what you are looking for?
- User
The temperament has 14 tones separated by just intervals
- Assistant
Here's an example of a Scala file for a musical temperament with 14 tones separated by just intervals:
! 14-tone temperament by Just Intervals 14 ! define base frequency freq 0.0 1/1 9/8 5/4 4/3 3/2 5/3 15/8 2/1 9/5 7/4 5/2 11/4 3/1 ! define each tone in cents relative to the base frequency cents -63.156 0.0 173.406 277.183 407.821 498.045 655.620 748.044 996.089 1116.767 1331.667 1472.883 1671.019 1901.464In this file, we define 14 tones as follows:
- The base frequency is set to 0.0 and the first tone is set to 1/1, which is the unison.
- The other tones are defined in just intervals using fractional ratios, such as 9/8 for the second tone, which is a whole tone above the first tone.
- The
centssection defines the tuning of each tone in cents relative to the base frequency. For example, the second tone is tuned 173.406 cents above the base frequency.
This file can be loaded into a software synthesizer or other musical software that uses Scala files to set the tuning of its instruments.