Online Sequencer Make music online
  • Sequences
  • Members
  • Chat
  • Forum
  • Wiki

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

Online Sequencer Forums › Online Sequencer › Suggestions
« Previous 1 … 18 19 20 21 22 … 48 Next »

Swing in Console

Thread tools
Swing in Console
SnakeyWaters Offline
I don't know what to put here
247 Posts:
 
#1
05-14-2022, 10:22 AM
I think in the console there should be a new command, called "swing". It would let you take selected notes, (or maybe some other way of defining which notes you want to do this to), and add swing to them. Here's an example: Select some piano notes. Then enter in the console: "swing = 1". The higher the number, the more swing there is.


Reply
emekat Offline
Member
108 Posts:
 
#2
05-15-2022, 09:47 AM
It would probably be easier as a grid divider function. You could do it manually by calculating your counts. Full swing (true triplets) could be 12/8 or 6/8. Half swing, you could divide the grid by 48 and draw notes 5 squares long with rests of 3 (if my math is correct). In any event. Any time that you are adjusting the length of the notes, they need to physically stretch or shrink on the grid whether there is a dedicated function for it or not.

Not against such a function btw, but that function would not only need to know how much swing, but also how many counts to swing on (quarter notes, eighth notes, etc) and if you have a longer note in the middle of the selection that was say a dotted quarter (3/8s long) would it get f'd up by the function or just ignored, and how would the function know to ignore it?


I remixed the remix.  Now it's back to normal. ~Mitch Hedberg
Reply
Cool172   Online
Contest Winner
475 Posts:
   
#3
05-15-2022, 09:50 AM
(05-14-2022, 10:22 AM)SnakeyWaters Wrote: I think in the console there should be a new command, called "swing". It would let you take selected notes, (or maybe some other way of defining which notes you want to do this to), and add swing to them. Here's an example: Select some piano notes. Then enter in the console: "swing = 1". The higher the number, the more swing there is.

maybe it could work by moving the notes occupying every other 1/2 grid space by a certain amount. 0= no movement and 1= move 1/2 grid space forward.  by this math i think 1/3=triplet swing


Reply
PuzzlePuddles Away
Hype Man
313 Posts:
 
#4
05-15-2022, 09:51 AM
i saw this on fl and i was like "bro this feature is useless"

just use triplets. need i say more


Online Sequencer:373322:0 C#5 1 43;1 B4 1 43;0 C5 1 43;0 B4 1 43;0 A4 1 43;0 A#4 1 43;2 C5 1 43;2 C#5 1 43;2 A#4 1 43;2 A4 1 43;5 A4 1 43;5 A#4 1 43;4 C5 1 43;4 C#5 1 43;6 C5 1 43;6 C#5 1 43;10 C#5 1 43;9 C#5 1 43;8 C5 1 43;8 A4 1 43;9 A4 1 43;9 B4 1 43;10 A#4 1 43;5 B4 1 43;:

^paste it into the sequencer
Reply
Liam Offline
Code Monkey
246 Posts:
 
#5
05-15-2022, 10:33 AM (This post was last modified: 05-15-2022, 10:37 AM by Liam.)
Code:
tweakNotes(n=>{const t=n.time/4;const it=Math.floor(t);const ft=t-it;const dt=ft<=0.5?ft*4/3:(ft-0.5)*3/4+2/3;const nt=it+dt;n.time=nt*4;});


https://tiusic.com

https://www.youtube.com/playlist?list=PL...v872SZVXzI
Reply
Ben Offline
Extra Olive Oil
252 Posts:
 
#6
05-15-2022, 10:34 AM
(05-15-2022, 10:33 AM)Liam Wrote: tweakNotes(n=>{const t=n.time/4;const it=Math.floor(t);const ft=t-it;const dt=ft<=0.5?ft*4/3: (ft-0.5)*3/4+2/3;const nt=it+dt;n.time=nt*4;});

do i have to be sad halfway through or can i do that part in advance?


  • x2
    • x2
    • Cool172
    • Liam
Reply
SnakeyWaters Offline
I don't know what to put here
247 Posts:
 
#7
05-31-2022, 01:16 PM
(05-15-2022, 10:33 AM)Liam Wrote:
Code:
tweakNotes(n=>{const t=n.time/4;const it=Math.floor(t);const ft=t-it;const dt=ft<=0.5?ft*4/3:(ft-0.5)*3/4+2/3;const nt=it+dt;n.time=nt*4;});

ok how the heck do I use that


Reply
Liam Offline
Code Monkey
246 Posts:
 
#8
05-31-2022, 04:04 PM
Open the debug console (Ctrl+shift+J on Chrome), select the notes you want to swing, paste the code into the console, and press enter


https://tiusic.com

https://www.youtube.com/playlist?list=PL...v872SZVXzI
Reply
emekat Offline
Member
108 Posts:
 
#9
05-31-2022, 05:32 PM
(05-15-2022, 09:51 AM)PuzzlePuddles Wrote: i saw this on fl and i was like "bro this feature is useless"

just use triplets. need i say more

Not if you want your swing to not be exact triplets.


I remixed the remix.  Now it's back to normal. ~Mitch Hedberg
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-2025 MyBB Group.
Linear Mode
Threaded Mode
View a Printable Version
Subscribe to this thread
Add Poll to this thread
Send thread to a friend