Dorien,

The MotionChart is not very customizable in the way you are hoping, but it
sounds like you could make use of the Bubble chart with the animation
option which you would control to synchronize with your music.  For each
animation step you would just change the data and set the animation
duration and call draw() again.  You could add a Pause button that just
interrupted the process, though the last animation step would continue
until it was done.

But the animation times are likely to get out-of-sync with the music unless
you can get some signals from the music itself.  Another alternative might
be to chop the mp3 into many small segments of known duration, and play
each one successively.


On Mon, Oct 26, 2015 at 8:57 AM, Dorien Herremans <
[email protected]> wrote:

> Hi,
>
> I want to sync a motion chart with the playback of an mp3 file. It doesn't
> seem supported at this point, but it would be a very useful feature for me
> (I'm a researcher visualising music).
>
> One brute solution would be to autoplay the motionchart together with the
> music (although pausing would not be supported). Is there any way to do
> this?
>
> Many thanks,
> Dorien
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to
> [email protected].
> Visit this group at
> http://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/8e99b923-e161-4e73-93cd-7e1aa5fde3e1%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/8e99b923-e161-4e73-93cd-7e1aa5fde3e1%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>  -
978-394-1058
[email protected] <[email protected]>   5CC, Cambridge MA
[email protected] <[email protected]> 9 Juniper Ridge
Road, Acton MA

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJNPCACoF4EAtsH2ccuZYo5sTaTH-LnvLfpGw14W6qZMDg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to