User Tools

Site Tools


projects:music

This is an old revision of the document!


Music

A quite base is an empty base.
There should be always some music playing in the background.

Every member should be able to use the system.

Scope

  • requirements
    • play music from web radios
    • webinterface to change channel
    • play locally stored files
    • stream music from member clients
    • touch screen remote
    • keep it simple
  • not required
    • multiroom audio
    • bluetooth

Possible Systems

  • UPnP
  • MPD based
    • RuneAudio
    • Volumio
    • Mopidy
  • PulseAudio
    • RTP multicast
  • commercial
    • Sonos

Our Choise

We wend for MPD RuneAudio, because it boots fast, has a nice webinterface, runs on a RPi connected to some active speakers.

Music Storage

RuneAudio can connect to file shares.
For now we will only use web radio streams.

If you want to play your own music you need to be creative.

Clients

Sonic-Pi

Box

live_loop :tb303 do
  synth :tb303, note: (octs :c1, 3).tick, release: 0.1, cutoff: rrand(70,120), amp: 1.5
  sleep 0.125
end

live_loop :bass, sync: :tb303 do
  density 1 do
    sample :bd_tek, cutoff: 110, amp: 2
    sample :bd_klub, cutoff: 110, amp: 2
    sleep 0.5
  end
end

Second Version

use_bpm 60

live_loop :sound do
  with_fx :reverb, room: 1, reps: 32, amp: 1 do
    synth :dpulse, note: (scale :c1, :major_pentatonic, num_octaves: 4).choose, release: 0.1, cutoff: rrand(90,110), amp: 2
    synth :tb303, note: (scale :c1, :minor_pentatonic, num_octaves: 4).take(2).choose, release: 0.1, cutoff: rrand(90,110), amp: 1.5
    sleep 0.125
  end
end

live_loop :beats, sync: :sound do
  sample :loop_mika, lpf: 120, amp: 0.4
  sleep 2
end

live_loop :industry, sync: :sound do
  use_synth :tri
  use_synth_defaults attack: 0, sustain: 0.1, decay: 0.1, release: 0.1, amp: 0.4
  sample :loop_industrial, beat_stretch: 4
  sleep 4
end

live_loop :bass, sync: :sound do
  d = (knit 1, 7, 4, 1).tick
  density d do
    sample :bd_klub, cutoff: 110, amp: 2
    sleep 0.5
  end
end
projects/music.1590001561.txt.gz · Last modified: 2020-05-20 19:06 by seven