Skip to content

Commit

Permalink
break: shift default pitch down an octave
Browse files Browse the repository at this point in the history
  • Loading branch information
dxinteractive committed Jul 15, 2021
1 parent 959dc7b commit 4e94643
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 69 deletions.
2 changes: 1 addition & 1 deletion packages/xenpaper-ui/src/PitchRuler.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export type InitialRulerState = {
export function useRulerState({lowHz, highHz, ...rest}: InitialRulerState = {}) {
return useDendriform<RulerState>(() => {

let viewPan = hzToPan(440 * 1.5);
let viewPan = hzToPan(220 * 1.5);
let viewZoom = 1.5;

if(lowHz && highHz) {
Expand Down
2 changes: 1 addition & 1 deletion packages/xenpaper-ui/src/Sidebars.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const SidebarInfo = (props: SidebarInfoProps): React.ReactElement => {
<br />- as divisions of an octave <C>11{'\\'}19</C>,
<br />- as divisions of an octave with a specific size (e.g. 3) <C>5{'\\'}13o3</C>
<br />- as cycles per second <C>432Hz</C>
<Ex tune={"0 7 1/1 3/2 0c 702c\n0\\19 11\\19 440Hz 660Hz"} color="pitch" onSetTune={onSetTune} />
<Ex tune={"0 7 1/1 3/2 0c 702c\n0\\19 11\\19 220Hz 330Hz"} color="pitch" onSetTune={onSetTune} />
</B>
<B>Notes can be shifted up or down octaves. <C>{"'"}</C> shifts the following note up 1 octave, <C>"</C> shifts the following note up 2 octaves, and <C>`</C> shifts the following note down an octave.
<Ex tune={"0-3-'0-'3-\"0-'\"0-`0-``0-"} color="pitch" onSetTune={onSetTune} />
Expand Down
Loading

0 comments on commit 4e94643

Please sign in to comment.