Click here to Skip to main content
15,884,986 members

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrassing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
GeneralRe: friend: frequency to MIDI should be easy right? Pin
raddevus16-Oct-18 2:12
mvaraddevus16-Oct-18 2:12 
GeneralRe: friend: frequency to MIDI should be easy right? Pin
Storm-blade16-Oct-18 1:30
professionalStorm-blade16-Oct-18 1:30 
GeneralRe: friend: frequency to MIDI should be easy right? Pin
raddevus16-Oct-18 2:13
mvaraddevus16-Oct-18 2:13 
GeneralRe: friend: frequency to MIDI should be easy right? Pin
Rick York16-Oct-18 5:32
mveRick York16-Oct-18 5:32 
GeneralRe: friend: frequency to MIDI should be easy right? Pin
raddevus16-Oct-18 8:35
mvaraddevus16-Oct-18 8:35 
GeneralRe: friend: frequency to MIDI should be easy right? Pin
Rick York16-Oct-18 9:38
mveRick York16-Oct-18 9:38 
GeneralRe: friend: frequency to MIDI should be easy right? Pin
Jan Holst Jensen218-Oct-18 1:14
Jan Holst Jensen218-Oct-18 1:14 
GeneralRe: friend: frequency to MIDI should be easy right? Pin
StatementTerminator18-Oct-18 4:19
StatementTerminator18-Oct-18 4:19 
So have you realized yet that musical notes on the Western scale don't really correspond to any absolute frequencies?

They're relatively tuned, to each other on the scale by ratio, not to a fixed frequency. Even if you assume that A=440, what temperament are you going to use? Just intonation won't work out right on a fretted instrument, you know.

It's a complicated problem, aside from the programming. There are commercial products that do this, but they all involve compromises. Also, latency is a big problem with these things, so there's that too.
GeneralRe: friend: frequency to MIDI should be easy right? Pin
raddevus18-Oct-18 12:47
mvaraddevus18-Oct-18 12:47 
GeneralRe: friend: frequency to MIDI should be easy right? Pin
StatementTerminator19-Oct-18 5:07
StatementTerminator19-Oct-18 5:07 
GeneralRe: friend: frequency to MIDI should be easy right? Pin
raddevus19-Oct-18 8:35
mvaraddevus19-Oct-18 8:35 
GeneralRe: friend: frequency to MIDI should be easy right? Pin
StatementTerminator19-Oct-18 8:38
StatementTerminator19-Oct-18 8:38 
GeneralRe: friend: frequency to MIDI should be easy right? Pin
raddevus19-Oct-18 8:43
mvaraddevus19-Oct-18 8:43 
GeneralRe: friend: frequency to MIDI should be easy right? Pin
englebart18-Oct-18 9:31
professionalenglebart18-Oct-18 9:31 
GeneralRe: friend: frequency to MIDI should be easy right? Pin
raddevus18-Oct-18 12:49
mvaraddevus18-Oct-18 12:49 
RantHideous Colors in Git Bash Shell Pin
David A. Gray3-Sep-18 20:52
David A. Gray3-Sep-18 20:52 
GeneralRe: Hideous Colors in Git Bash Shell Pin
Jörgen Andersson3-Sep-18 21:17
professionalJörgen Andersson3-Sep-18 21:17 
GeneralRe: Hideous Colors in Git Bash Shell Pin
David A. Gray4-Sep-18 6:41
David A. Gray4-Sep-18 6:41 
GeneralRe: Hideous Colors in Git Bash Shell Pin
Mycroft Holmes3-Oct-18 21:07
professionalMycroft Holmes3-Oct-18 21:07 
GeneralRe: Hideous Colors in Git Bash Shell Pin
den2k883-Sep-18 21:28
professionalden2k883-Sep-18 21:28 
GeneralRe: Hideous Colors in Git Bash Shell Pin
raddevus4-Sep-18 3:10
mvaraddevus4-Sep-18 3:10 
GeneralRe: Hideous Colors in Git Bash Shell Pin
den2k884-Sep-18 3:13
professionalden2k884-Sep-18 3:13 
GeneralRe: Hideous Colors in Git Bash Shell Pin
David A. Gray4-Sep-18 6:40
David A. Gray4-Sep-18 6:40 
GeneralRe: Hideous Colors in Git Bash Shell Pin
David A. Gray4-Sep-18 15:54
David A. Gray4-Sep-18 15:54 
GeneralRe: Hideous Colors in Git Bash Shell Pin
kalberts5-Sep-18 22:55
kalberts5-Sep-18 22:55 

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.