Forums - Open Redstone Engineers
MineTracker, a full featured music tracker :D - Printable Version

+- Forums - Open Redstone Engineers (https://forum.openredstone.org)
+-- Forum: ORE General (https://forum.openredstone.org/forum-39.html)
+--- Forum: Projects & Inventions (https://forum.openredstone.org/forum-19.html)
+---- Forum: Completed Projects (https://forum.openredstone.org/forum-21.html)
+---- Thread: MineTracker, a full featured music tracker :D (/thread-5484.html)



MineTracker, a full featured music tracker :D - Magic :^) - 01-05-2015

It's finished!





./warp minetracker

Hi, finally got this finished, took me all of two weeks to do it, but I'm proud of my baby Smile

I did some addition, and this tracker holds just over 1kib, divided across the phrase and sequencer memory.
(1088 bits to be precise)

Overview of the tracker:
[Image: ghGNeam.png]

Hardware Specs:
4 channels
4-10 tick variable speed note clock. - Processes 10 notes per second, that's 50 b/sec folks!
tying two channels together, can play at least 1 note every 2 ticks.
16 phrases of 8 notes per channel. (512 note storage)
48 (x4) phrase slots for song sequencing
range of 24 notes per channel (2 octaves)
Drum channel will allow playing multiple noteblocks at once. - This will be worked on later. It's a matter of modifying the hardware of one of the channels to allow multiple notes.

Sequencer Specs:
Can loop between two address values.
Can be jumped manually. (e.g. go to the start of a new song)
Can lock to a single sequence address. (e.g. to play notes back to check for errors)
The sequencer memory can be edited during playback. (It is recommended to lock to a single address first)
It anticipates and auto-buffers the next set of phrases, to keep up with the 4-tick clock
Each channel has a hex display that shows the current phrase it is playing. (0 - F)
Each channel can be set to trigger on the on-beat or off-beat.

Sequencer controls:
[Image: fNFw89o.png]

Clock and buffer controls:
[Image: Cs9iJi8.png]

Channel controls:
[Image: hehVdjN.png]

The part you walk around in:
[Image: 5yxru2a.png]


RE: MineTracker, the first in-game music tracker :D - Legofreak - 01-06-2015

how's the gametick lag treating you?

Also, I don't think its the first one, just the most advanced to date. I believe FVDisco made a tracker... I may be wrong though.


RE: MineTracker, the first in-game music tracker :D - Magic :^) - 01-06-2015

The gametick lag isn't too bad. You just need a fast computer running the client. And fast internet. I think.
The notes are synced, which is what's important.

Yeah i saw that, FVDisco's track sequencer is not really a full-blown tracker. There's no automation in it. The one I'm building is comparable to your standard tracker software, with playback of songs, playback of phrases, 'live' mode, and the option to play back phrases as you edit them for feedback. Its comparable to famitracker or lsdj.


The music playing data is laid out like this screencap of famitracker:
[Image: ftScrLarge2.png]
top left would be the song data, and each column of the bottom part would be a channel playing a phrase at the address referred to the by the song data. The song data is in its own data structure, and it just contains phrase addresses.

In the case of this screencap (and explained in terms of my tracker):

According to the top left box there, the song is at address 01, and each of the 5 channels are playing phrases 00, 00, 00, 00, and 00. (each channel has its own phrase addressing)

According to the big lower window, the tracker is playing the note 04 of each channel at phrase 00. Next will be note 05 of each phrase, and so on until the phrase ends.

At the end of the phrases, the song address is incremented to 02, and the process repeats.


...and according to this (older) tracker screencap here, ch1 is playing phrase 1, ch2 phrase 3, ch3 3, and ch4 7:
[Image: Mv4y72h.png]

so yeah Tongue mine's a biit more complicated


RE: MineTracker, the first in-game music tracker :D - Legofreak - 01-06-2015

My very first post on the ORE forums was about a programmable music player. but it was just one monophonic track. 16 hex cells translated to 16 notes on a set of 16 note blocks.
http://forum.openredstone.org/showthread.php?tid=1560 <<NOOB POST
nothing near what your tracker is....

i've wanted to make one like that for a long time but i'm too lazy to go that far.


RE: MineTracker, a full featured music tracker :D - Magic :^) - 01-07-2015

A little update:
I've done some bugfixes, and it runs a bit more reliably on max speed. Max speed still has a 10% chance of dropping a beat, but it's better than before. setting the clock to 2 is perfectly fine now at least. I also made the buffers a bit more strict about when they should load more data. That also fixed a few problems.


RE: MineTracker, a full featured music tracker :D - Magic :^) - 01-22-2015

I got a warp for the thing now:
./warp minetracker

also I'm gonna do a demo video at some point.
Probably two videos: a demo of playback and options, and another for editing/songwriting.


RE: MineTracker, a full featured music tracker :D - Magic :^) - 01-23-2015

Done the video, took long enough with my non-existent editing skills xP
https://www.youtube.com/watch?v=jX12fTRGq0g