Skip to content

Repository of the HANS musical experiment.

License

Notifications You must be signed in to change notification settings

levaitamas/HANS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HANS

Overview | Installation | Usage | License

Overview

HANS is a musical experiment, which focuses on the possibilities of human – computer musical interactions in artistic works. The three main pillars of this project are the following: (1) computer as an autonomous actor, (2) computer network as a platform for musician–audience interactions, and (3) computers as musical instruments.

HANS is an autonomous computer program that is capable of playing together with human actors interactively. The program listens to musicians and via its adaptive, self-controlling artificial intelligence actively participates in performance by managing its internal sampler and effect chain.

HANS involves massive softwarization of redesigning existing musical instruments such as the virtual theremin or the drum module.

HANS is also a free improvising noisy experimental abstract electronic band with computers, electric bass zither, drums, synths and other instruments.

Links

Installation

Dependencies

Recommended:

Suggested:

Clone the Repository

git clone https://github.com/levaitamas/HANS.git

Prepare Samples

Create a directory for your samples with the following sub-directories:

Subdir Examples
Beep alarms, signals (microwave, tram), DTMF
Human speech, spoken words, yawns
Machine washing machine, electric razor, transformer
Music short melodies, single notes
Nature soundscapes, birds, water
Other all the WTF stuff
cd HANS/src/server
mkdir samples
cd samples
mkdir Beep Human Machine Music Nature Other

Copy your aiff samples to the specific directories.

Musical Instruments

The preparations of the software musical instruments vary. For further information check the source code:

Usage

HANS follows a client-server architecture. It provides various clients: a web interface on which the audience can trigger the server, and a graphical user interface on which OSC triggers can be sent or parameters of the server's AI component can be set.

1. Start Your Audio and Midi System

Plug in your MIDI device and start your preferred audio system (e.g. jack).

Alternatively you can trigger HANS via its OSC interface at /hans/midi.

2. Run the Server

Important: on non-Windows operating systems the server uses JACK to access the audio system.

The server is configurable with its command line arguments. The MIDI input channel can be set interactively.

To start the server listening on all MIDI input channel use a similar command:

cd HANS/src/server
python3 hans-server.py -m 99

License

HANS is a free software and licensed under GPLv3+.