Professional Documents
Culture Documents
PUBLIC
1 of 2
https://github.com/memo/p5-Webcam-Piano-1.5
This repository
Explore
Gist
Blog
carloslopezcharles
Help
memo / p5-Webcam-Piano-1.5
Watch
Processing demo to use the webcam to play a virtual piano. Adjustable gridsize, harmonics, scale etc.
http://msavisuals.com/webcam_piano_20
Star
Fork
Code
4 commits
1 branch
0 releases
1 contributor
Issues
master
p5-Webcam-Piano-1.5 /
Pull Requests
CamPianoPad.pde
first commit
3 years ago
Scale.pde
first commit
3 years ago
blur.pde
first commit
3 years ago
readme.txt
3 years ago
3 years ago
webcam_piano_1_5.pde
3 years ago
Wiki
Pulse
Graphs
Network
readme.txt
HTTPS clone URL
https://github.com/memo/p5-Webcam-Pi
/***********************************************************************
*
Use
the
webcam
to
play
a
virtual
piano.
Adjustable
gridsize,
harmonics,
scale
etc.
*
See
http://msavisuals.com/webcam_piano_20
for
demo
*
(though
that
is
a
more
advanced
version
written
in
C++,
concept
is
the
same)
*
*
Note
that
this
app
doesn't
actually
produce
sound,
*
it
just
sends
note
on/off
data
with
velocity
as
OSC:
*
/msa/note
[float:pitch]
[float:velocity]
[int:uniqueindex]
[bool:on]
*
pitch:
0...1;
//
midi
note
number
mapped
from
0...127
to
0...1
*
velocity:
0...1;
//
midi
velocity
mapped
from
0...127
to
0...1
*
uniqueindex:
this
is
a
unique
number
(could
be
midi
note
number),
its
only
needed
for
osculator
*
on:
0
or
1
(noteon
or
noteoff)
*
*
If
you
want
to
use
midi,
you
can
use
maxmsp,
pd
etc.
to
map
the
osc
to
midi
*
OR
on
mac
you
can
use
http://www.osculator.net/
*
thats
what
the
webcam
piano
1.5.oscd
is
for
*
*
Copyright
(c)
2008,
Memo
Akten,
www.memo.tv
*
*
This
program
is
free
software:
you
can
redistribute
it
and/or
modify
*
it
under
the
terms
of
the
GNU
General
Public
License
as
published
by
*
the
Free
Software
Foundation,
either
version
3
of
the
License,
or
*
(at
your
option)
any
later
version.
*
*
This
program
is
distributed
in
the
hope
that
it
will
be
useful,
*
but
WITHOUT
ANY
WARRANTY;
without
even
the
implied
warranty
of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE.
See
the
*
GNU
General
Public
License
for
more
details.
*
*
You
should
have
received
a
copy
of
the
GNU
General
Public
License
*
along
with
this
program.
If
not,
see
<http://www.gnu.org/licenses/>.
*
Clone in Desktop
Download ZIP
3/11/14 10:44 PM
memo/p5-Webcam-Piano-1.5
2 of 2
Terms
https://github.com/memo/p5-Webcam-Piano-1.5
Privacy
Security
Contact
Status
API
Training
Shop
Blog
About
3/11/14 10:44 PM