![]() |
Forum Index : Microcontroller and PC projects : Chiptune Drumsynth with 16 Step Sequencer
![]() ![]() |
|||||
Author | Message | ||||
TweakerRay![]() Senior Member ![]() Joined: 01/08/2020 Location: GermanyPosts: 138 |
Here is the latest version of the Chiptune Drumsynth I have programmed... DrummachineV6.zip Tomorrow I will start to programm a new Feature: The song mode ;-) So I thought you can chain the programm patterns into a modular order and also select how many patterns you like to chain together... I hope I can manage that. Feedback is always appreciated ! Cheers TweakerRay www.tweakerray.de http://tweakerray.bandcamp.com |
||||
TweakerRay![]() Senior Member ![]() Joined: 01/08/2020 Location: GermanyPosts: 138 |
Here is V8 of the Chiptune Drummachine - You can now store up to 32 Patterns and you can chain 64 together to a song ;-) You can randomize steps,volume,frequency of the sounds and I implemented a 3 dimensional field now which makes things a lot easier ;-) Thanks to the support in this forum. I hope you enjoy this version. Feedback is much appreciated. DrummachineV8.zip Cheers TweakerRay http://tweakerray.bandcamp.com |
||||
TweakerRay![]() Senior Member ![]() Joined: 01/08/2020 Location: GermanyPosts: 138 |
So it seems some small bugs were in my version before. And I could not resist to implement a new feature ;-) So here is the corrected version with the new feature: you can now shift a pattern or a lane left and right... that is handy when you programmed a beat with random function and the beat is cool, but totally not on the first count of your beat so you can shift the pattern (or lane) depending on what you like to do. The Help page is updated with the new keys to shift left and right. Press "*" to shift the lane to the right and press "/" to shift it left press "," to shift all 4 lanes to the left and press "." to shift all 4 lanes to the right Next feature should be that you also can save your chained song to sd card. I think I will do soon a tutorial on youtube maybe to demonstrate all the functions so you can better understand what this programm can do ;-) it's getting more complex than I ever imagined. But for all who like to try this out: Simply load the stored patterns with "0" (zero) then you can skip through the patterns with "2" and "W" and listen to some of the patterns. More functions can be seen on the Help page with "H" DrummachineV8.zip http://tweakerray.bandcamp.com |
||||
Daren Newbie ![]() Joined: 05/08/2020 Location: United KingdomPosts: 25 |
Very cool feature! Great work @TweakerRay |
||||
TweakerRay![]() Senior Member ![]() Joined: 01/08/2020 Location: GermanyPosts: 138 |
Okay I think this will be nearly the finished Programm ;-) I present V9 - of my Chiptune Drummachine with 16 Step sequencer... Now you can store 32 Patterns to sdcard. You can chain 64 patterns together to a song. You can store 10 Songs to SD Card (actually it just stores a list of patterns you chained together which then later will be recalled automatically from that list.) You have randomize options on Step, Volume, Frquency I have changed the design slightly... now you will see Squares instead of the numer 1 if a Step is set... also the Steps are colorcoded now... if the step is the highes volume it will be a red square... if its the lowest volume it will be a green square and between it goes from yellow to orange to the highest volume. So you have a visual feedback if the note is loud or not ;-) I also have set the patterns and chains in their own folder so you dont have all data flying around ;-) The mainprogramm needs to be on Volume a: the 2 folders should be at a:/Pattern (In that folder there are the DD01.txt - DD32.txt files - All stored patterns) and a:/Chain (it contains the new 10 new Chainpatternlists - DDCS-01.txt - DDCS-10.txt ) The files are just there so you could load something... the lists are not set yet... except the first list... but you can do your own chains and overwrite the lists... DrummachineV9.zip Feedback is much appreciated. http://tweakerray.bandcamp.com |
||||
TweakerRay![]() Senior Member ![]() Joined: 01/08/2020 Location: GermanyPosts: 138 |
New version. You can now randomize the complete Pattern with SHIFT + 5 for the steps SHIFT + 6 Randomize Volume on complete Pattern and SHIFT + 7 Randomize Pitcho on complete Pattern Here is the latest Version V10 Drummachine V10.zip And I have also done a tutorial so you see how the programm works: https://www.youtube.com/watch?v=vKMbMjoa0P4 Please like subcribe and all the crazy things the cool youtubers do ;-) Thanks ! http://tweakerray.bandcamp.com |
||||
vegipete![]() Guru ![]() Joined: 29/01/2013 Location: CanadaPosts: 1121 |
TweakerRay, du fragtest ueber MOD files. I played around a bit and created this for you to play with. TweakerRayTracker I made a simple MOD file with some random instruments you can try. To listen to individual instruments, try something like the following: play modfile "TestFile.mod" ' load the MOD file (silent) play modsample instrument,1,64,7986 pause 1000 ' enough time to actually hear the sound Change "instrument" to a number from 1 to 12 to hear each one. ' The samples in this particular MOD file are as follows: ' 1 snare ' 2 hit ' 3 perc.shaker ' 4 perc.bassdrum5 ' 5 perc.snare3 ' 6 bass.flick ' 7 passion .2 ' 8 tinewave ' 9 blower ' 10 hall.major ' 11 hall.minor ' 12 shamus Change the number "7986" for different notes. See the program lines 117 to 165 for frequencies of different notes - these were tuned with instrument number 9. I don't know if others work the same. Your ear will tell you. Alternately, uncomment lines 53 to 71 to play with note tuning. Change "9" in line 68 for other instruments. Or better, write some code so that keys "1234567890-=" select instruments 1 to 12. ;-) The data statements at the end of the program hold the sequence. This format closely follows the actual MOD format. Your Drummachine is part way to becoming a MOD tracker... Visit Vegipete's *Mite Library for cool programs. |
||||
TweakerRay![]() Senior Member ![]() Joined: 01/08/2020 Location: GermanyPosts: 138 |
Thanks a lot Vegipete. I downloaded the file... I think I also stumbled about my mistake... maybe my modfile was too short... I added a few patterns so it has more to run (in silent) and then I think I can archieve to play with the samples ;-) I will take a look later to your programm "TweakerRayTracker". Your Asteroids programm helped me to understand a little more of how to use sound... and its a really cool programm ! Thanks for your help. Cheers ! http://tweakerray.bandcamp.com |
||||
![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |