Online Sequencer Make music online
  • Sequences
  • Members
  • Import MIDI
  • Forum

Existing user? Sign In Create account
Login at Online Sequencer Forums

Online Sequencer Forums › Online Sequencer › Online Sequencer Discussion
« Previous 1 … 33 34 35 36 37 … 58 Next »

bounce.

Thread tools
bounce.
Frank Offline
Grey Hat Script Kiddie who can Compose Music
392 Posts:
 
#1
11-30-2018, 05:06 PM
Code:
var x = 0;
var dx = 1;
var y = 0;
var dy = 0;
var ddy = 0.5;
for (var i = 0; dx > 0.01; i++) {
 song.addNote(new Note(song, piano[Math.ceil(y)], x, dx, 0));
 x += dx;
 y += dy;
 dx *= 0.999;
 if (y > piano.length) {
   y = 71;
   dy *= -0.9;
 }
 if (y < 0) {
   y = 0;
   dy *= -0.9;
 }
 dy += ddy;
 if (Math.abs(dy) < 0.1) ddy *= -1;
}


bounce.
remix.


Kim Wrote: + https://js-game.glitch.me + Doesnt take peopel serious if their has badly speling gramer puntuatin
Reply
Kirbyderp Offline
kek
602 Posts:
 
#2
11-30-2018, 05:09 PM
If you put it at 999, once the notes reach just being C2 and C#2, it sounds as if there's a third pitch that slowly rises.
I know why this happens I just thought it was pretty neat.


My Music! | High Quality Rips | Road to Remastery | Project Ultra
Reply
Frank Offline
Grey Hat Script Kiddie who can Compose Music
392 Posts:
 
#3
11-30-2018, 05:10 PM
(11-30-2018, 05:09 PM)Kirbyderp Wrote: If you put it at 999, once the notes reach just being C2 and C#2, it sounds as if there's a third pitch that slowly rises.
I know why this happens I just thought it was pretty neat.

Can you save it?


Kim Wrote: + https://js-game.glitch.me + Doesnt take peopel serious if their has badly speling gramer puntuatin
Reply
LucentTear Online
Somebody Who Does A Bit Of Everything
899 Posts:
 
#4
11-30-2018, 05:22 PM
Believe it or not I actually think musically this is useful. Time to copy paste some things.


I do art commissions now! Please visit https://lucenttear.carrd.co/ for more information.
Reply
Frank Offline
Grey Hat Script Kiddie who can Compose Music
392 Posts:
 
#5
11-30-2018, 05:25 PM
(11-30-2018, 05:22 PM)LucentTear Wrote: Believe it or not I actually think musically this is useful. Time to copy paste some things.

This comment is why I don't get banned 1337 times per hour.


Kim Wrote: + https://js-game.glitch.me + Doesnt take peopel serious if their has badly speling gramer puntuatin
Reply



Users browsing this thread:   1 Guest(s)


  •  Return to Top
  •  Contact Us
  •   Home
  •  Lite mode
© Rush Crafted with ❤ by iAndrew
Powered By MyBB, © 2002-2022 MyBB Group.
Linear Mode
Threaded Mode
View a Printable Version
Subscribe to this thread
Add Poll to this thread
Send thread to a friend