Platform
Resources
Pricing
Sign in
Get started
fheyen
PhD student at the Visualization Research Center (VISUS), University of Stuttgart
Workspace
Fork
Published
Music
By
fheyen
Edited
Apr 5, 2022
Insert cell
Insert cell
Insert cell
1
// Soundfont = require('soundfont-player/dist/soundfont-player.js')
// Soundfont = require('soundfont-player/dist/soundfont-player.min.js')
// Soundfont = require('soundfont-player/lib/index.js')
Soundfont
=
require
(
"https://bundle.run/soundfont-player@0.12.0"
)
Insert cell
ac
=
new
AudioContext
(
)
Insert cell
Soundfont
.
instrument
(
ac
,
"marimba"
,
{
soundfont
:
"MusyngKite"
,
gain
:
3
}
)
.
then
(
(
marimba
)
=>
marimba
.
play
(
"C4"
)
)
Insert cell
Purpose-built for displays of data
Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Try it for free
Learn more
Fork
View
Export
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Soundfont
Show 1 comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
ac
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML