Music

From Noisebridge
(Difference between revisions)
Jump to: navigation, search
m (Reverted edits by Abenaqadat (Talk) to last revision by Cake)
(Playing Music)
Line 21: Line 21:
  
 
===Playing Music===
 
===Playing Music===
[[Horsy]] has a mount to [[Pony]]'s music directory (pony.noise:/d2/music). [http://mpd.wikia.com/ MPD] scans this directory and builds up a library based off of its contents. [[Horsy]] can then play back anything form that library through the speakers. In order to tell MPD on [[Horsy]] what to play, you'll need to interface to it with a [http://mpd.wikia.com/wiki/Clients client], which is available for many operating systems. Luckily for you a web interface has already been setup on [[Pony]], but if you want more control please look into the clients.
+
[[Horsy]] has a mount to [[Pony]]'s music directory (pony.noise:/d2/music). [http://mpd.wikia.com/ MPD] scans this directory and builds up a library based off of its contents. [[Horsy]] can then play back anything form that library through the speakers. In order to tell MPD on [[Horsy]] what to play, you'll need to interface to it with a [http://mpd.wikia.com/wiki/Clients client], which is available for many operating systems. Luckily for you a web interface has already been setup on [[Pony]], but if you want more control please look into the clients.  
  
 
* '''Web:''' [http://pony.noise/juke http://pony.noise/juke] or [http://172.30.0.30/juke http://172.30.0.30/juke]
 
* '''Web:''' [http://pony.noise/juke http://pony.noise/juke] or [http://172.30.0.30/juke http://172.30.0.30/juke]
 
* '''MPD Client to [[Horsy]]:''' noisebridge-greet.noise or 172.30.0.44 port 6600
 
* '''MPD Client to [[Horsy]]:''' noisebridge-greet.noise or 172.30.0.44 port 6600
 
* '''MPD Client to [[Zebra]]:''' zebra.noise or 172.30.0.41 port 6600
 
* '''MPD Client to [[Zebra]]:''' zebra.noise or 172.30.0.41 port 6600
 +
 +
For as yet unknown reasons certain machines get "permissions denied" when attempting to use the web interface. On my ''(steen)'' machine this happens, and I can still use the quite lovely commandline [http://mpd.wikia.com/wiki/Client:Ncmpc ncmpc] client. with just "ncmpc --host horsy.local". In fact I'm doing it right now. You should be here. My music taste is impeccable.
  
 
The desktop web interface is [http://relaxx.dirk-hoeschen.de/ relaXX] and the mobile is [http://code.google.com/p/neompc/ NeoMPC].
 
The desktop web interface is [http://relaxx.dirk-hoeschen.de/ relaXX] and the mobile is [http://code.google.com/p/neompc/ NeoMPC].

Revision as of 01:54, 17 December 2010

The first song played at 83c was by Welle:ErdBall from the album Die Wunderwelt der Technik and the song was "23... C=64.". The first song to play at 2169 was "Yippie" by Mouse on Mars.

Contents

Hardware

Horsy

Horsy is located on top of the library shelf, acting as our Media Center.

It's hooked up to a crazy amp and some crazy speakers sort of against the Mission Street wall near the columns. There's a "Line-In cable hooked up to horsy for mp3 players and what not.

Zebra

Zebra is located under one of the tall genius tables in front of the dark room.

We've got a nice stereo with 1/8" jack for audio devices, 5x RCA in, 1x SPDIF in, A/B speaker outs. Two Klipsch SB-5 speakers for now; a bit small for the space, but better than a PC laptop speaker.

We did a sound test and the amp can go to -11 (ha!) before you can even hear it outside when the windows are closed.

There is a sub. The sub will shut on/off automatically. To turn the sub up/down, on the receiver press the CH VOL button until SW is displayed on the screen, then press up/down to alter its state.

Jukebox

Summary

Pony holds all the music, Zebra and Horsy accesses the music and plays it on the speakers. The easiest way to control what music either machine plays is to connect to its web interface at http://pony.noise/juke.

Playing Music

Horsy has a mount to Pony's music directory (pony.noise:/d2/music). MPD scans this directory and builds up a library based off of its contents. Horsy can then play back anything form that library through the speakers. In order to tell MPD on Horsy what to play, you'll need to interface to it with a client, which is available for many operating systems. Luckily for you a web interface has already been setup on Pony, but if you want more control please look into the clients.

For as yet unknown reasons certain machines get "permissions denied" when attempting to use the web interface. On my (steen) machine this happens, and I can still use the quite lovely commandline ncmpc client. with just "ncmpc --host horsy.local". In fact I'm doing it right now. You should be here. My music taste is impeccable.

The desktop web interface is relaXX and the mobile is NeoMPC.

If you'd like to play files directly from either machine, check the web interface page for shell access.

Getting Music into the Jukebox

Music content lives on Pony, not Horsy or Zebra. You'll need an account on Pony, using your favorite method of putting files on a different machine please place your music in pony.noise:/d2/music. Once there, refresh the MPD library through your favorite client or the web interface.

Streaming to MPD

Linux

Open source is pretty damned awesome because if aliens ever attack us we know from Independence day that they will be using OS9 mac servers and we will be safe from their superior OS 9 hacks.

Mac OSX

Check out an application called NiceCast. It's a very quick and simple way to stream the output of iTunes to a Shoutcast server. If you're wondering about the licensing, talk to Rubin110.

  • Play something from iTunes and start NiceCast up, turn on the stream
  • ssh into a machine that runs mpc (media player client)
  • $ export MPD_HOST=noisebridge-greet.local
  • $ mpc clear
  • $ mpc add http://localipaddress:8000/listen
  • $ mpc play

AirTunes

AirTunes is a way to stream audio over the network to speakers via an Apple Airport Express. Sadly the Airport Express hasn't been found since the move. Please read above on how to get MPD to stream a radio station from your local machine.

Using ESD

The easiest way to play music over the jukebox thing from a GNU system:

$ ESPEAKER=horsy.noise mplayer -ao esd $FILE

.door

At acm.jhu.edu, the computer controlling the mag-stripe card reader that would unlock the door would also play a file in /home/username/.door on the speakers in the room. Ta-da - entrance music!

This should probably be added to the feature requests to be added to our AccessSystem

Personal tools