Simple Ruby script that allows you to convert any website into a musical composition..
# Created using the Midi Library Gem created by Jim Menerad
# to_midi Provided from the Rails Cookbook
# This script generates any website into a single midi Track
# Application website_song method logic Created & Designed by Gabriel G. Updated Nov 24th 2009
require 'rubygems'
require 'midilib'
require 'open-uri'
# Logic Behind the Midi
class Array
def to_midi(file, note_length='half')
midi_max = 128.0
midi_min = 0.0
low, high = min, max
song = MIDI::Sequence.new
song.tracks << (melody = MIDI::Track.new(song))
melody.events <<
MIDI::Tempo.new(MIDI::Tempo.bpm_to_mpq(120))
melody.events << MIDI::ProgramChange.new(0, 0)
each do |number|
midi_note = (midi_min + ((number-midi_min) * (midi_max-low)/high)).to_i
melody.events << MIDI::NoteOnEvent.new(0, midi_note, 127, 0)
melody.events << MIDI::NoteOffEvent.new(0, midi_note, 127,
song.note_to_delta(note_length))
end
open(file, 'w') { |f| song.write(f) }
end
end
# Method converts the website into a Musical composition
def website_song(w,tl)
t_a=[]; t=open("#{w}")
a=t.read; t_a=a.unpack("C*")
t_a.to_midi("#{tl}.mid")
end
# Method needs a website and title for the song example
website_song("http://google.com","google_song")
The Source Code for this app can be downloaded here Download App
Tuesday, November 24, 2009
1 commentsMonday, November 23, 2009
0 commentsNeeding donations to cover cost to New Launch Sites
Hello Everyone,
Ive been working very hard on launching several new online ruby music Application.
I'm currently looking for funding to help cover the cost of domain names, hosting and Storage space..
Any size donation is greatly apprecatied
Thank you all for your Support.

Gabriel G Aka Alphacore
Ive been working very hard on launching several new online ruby music Application.
I'm currently looking for funding to help cover the cost of domain names, hosting and Storage space..
Any size donation is greatly apprecatied
Thank you all for your Support.

Gabriel G Aka Alphacore
Thursday, November 12, 2009
0 commentsI'm Now on Soundcloud !!!
I have started releasing my music through SoundCloud 3 new tracks up listen comment ect..
http://soundcloud.com/alphacore
Thanks to everyone
http://soundcloud.com/alphacore
Thanks to everyone
Friday, October 30, 2009
0 commentsRamaze app for Dynamic URL Music Generation
Started a new github on Ramaze app for Dynamic URL Music Generation and have laid the framework and foundation down feel free to fork or contribute to this project..
http://github.com/Gabrielg1976/Dynamic-URL-Music-Generator
I'm working toward a new features Like flash sample midi-player that will be triggered by this app..
http://github.com/Gabrielg1976/Dynamic-URL-Music-Generator
I'm working toward a new features Like flash sample midi-player that will be triggered by this app..
Wednesday, October 28, 2009
0 commentsQuotes of Einstein coverted to A Musical Score..
This is A new Text-2_midi Composition based of a List of Albert Einstein Quotes.
This is a mix of Instruments and Samples triggered by the generated midi to show that multi-instrument timbre can be achieved.
Quotes of Einstein by alphacore
This is a mix of Instruments and Samples triggered by the generated midi to show that multi-instrument timbre can be achieved.
Quotes of Einstein by alphacore
Tuesday, October 27, 2009
0 comments"Avant Garde Defined" A Piano Based Composition

Avantgarde defined by alphacore
This composition was created by converting of Avant-garde the Working definition
From Wikipedia, the free encyclopedia
http://en.wikipedia.org/wiki/Avant-garde
Composed through the use of the text 2 midi Concept.
inspired by the work of John Cage
Sunday, October 25, 2009
0 comments"Electro Noise Jam" single

A New Text 2 Midi Music Track blending Electro Sounds with the Concepts of converting literature into Musical Art
Tour Dates
AUTUMNAL EQUINOX 2009 STREAMING CONCERT Sept.19 Sat.
Oct-29-Oct-31st Electro-music Festival
if you like to book me for a gig in your area please contact me I'm willing to travel anywhere anytime..
Oct-29-Oct-31st Electro-music Festival
if you like to book me for a gig in your area please contact me I'm willing to travel anywhere anytime..
Blogs Showing Support..
From a conceptual thought and design
comes Ambient Drones, Outright Fractured Beats and Abstract Noise Art..
All songs are written, arranged, played, produced, mixed and mastered by Alphacore.
Alphacore on the Net
Alphacore music Site
Alphacore @ myspace
Alphacore fan club on facebook
The Sounds of Alphacore show ( Every Thursday 21:00-23:00 GMT)
Jamendo Experimental Music Group
Alphacore @ myspace
Alphacore fan club on facebook
The Sounds of Alphacore show ( Every Thursday 21:00-23:00 GMT)
Jamendo Experimental Music Group
Labels
- alphacore
- art
- art ascii
- ascii
- Avant Garde
- charts
- composing
- concept
- design
- digital art
- download
- DUMG
- experimental
- fractal
- fratcals
- free Download
- generated
- github
- live coding
- midi
- mp3
- music
- new release
- noise
- radio
- ramaze
- random
- ruby
- scripts
- sets
- sound art
- Soundcloud
- stream
- text-2-midi
- text2midi
- websites
Blog Archive
-
▼
2009
(45)
-
►
July
(20)
- Ascii Composition N1
- Just a Reminder of Radio show Tomorrow !!
- Alphacore Live Show on Electro-music 07-09-2009
- Noise Splatter Ep
- Fractal Noise Example Mixed Live
- Converting images into ascii musical compositions
- Text 2 Midi Converter Code in ruby
- New Set of Fractal Art
- The Fractal music to the picture below..
- Designed this in school
- Wolfram Experiment
- fractal_n3 Art
- Serial Music Film
- Serial Music Composing with equations..
- The Sample chance Composition Designer
- Some theory of text to midi coversion
- experimental design art
- Live tomorrow 21:00-23:00 GMT
- Four serial Compoistions in midi
- Live Ruby Music Coding..
-
►
July
(20)




