# Wanna make music in real time? Don't have any idea how music works? Check this out.

This topic is 3954 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

So I'm working on a program that allows anyone to rock out with their own solo in real time, regardless of their musical ability. This first demo is a bluesy sound. Remember it's extremely early (been working on it for less than an hour, and that includes recording the sounds) and make sure you tell me what you think.... basically "did you have fun?" Theres 16 different notes. In order from lowest to highest pitch you press these keys q, w, e, r a, s, d, f j, k, l, ; u, i, o, p It doesn't matter what order you press them in because I've designed it to sound good no matter what. Heres the link http://download.yousendit.com/4A73A112372E4021 Unzip the file and click on the .exe and let me know what you think. Remember this is an extremely early build. Depending on what people think I might expand it for different scales and background music, and the ability to save and share your creations. Maybe even throw your own mp3 in the background to "solo" over.

##### Share on other sites
Pause doesn't work straight away. The Stop button closes the application. Both of these are incorrect, unexpected actions.

Your app plays a pre-recorded mp3 file. The recorded notes that are supposed to play when you hit the keys sound nothing similar. Not a good demo of the concept.

Pressing any of the buttons you mention does nothing.

Your recordings are not really what could be called smooth or clean.

Quote:
 Remember this is an extremely early build.

I'd say more "single cellular" that early.

##### Share on other sites
On a side node, don't assume that everybody has your keyboard layout. For example, on my keyboard ; is a combination of shift and ,

Even the English letters are swapped on some keyboards, but it's less common than moving the punctuation.

Instead of jkl; and uiop you could do hjkl and yuio and avoid punctuation. Good luck with the project :)

##### Share on other sites
"Pause doesn't work straight away. The Stop button closes the application. Both of these are incorrect, unexpected actions."

Not my program, thats stuff my language (Turing) automatically adds to programs.

"Your app plays a pre-recorded mp3 file. The recorded notes that are supposed to play when you hit the keys sound nothing similar. Not a good demo of the concept."

What do you mean sound nothing similar? You do realize every key is a different note right? The whole point of the program is for each key to NOT sound similar...

"Pressing any of the buttons you mention does nothing."

You just said none of the keys sound similar. If they don't sound similar than they made a sound when you pressed them, and if they made a sound when you pressed them all of the buttons(keys) do exactly what I said they would.

"Your recordings are not really what could be called smooth or clean.
Quote:Remember this is an extremely early build.
I'd say more "single cellular" that early."

Never claimed the notes were smooth or clean, I said it was early as in judge the concept not the polish.
_____________________________________________

"2/19/2007 From: Kobenhavn, Denmark
Posted - 3/22/2007 2:44:00 PM
On a side node, don't assume that everybody has your keyboard layout. For example, on my keyboard ; is a combination of shift and ,

Even the English letters are swapped on some keyboards, but it's less common than moving the punctuation.

Instead of jkl; and uiop you could do hjkl and yuio and avoid punctuation. Good luck with the project :)"

Thanks I'll make sure to change that in later builds.

##### Share on other sites
Holy crap, Turing?! I guess it's neat to see people using that language even though I hated being forced to use it :P

I haven't taken a look at it (running Linux, don't have wine installed), but I may have something to help you. When you set up the window stuff, add "nobuttonbar". It's been a while since I've done this, but if you have something like
setscreen("graphics:800;600")

at the beginning, change it to
setscreen("graphics:800;600,nobuttonbar")

Hope that helps. But you may want to learn to use a sound API with another language, I don't have much experience with the latest version but the support for sound has always been pretty crappy. And hey, it's Turing :P

##### Share on other sites
Quote:
 Original post by JavaMavaNot my program, thats stuff my language (Turing) automatically adds to programs.

Wow, is that ever the wrong answer. The action is annoying and wrong, don't blame your tools for that. Thats a problem with your application, because users shouldn't be made to care and "sympathise" with you over what tools you use. If your tools are wrong, change them.

Quote:
 Original post by JavaMavaWhat do you mean sound nothing similar? You do realize every key is a different note right? The whole point of the program is for each key to NOT sound similar...

I do realise that. It sounds like they were recorded using two different types of guitar. That doesn't work well as a demo for your application, since what (I would presume) is your "bluesy" demo suggests it wasn't even created with your application.

Quote:
 Original post by JavaMavaYou just said none of the keys sound similar. If they don't sound similar than they made a sound when you pressed them, and if they made a sound when you pressed them all of the buttons(keys) do exactly what I said they would.

I listened to the WAVs through a Media player. Pressing the keys on the keyboard did nothing.

##### Share on other sites
Quote:
 Wow, is that ever the wrong answer. The action is annoying and wrong, don't blame your tools for that. Thats a problem with your application, because users shouldn't be made to care and "sympathise" with you over what tools you use. If your tools are wrong, change them.

