electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Articles  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links  |  Store
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » DIY Hardware and Software » Arduino
BassMaster 85
Post new topic   Reply to topic
Page 1 of 1 [13 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
Hammer



Joined: Mar 13, 2018
Posts: 16
Location: Russia, Zhukovsky
Audio files: 6

PostPosted: Sun Mar 18, 2018 3:31 am    Post subject: BassMaster 85 Reply with quote  Mark this post and the followings unread

Hello!

My project based on Digispark - ATTiny 85 16MHz arduino programmable.

The main idea is that it's possible to use two PWM outputs for DDS. One of them will be the main wave generator, other will be the envelope shaper.

But I could't find any simple, but good VCA, utill i saw elektrouwe 7052A circuit in this topic: http://electro-music.com/forum/post-405863.html#405863

In MIDI interface you can use channels to tell ATTiny 85 what kind of waves to generate i.e. 1st channel - sine, 4th channel - square, 5th channel - white noise and so on.

Here is short sample (triangle & pulse - lead, square - bass): https://www.youtube.com/watch?v=YfB4YF5tCFE

It was recorded with soviet 561LN2 chip, 4069 sounds not so bright.

BassMaster 85 have just 8kHz bitrate, but LPF and analog VCA helps to eliminate dizzy digital noise.

Here is the circuit diagram. I still not sure, thal levels between ATTiny 85 and TDA 7052 are OK, because triangle is not always triangle, and square wave is not always sharp.

I want to make envelope follower on 1/2 of 4069, and mix this envelope signal to the LPFcontrol via vactrol. Is it a good idea?

Links:
https://github.com/heartscrytech/DigisparkMIDI - DigiMIDI library
https://janostman.wordpress.com/cheap-diy-usb-midi-to-cv-interface/ - how to use DigiMIDI library
http://aeeprojects.blogspot.ru/2011/09/filters-with-cd4069.html - 4069 filter circuits


bassmaster_circuit.jpg
 Description:
BassMaster 85 circuit diagram
 Filesize:  121.22 KB
 Viewed:  46 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

bassmaster_circuit.jpg



Last edited by Hammer on Mon May 07, 2018 1:31 am; edited 3 times in total
Back to top
View user's profile Send private message
Hammer



Joined: Mar 13, 2018
Posts: 16
Location: Russia, Zhukovsky
Audio files: 6

PostPosted: Sat Mar 24, 2018 12:35 pm    Post subject: Reply with quote  Mark this post and the followings unread

BassMaster 85C (chimera) because it is 3/4 digital, 1/4 analog.

Cutoff is driving by ATTiny85, resonance is still manual. JFETs for LPF are soviet again 2П303A, because I haven't others around.

I will post full code a bit later, it's still very dirty.

Check the sound!


bassmaster_circuit_c.jpg
 Description:
 Filesize:  108.49 KB
 Viewed:  28 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

bassmaster_circuit_c.jpg



BMS85_Test_saw.mp3
 Description:

Download
 Filename:  BMS85_Test_saw.mp3
 Filesize:  379.96 KB
 Downloaded:  38 Time(s)


BMS85_Test_square_saw.mp3
 Description:

Download
 Filename:  BMS85_Test_square_saw.mp3
 Filesize:  352.46 KB
 Downloaded:  38 Time(s)

Back to top
View user's profile Send private message
Hammer



Joined: Mar 13, 2018
Posts: 16
Location: Russia, Zhukovsky
Audio files: 6

PostPosted: Sun Apr 08, 2018 1:49 am    Post subject: Reply with quote  Mark this post and the followings unread

Trying to make sound "brighter". I've made another one SVF, but with additional feedback from BP output.

Then I've made "Most simple VCF on earth" to simplify circuit. Now i'ts possible to make my synth in size of credit card.

All three filters sounds and circuit:


bassmaster_circuit_ct.jpg
 Description:
 Filesize:  100.73 KB
 Viewed:  25 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

bassmaster_circuit_ct.jpg



BMS85_Test_stereo_LPF_CT.mp3
 Description:

Download
 Filename:  BMS85_Test_stereo_LPF_CT.mp3
 Filesize:  606.41 KB
 Downloaded:  31 Time(s)


BMS85_Test_stereo_LPF_SVF.mp3
 Description:

Download
 Filename:  BMS85_Test_stereo_LPF_SVF.mp3
 Filesize:  450.78 KB
 Downloaded:  25 Time(s)


BMS85_Test_stereo_LPF_SVF_2.mp3
 Description:

Download
 Filename:  BMS85_Test_stereo_LPF_SVF_2.mp3
 Filesize:  526.79 KB
 Downloaded:  29 Time(s)

Back to top
View user's profile Send private message
petegaggs



Joined: Jan 04, 2018
Posts: 22
Location: Cambridge, UK
Audio files: 1

PostPosted: Tue Apr 10, 2018 9:50 am    Post subject: Reply with quote  Mark this post and the followings unread

this is very cool, you have managed to make something that sounds really good with very few parts
Back to top
View user's profile Send private message
Hammer



Joined: Mar 13, 2018
Posts: 16
Location: Russia, Zhukovsky
Audio files: 6

PostPosted: Wed Apr 11, 2018 7:15 am    Post subject: Reply with quote  Mark this post and the followings unread

I hope so! Thank you a lot!

I'll be back soon with full circuit and code.
Back to top
View user's profile Send private message
Hammer



Joined: Mar 13, 2018
Posts: 16
Location: Russia, Zhukovsky
Audio files: 6

PostPosted: Mon May 07, 2018 1:26 am    Post subject: Reply with quote  Mark this post and the followings unread

Prototype soldered:


IMG_0867.jpg
 Description:
 Filesize:  224.64 KB
 Viewed:  8 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

IMG_0867.jpg


Back to top
View user's profile Send private message
Mynasru



Joined: May 11, 2018
Posts: 2
Location: Netherlands

PostPosted: Fri May 11, 2018 3:32 am    Post subject: Reply with quote  Mark this post and the followings unread

Hammer wrote:
I hope so! Thank you a lot!

I'll be back soon with full circuit and code.


Super nice project!! Any updates on the code and circuit diagram? Can't wait to build this Very Happy
Back to top
View user's profile Send private message
Hammer



Joined: Mar 13, 2018
Posts: 16
Location: Russia, Zhukovsky
Audio files: 6

PostPosted: Fri May 11, 2018 10:22 am    Post subject: Reply with quote  Mark this post and the followings unread

You know, I was stucked with VCF. This "Most simple VCF on earth" is very noisy. And I can't understand corellation between the lead envelope and LPF envelope to make it more "moogy".

Anyway, here you will find the code, but it's still very raw.

In ZIP you will find corrected library for USB MIDI, original I've got here, thanks to heartscrytech for great work: https://github.com/heartscrytech/DigisparkMIDI

When you upload sketch into Digispark, your PC will find new device. In FL Studio set a port for MidiStomp, I use port #5. Open attached example for FL Studio.

Channel #1 - sine
Channel #2 - triangle
Channel #3 - saw
Channel #4 - square
Channel #5... - effects

Decay is not working now. Dig the code, you will find envelope tables for lead and for filter.

Combining white noise and other waveshapes, it's possible to make new instruments! Let me know, if you will make something new!


bassmaster_fl.jpg
 Description:
 Filesize:  62.42 KB
 Viewed:  4 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

bassmaster_fl.jpg



BASSMASTER.zip
 Description:

Download
 Filename:  BASSMASTER.zip
 Filesize:  184.77 KB
 Downloaded:  10 Time(s)

Back to top
View user's profile Send private message
Mynasru



Joined: May 11, 2018
Posts: 2
Location: Netherlands

PostPosted: Fri May 11, 2018 1:13 pm    Post subject: Reply with quote  Mark this post and the followings unread

Hammer wrote:

Anyway, here you will find the code, but it's still very raw.

Sweet, thank you! I'll try it out.
Back to top
View user's profile Send private message
StormB



Joined: Aug 15, 2013
Posts: 12
Location: Germany

PostPosted: Mon May 14, 2018 1:44 am    Post subject: Reply with quote  Mark this post and the followings unread

Hi
i have built the Bassmaster 85CT from your last Post
after upload the code into the Attiny85 i check the functions and
I can switch between the Waveforms Nice Cool and
I can play various Notes but the
Attack and Release pots don't work
if I turn the pot which one goes to pin 1 of the Attiny85 (A0)
over the half the Attiny lost her connection to USB if I turn
the pot back the bassmaster go on!
thanks for this work
Back to top
View user's profile Send private message
Hammer



Joined: Mar 13, 2018
Posts: 16
Location: Russia, Zhukovsky
Audio files: 6

PostPosted: Mon May 14, 2018 2:06 am    Post subject: Reply with quote  Mark this post and the followings unread

Hello, StormB!

It's mean, that your AtTiny 85 is working properly!

A0 - reset pin. You are resetting your chip by the pot. There are two versions of Digispark, with unlocked reset pit (you may flash it with USBasp), and with locked by fuses. Locked version could be flashed only by high voltage programmer, but it lets you to use reset pin as input / output.

In your version, you can use only one pot.

In code change:

#define ENVELOPE_ATTACK A0 // Pot
#define ENVELOPE_DECAY A1 // Pot

To:

#define ENVELOPE_ATTACK A1 // Pot
#define ENVELOPE_DECAY A0 // Pot

And it will be possible to attenuate attack. I'm using single pot too.

Also, you can make a switch between Digispark and VCF - very useful!
Back to top
View user's profile Send private message
StormB



Joined: Aug 15, 2013
Posts: 12
Location: Germany

PostPosted: Mon May 14, 2018 2:59 am    Post subject: Reply with quote  Mark this post and the followings unread

Hi
i have change the inputs now the Attack pot is working Very Happy

i upload the Sketch with my Arduino (Arduino as ISP)

it is possible to make the release shorter
Back to top
View user's profile Send private message
Hammer



Joined: Mar 13, 2018
Posts: 16
Location: Russia, Zhukovsky
Audio files: 6

PostPosted: Mon May 14, 2018 3:19 am    Post subject: Reply with quote  Mark this post and the followings unread

Yes, find in code:

ADC_LFO = 32;

Increase this number. Than higher number, than shorter decay.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic
Page 1 of 1 [13 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software » Arduino
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
e-m mkii

Please support our site. If you click through and buy from
our affiliate partners, we earn a small commission.


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use