Search found 31 matches
- Fri Nov 16, 2007 2:56 am
- Forum: PSP Development
- Topic: Which libraries does sceAudioSetFrequency need?
- Replies: 13
- Views: 4252
- Wed Nov 14, 2007 11:18 pm
- Forum: PSP Development
- Topic: Which libraries does sceAudioSetFrequency need?
- Replies: 13
- Views: 4252
- Tue Nov 13, 2007 3:11 am
- Forum: PSP Development
- Topic: Which libraries does sceAudioSetFrequency need?
- Replies: 13
- Views: 4252
Thanks for your help :) I´ve started programming psp recently and don´t have much time, so don´t want my program works for any version specifically, if it works only on 1.5 it´ll be enough. This afternoon I´ll downgrade to 1.5 and check if then the program can run. Edit: tried on 1.5 and the same re...
- Mon Nov 12, 2007 6:11 am
- Forum: PSP Development
- Topic: Which libraries does sceAudioSetFrequency need?
- Replies: 13
- Views: 4252
Thanks for your help jimparis About the error, I didn´t explain it before, the program works without this instruction, but I need to add it. So I wrote the program: If press L trigger, then it´ll run sceAudioSetFrequency in order to change frequency to 48000. If don´t press L trigger, program works ...
- Mon Nov 12, 2007 5:01 am
- Forum: PSP Development
- Topic: Which libraries does sceAudioSetFrequency need?
- Replies: 13
- Views: 4252
Thanks for your help J.F. I´ve changed the attributes on PSP_MODULE_INFO, now I run the program on kernel mode. The program compiles, but when I´m running it everything is fine until it reachs sceAudioSetFrequency(48000); at this line, psp freezes and turns off. This is the error: Opening connection...
- Fri Nov 09, 2007 10:01 pm
- Forum: PSP Development
- Topic: Which libraries does sceAudioSetFrequency need?
- Replies: 13
- Views: 4252
- Tue Nov 06, 2007 11:53 am
- Forum: PSP Development
- Topic: Which libraries does sceAudioSetFrequency need?
- Replies: 13
- Views: 4252
- Tue Nov 06, 2007 9:39 am
- Forum: PSP Development
- Topic: Which libraries does sceAudioSetFrequency need?
- Replies: 13
- Views: 4252
- Tue Nov 06, 2007 8:05 am
- Forum: PSP Development
- Topic: Which libraries does sceAudioSetFrequency need?
- Replies: 13
- Views: 4252
Which libraries does sceAudioSetFrequency need?
I´m trying to program using sceAudioSetFrequency, but the compiler always says: main.c:(.text+0x21c0): undefined reference to `sceAudioSetFrequency' collect2: ld returned 1 exit status make: *** [Audio_Mechanica.elf] Error 1 I´m including <pspaudiolib.h>, <pspaudio.h> and <pspaudio_kernel.h>. I´ve b...
- Sat Oct 27, 2007 5:50 am
- Forum: PSP Development
- Topic: sceAudioSetFrequency -- what can i do to get it to work?
- Replies: 11
- Views: 4745
Only the output frequency can be changed? I need to sample at 8000 Hz, and was thinking 48000 Hz would be great :) How can I get it to work? I´m afraid i´m a noob programming for psp. Want some file .c to include in my main.c and then, at the beginning of the program change the frequency with sceAud...
- Thu Oct 25, 2007 9:56 am
- Forum: PSP Development
- Topic: Sampling rate with audio mechanica
- Replies: 2
- Views: 1424
I need to include a .c file (one piece of the recognition part) which only works at 8000 Hz :( 8000 Hz is the lower frequency for speech recognition (well, taking the voice´s bandwidth from 0 Hz until 4000 Hz) Thanks anyway, I´ll find some way to encode from 44,1 KHz to 8 KHz by software :) Edit : I...
- Thu Oct 25, 2007 5:24 am
- Forum: PSP Development
- Topic: Sampling rate with audio mechanica
- Replies: 2
- Views: 1424
Sampling rate with audio mechanica
Hello. I´m using Audio Mechanica´s source code to program a speech recognition for psp. The problem: Audio Mechanica samples at 44100 Hz, and I need 8000 Hz. I thought the frequency could be changed in: pspAudioInputInit(mic_level, 44100); but if changed to 8000, my psp samples faster instead of slo...
- Sat Oct 13, 2007 9:32 pm
- Forum: PSP Development
- Topic: Problem with cygwin :S
- Replies: 21
- Views: 10010
- Sat Oct 13, 2007 9:35 am
- Forum: PSP Development
- Topic: Problem with cygwin :S
- Replies: 21
- Views: 10010
I don´t need psplinkusb :) But, since I type ./toolchain.sh until I get the error (psplinkusb... whatever...) it only spends about 60-70 minutes. I have an AMD 2xcore 64 bits, and my internet connection downloads about 400 kb/s; but still it´s very quickly, no? Is there a way to check if the install...
- Sat Oct 13, 2007 7:08 am
- Forum: PSP Development
- Topic: Problem with cygwin :S
- Replies: 21
- Views: 10010
One question... if I get the same error, at the end do I have a 100% complete and functional toolchain (except linkusb, of course)? I´m in a hurry, need cygwin + toolchain now, and when compiling get this error. I´ve seen there is a way to avoid this error (deleting 3 sentences in /home/user/build/p...
- Thu Oct 11, 2007 9:18 pm
- Forum: PSP Development
- Topic: Problem with Audio mechanica: MIKMOD LIBRARY ERROR
- Replies: 2
- Views: 1244
No, haven´t upgrade the firmware. It´s the same I have been using lately. I was using part of the source code to make a program with speech recognition. I´ve tried deleting instances of MIKMOD ERROR, but it freezes when starts recording :( And the original program also freezes. Since I installed eve...
- Thu Oct 11, 2007 7:22 am
- Forum: PSP Development
- Topic: Problem with Audio mechanica: MIKMOD LIBRARY ERROR
- Replies: 2
- Views: 1244
Problem with Audio mechanica: MIKMOD LIBRARY ERROR
Hello. Have one problem, I´ve had to reinstall the cygwin (and toolchain, sdk, etc...) and now, when I compile my own version of "Audio Mechanica", at the beginning says "MIKMOD LIBRARY ERROR" (it didn´t appear before). I´ve tried installing sdk, libmikmod, mikmodlib... but alway...
- Thu Jul 12, 2007 9:53 am
- Forum: PSP Development
- Topic: Bug? Can´t read an wav header
- Replies: 2
- Views: 1884
- Thu Jul 12, 2007 8:55 am
- Forum: PSP Development
- Topic: Bug? Can´t read an wav header
- Replies: 2
- Views: 1884
Bug? Can´t read an wav header
Hello! I have one wav file need to read. The header has 44 bytes: 37-40 bytes contains "data" and 41-44 contains the size of data chunk. So: int fp = sceIoOpen(segmentoElegido, PSP_O_RDONLY, 0777); sceIoRead(fp,dheader,36); char data[5]; sceI...
- Fri Jul 06, 2007 9:01 am
- Forum: PSP Development
- Topic: Help with Audio Mechanica
- Replies: 7
- Views: 3412
- Wed Jul 04, 2007 3:12 am
- Forum: PSP Development
- Topic: Help with Audio Mechanica
- Replies: 7
- Views: 3412
- Sun Jul 01, 2007 12:16 pm
- Forum: PSP Development
- Topic: Help writing a wav file into memory stick
- Replies: 3
- Views: 2040
- Sat Jun 30, 2007 10:07 pm
- Forum: PSP Development
- Topic: Help writing a wav file into memory stick
- Replies: 3
- Views: 2040
Help writing a wav file into memory stick
I need to write the header first, and second the data. The program I´m using: void GrabaWAV(char *name,int size){ int tamanno = size; int tamannoHeader = size + 36; int sstg = sceIoOpen(name, PSP_O_WRONLY | PSP_O_CREAT , 0777); printf("\nDescript...
- Sat Jun 30, 2007 9:15 am
- Forum: PSP Development
- Topic: Problem with sceIOwrite
- Replies: 1
- Views: 1223
Problem with sceIOwrite
I need to write a wav header and I´m using: void GrabaWAV(char *name,int size){ int sstg = sceIoOpen(name, PSP_O_WRONLY | PSP_O_CREAT , 0777); sceIoWrite(sstg, "RIFF",4*sizeof(char)); sceIoWrite(sstg, size + 3...
- Mon Jun 04, 2007 6:35 am
- Forum: PSP Development
- Topic: itoa missing?
- Replies: 5
- Views: 2551
- Sun Jun 03, 2007 11:44 pm
- Forum: PSP Development
- Topic: itoa missing?
- Replies: 5
- Views: 2551
- Fri Jun 01, 2007 6:51 am
- Forum: PSP Development
- Topic: Help with Audio Mechanica
- Replies: 7
- Views: 3412
- Wed May 30, 2007 8:48 am
- Forum: PSP Development
- Topic: Help with Audio Mechanica
- Replies: 7
- Views: 3412
And another question
Other question: I need to separate the part of the source code which affects the Yackback option. I´ve seen, inside audioInputLoopCallback(); if (monitor == 4){ if (vox != 0){ vox--; // decrement voice activation delay to zero } pspDebugScre...
- Sat May 26, 2007 4:07 am
- Forum: PSP Development
- Topic: Help with Audio Mechanica
- Replies: 7
- Views: 3412
Help with Audio Mechanica
I´m working with Audio Mechanica´s source code and I´ve realized that in every function there are many:
for(nux=0; nux<55; nux++){ // delay
sceDisplayWaitVblankStart();
}
What are they for? This only "freezes" the screen, no?
Thanks ;)
for(nux=0; nux<55; nux++){ // delay
sceDisplayWaitVblankStart();
}
What are they for? This only "freezes" the screen, no?
Thanks ;)
- Wed May 16, 2007 11:36 pm
- Forum: PSP Development
- Topic: Settings for Danzeff OSK
- Replies: 3
- Views: 2946
Ok, finally reduce all the errors to just one. I want to initialize the keyboard with: danzeff_load(); But then, when trying to compile, it gives an error: main: undefined refence to 'danzeff_load' But with other functions like: int danzeff_dirty() or void danzeff_render() wchich are included in &qu...