Platform
Resources
Pricing
Sign in
Get started
John Alexis Guerra Gómez
I love to build dataviz for insight discovery. I also love to put technology to the service of humanity
Workspace
Fork
Published
By
John Alexis Guerra Gómez
Edited
Apr 5, 2022
2 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
instrument
=
Soundfont
.
instrument
(
new
AudioContext
(
)
,
instrumentName
)
Insert cell
{
playAgain
;
notes
.
split
(
" "
)
.
map
(
instrument
.
play
)
;
invalidation
.
then
(
(
)
=>
instrument
.
stop
(
)
)
;
}
Insert cell
Soundfont
=
require
(
"https://bundle.run/soundfont-player@0.12.0"
)
Insert cell
instruments
=
fetch
(
"https://raw.githubusercontent.com/danigb/soundfont-player/master/names/fluidR3.json"
)
.
then
(
(
res
)
=>
res
.
json
(
)
)
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
notes
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
playAgain
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
instrumentName
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
instrument
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Soundfont
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
instruments
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML