Synthesizer

Show us your completed creations made in Construct 2

Post » Sun Feb 17, 2013 9:14 pm

Any interest in this: http://bassmoi.com/c2synthbeta/

Its a work in progress of course - I am hoping to have a step sequencer and song mode soon, in order to make it into a fun online tool to make retro chip style sound effects and music for games.

What do people think?
B
6
S
1
G
1
Posts: 15
Reputation: 938

Post » Sun Feb 17, 2013 10:03 pm

Well you definitely have my curiosity, as someone who's been using C2 for a while, HTML5's sound capabilities have always been something of an issue, but this seems really advanced for HTML5, unless I'm missing something really simple you've done to achieve this. Only real criticism is that the interface is very dull, but I'm sure you'll slap a sweet GUI over it and have an awesome synth app :)
B
64
S
8
G
9
Posts: 290
Reputation: 8,590

Post » Sun Feb 17, 2013 10:31 pm

Nice!
How does it work? Do you actually generate sounds, or it's some kind of distortion from a base sample?
The knob are really hard to control though
B
20
S
5
G
8
Posts: 325
Reputation: 6,473

Post » Mon Feb 18, 2013 6:27 pm

How did you do this? Can't quite work it out, lots of small samples simulating a synth instead of actually generating the sounds?
B
39
S
12
G
8
Posts: 580
Reputation: 7,108

Post » Mon Feb 18, 2013 8:22 pm

The synth sounds are generated in script - I cannot take full credit for this, its been done before. But its a fun trick.

What happens is that there are no samples at all at the beginning. When you click a key, we notice that there is no sample, and a sample is generated in javascript (as an audio object) then played, and stored in a hashmap/dictionary. When you press the same key again, we retrieve the already generated audio tag for that exact note and synth setting.

So if you go mad and play a lot of notes, you use up more memory! A small price to pay for bleepy goodness.

The audio is generated in javascript by creating in memory a WAV file, then base64 encoding it, and creating a new audio object then setting the source of that object to the base64 encoded wav file.

The future:

Once I have got the sequencer bit working, I will make it so the sounds and tunes you have made can easily be downloaded, saved or shared.

I love old CHIP / SID music, so hope it will encourage people to make some using this tool for their games and whatnot :-)
B
6
S
1
G
1
Posts: 15
Reputation: 938

Post » Mon Feb 18, 2013 9:30 pm

Woa crazy stuff!
Now it would be better with a UI that works (I can get a knob to rotate after like 10 attempts...)
Also how about mapping the notes to the keyboard (with azerty/qwerty support)
B
20
S
5
G
8
Posts: 325
Reputation: 6,473

Post » Mon Feb 18, 2013 9:34 pm

yeah duly noted!
I must defend the knobs, they work jolly well on mobile as well! But they are a little unusual.

Click on the knob, drag mouse off the knob, and presto! the knob points towards the mouse. If you drag around, it will follow.

if you think they do just suck then I am very open to another possible way of controlling them..? drag up and down is tricky because there may not be enough screen space above.....

I will try to get the keyboard on the go but this keycode business is giving me the hump.....
B
6
S
1
G
1
Posts: 15
Reputation: 938

Post » Mon Feb 18, 2013 10:20 pm

[QUOTE="mrchay"]Click on the knob, drag mouse off the knob, and presto! the knob points towards the mouse. If you drag around, it will follow.[/QUOTE]
Oh okay, got it now!
I was mostly trying to rotate them with the mouse still over the knob...
See the suggestion I just posted on your knob thread
B
20
S
5
G
8
Posts: 325
Reputation: 6,473

Post » Tue Feb 19, 2013 8:10 pm

New version, with sequencer work.

Its very primitive, but you can see how it needs to come along.
Pressing play button plays the sequence in a loop. As it is playing, you can play some notes on keyboard. They will be played in the loop.

You can use keyboard to play notes now as well, though the layout is hard! (It is hard to simulate a keyboard on a keyboard, if you see what I mean).

http://bassmoi.com/c2synthbeta/
B
6
S
1
G
1
Posts: 15
Reputation: 938

Post » Sat Feb 23, 2013 6:38 am

I saw this a few days ago, and while it was a neat concept, I had a heck of a time getting anything to work right. Now, it's fantastic! I never really understood what a sythesizer *did*, but now I totally do! Awesome job!
B
20
S
10
G
4
Posts: 106
Reputation: 4,219

Next

Return to Completed Creations

Who is online

Users browsing this forum: No registered users and 1 guest