Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 24.478.740 Times

Music::Scales 0.07

  Date Added: March 26, 2010  |  Visits: 396

Music::Scales

Report Broken Link
Printer Friendly Version


Product Homepage
Download (52 downloads)


Music::Scales can supply necessary notes / offsets for musical scales. SYNOPSIS use Music::Scales; my @maj = get_scale_notes(Eb); # defaults to major print join(" ",@maj); # "Eb F G Ab Bb C D" my @blues = get_scale_nums(bl); # bl,blu,blue,blues print join(" ",@blues); # "0 3 5 6 7 10" my %min = get_scale_offsets (G,mm,1); # descending melodic minor print map {"$_=$min{$_} "} sort keys %min; # "A=0 B=-1 C=0 D=0 E=-1 F=0 G=0" Given a keynote A-G(#/b) and a scale-name, will return the scale, either as an array of notenames or as a hash of semitone-offsets for each note. METHODS get_scale_nums($scale[,$descending]) returns an array of semitone offsets for the requested scale, ascending/descending the given scale for one octave. The descending flag determines the direction of the scale, and also affects those scales (such as melodic minor) where the notes vary depending upon the direction. Scaletypes and valid values for $scale are listed below. get_scale_notes($notename[,$scale,$descending,$keypref]) returns an array of notenames, starting from the given keynote. Enharmonic equivalencies (whether to use F# or Gb, for instance) are calculated based on the keynote and the scale. Basically, it attempts to do the Right Thing if the scale is an 8-note one, (the 7th in G harmonic minor being F# rather than Gb, although G minor is a flat key), but for any other scales, (Chromatic, blues etc.) it picks equivalencies based upon the keynote. This can be overidden with $keypref, setting to be either # or b for sharps and flats respectively. Cruftiness abounds here. get_scale_offsets($notename[,$scale,$descending,$keypref]) as get_scale_notes(), except it returns a hash of notenames with the values being a semitone offset (-1, 0 or 1) as shown in the synopsis. get_scale_MIDI($notename,$octave[,$scale,$descending]) as get_scale_notes(), but returns an array of MIDI note-numbers, given an octave number (-1..9). get_scale_PDL($notename,$octave[,$scale,$descending]) as get_scale_MIDI(), but returns an array of PDL-format notes. is_scale($scalename) returns true if $scalename is a valid scale name used in this module..

Requirements: No special requirements
Platforms: Linux
Keyword: Descending Libraries Midi Musicscales Notes Offsets Programming Returns Scale
Users rating: 0/10

License: Freeware Size: 13.31 KB
USER REVIEWS
More Reviews or Write Review


MUSIC::SCALES RELATED
Utilities  -  Dylan Code Collection 1.7
A collection of useful libraries written in the Dylan programming language. The intent of this project is to provide easily accessible libraries for people developing applications using Functional Developer and/or Gwydion Dylan.
673.63 KB  
Programming  -  kin 0.0.2
kin is a set of libraries and tools supporting meta-programming for engineering and technical computing applications. This JVM version of kin has been superseded by the stand-alone version being developed at http://purl.org/net/kin.
477.44 KB  
Reference Tools  -  Major Scales And Modes For Guitar 2.0.0.01
This software program shows you all the notes of the major scale and their modes for the guitar in every key including the sharps and flats. No musical theory involved. Just select which key and mode you want and you will see a diagram showing all...
35.54 MB  
Libraries  -  ExtUtils::F77 1.15
ExtUtils::F77 is a simple Perl interface to F77 libs. This module tries to figure out how to link C programs with Fortran subroutines on your system. Basically one must add a list of Fortran runtime libraries. The problem is their location and...
10.24 KB  
Audio Tools  -  Speedy MIDI 1.0
Speedy MIDI is an editor designed for choirs and singers to quickly generate MIDI files for rehearsal. If the quality of the sheet music is too low for scanning, Speedy MIDI is an interesting alternative to other MIDI or notation editors. Use the...
4.7 MB  
Audio Tools  -  Simon Sez Musician's RiffMaster 1.50
Simon Sez Musician's Riff Master is a collection of ear training exercises, some done with your instrument, some without. You can set the pitch range (to correspond to your instrument) of piano notes the PC generates, as well as a variety of other...
 