It's a demo. I clearly explained how it worked and what it's purpose is. If your going to go around and try to break a program this early in development just for the sake of it I can't take any of your criticism seriously.

Quote:
 I do realise that. It sounds like they were recorded using two different types of guitar. That doesn't work well as a demo for your application, since what (I would presume) is your "bluesy" demo suggests it wasn't even created with your application.

I could have used tin cans banging together at the right frequency for the sound files and this demo still would have been a success. Again it's a matter of nit picking over polish on a program never stated to be polished. And what the hell are you trying to say with
Quote:
 since what (I would presume) is your "bluesy" demo suggests it wasn't even created with your application.
Of course The notes weren't created with my program. That was never the intention. Do you have any idea what this program is even for?

Quote:
 I listened to the WAVs through a Media player. Pressing the keys on the keyboard did nothing.

It worked for everyone else on every other message board I posted this program on... let me guess you didn't unzip the file? You just opened the zip file and tried to run it from there. If you can't follow simple instructions then again your criticism is meaningless which
Quote:
 I can't take any of your criticism seriously.
________________________________________________-

Quote:
 Hope that helps. But you may want to learn to use a sound API with another language, I don't have much experience with the latest version but the support for sound has always been pretty crappy. And hey, it's Turing :P

Yep thanks that helped. I'm starting to break into C++ but it's going to take a while at that before I get to the stage I'm at with Turing. This was mostly a quick demo to see if this idea was simple and enjoyable for those who don't know how to play music.

##### Share on other sites
Aidan is being pretty harsh (or a Troll); criticising what I assume is the default window layout in your language, when presented with a conceptual build designed to demonstrate an idea...

It's an interesting app, I had fun for a few minutes making "music" ;)

i dunno about "It doesn't matter what order you press them in because I've designed it to sound good no matter what" though... a,o,d,p,a,o,d,p,ppp,q,k,qqkqkppod sounds pretty silly ;P

##### Share on other sites
Pretty neat!

(I know its early, but sometimes I wished it would switch sounds faster)

##### Share on other sites
Quote:
 Aidan is being pretty harsh (or a Troll); criticising what I assume is the default window layout in your language, when presented with a conceptual build designed to demonstrate an idea...It's an interesting app, I had fun for a few minutes making "music" ;)i dunno about "It doesn't matter what order you press them in because I've designed it to sound good no matter what" though... a,o,d,p,a,o,d,p,ppp,q,k,qqkqkppod sounds pretty silly ;P

True. I should rephrase it a bit to "no matter what you hit randomly it will sound better than if you hit a random sequence of notes on any other instrument, but maybe not godly..." I don't know.

Quote:
 Pretty neat!(I know its early, but sometimes I wished it would switch sounds faster)

Ya that's annoying me as well. I initially had a problem where any note you pressed would buzz. That was caused from the user not lifting their finger off the key quick enough so every loop my code would replay the note from the beginning (skipping the rest of the note) until the key was let go. I fixed this by ignoring input after a key press until the key was let go. I could further develop it to only ignore a key-press if the key pressed is the same as the last key pressed, thus speeding up how quickly you an hit notes.

I'm going to talk to my friend about Direct Sound (He's playing around with that right now) and maybe this project will be moved into c++.

##### Share on other sites
Thought it was really cool concept :) had fun too. But there is a pause when the background guitar goes back into it's loop, which was really annoying. If that was fixed it'd be even better :)

Another thing I think would make it better is if the keys were more responsive, I can't do a quick l-k-j as a triplet (if you're not familiar with that term it's where three even beats fall within the period of a single quarter note) And if that doesn't make any sense, well I just wish I could hit the notes faster! Right now the 2nd and 3rd notes just don't play.

I wonder if this could turn into some sort of improvisational-type music game, like guitar hero without the prerecorded rhythm/solos... except... well I don't know how that would work as far as a game... anyway...

Good job and I look forward to future improvements :)

##### Share on other sites
Good concept. Poor execution. I'm not trying to bring you down, but you need to hopefully reconsider how your program works. Besides figuring out a better button set (which I can understand and deal with at this stage in development), there was one note in there (p on my keyboard), that was completely out of tune.

I do understand this is early code and I'd like to see this when it's closer to being done, but perhaps instead of tons of wav files, you should look into procedural modulation of the pitch of just a few wav files. Then you could get more spot on with chord changes. Just a thought.

So all in all, pretty cool. Hopefully it gets real cool later (like visualizations while I play). Maybe get some integration with a Guitar Hero controller or something :).

##### Share on other sites
JavaMava,

Your project is really cool! At this point of your project, it's most important to demonstrate your concept, and you've did just that: playing any of the keys will make it sound good.

Good work! Don't let the others on this thread hold you back with their nit picking