It looks like the music you are playing is 22050 hz while the audio callback runs at 44100. That would cause the sounds to play at double speed. You will probably need to resample it to 44100 for it to sound right.
-Louie
Search found 16 matches
- Sat Mar 24, 2007 8:02 am
- Forum: PSP Development
- Topic: FRONTIER 1337 - a port of FRONTIER: Elite II for PSP
- Replies: 53
- Views: 31244
- Fri Jan 19, 2007 4:12 am
- Forum: PSP Development
- Topic: Stupid question: Limiting Input?
- Replies: 2
- Views: 1282
- Fri Jan 05, 2007 7:19 am
- Forum: PSP Development
- Topic: GU Text
- Replies: 2
- Views: 2158
GU Text
Has anyone been sucessful in using a custom font with the GU Text sample? I have tried the bitmapfontbuilder program hinted to at this thread: http://forums.ps2dev.org/viewtopic.php?t=6250 but I cannot get it to display anything but corrupted graphics. If you have any idea on how to correctly create...
- Sat Jul 29, 2006 1:28 am
- Forum: PSP Development
- Topic: Another World Collector's Edition
- Replies: 10
- Views: 10542
- Sun Jun 11, 2006 12:11 pm
- Forum: PSP Development
- Topic: Need function that can print out the content of a dir
- Replies: 5
- Views: 2249
- Wed Apr 26, 2006 5:33 am
- Forum: PSP Development
- Topic: File Assistant ++
- Replies: 114
- Views: 106832
- Wed Apr 19, 2006 3:08 am
- Forum: PSP Development
- Topic: pspAudio and my emulator.
- Replies: 5
- Views: 2490
my program gets audio artifacts too when I try to do a lot of calculations and can't fill the buffer. I optimized a lot of my code using tips from this site and it helped a lot. I was doing a lot of calculations/loops when I didn't need to. http://bdn.borland.com/article/0,1410,28278,00.html make su...
- Tue Apr 18, 2006 9:54 am
- Forum: PSP Development
- Topic: pspAudio and my emulator.
- Replies: 5
- Views: 2490
- Fri Mar 10, 2006 1:39 pm
- Forum: PSP Development
- Topic: # of Simultaneous Audio Voices
- Replies: 6
- Views: 2847
The PSP Rhythm audio sample engine works on one audio channel. It has a basic mixer that mixes samples into the audio callback. it was loosely based off of the drumpiler code off of source forge. http://drumpiler.sourceforge.net/. My samples have a struct with a variable that tells the mixer if a so...
- Sat Mar 04, 2006 7:55 am
- Forum: PSP Development
- Topic: MP3 Buffered Playback
- Replies: 10
- Views: 8982
I attempted to rebuild the audio engine for PSP Rhythm using double buffers and that didn't work either. What I had to do is use the audio callback to time my audio engine so it would put sample in exactly when it needed to. Maybe you need to try something like that. What does the data look like whe...
- Sat Dec 03, 2005 5:44 am
- Forum: PS2 Development
- Topic: Need help with BMP
- Replies: 4
- Views: 3267
bmp loading
i solved editing libito bmp loader if you want i'll be pleased to post code if is needed thxs a lot for support guys I just read this post and i am trying to do the same thing and load a bmp for displaying in my program. my code is very bad but it loads the image colors are wrong because it is in r...
- Fri Oct 21, 2005 3:26 am
- Forum: PSP Development
- Topic: more than one sound
- Replies: 2
- Views: 1723
Yes you can have multiple sounds play on one audio channel. check out the WAVLoader software on this site http://labs.wonderbyte.com/.
That loader will load the wave files into memory so you don't need to convert it to C.
That loader will load the wave files into memory so you don't need to convert it to C.
- Mon Sep 26, 2005 5:29 am
- Forum: PSP Development
- Topic: psprtc.h
- Replies: 2
- Views: 2133
- Thu Sep 15, 2005 2:50 pm
- Forum: PSP Development
- Topic: psprtc.h
- Replies: 2
- Views: 2133
psprtc.h
Has anyone figured out how to use the psprtc.h include? I am trying to overcome some timing issues I am having with the clock() function in time.h. The sceRtcGetCurrentTick(u64 *tick) function looks promising but I don't know exactly how to use it.
-Louie
-Louie
- Thu Sep 08, 2005 5:55 am
- Forum: PSP Development
- Topic: How do you display 32bit graphics?
- Replies: 1
- Views: 1477
How do you display 32bit graphics?
Is there a library out there that can do it? I am using the pg.c from hello world and that only seems to be able to show 16bit graphics.
- Tue Aug 09, 2005 5:33 am
- Forum: PSP Development
- Topic: file io with an array
- Replies: 3
- Views: 2236
file io with an array
Does anyone have a piece of code that can write to a file on the memory stick from an array and them read it back into an array?