I have written a small game in 'c' that has 15 Levels. I am done with that work. But the thing I want is to add music to it. I am playing a song when the game starts using the
system("cmd /c start /min level1.mp3")
That is with the help of dos command.
It's working fine, but it's playing the file in its default player example like WMplayer or VLC player.But i want a separate player something like that plays music, something like that is hidden from user view but he should hear the sounds I wonder how the big games like EA sports and some Prince of Persia play the sounds . I believe they have their own sound drivers installed. Because their sounds wont be started in WMplayer or some other player.
I am satisfied to 90%. Now I'm more confident about me because writing a game in c and running music in the background. with some techniques i made it.But the drawback is, its played in the default player.So guys can anyone tell me how do i make it through? How do i play some music without the media player of computer? I mean how the sounds are added to games like some PS2 games.Thank you.I Just want to know the thing they do.
I'd suggest building the music player into the C program itself.
SDL_mixer is a good and fairly simple library for doing this.
Related
I am currently building a massive Bluetooth control framework for Mac OS X in Objective C and I have included a rename method that can send a rename request (change advertised name) to compatible bluetooth devices.
For Example: Rename a JBL Speaker through the JBL Connect App or Rename a UE Speaker through the UE Boom app.
It would be awesome to learn how to do this.
For anyone who's not really sure but is smart with bluetooth, How do you think this would be accomplished? would it be in the SDP or in a service attribute or perhaps something in the Low Energy section? how would i do this.
Even if someone could get me the .ipa of the JBL Connect app that would be a massive help cause I could disassemble it and have a lil look inside see if theres anything i can learn.
Anyways thanks :D
I want to use Web Audio API to simulate sound like guitar or something.
Currently, I am using OscillatorNode to make sound by changing frequency.
But I have no idea which node should I use and how to use it to make sound like guitar or something. Should I change waveform or what? and how?
Here is some reference
https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html
Thanks!
"Sound like a guitar" is a vague request. If you want to manually synthesize a guitar-esque sound using Web Audio components, you'll need to do some research into waveforms for guitars and other string instruments, then read up on techniques to create these waveforms via DSP. Here's what you're looking at: http://www.ee.columbia.edu/~ronw/dsp/
Another (probably easier) option would be to load up guitar string samples into AudioBuffer nodes and manipulate those: http://www.w3.org/TR/webaudio/#AudioBuffer
I have a podcast with images in, and I just want the sound of it. I have thought that I could develop a little iOS app to only play the music in videos. The problem is that I'm a beginner on Objective-C, and I'd like the help of the "pro" people. Is my app possible to realize?
Yes, it is possible, but we won't do your work for you.
Once you've learnt the basics, it shouldn't be hard to implement what you want using the AV Foundation framework.
If you get stuck, you're welcome to ask for help here, but remember: http://www.whathaveyoutried.com.
I would like to build a program that can catch sound played on Mac OS X, either all sound or from individual programs. Is that possible? I've been reading a lot of documentation but have not found much that looks useful. It could be that I'm just looking in the wrong direction. Can it be done and are there a specific group of APIs that I should focus on?
Haven't tried it, but the idea would be to direct all sound output to an audio "device" (a kernel component) that allows it to be captured. According to this page, you can do that with soundflower.
If you want to do it programmatically, I'd install the soundflower driver and look into controlling it from your program.
My need is that when Playing a video in movie player when I tap record button the video plays and at a time the video shud also record.Can any one suggest how to do this.
Anyone's help will be deeply appreciated.
thanks to all,
Monish.
It seems unlikely that this would ever be possible. If it were, it would open a huge copyright hole. For instance, you could buy a movie on iTunes, then have your app 'record' it while it's playing in Movie Player and then send the movie elsewhere. This will almost certainly not be possible using the released SDK API, and the task would likely be quite non-trivial even in a jailbroken content. Even if you figured something out, I can't see any way that an app with this functionality would be seen as being in compliance with the App Store guidelines. (Sections 8.5, 9.1, and 22.4 all look relevant here.)