Sons de Carrilhões (João Pernambuco)
Odeon (Ernesto Nazareth - 1909/1912)
Toquinho + Paulinho Nogueira
O Ovo (Hermeto Pascoal e Geraldo Vandré)
Choro Típico, Toquinho & Paulinho
Use Choro 1906-1947 for menus/loading
Maybe add an illustration as if the songs are playing through a gramophone
Song now plays until the end
Fixed fog in fretboard and model shaders by switching division + clamping to smoothstep. Looks much better already!
Tempo mapped and started MIDI chart for Samba em Prelúdio
Made a template for MIDI charts in Logic
Song can be specified via command-line args
Video sync was totally wrong
Found out msToPos has a bug
But happy I fixed the sync issues
Made notes light up when being “played”
Pretty nice to see the effect
Audio related stuff goes into audio file
Synchronized audio and video!
Added start delay to audio files
stb_vorbis added for ogg file decoding
Audio now being played in-game!
Sine wave pitch value now passed through outstream->userdata
…which means I can probably pass a buffer in there
Added sound with libsoundio
Only can play a sine wave so far, but that’s a start
msToPos function. Now able to handle tempo changes!
Created GitHub repository and added a screenshot
I think you can select the resolution
One unit in game world is a quarter note!
No progress on game itself. Stuck trying to think how to map seconds to game positions
MIDI reading integrated into the game
Game now displays MIDI charts!
GRYBO notes! Looks pretty nice.
Using mipmaps for measure textures. Fixes line flickering
MIDI reading working separate from game
Reads note on messages, calculated measure, absolute time
Tried to write my own midiparser
Turns out I’m really bad at parsing files
Used Craig Sapps’ midifile instead
Model loading with assimp. Took a few hours to realize I had to change the shaders to add a location for normals but it worked.
Realized some transforms were wrong. Reordered, relearned transform operation order
Aligned notes with fretboard. Starting to look and feel like Guitar Hero!
Texture for fretboard added to program
Fretboard scrolls, but no notes yet
Also organized the code a bit, putting shapes into a header
Spent the afternoon relearning the little I knew from Blender and modeled a Guitar Hero style note gem. Also made a texture and a UV map!
Blender interpolates textures by default. A bit of a headache to solve it
SDL2 + OpenGL context with gl3w for function pointers
GLAD didn’t work for some reason. Can’t remember why
I can draw a triangle. Everything in 3D is triangles, so it’s pretty much done