halo ^^

No 430-437 No 410-429 Semua (balik urutan) |

derianto@derianto : 2007-12-26 03:52:05 UTC+0000
i wish you a merry christmas and happy new year!
derianto@derianto : 2007-12-26 21:56:38 UTC+0000
diacu: >>433 >>436
So I have been staying in my far aunt's house in a town in East Bay since a week and half ago, since my school's dorm is closed during winter break.

And.... for various reasons (one big reason is I miss playing piano since there is no piano here), I created a virtual piano program. With this program, you can basically press keys on your keyboard and a note will sound. When you release the key, the note will stop. The neat feature is that you can also simulate piano pedal: just press and release the spacebar.

Finally I decided to extend the program so you can also change the instruments: you can play basically any MIDI instruments your device support.

Although the layouting of the keys follow that on the piano, I still find it difficult though to just play right away, because I tend to forgot: what does key "u" correspond to? What does key "b" correspond to?

So I draw piano keys in two sheets of paper. I place one on top of the first row of my keyboard and one below the last row. It helps me a lot!!
Now that I'm used to this position, I have played dozens of songs here in my new "piano" and improvize a lot too, with different instruments! I slept at 4 yesterday playing music.

Download it here:
http://www.stanford.edu/~derianto/shared/program/VirtualPiano.jar

Keys:
zsxdcvgbhnjm = C C# D ... through B, first octave
q2w3er5t6y7u = C C# D ... through B, second octave
i9o0p[=] BACKSPACE BACKSLASH = C C# D ... through A, third octave

spacebar = pedal
up arrow = previous instrument
down arrow = next instrument

There are lists of MIDI instrument code on the web. Some highlights:
0 grand acoustic piano
40 violin
73 flute
123 bird tweet

Issues:
It is known that the program may not produce any sound in some computers.
If it happens to you, I am sorry. I don't know yet what the cause is.

Different computers may produce different sounds. For example, my computer's acoustic grand piano sound may be louder and brighter than your computer's. It is normal, since different MIDI synthesizers produce different sounds.

Sometimes pressing many keys at the same time will produce an error beep instead of sounding a note. This may be caused by the internal working of the keyboard.

Legal:
MIT License
http://www.opensource.org/licenses/mit-license.php
Although I should insert "Copyright (c) 2007 Derianto Kusuma" there,
it means basically you are free to do anything with the program.

This is just for formality lol.

Enjoy...
KaReT@derianto : 2007-12-30 23:37:31 UTC+0000
halo^^

Kenalan dongg..
Rin@derianto : 2007-12-31 02:15:55 UTC+0000
diacu: >>434
>>431
Suaranya General Midi, jd misal suara "0: Accoustic Grand Piano" itu variable atau standar? Maksudnya, apakah tergantung sound cardnya ataukah di komputer manapun pasti sama?
Soalnya kayanya di electric piano dan di komputer beda sih, jadi kayanya ga standar, tapi bisa jadi memang itu bukan general midi, jadi wajar kalau beda. Hegh >_<
derianto@derianto : 2007-12-31 03:11:18 UTC+0000
diacu: >>435
>>433
um...
mestinya sih paling engga namanya sama: Acoustic Grand Piano
tapi suaranya tetap bisa beda-beda tergantung sound card...
misalnya di komputerku ada 2 sound card, eh agak beda sedikit

wah enak banget ada electric piano!  bisa ganti2 instrumen kan? mau juga :P
Rin@derianto : 2007-12-31 05:11:42 UTC+0000
diacu: >>438
>>434
Hm, kalau begitu kesimpulannya:
Standar bernama "General MIDI" itu hanya menentukan nomor xy itu alat musiknya apa, bukan menentukan suara persisnya seperti apa. Suara persisnya ditentukan oleh hardwarenya.
Yang terakhir itu tidak bisa dicoba, soalnya dari 2 komputer yg pernah kupakai, rasanya keduanya Avance '97 (atau '98??), yg kayanya standar on-board....
Agak masalah nih, soalnya aku ga suka suara violinnya, kalau terlalu tinggi terlalu menyakitkan telinga (lebih suka Violanya di nada yg sama). Dan beberapa alat musik lain seperti Koto warna suaranya (timbre) di 2 nada bersebelahan tertentu terlalu lompat. :(
Pengen punya sumber suara elektronik yg misal: senar 1 gitar di fret 5 dan senar 2 open string suaranya beda. (In general, can differ between stopped string and the same tone albeit open string), yang punya suara2 macam Lute, Fiddle, et alia....

Sebenarnya electric pianonya lagi ga ada, hehe. ^^;;;;
Tapi mungkin itu bukan istilah yg tepat, lebih tepat bilang MIDI keyboard kali ya, atau synthesizer? Ah, apapun lah, pokoknya electronic sound generator. :P
Udah pernah coba beberapa, Yamaha, Technics, Casio, dan kayanya antara Acoustic Grand aja beda2, tapi ya itu, mungkin emang bukan General MIDI, jdnya agak tidak valid kalau dibandingkan. Tapi Technics bisa menyimpan dalam format MIDI untuk disimpan di disket, jd agak tanda tanya apakahini general MIDI. Duh, ud lupa suaranya, sekarang barangnya lagi di rumah di Jakarta....

Yah gitu deh.... Kayanya omongannya cukup tidak teratur. ^^;;;;
yuku@derianto : 2007-12-31 05:41:09 UTC+0000
diacu: >>437
>>431
Issues yang mu bilang benar2 terjadi padaku :(
Di ku ga keluar suara apa2. Aneh, padahal NotAngka yang sama2 pake javax.sound.midi bisa
keluar suara.

Padahal keliatannya programnya bagus.
Ku disassemble dan hebat classnya benar2 terpisah jauh, dan banyak packagenya juga,
ada getInstance segala, pake finalize, bikin class Sprite sendiri dsb, wow keren.

Nah berarti ada telor paskahnya yah? :D karena banyak file mencurigakan di dalam jarnya
bahkan ada ucapan bagi seorang teman...
derianto@derianto : 2008-01-01 11:03:06 UTC+0000
>>436
wah?? eh javaxsound.midi itu apa?

iya sori ^^''
itu aslinya kartu natal yang mengandung piano.  tapi diburak, jadi tinggal
pianonya aja :P
aduh mestinya ku buang dulu ya kartu natalnya sebelom dipublish

 

Kau akan ngepos secara anonim! Boleh2 aja sih, bahkan tulis nama dan sembarang paswod pun boleh. Tapi kalo mau daftar, klik daftar

Nama Pwd gp jsp (satu mpat)+(lima dua)= +img +coret

 

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|

|