DSLua Community
Welcome,
Guest
. Please
login
or
register
.
May 21, 2012, 08:34:15 PM
1371
Posts in
262
Topics by
33109
Members
Latest Member:
Limewire Download
Home
Help
Search
Login
Register
DSLua Community
|
DSLua - Best scripting language for Nintendo DS
|
Need Help?
|
Microphone
« previous
next »
Pages:
[
1
]
Print
Author
Topic: Microphone (Read 1279 times)
manu62300
Waxing Crescent
Posts: 89
Microphone
«
on:
July 04, 2007, 02:48:09 AM »
Please give a exemple function for the microphone
Logged
XtreamLua.com
La Référence en programmation sur PSP & DS
xtreamlua.miniville.fr
Bon dev...;
TOAST
Waxing Crescent
Posts: 67
Re: Microphone
«
Reply #1 on:
July 04, 2007, 04:39:54 AM »
Mic.StartRecording(asdf,10)
The mic functions are in the documentation if you didn't figure that out yourself.
Logged
manu62300
Waxing Crescent
Posts: 89
Re: Microphone
«
Reply #2 on:
July 04, 2007, 04:52:48 AM »
exemple with push A ==> record and push B play sound recorded ?
Logged
XtreamLua.com
La Référence en programmation sur PSP & DS
xtreamlua.miniville.fr
Bon dev...;
TOAST
Waxing Crescent
Posts: 67
Re: Microphone
«
Reply #3 on:
July 04, 2007, 04:58:46 AM »
I guess this should work...
while true do
if Pads.A() then
Mic.StartRecording( buffer, 10 )
end
if Pads.B() then
Mic.Replay( 0, buffer, 10 )
end
end
I don't have DSLua and I can't be arsed to get it running so go ahead and try it yourself.
Logged
manu62300
Waxing Crescent
Posts: 89
Re: Microphone
«
Reply #4 on:
July 04, 2007, 05:18:07 AM »
thanks i test it
Logged
XtreamLua.com
La Référence en programmation sur PSP & DS
xtreamlua.miniville.fr
Bon dev...;
Pages:
[
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
DSLua - Best scripting language for Nintendo DS
-----------------------------
=> News and Announcements
=> Examples/Tutorials
=> Home-brew/Hacks/Games/Projects
=> Hardware and Equipments
=> Need Help?
=> Bugs & Suggestions
-----------------------------
General DS Programming Chats
-----------------------------
=> Code Hashing
=> Chat Room
=> Test Area
Powered by SMF 1.1 RC2
|
SMF © 2001-2005, Lewis Media