edo.js
Version:
A set of functions for manipulating musical pitches within a given EDO
702 lines (253 loc) • 65.8 kB
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>resize</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/third-party/ionicons.min.css">
<link type="text/css" rel="stylesheet" href="styles/third-party/prettify-tomorrow.css">
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
<link type="text/css" rel="stylesheet" href="styles/clean-jsdoc-theme-base.css">
<link type="text/css" rel="stylesheet" href="styles/clean-jsdoc-theme-light.css">
<svg aria-hidden="true" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="display:none">
<defs>
<symbol id="copy-icon" viewbox="0 0 488.3 488.3">
<g>
<path d="M314.25,85.4h-227c-21.3,0-38.6,17.3-38.6,38.6v325.7c0,21.3,17.3,38.6,38.6,38.6h227c21.3,0,38.6-17.3,38.6-38.6V124 C352.75,102.7,335.45,85.4,314.25,85.4z M325.75,449.6c0,6.4-5.2,11.6-11.6,11.6h-227c-6.4,0-11.6-5.2-11.6-11.6V124 c0-6.4,5.2-11.6,11.6-11.6h227c6.4,0,11.6,5.2,11.6,11.6V449.6z"/>
<path d="M401.05,0h-227c-21.3,0-38.6,17.3-38.6,38.6c0,7.5,6,13.5,13.5,13.5s13.5-6,13.5-13.5c0-6.4,5.2-11.6,11.6-11.6h227 c6.4,0,11.6,5.2,11.6,11.6v325.7c0,6.4-5.2,11.6-11.6,11.6c-7.5,0-13.5,6-13.5,13.5s6,13.5,13.5,13.5c21.3,0,38.6-17.3,38.6-38.6 V38.6C439.65,17.3,422.35,0,401.05,0z"/>
</g>
</symbol>
</defs>
</svg>
</head>
<body>
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
<label for="nav-trigger" class="navicon-button x">
<div class="navicon"></div>
</label>
<label for="nav-trigger" class="overlay"></label>
<nav>
<h2><a href="index.html"><div class="text">Home</div></a></h2><div class="search-box"><input type="text" placeholder="Search..." id="search-box" /><div class="search-item-container" id="search-item-container"><ul class="search-item-ul" id="search-item-ul"></ul></div></div><div class="sidebar-list-div"><h3>Classes</h3><ul><li><a href="EDO.html">EDO</a><ul class='methods'><li data-type='method'><a href="EDO.html#scale">scale</a></li></ul></li><li><a href="Scale.html">Scale</a><ul class='methods'><li data-type='method'><a href="Scale.html#complement">complement</a></li><li data-type='method'><a href="Scale.html#invert">invert</a></li><li data-type='method'><a href="Scale.html#mode">mode</a></li><li data-type='method'><a href="Scale.html#normal">normal</a></li><li data-type='method'><a href="Scale.html#prime">prime</a></li></ul></li><li><a href="Time.html">Time</a></li></ul><h3>Namespaces</h3><ul><li><a href="EDO_convert.html">convert</a><ul class='methods'><li data-type='method'><a href="EDO_convert.html#.cents_to_interval">cents_to_interval</a></li><li data-type='method'><a href="EDO_convert.html#.cents_to_ratio">cents_to_ratio</a></li><li data-type='method'><a href="EDO_convert.html#.freq_to_midi">freq_to_midi</a></li><li data-type='method'><a href="EDO_convert.html#.interval_to_cents">interval_to_cents</a></li><li data-type='method'><a href="EDO_convert.html#.interval_to_ratio">interval_to_ratio</a></li><li data-type='method'><a href="EDO_convert.html#.intervals_to_pitches">intervals_to_pitches</a></li><li data-type='method'><a href="EDO_convert.html#.intervals_to_scale">intervals_to_scale</a></li><li data-type='method'><a href="EDO_convert.html#.midi_to_freq">midi_to_freq</a></li><li data-type='method'><a href="EDO_convert.html#.midi_to_intervals">midi_to_intervals</a></li><li data-type='method'><a href="EDO_convert.html#.midi_to_name">midi_to_name</a></li><li data-type='method'><a href="EDO_convert.html#.name_to_scale">name_to_scale</a></li><li data-type='method'><a href="EDO_convert.html#.pc_to_name">pc_to_name</a></li><li data-type='method'><a href="EDO_convert.html#.pitches_to_freq">pitches_to_freq</a></li><li data-type='method'><a href="EDO_convert.html#.pitches_to_PCs">pitches_to_PCs</a></li><li data-type='method'><a href="EDO_convert.html#.ratio_to_cents">ratio_to_cents</a></li><li data-type='method'><a href="EDO_convert.html#.ratio_to_interval">ratio_to_interval</a></li><li data-type='method'><a href="EDO_convert.html#.to_steps">to_steps</a></li></ul></li><li><a href="EDO_count.html">count</a><ul class='methods'><li data-type='method'><a href="EDO_count.html#.common_tones">common_tones</a></li><li data-type='method'><a href="EDO_count.html#.differences">differences</a></li><li data-type='method'><a href="EDO_count.html#.pitches">pitches</a></li></ul></li><li><a href="EDO_export.html">export</a><ul class='methods'><li data-type='method'><a href="EDO_export.html#.png">png</a></li><li data-type='method'><a href="EDO_export.html#.svg">svg</a></li></ul></li><li><a href="EDO_get.html">get</a><ul class='methods'><li data-type='method'><a href="EDO_get.html#.angle">angle</a></li><li data-type='method'><a href="EDO_get.html#.best_edo_from_cents">best_edo_from_cents</a></li><li data-type='method'><a href="EDO_get.html#.combinations">combinations</a></li><li data-type='method'><a href="EDO_get.html#.complementary_interval">complementary_interval</a></li><li data-type='method'><a href="EDO_get.html#.complementary_set">complementary_set</a></li><li data-type='method'><a href="EDO_get.html#.contour">contour</a></li><li data-type='method'><a href="EDO_get.html#.contour_motives">contour_motives</a></li><li data-type='method'><a href="EDO_get.html#.coordinates">coordinates</a></li><li data-type='method'><a href="EDO_get.html#.evenly_split">evenly_split</a></li><li data-type='method'><a href="EDO_get.html#.fill_partial_harp_pedaling">fill_partial_harp_pedaling</a></li><li data-type='method'><a href="EDO_get.html#.generated_scale">generated_scale</a></li><li data-type='method'><a href="EDO_get.html#.generators">generators</a></li><li data-type='method'><a href="EDO_get.html#.harmonic_progression">harmonic_progression</a></li><li data-type='method'><a href="EDO_get.html#.harmonized_melody">harmonized_melody</a></li><li data-type='method'><a href="EDO_get.html#.harp_pedals_to_pitches">harp_pedals_to_pitches</a></li><li data-type='method'><a href="EDO_get.html#.harp_position_of_quality">harp_position_of_quality</a></li><li data-type='method'><a href="EDO_get.html#.intersection">intersection</a></li><li data-type='method'><a href="EDO_get.html#.interval_stack">interval_stack</a></li><li data-type='method'><a href="EDO_get.html#.interval_traversed">interval_traversed</a></li><li data-type='method'><a href="EDO_get.html#.inversion">inversion</a></li><li data-type='method'><a href="EDO_get.html#.lattice">lattice</a></li><li data-type='method'><a href="EDO_get.html#.levenshtein">levenshtein</a></li><li data-type='method'><a href="EDO_get.html#.maximal_carey_coherence_failures">maximal_carey_coherence_failures</a></li><li data-type='method'><a href="EDO_get.html#.maximal_rahn_difference">maximal_rahn_difference</a></li><li data-type='method'><a href="EDO_get.html#.minimal_voice_leading">minimal_voice_leading</a></li><li data-type='method'><a href="EDO_get.html#.mixture_in_cardinality">mixture_in_cardinality</a></li><li data-type='method'><a href="EDO_get.html#.modes">modes</a></li><li data-type='method'><a href="EDO_get.html#.motives">motives</a></li><li data-type='method'><a href="EDO_get.html#.n_choose_k">n_choose_k</a></li><li data-type='method'><a href="EDO_get.html#.necklace">necklace</a></li><li data-type='method'><a href="EDO_get.html#.new_pitches">new_pitches</a></li><li data-type='method'><a href="EDO_get.html#.ngrams">ngrams</a></li><li data-type='method'><a href="EDO_get.html#.normal_order">normal_order</a></li><li data-type='method'><a href="EDO_get.html#.notes_from_cents">notes_from_cents</a></li><li data-type='method'><a href="EDO_get.html#.partitioned_subsets">partitioned_subsets</a></li><li data-type='method'><a href="EDO_get.html#.path_n_steps">path_n_steps</a></li><li data-type='method'><a href="EDO_get.html#.path_on_tree">path_on_tree</a></li><li data-type='method'><a href="EDO_get.html#.permutations">permutations</a></li><li data-type='method'><a href="EDO_get.html#.pitch_distribution">pitch_distribution</a></li><li data-type='method'><a href="EDO_get.html#.pitch_fields">pitch_fields</a></li><li data-type='method'><a href="EDO_get.html#.random_melody">random_melody</a></li><li data-type='method'><a href="EDO_get.html#.random_melody_from_contour">random_melody_from_contour</a></li><li data-type='method'><a href="EDO_get.html#.random_melody_from_distribution">random_melody_from_distribution</a></li><li data-type='method'><a href="EDO_get.html#.random_melody_from_ngram">random_melody_from_ngram</a></li><li data-type='method'><a href="EDO_get.html#.ratio_approximation">ratio_approximation</a></li><li data-type='method'><a href="EDO_get.html#.retrograde">retrograde</a></li><li data-type='method'><a href="EDO_get.html#.rotated">rotated</a></li><li data-type='method'><a href="EDO_get.html#.rotations">rotations</a></li><li data-type='method'><a href="EDO_get.html#.scalar_melodies">scalar_melodies</a></li><li data-type='method'><a href="EDO_get.html#.scale_fragments">scale_fragments</a></li><li data-type='method'><a href="EDO_get.html#.scales">scales</a></li><li data-type='method'><a href="EDO_get.html#.sets_from_mixture">sets_from_mixture</a></li><li data-type='method'><a href="EDO_get.html#.shortest_path">shortest_path</a></li><li data-type='method'><a href="EDO_get.html#.simple_ratios">simple_ratios</a></li><li data-type='method'><a href="EDO_get.html#.stacked">stacked</a></li><li data-type='method'><a href="EDO_get.html#.starting_at">starting_at</a></li><li data-type='method'><a href="EDO_get.html#.step_maximal_mean_error_in_cardinality">step_maximal_mean_error_in_cardinality</a></li><li data-type='method'><a href="EDO_get.html#.step_min_max_error_in_EDO">step_min_max_error_in_EDO</a></li><li data-type='method'><a href="EDO_get.html#.step_min_max_mean_error_in_cardinality">step_min_max_mean_error_in_cardinality</a></li><li data-type='method'><a href="EDO_get.html#.step_minimal_mean_error_in_cardinality">step_minimal_mean_error_in_cardinality</a></li><li data-type='method'><a href="EDO_get.html#.subset_indices">subset_indices</a></li><li data-type='method'><a href="EDO_get.html#.subsets">subsets</a></li><li data-type='method'><a href="EDO_get.html#.transposition">transposition</a></li><li data-type='method'><a href="EDO_get.html#.union">union</a></li><li data-type='method'><a href="EDO_get.html#.unique_elements">unique_elements</a></li><li data-type='method'><a href="EDO_get.html#.well_formed_scale">well_formed_scale</a></li><li data-type='method'><a href="EDO_get.html#.without">without</a></li><li data-type='method'><a href="EDO_get.html#.without_chromatic_notes">without_chromatic_notes</a></li></ul></li><li><a href="EDO_is.html">is</a><ul class='methods'><li data-type='method'><a href="EDO_is.html#.element_of">element_of</a></li><li data-type='method'><a href="EDO_is.html#.rotation">rotation</a></li><li data-type='method'><a href="EDO_is.html#.same">same</a></li><li data-type='method'><a href="EDO_is.html#.subset">subset</a></li><li data-type='method'><a href="EDO_is.html#.transposition">transposition</a></li></ul></li><li><a href="EDO_midi.html">midi</a><ul class='methods'><li data-type='method'><a href="EDO_midi.html#.chordify">chordify</a></li><li data-type='method'><a href="EDO_midi.html#.import">import</a></li><li data-type='method'><a href="EDO_midi.html#.strip">strip</a></li></ul></li><li><a href="EDO_show.html">show</a><ul class='methods'><li data-type='method'><a href="EDO_show.html#.contour">contour</a></li><li data-type='method'><a href="EDO_show.html#.interval_fractal_tree">interval_fractal_tree</a></li><li data-type='method'><a href="EDO_show.html#.necklace">necklace</a></li><li data-type='method'><a href="EDO_show.html#.necklace_fractal">necklace_fractal</a></li><li data-type='method'><a href="EDO_show.html#.nested_necklaces">nested_necklaces</a></li></ul></li><li><a href="EDO_xml.html">xml</a></li><li><a href="Scale_count.html">count</a><ul class='methods'><li data-type='method'><a href="Scale_count.html#.chord_quality">chord_quality</a></li><li data-type='method'><a href="Scale_count.html#.consecutive_steps">consecutive_steps</a></li><li data-type='method'><a href="Scale_count.html#.imperfections">imperfections</a></li><li data-type='method'><a href="Scale_count.html#.interval">interval</a></li><li data-type='method'><a href="Scale_count.html#.M3s">M3s</a></li><li data-type='method'><a href="Scale_count.html#.m3s">m3s</a></li><li data-type='method'><a href="Scale_count.html#.major_minor_triads">major_minor_triads</a></li><li data-type='method'><a href="Scale_count.html#.min_max_n_chords_in_necklace">min_max_n_chords_in_necklace</a></li><li data-type='method'><a href="Scale_count.html#.modes">modes</a></li><li data-type='method'><a href="Scale_count.html#.n_chords">n_chords</a></li><li data-type='method'><a href="Scale_count.html#.n_chords_diatonic">n_chords_diatonic</a></li><li data-type='method'><a href="Scale_count.html#.P5s">P5s</a></li><li data-type='method'><a href="Scale_count.html#.pitches">pitches</a></li><li data-type='method'><a href="Scale_count.html#.rahn_ambiguities">rahn_ambiguities</a></li><li data-type='method'><a href="Scale_count.html#.rahn_contradictions">rahn_contradictions</a></li><li data-type='method'><a href="Scale_count.html#.rahn_differences">rahn_differences</a></li><li data-type='method'><a href="Scale_count.html#.ratio">ratio</a></li><li data-type='method'><a href="Scale_count.html#.rotational_symmetries">rotational_symmetries</a></li><li data-type='method'><a href="Scale_count.html#.simple_ratios">simple_ratios</a></li><li data-type='method'><a href="Scale_count.html#.tetrachords">tetrachords</a></li><li data-type='method'><a href="Scale_count.html#.thirds">thirds</a></li><li data-type='method'><a href="Scale_count.html#.transpositions">transpositions</a></li><li data-type='method'><a href="Scale_count.html#.trichords">trichords</a></li><li data-type='method'><a href="Scale_count.html#.unique_elements">unique_elements</a></li></ul></li><li><a href="Scale_export.html">export</a><ul class='methods'><li data-type='method'><a href="Scale_export.html#.scala">scala</a></li></ul></li><li><a href="Scale_get.html">get</a><ul class='methods'><li data-type='method'><a href="Scale_get.html#.area">area</a></li><li data-type='method'><a href="Scale_get.html#.binary_unevenness">binary_unevenness</a></li><li data-type='method'><a href="Scale_get.html#.cardinality_variety_ratio">cardinality_variety_ratio</a></li><li data-type='method'><a href="Scale_get.html#.chord_quality_from_shape">chord_quality_from_shape</a></li><li data-type='method'><a href="Scale_get.html#.coherence_quotient">coherence_quotient</a></li><li data-type='method'><a href="Scale_get.html#.common_tone_transpositions">common_tone_transpositions</a></li><li data-type='method'><a href="Scale_get.html#.complement">complement</a></li><li data-type='method'><a href="Scale_get.html#.constituent_similarity">constituent_similarity</a></li><li data-type='method'><a href="Scale_get.html#.coordinates">coordinates</a></li><li data-type='method'><a href="Scale_get.html#.diagnostic_combinations">diagnostic_combinations</a></li><li data-type='method'><a href="Scale_get.html#.diagnostic_intervals">diagnostic_intervals</a></li><li data-type='method'><a href="Scale_get.html#.edo">edo</a></li><li data-type='method'><a href="Scale_get.html#.entropy">entropy</a></li><li data-type='method'><a href="Scale_get.html#.evenness_of_spread">evenness_of_spread</a></li><li data-type='method'><a href="Scale_get.html#.generic_intervals">generic_intervals</a></li><li data-type='method'><a href="Scale_get.html#.identity_fragment">identity_fragment</a></li><li data-type='method'><a href="Scale_get.html#.information">information</a></li><li data-type='method'><a href="Scale_get.html#.interval_class">interval_class</a></li><li data-type='method'><a href="Scale_get.html#.interval_vector">interval_vector</a></li><li data-type='method'><a href="Scale_get.html#.inversion">inversion</a></li><li data-type='method'><a href="Scale_get.html#.least_step_multiplier">least_step_multiplier</a></li><li data-type='method'><a href="Scale_get.html#.lerdahl_attraction">lerdahl_attraction</a></li><li data-type='method'><a href="Scale_get.html#.lerdahl_attraction_vector">lerdahl_attraction_vector</a></li><li data-type='method'><a href="Scale_get.html#.levenshtein">levenshtein</a></li><li data-type='method'><a href="Scale_get.html#.mean">mean</a></li><li data-type='method'><a href="Scale_get.html#.melody_from_intervals">melody_from_intervals</a></li><li data-type='method'><a href="Scale_get.html#.minimal_diagnostic_combination">minimal_diagnostic_combination</a></li><li data-type='method'><a href="Scale_get.html#.mixture">mixture</a></li><li data-type='method'><a href="Scale_get.html#.mode_variance">mode_variance</a></li><li data-type='method'><a href="Scale_get.html#.modes">modes</a></li><li data-type='method'><a href="Scale_get.html#.modes_with_notes">modes_with_notes</a></li><li data-type='method'><a href="Scale_get.html#.motives_diatonic">motives_diatonic</a></li><li data-type='method'><a href="Scale_get.html#.n_chords">n_chords</a></li><li data-type='method'><a href="Scale_get.html#.n_chords_diatonic">n_chords_diatonic</a></li><li data-type='method'><a href="Scale_get.html#.name">name</a></li><li data-type='method'><a href="Scale_get.html#.necklace_family">necklace_family</a></li><li data-type='method'><a href="Scale_get.html#.necklace_family_members">necklace_family_members</a></li><li data-type='method'><a href="Scale_get.html#.neighborhood">neighborhood</a></li><li data-type='method'><a href="Scale_get.html#.normal_order">normal_order</a></li><li data-type='method'><a href="Scale_get.html#.pairwise_generic_specific_intervals">pairwise_generic_specific_intervals</a></li><li data-type='method'><a href="Scale_get.html#.per_note_set_difference">per_note_set_difference</a></li><li data-type='method'><a href="Scale_get.html#.permutations">permutations</a></li><li data-type='method'><a href="Scale_get.html#.pitches">pitches</a></li><li data-type='method'><a href="Scale_get.html#.position_of_quality">position_of_quality</a></li><li data-type='method'><a href="Scale_get.html#.prime_form">prime_form</a></li><li data-type='method'><a href="Scale_get.html#.product">product</a></li><li data-type='method'><a href="Scale_get.html#.quality_with_intervals">quality_with_intervals</a></li><li data-type='method'><a href="Scale_get.html#.reflectional_symmetry">reflectional_symmetry</a></li><li data-type='method'><a href="Scale_get.html#.resize_melody">resize_melody</a></li><li data-type='method'><a href="Scale_get.html#.rotational_symmetry">rotational_symmetry</a></li><li data-type='method'><a href="Scale_get.html#.rotations">rotations</a></li><li data-type='method'><a href="Scale_get.html#.rothenberg_propriety">rothenberg_propriety</a></li><li data-type='method'><a href="Scale_get.html#.roughness">roughness</a></li><li data-type='method'><a href="Scale_get.html#.runs">runs</a></li><li data-type='method'><a href="Scale_get.html#.sameness_quotient">sameness_quotient</a></li><li data-type='method'><a href="Scale_get.html#.scale_degree_roles">scale_degree_roles</a></li><li data-type='method'><a href="Scale_get.html#.scale_degree_transpositions">scale_degree_transpositions</a></li><li data-type='method'><a href="Scale_get.html#.sequence_transposition">sequence_transposition</a></li><li data-type='method'><a href="Scale_get.html#.set_difference">set_difference</a></li><li data-type='method'><a href="Scale_get.html#.shortest_path">shortest_path</a></li><li data-type='method'><a href="Scale_get.html#.sine_pair_dissonance">sine_pair_dissonance</a></li><li data-type='method'><a href="Scale_get.html#.specific_intervals">specific_intervals</a></li><li data-type='method'><a href="Scale_get.html#.stacks">stacks</a></li><li data-type='method'><a href="Scale_get.html#.step_mean_error">step_mean_error</a></li><li data-type='method'><a href="Scale_get.html#.step_similarity">step_similarity</a></li><li data-type='method'><a href="Scale_get.html#.step_sizes">step_sizes</a></li><li data-type='method'><a href="Scale_get.html#.step_tally">step_tally</a></li><li data-type='method'><a href="Scale_get.html#.steps_to_qualities">steps_to_qualities</a></li><li data-type='method'><a href="Scale_get.html#.supersets">supersets</a></li><li data-type='method'><a href="Scale_get.html#.symmetricalness">symmetricalness</a></li><li data-type='method'><a href="Scale_get.html#.tetrachords">tetrachords</a></li><li data-type='method'><a href="Scale_get.html#.transposition">transposition</a></li><li data-type='method'><a href="Scale_get.html#.transpositions_with_pitches">transpositions_with_pitches</a></li><li data-type='method'><a href="Scale_get.html#.trichords">trichords</a></li><li data-type='method'><a href="Scale_get.html#.unevenness">unevenness</a></li><li data-type='method'><a href="Scale_get.html#.without">without</a></li></ul></li><li><a href="Scale_is.html">is</a><ul class='methods'><li data-type='method'><a href="Scale_is.html#.deep">deep</a></li><li data-type='method'><a href="Scale_is.html#.distributionally_even">distributionally_even</a></li><li data-type='method'><a href="Scale_is.html#.in_lower_edos">in_lower_edos</a></li><li data-type='method'><a href="Scale_is.html#.invertible">invertible</a></li><li data-type='method'><a href="Scale_is.html#.maximally_even">maximally_even</a></li><li data-type='method'><a href="Scale_is.html#.mode_of">mode_of</a></li><li data-type='method'><a href="Scale_is.html#.MOLT">MOLT</a></li><li data-type='method'><a href="Scale_is.html#.myhill_property">myhill_property</a></li><li data-type='method'><a href="Scale_is.html#.normal_order">normal_order</a></li><li data-type='method'><a href="Scale_is.html#.one_of">one_of</a></li><li data-type='method'><a href="Scale_is.html#.prime_form">prime_form</a></li><li data-type='method'><a href="Scale_is.html#.sharper">sharper</a></li><li data-type='method'><a href="Scale_is.html#.subset">subset</a></li></ul></li><li><a href="Scale_show.html">show</a><ul class='methods'><li data-type='method'><a href="Scale_show.html#.interval_fractal_tree">interval_fractal_tree</a></li><li data-type='method'><a href="Scale_show.html#.necklace">necklace</a></li></ul></li><li><a href="Scale_to.html">to</a><ul class='methods'><li data-type='method'><a href="Scale_to.html#.cents">cents</a></li><li data-type='method'><a href="Scale_to.html#.EDO">EDO</a></li><li data-type='method'><a href="Scale_to.html#.steps">steps</a></li></ul></li><li><a href="Time_convert.html">convert</a><ul class='methods'><li data-type='method'><a href="Time_convert.html#.beats_to_msec">beats_to_msec</a></li><li data-type='method'><a href="Time_convert.html#.beats_to_ratios">beats_to_ratios</a></li><li data-type='method'><a href="Time_convert.html#.beats_to_tempo">beats_to_tempo</a></li></ul></li><li><a href="Time_get.html">get</a><ul class='methods'><li data-type='method'><a href="Time_get.html#.beat">beat</a></li><li data-type='method'><a href="Time_get.html#.counterpoint_cycle">counterpoint_cycle</a></li><li data-type='method'><a href="Time_get.html#.explicit">explicit</a></li><li data-type='method'><a href="Time_get.html#.fractal">fractal</a></li><li data-type='method'><a href="Time_get.html#.motives">motives</a></li><li data-type='method'><a href="Time_get.html#.ratios">ratios</a></li><li data-type='method'><a href="Time_get.html#.relational_motives">relational_motives</a></li><li data-type='method'><a href="Time_get.html#.repeated">repeated</a></li><li data-type='method'><a href="Time_get.html#.subdivisions">subdivisions</a></li></ul></li><li><a href="Time_resize.html">resize</a><ul class='methods'><li data-type='method'><a href="Time_resize.html#.by_product">by_product</a></li><li data-type='method'><a href="Time_resize.html#.by_sum">by_sum</a></li></ul></li></ul><h3><a href="global.html">Global</a></h3><ul><li><a href="global.html#myhill_property">myhill_property</a></li></ul></div>
</nav>
<div id="main">
<h1 id='page-title' class="page-title">resize</h1>
<section>
<header>
<h2>
<span class="ancestors"><a href="Time.html">Time</a>#</span>
resize
</h2>
</header>
<article>
<div class="container-overview">
<div class="description"><p>A collection of functions that resizes the elements of an array or the array itself</p></div>
</div>
<h3 class="subsection-title">Methods</h3>
<h4 class="name" id=".by_product">
<a href="#.by_product">#</a>
<span class="type-signature">(static) </span>by_product<span class="signature">(input, by<span class="signature-attributes">opt</span>, round<span class="signature-attributes">opt</span>, remove_0s<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Array.<Number>}</span>
</h4>
<div class="description">
<p>Returns a given array with its elements "resized" by a given multiplier.</p>
</div>
<div class="method-member-container flex flex-col w-100 overflow-auto mt-20">
<strong>Parameters:</strong>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th>Default</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>input</code></td>
<td class="type">
<span class="param-type">Array.<Number></span>
</td>
<td class="attributes">
</td>
<td class="default">
</td>
<td class="description last"><p>The original array.</p></td>
</tr>
<tr>
<td class="name"><code>by</code></td>
<td class="type">
<span class="param-type">Number</span>
</td>
<td class="attributes">
<optional><br>
</td>
<td class="default">
1
</td>
<td class="description last"><p>The number by which to resize the elements</p></td>
</tr>
<tr>
<td class="name"><code>round</code></td>
<td class="type">
<span class="param-type">false</span>
|
<span class="param-type">"up"</span>
|
<span class="param-type">"down"</span>
|
<span class="param-type">"closest"</span>
</td>
<td class="attributes">
<optional><br>
</td>
<td class="default">
false
</td>
<td class="description last"><p>When not false, this determines how the elements are to be rounded when not integers</p></td>
</tr>
<tr>
<td class="name"><code>remove_0s</code></td>
<td class="type">
<span class="param-type">Boolean</span>
</td>
<td class="attributes">
<optional><br>
</td>
<td class="default">
false
</td>
<td class="description last"><p>When true, 0s will be completely erased from the array.</p></td>
</tr>
</tbody>
</table>
</div>
<dl class="details">
<div class="details-item-container">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="edo.js.html">edo.js</a>, <a href="edo.js.html#line8472">line 8472</a>
</li></ul></dd>
</div>
</dl>
<div class="method-member-container mt-20">
<strong>Returns:</strong>
<div class="param-desc">
<p>The resized input</p>
</div>
<dl class="param-type">
<dt>
Type
</dt>
<dd>
<span class="param-type">Array.<Number></span>
</dd>
</dl>
</div>
<div class="method-member-container flex flex-col w-100 overflow-auto mt-20">
<strong>Example</strong>
<pre class="prettyprint"><code>let time = new Time()
time.resize.by_product([2,4,1,3],0.45) // returns [ 0.9, 1.8, 0.45, 1.35 ]
time.resize.by_product([2,4,1,3],0.45,"up") // returns [ 1, 2, 1, 2 ]
time.resize.by_product([2,4,1,3],0.45,"closest",false) // returns [ 1, 2, 0, 1 ]
time.resize.by_product([2,4,1,3],0.45,"closest",true) // returns [ 1, 2, 1 ]</code></pre>
</div>
<h4 class="name" id=".by_sum">
<a href="#.by_sum">#</a>
<span class="type-signature">(static) </span>by_sum<span class="signature">(input, by<span class="signature-attributes">opt</span>, remove_0s<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Array.<Number>}</span>
</h4>
<div class="description">
<p>Returns a given array with its elements "resized" by an added sum.</p>
</div>
<div class="method-member-container flex flex-col w-100 overflow-auto mt-20">
<strong>Parameters:</strong>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th>Default</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>input</code></td>
<td class="type">
<span class="param-type">Array.<Number></span>
</td>
<td class="attributes">
</td>
<td class="default">
</td>
<td class="description last"><p>The original array.</p></td>
</tr>
<tr>
<td class="name"><code>by</code></td>
<td class="type">
<span class="param-type">Number</span>
</td>
<td class="attributes">
<optional><br>
</td>
<td class="default">
1
</td>
<td class="description last"><p>The number by which to resize the elements</p></td>
</tr>
<tr>
<td class="name"><code>remove_0s</code></td>
<td class="type">
<span class="param-type">Boolean</span>
</td>
<td class="attributes">
<optional><br>
</td>
<td class="default">
false
</td>
<td class="description last"><p>When true, 0s will be completely erased from the array.</p></td>
</tr>
</tbody>
</table>
</div>
<dl class="details">
<div class="details-item-container">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="edo.js.html">edo.js</a>, <a href="edo.js.html#line8498">line 8498</a>
</li></ul></dd>
</div>
</dl>
<div class="method-member-container mt-20">
<strong>Returns:</strong>
<div class="param-desc">
<p>The resized input</p>
</div>
<dl class="param-type">
<dt>
Type
</dt>
<dd>
<span class="param-type">Array.<Number></span>
</dd>
</dl>
</div>
<div class="method-member-container flex flex-col w-100 overflow-auto mt-20">
<strong>Example</strong>
<pre class="prettyprint"><code>let time = new Time()
time.resize.by_sum([2,4,1,3],-1,false) //[ 1, 3, 0, 2 ]
time.resize.by_sum([2,4,1,3],-1,true) //[ 1, 3, 2 ]</code></pre>
</div>
</article>
</section>
</div>
<footer id="footer">
</footer>
<script src="scripts/third-party/prettify.js"></script>
<script src="scripts/third-party/lang-css.js"></script>
<script src="scripts/search.js"></script>
<script src="scripts/third-party/fuse.js"></script>
<script>prettyPrint();</script>
<script src="scripts/linenumber.js"></script>
<script src="scripts/fix-code-block.js"></script>
<script>
var list = [{"title":"EDO","link":"<a href=\"EDO.html\">EDO</a>"},{"title":"EDO#scale","link":"<a href=\"EDO.html#scale\">EDO ▸ scale</a>"},{"title":"Scale","link":"<a href=\"Scale.html\">Scale</a>"},{"title":"Scale#complement","link":"<a href=\"Scale.html#complement\">Scale ▸ complement</a>"},{"title":"Scale#invert","link":"<a href=\"Scale.html#invert\">Scale ▸ invert</a>"},{"title":"Scale#mode","link":"<a href=\"Scale.html#mode\">Scale ▸ mode</a>"},{"title":"Scale#normal","link":"<a href=\"Scale.html#normal\">Scale ▸ normal</a>"},{"title":"Scale#prime","link":"<a href=\"Scale.html#prime\">Scale ▸ prime</a>"},{"title":"Time","link":"<a href=\"Time.html\">Time</a>"},{"title":"convert","link":"<a href=\"EDO_convert.html\">convert</a>"},{"title":"EDO#convert.cents_to_interval","link":"<a href=\"EDO_convert.html#.cents_to_interval\">EDO ▸ convert.cents_to_interval</a>"},{"title":"EDO#convert.cents_to_ratio","link":"<a href=\"EDO_convert.html#.cents_to_ratio\">EDO ▸ convert.cents_to_ratio</a>"},{"title":"EDO#convert.freq_to_midi","link":"<a href=\"EDO_convert.html#.freq_to_midi\">EDO ▸ convert.freq_to_midi</a>"},{"title":"EDO#convert.interval_to_cents","link":"<a href=\"EDO_convert.html#.interval_to_cents\">EDO ▸ convert.interval_to_cents</a>"},{"title":"EDO#convert.interval_to_ratio","link":"<a href=\"EDO_convert.html#.interval_to_ratio\">EDO ▸ convert.interval_to_ratio</a>"},{"title":"EDO#convert.intervals_to_pitches","link":"<a href=\"EDO_convert.html#.intervals_to_pitches\">EDO ▸ convert.intervals_to_pitches</a>"},{"title":"EDO#convert.intervals_to_scale","link":"<a href=\"EDO_convert.html#.intervals_to_scale\">EDO ▸ convert.intervals_to_scale</a>"},{"title":"EDO#convert.midi_to_freq","link":"<a href=\"EDO_convert.html#.midi_to_freq\">EDO ▸ convert.midi_to_freq</a>"},{"title":"EDO#convert.midi_to_intervals","link":"<a href=\"EDO_convert.html#.midi_to_intervals\">EDO ▸ convert.midi_to_intervals</a>"},{"title":"EDO#convert.midi_to_name","link":"<a href=\"EDO_convert.html#.midi_to_name\">EDO ▸ convert.midi_to_name</a>"},{"title":"EDO#convert.name_to_scale","link":"<a href=\"EDO_convert.html#.name_to_scale\">EDO ▸ convert.name_to_scale</a>"},{"title":"EDO#convert.pc_to_name","link":"<a href=\"EDO_convert.html#.pc_to_name\">EDO ▸ convert.pc_to_name</a>"},{"title":"EDO#convert.pitches_to_freq","link":"<a href=\"EDO_convert.html#.pitches_to_freq\">EDO ▸ convert.pitches_to_freq</a>"},{"title":"EDO#convert.pitches_to_PCs","link":"<a href=\"EDO_convert.html#.pitches_to_PCs\">EDO ▸ convert.pitches_to_PCs</a>"},{"title":"EDO#convert.ratio_to_cents","link":"<a href=\"EDO_convert.html#.ratio_to_cents\">EDO ▸ convert.ratio_to_cents</a>"},{"title":"EDO#convert.ratio_to_interval","link":"<a href=\"EDO_convert.html#.ratio_to_interval\">EDO ▸ convert.ratio_to_interval</a>"},{"title":"EDO#convert.to_steps","link":"<a href=\"EDO_convert.html#.to_steps\">EDO ▸ convert.to_steps</a>"},{"title":"count","link":"<a href=\"EDO_count.html\">count</a>"},{"title":"EDO#count.common_tones","link":"<a href=\"EDO_count.html#.common_tones\">EDO ▸ count.common_tones</a>"},{"title":"EDO#count.differences","link":"<a href=\"EDO_count.html#.differences\">EDO ▸ count.differences</a>"},{"title":"EDO#count.pitches","link":"<a href=\"EDO_count.html#.pitches\">EDO ▸ count.pitches</a>"},{"title":"export","link":"<a href=\"EDO_export.html\">export</a>"},{"title":"EDO#export.png","link":"<a href=\"EDO_export.html#.png\">EDO ▸ export.png</a>"},{"title":"EDO#export.svg","link":"<a href=\"EDO_export.html#.svg\">EDO ▸ export.svg</a>"},{"title":"get","link":"<a href=\"EDO_get.html\">get</a>"},{"title":"EDO#get.angle","link":"<a href=\"EDO_get.html#.angle\">EDO ▸ get.angle</a>"},{"title":"EDO#get.best_edo_from_cents","link":"<a href=\"EDO_get.html#.best_edo_from_cents\">EDO ▸ get.best_edo_from_cents</a>"},{"title":"EDO#get.combinations","link":"<a href=\"EDO_get.html#.combinations\">EDO ▸ get.combinations</a>"},{"title":"EDO#get.complementary_interval","link":"<a href=\"EDO_get.html#.complementary_interval\">EDO ▸ get.complementary_interval</a>"},{"title":"EDO#get.complementary_set","link":"<a href=\"EDO_get.html#.complementary_set\">EDO ▸ get.complementary_set</a>"},{"title":"EDO#get.contour","link":"<a href=\"EDO_get.html#.contour\">EDO ▸ get.contour</a>"},{"title":"EDO#get.contour_motives","link":"<a href=\"EDO_get.html#.contour_motives\">EDO ▸ get.contour_motives</a>"},{"title":"EDO#get.coordinates","link":"<a href=\"EDO_get.html#.coordinates\">EDO ▸ get.coordinates</a>"},{"title":"EDO#get.evenly_split","link":"<a href=\"EDO_get.html#.evenly_split\">EDO ▸ get.evenly_split</a>"},{"title":"EDO#get.fill_partial_harp_pedaling","link":"<a href=\"EDO_get.html#.fill_partial_harp_pedaling\">EDO ▸ get.fill_partial_harp_pedaling</a>"},{"title":"EDO#get.generated_scale","link":"<a href=\"EDO_get.html#.generated_scale\">EDO ▸ get.generated_scale</a>"},{"title":"EDO#get.generators","link":"<a href=\"EDO_get.html#.generators\">EDO ▸ get.generators</a>"},{"title":"EDO#get.harmonic_progression","link":"<a href=\"EDO_get.html#.harmonic_progression\">EDO ▸ get.harmonic_progression</a>"},{"title":"EDO#get.harmonized_melody","link":"<a href=\"EDO_get.html#.harmonized_melody\">EDO ▸ get.harmonized_melody</a>"},{"title":"EDO#get.harp_pedals_to_pitches","link":"<a href=\"EDO_get.html#.harp_pedals_to_pitches\">EDO ▸ get.harp_pedals_to_pitches</a>"},{"title":"EDO#get.harp_position_of_quality","link":"<a href=\"EDO_get.html#.harp_position_of_quality\">EDO ▸ get.harp_position_of_quality</a>"},{"title":"EDO#get.intersection","link":"<a href=\"EDO_get.html#.intersection\">EDO ▸ get.intersection</a>"},{"title":"EDO#get.interval_stack","link":"<a href=\"EDO_get.html#.interval_stack\">EDO ▸ get.interval_stack</a>"},{"title":"EDO#get.interval_traversed","link":"<a href=\"EDO_get.html#.interval_traversed\">EDO ▸ get.interval_traversed</a>"},{"title":"EDO#get.inversion","link":"<a href=\"EDO_get.html#.inversion\">EDO ▸ get.inversion</a>"},{"title":"EDO#get.lattice","link":"<a href=\"EDO_get.html#.lattice\">EDO ▸ get.lattice</a>"},{"title":"EDO#get.levenshtein","link":"<a href=\"EDO_get.html#.levenshtein\">EDO ▸ get.levenshtein</a>"},{"title":"EDO#get.maximal_carey_coherence_failures","link":"<a href=\"EDO_get.html#.maximal_carey_coherence_failures\">EDO ▸ get.maximal_carey_coherence_failures</a>"},{"title":"EDO#get.maximal_rahn_difference","link":"<a href=\"EDO_get.html#.maximal_rahn_difference\">EDO ▸ get.maximal_rahn_difference</a>"},{"title":"EDO#get.minimal_voice_leading","link":"<a href=\"EDO_get.html#.minimal_voice_leading\">EDO ▸ get.minimal_voice_leading</a>"},{"title":"EDO#get.mixture_in_cardinality","link":"<a href=\"EDO_get.html#.mixture_in_cardinality\">EDO ▸ get.mixture_in_cardinality</a>"},{"title":"EDO#get.modes","link":"<a href=\"EDO_get.html#.modes\">EDO ▸ get.modes</a>"},{"title":"EDO#get.motives","link":"<a href=\"EDO_get.html#.motives\">EDO ▸ get.motives</a>"},{"title":"EDO#get.n_choose_k","link":"<a href=\"EDO_get.html#.n_choose_k\">EDO ▸ get.n_choose_k</a>"},{"title":"EDO#get.necklace","link":"<a href=\"EDO_get.html#.necklace\">EDO ▸ get.necklace</a>"},{"title":"EDO#get.new_pitches","link":"<a href=\"EDO_get.html#.new_pitches\">EDO ▸ get.new_pitches</a>"},{"title":"EDO#get.ngrams","link":"<a href=\"EDO_get.html#.ngrams\">EDO ▸ get.ngrams</a>"},{"title":"EDO#get.normal_order","link":"<a href=\"EDO_get.html#.normal_order\">EDO ▸ get.normal_order</a>"},{"title":"EDO#get.notes_from_cents","link":"<a href=\"EDO_get.html#.notes_from_cents\">EDO ▸ get.notes_from_cents</a>"},{"title":"EDO#get.partitioned_subsets","link":"<a href=\"EDO_get.html#.partitioned_subsets\">EDO ▸ get.partitioned_subsets</a>"},{"title":"EDO#get.path_n_steps","link":"<a href=\"EDO_get.html#.path_n_steps\">EDO ▸ get.path_n_steps</a>"},{"title":"EDO#get.path_on_tree","link":"<a href=\"EDO_get.html#.path_on_tree\">EDO ▸ get.path_on_tree</a>"},{"title":"EDO#get.permutations","link":"<a href=\"EDO_get.html#.permutations\">EDO ▸ get.permutations</a>"},{"title":"EDO#get.pitch_distribution","link":"<a href=\"EDO_get.html#.pitch_distribution\">EDO ▸ get.pitch_distribution</a>"},{"title":"EDO#get.pitch_fields","link":"<a href=\"EDO_get.html#.pitch_fields\">EDO ▸ get.pitch_fields</a>"},{"title":"EDO#get.random_melody","link":"<a href=\"EDO_get.html#.random_melody\">EDO ▸ get.random_melody</a>"},{"title":"EDO#get.random_melody_from_contour","link":"<a href=\"EDO_get.html#.random_melody_from_contour\">EDO ▸ get.random_melody_from_contour</a>"},{"title":"EDO#get.random_melody_from_distribution","link":"<a href=\"EDO_get.html#.random_melody_from_distribution\">EDO ▸ get.random_melody_from_distribution</a>"},{"title":"EDO#get.random_melody_from_ngram","link":"<a href=\"EDO_get.html#.random_melody_from_ngram\">EDO ▸ get.random_melody_from_ngram</a>"},{"title":"EDO#get.ratio_approximation","link":"<a href=\"EDO_get.html#.ratio_approximation\">EDO ▸ get.ratio_approximation</a>"},{"title":"EDO#get.retrograde","link":"<a href=\"EDO_get.html#.retrograde\">EDO ▸ get.retrograde</a>"},{"title":"EDO#get.rotated","link":"<a href=\"EDO_get.html#.rotated\">EDO ▸ get.rotated</a>"},{"title":"EDO#get.rotations","link":"<a href=\"EDO_get.html#.rotations\">EDO ▸ get.rotations</a>"},{"title":"EDO#get.scalar_melodies","link":"<a href=\"EDO_get.html#.scalar_melodies\">EDO ▸ get.scalar_melodies</a>"},{"title":"EDO#get.scale_fragments","link":"<a href=\"EDO_get.html#.scale_fragments\">EDO ▸ get.scale_fragments</a>"},{"title":"EDO#get.scales","link":"<a href=\"EDO_get.html#.scales\">EDO ▸ get.scales</a>"},{"title":"EDO#get.sets_from_mixture","link":"<a href=\"EDO_get.html#.sets_from_mixture\">EDO ▸ get.sets_from_mixture</a>"},{"title":"EDO#get.shortest_path","link":"<a href=\"EDO_get.html#.shortest_path\">EDO ▸ get.shortest_path</a>"},{"title":"EDO#get.simple_ratios","link":"<a href=\"EDO_get.html#.simple_ratios\">EDO ▸ get.simple_ratios</a>"},{"title":"EDO#get.stacked","link":"<a href=\"EDO_get.html#.stacked\">EDO ▸ get.stacked</a>"},{"title":"EDO#get.starting_at","link":"<a href=\"EDO_get.html#.starting_at\">EDO ▸ get.starting_at</a>"},{"title":"EDO#get.step_maximal_mean_error_in_cardinality","link":"<a href=\"EDO_get.html#.step_maximal_mean_error_in_cardinality\">EDO ▸ get.step_maximal_mean_error_in_cardinality</a>"},{"title":"EDO#get.step_min_max_error_in_EDO","link":"<a href=\"EDO_get.html#.step_min_max_error_in_EDO\">EDO ▸ get.step_min_max_error_in_EDO</a>"},{"title":"EDO#get.step_min_max_mean_error_in_cardinality","link":"<a href=\"EDO_get.html#.step_min_max_mean_error_in_cardinality\">EDO ▸ get.step_min_max_mean_error_in_cardinality</a>"},{"title":"EDO#get.step_minimal_mean_error_in_cardinality","link":"<a href=\"EDO_get.html#.step_minimal_mean_error_in_cardinality\">EDO ▸ get.step_minimal_mean_error_in_cardinality</a>"},{"title":"EDO#get.subset_indices","link":"<a href=\"EDO_get.html#.subset_indices\">EDO ▸ get.subset_indices</a>"},{"title":"EDO#get.subsets","link":"<a href=\"EDO_get.html#.subsets\">EDO ▸ get.subsets</a>"},{"title":"EDO#get.transposition","link":"<a href=\"EDO_get.html#.transposition\">EDO ▸ get.transposition</a>"},{"title":"EDO#get.union","link":"<a href=\"EDO_get.html#.union\">EDO ▸ get.union</a>"},{"title":"EDO#get.unique_elements","link":"<a href=\"EDO_get.html#.unique_elements\">EDO ▸ get.unique_elements</a>"},{"title":"EDO#get.well_formed_scale","link":"<a href=\"EDO_get.html#.well_formed_scale\">EDO ▸ get.well_formed_scale</a>"},{"title":"EDO#get.without","link":"<a href=\"EDO_get.html#.without\">EDO ▸ get.without</a>"},{"title":"EDO#get.without_chromatic_notes","link":"<a href=\"EDO_get.html#.without_chromatic_notes\">EDO ▸ get.without_chromatic_notes</a>"},{"title":"is","link":"<a href=\"EDO_is.html\">is</a>"},{"title":"EDO#is.element_of","link":"<a href=\"EDO_is.html#.element_of\">EDO ▸ is.element_of</a>"},{"title":"EDO#is.rotation","link":"<a href=\"EDO_is.html#.rotation\">EDO ▸ is.rotation</a>"},{"title":"EDO#is.same","link":"<a href=\"EDO_is.html#.same\">EDO ▸ is.same</a>"},{"title":"EDO#is.subset","link":"<a href=\"EDO_is.html#.subset\">EDO ▸ is.subset</a>"},{"title":"EDO#is.transposition","link":"<a href=\"EDO_is.html#.transposition\">EDO ▸ is.transposition</a>"},{"title":"midi","link":"<a href=\"EDO_midi.html\">midi</a>"},{"title":"EDO#midi.chordify","link":"<a href=\"EDO_midi.html#.chordify\">EDO ▸ midi.chordify</a>"},{"title":"EDO#midi.import","link":"<a href=\"EDO_midi.html#.import\">EDO ▸ midi.import</a>"},{"title":"EDO#midi.strip","link":"<a href=\"EDO_midi.html#.strip\">EDO ▸ midi.strip</a>"},{"title":"show","link":"<a href=\"EDO_show.html\">show</a>"},{"title":"EDO#show.contour","link":"<a href=\"EDO_show.html#.contour\">EDO ▸ show.contour</a>"},{"title":"EDO#show.interval_fractal_tree","link":"<a href=\"EDO_show.html#.interval_fractal_tree\">EDO ▸ show.interval_fractal_tree</a>"},{"title":"EDO#show.necklace","link":"<a href=\"EDO_show.html#.necklace\">EDO ▸ show.necklace</a>"},{"title":"EDO#show.necklace_fractal","link":"<a href=\"EDO_show.html#.necklace_fractal\">EDO ▸ show.necklace_fractal</a>"},{"title":"EDO#show.nested_necklaces","link":"<a href=\"EDO_show.html#.nested_necklaces\">EDO ▸ show.nested_necklaces</a>"},{"title":"xml","link":"<a href=\"EDO_xml.html\">xml</a>"},{"title":"count","link":"<a href=\"Scale_count.html\">count</a>"},{"title":"Scale#count.chord_quality","link":"<a href=\"Scale_count.html#.chord_quality\">Scale ▸ count.chord_quality</a>"},{"title":"Scale#count.consecutive_steps","link":"<a href=\"Scale_count.html#.consecutive_steps\">Scale ▸ count.consecutive_steps</a>"},{"title":"Scale#count.imperfections","link":"<a href=\"Scale_count.html#.imperfections\">Scale ▸ count.imperfections</a>"},{"title":"Scale#count.interval","link":"<a href=\"Scale_count.html#.interval\">Scale ▸ count.interval</a>"},{"title":"Scale#count.M3s","link":"<a href=\"Scale_count.html#.M3s\">Scale ▸ count.M3s</a>"},{"title":"Scale#count.m3s","link":"<a href=\"Scale_count.html#.m3s\">Scale ▸ count.m3s</a>"},{"title":"Scale#count.major_minor_triads","link":"<a href=\"Scale_count.html#.major_minor_triads\">Scale ▸ count.major_minor_triads</a>"},{"title":"Scale#count.min_max_n_chords_in_necklace","link":"<a href=\"Scale_count.html#.min_max_n_chords_in_necklace\">Scale ▸ count.min_max_n_chords_in_necklace</a>"},{"title":"Scale#count.modes","link":"<a href=\"Scale_count.html#.modes\">Scale ▸ count.modes</a>"},{"title":"Scale#count.n_chords","link":"<a href=\"Scale_count.html#.n_chords\">Scale ▸ count.n_chords</a>"},{"title":"Scale#count.n_chords_diatonic","link":"<a href=\"Scale_count.html#.n_chords_diatonic\">Scale ▸ count.n_chords_diatonic</a>"},{"title":"Scale#count.P5s","link":"<a href=\"Scale_count.html#.P5s\">Scale ▸ count.P5s</a>"},{"titl