1 | <?php |
||
7 | class Harmonic |
||
8 | { |
||
9 | private $halfStop; |
||
10 | private $baseStop; |
||
11 | |||
12 | /** |
||
13 | * @param float $halfStop |
||
14 | * @param float $baseStop |
||
15 | */ |
||
16 | public function __construct(float $halfStop, float $baseStop = 1.0) |
||
25 | |||
26 | /** |
||
27 | * @param \ExtendedStrings\Strings\VibratingString $string |
||
28 | * |
||
29 | * @return float |
||
30 | */ |
||
31 | public function getSoundingPitch(VibratingString $string): float |
||
40 | |||
41 | /** |
||
42 | * @param int $limit |
||
43 | * |
||
44 | * @return float[] |
||
45 | */ |
||
46 | public static function getSeries(int $limit): array |
||
56 | } |
||
57 |