هل تريد التفاعل مع هذه المساهمة؟ كل ما عليك هو إنشاء حساب جديد ببضع خطوات أو تسجيل الدخول للمتابعة.



 
الرئيسيةالبوابةأحدث الصورالتسجيلدخول

 

 عمل ايقاعات صوتية

اذهب الى الأسفل 
3 مشترك
كاتب الموضوعرسالة
Stream
مدير المنتدى
مدير المنتدى
Stream


عدد الرسائل : 196
العمر : 33
تاريخ التسجيل : 28/09/2007

عمل ايقاعات صوتية Empty
مُساهمةموضوع: عمل ايقاعات صوتية   عمل ايقاعات صوتية Emptyالإثنين مارس 17, 2008 12:32 pm

أولاً نفتح عمل جديد نجعل لون المسرح أسود

ثانياً نختار أداة المربع عمل ايقاعات صوتية 5669_1190469536

وغير الألوان مثل الصورة عمل ايقاعات صوتية 5669_1190469570

ثم نرسم مربع صغير الحجم (أي مقاس لكن المهم أن يكون صغير الحجم)

ثالثاً نحوله إلى موفي كليب ونسميه one_bar كما بالصورة ويجب وضع علامة صح كما باصورة أيضاً

عمل ايقاعات صوتية 5669_1190469727

بعد تحويله إلى موفي كليب نحذفه من المسرح ويبقى في المكتبة..

رابعأً نختار أداة المربع ونغير الألوان كما في الصورة عمل ايقاعات صوتية 5669_1190469923

ثم نرسم مربع متوسط الحجم ثم نحوله إلى موفي كليب ونسميه spectrum_analyzer كما في

الصورة عمل ايقاعات صوتية 5669_1190470035

ثم نضغط على مرتين لكي ندخل لأعدادات الموفي نضع هذا الكود في أول فريم

Code:<HR SIZE=1>spacing = 1; // Spacing between bars.
margin = 3; // Shift all bars to right.
tot_bars = 21; // Total Spectrum Bars.
max_height = 20; // Maximum height of line in bars.
// ----------------------------------
// The spectrum definitions.
// ----------------------------------
// low = lowest the line(s) will go.
// high = highest the line(s) will go.
// n = number of lines affected.
// Make sure the sum of your n's = tot_bars.
// Example Rock Spectrum.
rock_spectrum = [
{low:5,high:20,n:2},
{low:12,high:20,n:8},
{low:3,high:15,n:3},
{low:7,high:15,n:3},
{low:5,high:10,n:3},
{low:0,high:5,n:2}
];
// Start the spectrum analyzer.
analyzer(rock_spectrum);
// ----------------------------
// Simulated Spectrum Analyzer
// ----------------------------
// spectrum : Array Spectrum Definition.
// isOn : Boolean - Turn on or off Analyzer
function analyzer(spectrum){
// Index of first bar range, first {low:#, high:#, n:#}
var curRange = 0;
// Number of lines the current range will affect.
var numLines = spectrum[curRange].n;
// Generate the vertical bar lines.
for(var i = 0; i < tot_bars; i ){
// Attach a one_bar movieclip.
var bar = this.attachMovie('one_bar','bar' i,(i 1));
// Position the movieclip based on its width,
// spacing and margin specified in our variables.
bar._x = i * (bar._width spacing) margin;
// Set the bar's range to the current range.
bar.r = spectrum[curRange];
// Animate the bar vertically.
bar.onEnterFrame = function(){
// Choose a random number between the range we specified.
var h = Math.round(Math.random() * (this.r.high - this.r.low) this.r.low);
// Using the random height, we generate more bars accordingly.
for(var i = 0; i < h; i ){
// Attach another bar.
var bar = this.attachMovie('one_bar','bar' i,(i 1));
// Put it above the last bar.
bar._y -= i * (bar._height spacing);
// Immediatly start fading the bar.
bar.onEnterFrame = function(){
this._alpha -= 20;
// If completely faded, remove the MovieClip.
if(this._alpha == 0) this.removeMovieClip();
}
}
}
// Countdown the number of lines we setup.
numLines--;
// If we reach 0, it is time to get the next range from our spectrum array.
if(numLines == 0) curRange , numLines = spectrum[curRange].n;;
}
}
// --------------------------
// Turning off the Analyzer.
// --------------------------
function turnOff(){
// Loop through the number of vertical lines.
for(var i = 0; i < tot_bars; i ){
var bar = this['bar' i];
// Stop the animation.
delete bar.onEnterFrame;
// Loop through the number of bars on the line, except first one.
for(var j = 1; j < max_height; j--){
// Remove the bars.
var b = bar['bar' j].removeMovieClip();
}
}
}<HR SIZE=1>

وإذا بدك تغير لون العمل تضغط عليه مرة واحدة ثم تفعل كما بالصورة

عمل ايقاعات صوتية 5669_1190470298

تختار أي لون تاني كما تحب

ملاحظة::

المقاسات في هذا الدرس ليست مهما جداً أيضاً كما تحب

انتهى الدرس
الرجوع الى أعلى الصفحة اذهب الى الأسفل
https://stream.yoo7.com
mdbling-royal
+:STREAM:+
+:STREAM:+
mdbling-royal


عدد الرسائل : 293
العمر : 32
القسم المفضل : منتدى العام
تاريخ التسجيل : 18/02/2008

عمل ايقاعات صوتية Empty
مُساهمةموضوع: رد: عمل ايقاعات صوتية   عمل ايقاعات صوتية Emptyالأحد أبريل 13, 2008 9:27 am

تسلم على الموضوع الرائع
الرجوع الى أعلى الصفحة اذهب الى الأسفل
3BooRA
عضو مهم
عضو مهم
3BooRA


عدد الرسائل : 87
العمر : 31
تاريخ التسجيل : 30/11/2007

عمل ايقاعات صوتية Empty
مُساهمةموضوع: رد: عمل ايقاعات صوتية   عمل ايقاعات صوتية Emptyالسبت أبريل 19, 2008 12:05 pm


قبل كل شي ...

هاذا اي برنامج ...؟!!

السويش ...؟!!

عشان ابغا اطبق ...
الرجوع الى أعلى الصفحة اذهب الى الأسفل
 
عمل ايقاعات صوتية
الرجوع الى أعلى الصفحة 
صفحة 1 من اصل 1

صلاحيات هذا المنتدى:لاتستطيع الرد على المواضيع في هذا المنتدى
 :: منتديات الكمبيوتر :: منتدى التصميم :: منتدى الفلاش و السويش :: منتدى دروس تصاميم-
انتقل الى: