Git Product home page Git Product logo

slomo's Introduction

"The Inner Timing Experiment"

alt text

ERC-Project SloMo

This experiment and study is part of a larger EU funded project called SloMo - "Slow Motion: Transformations of Musical Time in Perception and Performance", initiated by Prof. Dr. Clemens Wöllner at the University of Hamburg, who also leads the Institute of Musicology at the UHH.

For more info on the Slomo project please refer the project website: https://www.slomo.uni-hamburg.de/

"The Inner Timing" Web Experiment

This project in particular, i.e. "The Inner Timing Experiment" was built by Simon Mayrshofer (MA Systematic Musicology, and author of all code in this project) to facilitate the following study:

Hammerschmidt, D., Frieler, K., & Wöllner, C. (2020). Innere Zeit: Eine Online-Tappingstudie zum spontanen motorischen Tempo und dessen Einflussfaktoren. In 36. Tagungsband der Deutschen Gesellschaft für Musikpsychologie (pp. 74–75). 3rd-6th September 2020, virtual conference.

The code repository may be found at https://github.com/g-mac/slomo

The experiment is/was hosted on a University of Hamburg server at: https://innertiming.slomo.uni-hamburg.de A DEV environment was setup for deploying new developments/features at: https://innertiming.slomo.uni-hamburg.de/dev A LAB environnment was setup for running in-house tests with a closed group of participants at https://innertiming.slomo.uni-hamburg.de/lab

Originally, before the code base was moved to the University servers, a first version of the project was hosted using Heroku and MLAB at https://slomo-xp.herokuapp.com/

Technology used

This project is based on the MEN (Mongo, Express, Node.Js) Stack. The Frontend was built using JavaScript and the Node.Js Express Framework. The Backend Infrastructure (i.e. server and database) was setup up on a Apache Server of the University of Hamburg and NGINX and Forever was used for hosting and running the website service. MongoDB was used as a database. Versioning was done using Git, the repository being hosted on GitHub.

Miscellaneous Notes

This website, called "Tap for Beat Per Minute" was used as an example for some of the JS code.


This guide from CLOSEBRACE was followed in order to get the MEN (Mongo, Express, NodeJs) Project set up and running.


Guide Installing NodeJs (npm) https://nodejs.org/en/download/


https://mlab.com/ Guide for setting up MEN with heroku: https://forum.freecodecamp.org/t/guide-for-using-mongodb-and-deploying-to-heroku/19347 https://dashboard.heroku.com/apps


to run local mongo db:

  1. navigate to /data: cd data
  2. mongod --dbpath .
  3. and use mongo console to read/write/delete etc.: mongo
  4. use examplecdb to switch between databases

Other relevant commands: db.usercollection.insert({ "username" : "testuser1", "email" : "[email protected]" }) display all entries in a collection db.usercollection.find().pretty() Remove all entries from a collection db.usercollection.remove({})`


sudo chown -R $(whoami) /usr/local

brew update

brew install mongodb --with-openssl

npm install ejs

which mongo

mongod --dbpath .

npm install -g express-generator

C:\node\nodetest1\package.json

add to "dependencies":

"mongodb": "^2.2.25",
"monk": "^4.0.0",

npm install

npm start

http://localhost:3000

slomo's People

Contributors

g-mac avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.