Libraries  -  MIDI::Simple 0.81
MIDI::Simple is a procedural/OOP interface for MIDI composition. SYNOPSIS use MIDI::Simple; new_score; text_event http://www.ely.anglican.org/parishes/camgsm/bells/chimes.html; text_event Lord through this hour/ be Thou our guide;...
62.46 KB  
Libraries  -  GNU Classpath 0.95
GNU Classpath (essential libraries for Java) is a project to create free core class libraries for use with virtual machines and compilers for the Java programming language. GNU Classpath project includes all native methods and core classes...
6.5 MB  
Libraries  -  libjdkmidi 20051014
libjdkmidi is a C++ MIDI Library. This library was originally a collection of utility functions for MIDI written in C back in 1986 for the Atari ST computer. Since then it has evolved into a fairly powerful C++ MIDI Library including: - MIDI...
450.56 KB  
Libraries  -  Music::Chord::Namer 0.01
Music::Chord::Namer - You give it notes, it names the chord. SYNOPSIS use Music::ChordName qw/chordname/; print chordname(qw/C E G/); # prints C print chordname(q/C E G/); # same (yes, array or string!) print chordname(qw/C Eb G Bb D/); #...
6.14 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  RailsTidy 0.1
RailsTidy project is a plugin for Ruby On Rails..
11.26 KB  
Programming  -  Strings edit 1.9
Strings edit is a library that provides I/O facilities for integer, floating-point, Roman numbers, and strings. Both input and output subroutines support string pointers for consequent stream processing. The output can be aligned in a fixed size...
54.27 KB  
Programming  -  BScript 0.3
BScript is a (yet another) BASIC interpreter. It is free software and open-sourced, licensed under the terms of the GNU General Public License version 2 or later. You can use BScript to teach BASIC to your students, write understandable shell...
112.64 KB  
Programming  -  Kits JavaScript Brainf*ck Interpreter 0.01
Kits JavaScript Brainf*ck Interpreter is a rather fast interpreter for the Brainf*ck esoteric programming language.. Kit's JavaScript Brainfuck Interpreter v0.01
5.12 KB  
Programming  -  dis6502 0.12
dis6502 is a flow-tracing disassembler for the 6502, originally written by Robert Bond and supporting Atari binary files. Robert posted dis6502 to the Usenet newsgroup net.sources on 9-Oct-1986, and to comp.sources.unix 7-Jun-1988. Udi...
19.46 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB  
Libraries  -  App::SimpleScan::Substitution::Line 2.02
App::SimpleScan::Substitution::Line is a line with optional fixed variable values. SYNOPSIS my $line = App::SimpleScan::Substitution::Line->new(" this "); # Use only this value when substituting " ". $line->fix(substituite =>...
54.27 KB  
Libraries  -  PDL::Graphics::TriD 2.4.3
PDL::Graphics::TriD is a PDL 3D interface. SYNOPSIS use PDL::Graphics::TriD; # After each graph, let the user rotate is and # wait for him to press q, then make new graph line3d($coords); # $coords = (3,n,...) line3d($coords,$colors); #...
2.1 MB  
Libraries  -  SmartColorWell 1.2
SmartColorWell is a cross-platform open-source ColorWell class for REALbasic 4 or greater. The SmartColorWell control stores a color value and displays that color in a simulated BevelButton that when pressed allows the user to change the color...
21.5 KB  
Home  | About Us  | Privacy  | Disclaimer  | Link to Us  | Contact Us  | Top Searches  | Submit Software
File Transit © 1998-2012