Tuesday, November 24, 2009

1 comments

Simple Ruby script to convert any website to Music

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

Monday, November 23, 2009

0 comments

Needing 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.

Click here to lend your support to: Ruby Music Events and make a donation at www.pledgie.com !

Gabriel G Aka Alphacore

Thursday, November 12, 2009

0 comments

I'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

Friday, October 30, 2009

0 comments

Ramaze 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..

Wednesday, October 28, 2009

0 comments

Quotes 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

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
 

About Me

My Photo
Alphacore
Seattle, Wa, United States
GabrielG1976 at Gmail dot com
View my complete profile