Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions static/js/st/components/staves.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,16 @@ export class FStaff extends Staff {
}
}

export class F8Staff extends Staff {
static defaultProps = {
keySignatureCenter: "F3",
upperRow: 26,
lowerRow: 18,
cleffImage: "/static/svg/clefs.F_change.svg",
staffClass: "f8_staff",
}
}

export class GrandStaff extends React.Component {
constructor(props) {
super(props)
Expand Down
11 changes: 11 additions & 0 deletions static/js/st/data.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,17 @@ export const STAVES = [
/>
},
},
{
mode: "notes",
name: "upright",
range: ["C2", "E4"],
render: function(props=this.state) {
return <F8Staff
ref={(staff) => this.staff = staff}
{...props}
/>
},
},
{
mode: "notes",
name: "grand",
Expand Down