User Tools

Site Tools


projects:music

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
projects:music [2017-09-18 09:44]
trinitor created
projects:music [2020-05-20 19:04]
seven [Sonic-Pi]
Line 17: Line 17:
     * bluetooth      * bluetooth 
  
-==== Systems ====+==== Possible Systems ====
   * UPnP   * UPnP
   * MPD based   * MPD based
Line 28: Line 28:
     * Sonos     * 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 ====
 +Web: \\
 +[[http://music.devbase.org]]
 +
 +MacOS: \\
 +[[https://github.com/TheStalwart/Theremin]]
 +
 +Android: \\
 +[[https://play.google.com/store/apps/details?id=com.namelessdev.mpdroid&hl=de]]
 +
 +
 +==== Sonic-Pi ====
 +
 +Box
 +
 +<nowiki>
 +
 +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
 +
 +</nowiki>
 +
 +
 +Second Version
 +
 +<nowiki>
 +
 +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
 +
 +</nowiki>
projects/music.txt ยท Last modified: 2020-05-20 19:07 by seven