Music hack of the decade: Panflute Hero!
Jhonny Göransson was part of the team that made what’s simply the daftest and most wonderful music hack we’ve seen so far. The moment he tweeted about it last night, we knew we had to show it to you as soon as we could. It’s called Panflute Hero. Panflute Hero was the result of a weekend at Way Out West Hackathon 2013. It’s a very silly panpipe version of Guitar Hero, which doesn’t use a plastic guitar controller. The game itself is built in Lua, and runs on a PC (no reason you couldn’t run a port on a Pi). Instructions, code (Jhonny says: “In the spirit of hacking and hackathons, our code really blows (get it?).
Note names, MIDI numbers and frequencies
Note names, MIDI numbers and frequencies are related here in tables and via an application that converts them. The musical interval between two notes depends on the ratio of their frequencies. See Frequency and Pitch for more details and an introduction to frequency and pitch. An octave is a ratio of 2:1 and, in equal temperament, an octave comprises 12 equal semitones. Each semitone therefore has a ratio of 21/12 (approximately 1.059). By convention, A4 is often set at 440 Hz. This table is reproduced inverted below, i.e. with high pitch at the top. To convert from any frequency to pitch (i.e. to the nearest note and how far it is out of tune, go to the frequency to note converter written by Andrew Botros. How to do the caluation? no = log2(f2/f1). Conversely, one can obtain n, the number of semitones from A4, from n = 12*log2(fn/440 Hz). Similar equations give no, the number of octaves from A4, and nc, the number of cents from A4: no = log2(fn/440 Hz) and nc = 1200*log2(fn/440 Hz).
MagPi issue 25 – out now!
For your weekend reading pleasure, here’s issue 25 of the MagPi! Published just yesterday, the latest issue of everyone’s favourite free, monthly, community-produced Raspberry Pi magazine is as full of fantastic stuff as ever. Click to read The MagPi! The cover story is one that’ll definitely get some attention in our house this weekend: it’s a full Python simulation of the Pocket Enigma Cipher Machine, a cleverly devised toy that demonstrates some of the principles of a real Enigma machine like the one many of you will recognise in the cover photo. Used by the German armed forces during World War II to encipher messages, these used rotating disks to achieve a sophisticated substitution cipher; the Pocket machine, and its Python simulation, use two disks to arrive at a fun, if not exactly unbreakable, cipher. We’re delighted to see an article by Andrew Suttle, the MagPi’s youngest guest writer so far.
MagPi issue 20 – your free Raspberry Pi magazine, out now
Issue 20, February 2014, of the excellent MagPi Magazine was released this week. I’m completely stealing the editorial by Matt from The MagPi team to introduce this issue (as you may have guessed, Liz is away. And I am not as good as Liz at this. After a massive response, we are pleased to write that the article series ‘Bake your own Pi filling’ is back by popular demand! We have more from the Caribbean with Project Curacao. Deepak Patil introduces his project for panoramic photography using Pi-Pan, a robotic arm controlled by his Raspberry Pi to move his Pi Camera. We have more from Andy Baker’s Quadcopter series with this issue reviewing his pre-flight checks. We have a great article detailing John Hobson’s and Efrain Olivares’ journey into managing the frustrating problem of internet dropout. Clive again: just to add that The MagPi is a magazine produced by the Raspberry Pi community for the Raspberry Pi community.
Ouverture du planet dédié au Raspberry Pi
Cet article a été publié par Benjamin le 29-03-13 à 15:30 dans la catégorie Raspberry Pi Tags : - Libre - Raspberry Pi Ayant reçu un Raspberry Pi il y a quelques semaines, je n'avais qu'une idée de projet en tête : diffuser en ligne la vidéo d'une webcam afin de surveiller mon bébé pendant son sommeil. Puis, en surfant sur différents sites, je me suis rendu compte que des tonnes d'articles concernant le Raspberry Pi existaient. Malheureusement, il n'y avait aucun recensement de ces sites (ou des articles) à un endroit unique. Utilisant les flux RSS à foison, l'idée à donc germée : mettre en place un planet dédié au Raspberry Pi. C'est désormais chose faite. Qu'est ce qu'un planet ? Je pense que la plupart d'entre vous savent déjà ce qu'est un planet. Selon Wikipédia : Pour ceux qui, comme moi, utilisent les flux RSS au maximum, cela devient vite fastidieux de suivre xx sites (et donc d'ajouter xx feeds à son lecteur RSS). Pour ma part, je suis fan des planets. Aucun planet Raspberry Pi...
Pi MusicBox
Make your Raspberry Pi stream! Welcome to the Swiss Army Knife of streaming music using the Raspberry Pi. With Pi MusicBox, you can create a cheap (Sonos-like) standalone streaming music player for Spotify, Google Music, SoundCloud, Webradio, Podcasts and other music from the cloud. Or from your own collection from a device in your network. Connect a 25$ Raspberry Pi to your (DIY) audio system, easily configure MusicBox and go! Features Headless audio player based on Mopidy (no need for a monitor), streaming music from Spotify, SoundCloud, Google Music, Podcasts (with iTunes, gPodder directories), local and networked music files (MP3/OGG/FLAC/AAC), Webradio (with TuneIn, Dirble, AudioAddict, Soma FM directories), Subsonic. Screenshots Requirements Working Raspberry Pi (A, A+, B, B+) Speakers, amplifier or headphones (analog or USB) SD-Card, 1GB minimum Computer with a modern browser; tablet or phone. DIY Projects using Pi MusicBox Download Howto's Instructions Extract the zip-file.
installer-un-serveur-web-lamp
Que signifie LAMP ? ⇒ Linux Apache Mysql Php Connectez-vous en local sur votre raspberry ou par ssh avec l'utilisateur pi. Vous pouvez aussi prendre n'importe quel utilisateur avec les droits sudo. Faites les mises à jours du système : sudo apt-get update && sudo apt-get -y upgrade && sudo apt-get -y dist-upgrade Installation des différents paquets : sudo apt-get install apache2 php5 mysql-server phpmyadmin Pendant le processus d'installation, on nous demande quelques informations : Configuration de mysql-server-5.5 Nouveau mot de passe du superutilisateur de MySQL : Password Confirmation du mot de passe du superutilisateur de MySQL : Password Veuillez changer le mot de passe par un mot de passe sécurisé !!! Configuration de phpmyadmin Serveur web à reconfigurer automatiquement : apache2 Faut-il configurer la base de données de phpmyadmin avec dbconfig-common ? Mot de passe de l'administrateur de la base de données : Password Mettez le même mot de passe que celui de la configuration Mysql-server
Pi never sounded so good!