Code Monkey home page Code Monkey logo

forsynth's People

Contributors

aslozada avatar vmagnin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

forsynth's Issues

Use Forsynth to study Pythagorean tuning, Zarlino tuning, etc.

Some procedures in Forsynth use the parameter SEMITONE defined by:

    real(dp), parameter :: SEMITONE = 2.0_dp**(1.0_dp/12.0_dp)

It mean it implicitly uses the equal temperament: https://en.wikipedia.org/wiki/Equal_temperament

But we could also use Forsynth to study other tuning system. For example, in the Western music:
https://en.wikipedia.org/wiki/Pythagorean_tuning
https://en.wikipedia.org/wiki/Gioseffo_Zarlino
https://en.wikipedia.org/wiki/Musical_tuning#Tuning_systems

But also the tuning used in other musical systems.

Build and check files

I added, in my fork, a change in the output file builder.

type file_t
  character(len=:), allocatable :: filename
  integer                       :: fileunit
contains
  procedure :: create_WAV_file   
end type file_t

subroutine create_WAV_file(self, filename)   
   class(file_t), intent(inout)  :: self
   character(*), intent(in)      :: filename

   self%fileunit   = u
   self%filename   = filename

   open(unit=self%fileunit, file=self%filename, access='stream', status='replace', action='write')
   call write_header()
 end subroutine create_WAV_file

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.