# Live datafeed in Processing

**URL:** <https://discourse.processing.org/t/live-datafeed-in-processing/15251>\
**Category:** Project Guidance\
**Created:** [November 5, 2019, 11:59am UTC](https://discourse.processing.org/t/live-datafeed-in-processing/15251 "2019-11-05T11:59:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rs1002](https://avatars.discourse-cdn.com/v4/letter/r/dc4da7/32.png) [@rs1002](https://discourse.processing.org/u/rs1002)\
**Post date:** [November 5, 2019, 11:59am UTC](https://discourse.processing.org/t/live-datafeed-in-processing/15251/1 "2019-11-05T11:59:28Z")

</div>

Please help to understand if i can connect to a live data feed in the processing. I want to know if its possible to work on live streaming of data thorugh this software?

---

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [November 5, 2019, 12:36pm UTC](https://discourse.processing.org/t/live-datafeed-in-processing/15251/2 "2019-11-05T12:36:46Z")

</div>

you want get the data from where please?

- USB + Arduino + sensor
- USB web cam
- web site API / XML / JSON
- network ( 2 computer run processing ) / shared canvas / OSC / websocket /

possibly read [https://processing.org/tutorials/data/](https://processing.org/tutorials/data/)

---

<div class="post-metadata">

**Author:** ![rs1002](https://avatars.discourse-cdn.com/v4/letter/r/dc4da7/32.png) [@rs1002](https://discourse.processing.org/u/rs1002)\
**Post date:** [November 5, 2019, 1:14pm UTC](https://discourse.processing.org/t/live-datafeed-in-processing/15251/3 "2019-11-05T13:14:27Z")

</div>

it will be JSON FILES

---

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [November 5, 2019, 1:25pm UTC](https://discourse.processing.org/t/live-datafeed-in-processing/15251/4 "2019-11-05T13:25:39Z")

</div>

could start [https://www.youtube.com/watch?v=rqROpUNb2aY](https://www.youtube.com/watch?v=rqROpUNb2aY)

---

<div class="post-metadata">

**Author:** ![rs1002](https://avatars.discourse-cdn.com/v4/letter/r/dc4da7/32.png) [@rs1002](https://discourse.processing.org/u/rs1002)\
**Post date:** [November 6, 2019, 10:00am UTC](https://discourse.processing.org/t/live-datafeed-in-processing/15251/5 "2019-11-06T10:00:29Z")

</div>

thanks for the suggestions. i would also like to know if we can do live data streaming in unity and scratch softwares. please help!

---

<div class="post-metadata">

**Author:** ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Post date:** [November 11, 2019, 7:44pm UTC](https://discourse.processing.org/t/live-datafeed-in-processing/15251/6 "2019-11-11T19:44:47Z")

</div>

> [@rs1002](#):
>
> i would also like to know if we can do live data streaming in unity and scratch softwares. please help!

This is a forum for Processing. Are you trying to communicate between a Processing sketch and a Scratch program? Or are you just asking for Scratch programming advice for a separate project (that would be a good question for a scratch forum).

You say “live data streaming” and “JSON files”. What is creating your JSON files, on what machine (the local computer running the sketch, a webserver, a device…?) and how are they being updated?
