Skip to main content

Installing node-osc in npm (node.js)

This post is to update my experiment on the Thinker Blinker project. Thus far, I had been trying to 'install' the appropriate node.js that are necessary for this project to work.

The first thing I need to make sure is the file being in the right folder. In the following picture, we can see that the file I wanted to run is called 'index.js' that is located in /Users/christinedinata/index.js. So I typed 'node index' on my terminal/command prompt page (read more from this post I uploaded previously) to call the file to get it running.

However, there are some 'errors' because it says that the computer can't find the osc module. Upon more research on how to handle this problem, it turns out another node is needed. 

npm install node-osc (more information here)

But when I wanted to install this, there are a lot of issues and errors as well. 

This prompt lead me to search more on why I can't install this node-osc.

This person had the same problem, and what he did was installing these other two dependencies.

npm install python
npm install node-gyp

And to install that smoothly, I was directed to another link, which explained how to install the node-gyp. This post lists out the things needed on the different operating systems. Listed on the MacOS list, there is another link that transfers you to another post if your macOS is macOS Catalina (v10.15) or above.

Now on this last link, the GitHub post explains installation notes for macOS Catalina (v10.15) which is my laptop. One of the struggles I faced on this post is that they recommend users to download an app called Xcode, which is a coding tool for developers. But my laptop's version is not compatible with the newest Xcode app that is available on the AppStore. So currently, I'm downloading everything needed to get this node-osc installation going.

Comments

Popular posts from this blog

TouchDesigner Experiment: Audio Reactive Particle Cloud

My second experiment with TouchDesigner is creating this audio-reactive particle visual by following Bileam Tschepe 's tutorial on Youtube. Again, I just followed his tutorial step by step. This tutorial is a little different because it uses both audio and visuals. The visual follows the music in real-time. Other than audio, we are also introduced with the element 'Math' to add the channels of the audio together. This is the end product. Music is FriendsV2 by Muskatt.

TouchDesigner Experiment: Spectrum to TOPs

This time, the experiment I did with TouchDesigner is creating this audio-reactive abstract wave visual by following Bileam Tschepe 's tutorial on Youtube. This time, Bileam Tschepe's video thought us how to convert an audio spectrum directly to TOPs using the CHOP to TOP and compositing. Following his tutorial, here is my version of the project.  Song by Muskatt .

Introducing Halcyon

Halcyon is an immersive installation that allows users to translate their brainwave activity into visual art with the help of Muse headset. This project aims to provide entertainment purposes for the curious mind and research a less explored territory that is brainwave art in digital media. Wearing the Muse headset across the head, it transfers the brainwave to an application called Mind Monitor, which then sends the data to another software called TouchDesigner to project the visuals in real-time. Halcyon, as a brand, is very fluid and abstract, since it produces artwork that is different for everyone. To emulate this goal, the references for this project need to be represented as such as well. Furthermore, as Halcyon is a simple project, I think that mere typography would be sufficient to deliver the aim of the brand. A logo is the keystone of a brand, and it has the power to represent the values a brand upholds. Before proceeding to design a logo, there are some essential rules that...