Click here to Skip to main content
15,507,755 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Incredible if True Pin
BernardIE531710-Aug-22 19:15
BernardIE531710-Aug-22 19:15 
GeneralRe: Incredible if True Pin
Randor 10-Aug-22 19:23
professional Randor 10-Aug-22 19:23 
GeneralRe: Incredible if True Pin
BernardIE531710-Aug-22 20:40
BernardIE531710-Aug-22 20:40 
GeneralRe: Incredible if True Pin
Randor 10-Aug-22 22:09
professional Randor 10-Aug-22 22:09 
GeneralRe: Incredible if True (or maybe not) Pin
BernardIE531711-Aug-22 5:35
BernardIE531711-Aug-22 5:35 
GeneralRe: Incredible if True Pin
englebart11-Aug-22 9:01
professionalenglebart11-Aug-22 9:01 
GeneralRe: Incredible if True Pin
BernardIE531711-Aug-22 17:13
BernardIE531711-Aug-22 17:13 
General"Loop MIDI!" they said. "It will be easy" they said. Pin
honey the codewitch10-Aug-22 14:38
mvahoney the codewitch10-Aug-22 14:38 
(nobody actually said that. probably ever)

Looping MIDI performances creates a number of interesting challenges. For starters, you have to count the number of times note offs and note ons happen so that the note offs you've captured in a loop do not cut the notes you're actively playing short.

Secondly, you have to insert note offs for any note that's currently being held down when the loop is finalized *but* you avoid sending the actual note offs, you just insert them at the end of the loop for the next time around.

Finally, you have to quantize the loop lengths so you don't have to have the timing of a 12-year old gamer to actually play the thing.

And and there's gotchas, like not capturing MIDI reset messages, or pitch bend messages.

All that is ignoring the user interface, where you have to set up which midi signals you use to indicate the start and stop of a loop, and how to navigate multiple loops. It gets hairy fast.

It's an interesting challenge though - one I solved ages ago purely in software as a VST plugin but I've long since lost that code.
To err is human. Fortune favors the monsters.

GeneralRe: "Loop MIDI!" they said. "It will be easy" they said. Pin
jmaida10-Aug-22 18:23
jmaida10-Aug-22 18:23 
GeneralSo my mom's in the hospital... Pin
Brisingr Aerowing10-Aug-22 14:36
professionalBrisingr Aerowing10-Aug-22 14:36 
GeneralRe: So my mom's in the hospital... Pin
Peter_in_278010-Aug-22 15:32
professionalPeter_in_278010-Aug-22 15:32 
GeneralRe: So my mom's in the hospital... Pin
Daniel Pfeffer10-Aug-22 18:09
professionalDaniel Pfeffer10-Aug-22 18:09 
GeneralRe: So my mom's in the hospital... Pin
OriginalGriff10-Aug-22 21:14
mveOriginalGriff10-Aug-22 21:14 
GeneralRe: So my mom's in the hospital... Pin
glennPattonWork310-Aug-22 21:48
professionalglennPattonWork310-Aug-22 21:48 
GeneralRe: So my mom's in the hospital... Pin
grralph111-Aug-22 1:06
grralph111-Aug-22 1:06 
General"Renewed" disks Pin
  Forogar  10-Aug-22 10:56
professional  Forogar  10-Aug-22 10:56 
GeneralRe: "Renewed" disks Pin
Gerry Schmitz10-Aug-22 11:09
mveGerry Schmitz10-Aug-22 11:09 
GeneralRe: "Renewed" disks Pin
Wizard of Sleeves11-Aug-22 21:34
Wizard of Sleeves11-Aug-22 21:34 
GeneralRe: "Renewed" disks Pin
OriginalGriff10-Aug-22 11:12
mveOriginalGriff10-Aug-22 11:12 
JokeRe: "Renewed" disks Pin
Richard Deeming10-Aug-22 23:02
mveRichard Deeming10-Aug-22 23:02 
GeneralRe: "Renewed" disks Pin
Daniel Pfeffer10-Aug-22 12:55
professionalDaniel Pfeffer10-Aug-22 12:55 
GeneralRe: "Renewed" disks Pin
dandy7210-Aug-22 13:11
dandy7210-Aug-22 13:11 
GeneralRe: "Renewed" disks Pin
BryanFazekas11-Aug-22 2:30
BryanFazekas11-Aug-22 2:30 
GeneralRe: "Renewed" disks Pin
Gerry Schmitz11-Aug-22 6:45
mveGerry Schmitz11-Aug-22 6:45 
GeneralRe: "Renewed" disks Pin
Daniel Pfeffer11-Aug-22 22:27
professionalDaniel Pfeffer11-Aug-22 22:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Straw Poll

An amazing AI programming tool is invented that can do one task perfectly. What would you choose?
  Results   52 votes