Microphone Support for LÖVE!

Showcase your libraries, tools and other projects that help your fellow love users.
User avatar
Davidobot
Party member
Posts: 1163
Joined: Sat Mar 31, 2012 5:18 am
Location: Cambridge, UK
Contact:

Re: Microphone Support for LÖVE!

Post by Davidobot » Sat Dec 20, 2014 9:35 am

Jasoco wrote:So what exactly can you do with microphone support in Löve?
Voice communication in multiplayer games, maybe?
My projects: Raycaster, love.js v11.3 port
itch page: link
My website: link
My library: LovelyMoon

User avatar
Jasoco
Inner party member
Posts: 3651
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Microphone Support for LÖVE!

Post by Jasoco » Sat Dec 20, 2014 6:19 pm

Davidobot wrote:
Jasoco wrote:So what exactly can you do with microphone support in Löve?
Voice communication in multiplayer games, maybe?
I guess so. Can Löve send that data over the internet?

User avatar
slime
Solid Snayke
Posts: 2888
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: Microphone Support for LÖVE!

Post by slime » Sat Dec 20, 2014 6:46 pm

Jasoco wrote:Can Löve send that data over the internet?
Yes, although it'll use a very large amount of bandwidth if you don't use a voice compression codec like Speex.

User avatar
igneous
Prole
Posts: 10
Joined: Wed Dec 31, 2008 5:35 am

Re: Microphone Support for LÖVE!

Post by igneous » Sat Dec 20, 2014 11:36 pm

slime wrote:
Jasoco wrote:Can Löve send that data over the internet?
Yes, although it'll use a very large amount of bandwidth if you don't use a voice compression codec like Speex.
Would it be possible to include a couple open-source voice-specific codecs in a future version of love? I'd love to see opus or celt support in love.audio.

EliterScripts
Citizen
Posts: 85
Joined: Sat Oct 25, 2014 7:07 pm

Re: Microphone Support for LÖVE!

Post by EliterScripts » Sun Feb 08, 2015 9:14 pm

How do I use this? Like, do I slap this into a directory, then, in love.load put

Code: Select all

mic=require("I don't know")
? How do I use this? I really don't know the language of anything that is not lua.

User avatar
Helvecta
Party member
Posts: 167
Joined: Wed Sep 26, 2012 6:35 pm

Re: Microphone Support for LÖVE!

Post by Helvecta » Tue Feb 10, 2015 2:58 am

EliterScripts wrote:How do I use this? Like, do I slap this into a directory, then, in love.load put

Code: Select all

mic=require("I don't know")
? How do I use this? I really don't know the language of anything that is not lua.
Here's the snippet that LPGhatguy included in the samples. Check out the code in main.lua, you only need to require "love-microphone"!!

As an aside, I freaking love you OP, I've been waiting around for a year for this. I AM SO HYPED!! :awesome: :awesome: :awesome: :awesome: :awesome:
Attachments
Mic test.love
(10.33 KiB) Downloaded 199 times
"Bump." -CMFIend420

Operarus
Prole
Posts: 7
Joined: Thu May 08, 2014 2:20 pm

Re: Microphone Support for LÖVE!

Post by Operarus » Thu Apr 16, 2015 6:40 pm

How can I run this lib on android?
Maybe I need to compile the LOVE-android-port with a permission of the microphone?

User avatar
qubodup
Inner party member
Posts: 775
Joined: Sat Jun 21, 2008 9:21 pm
Location: Berlin, Germany
Contact:

Re: Microphone Support for LÖVE!

Post by qubodup » Fri Apr 17, 2015 12:11 am

This is fun to play with if you manage to use output as input :)

http://youtu.be/dBObtPSrexk
lg.newImage("cat.png") -- made possible by lg = love.graphics
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)

User avatar
T-Bone
Inner party member
Posts: 1492
Joined: Thu Jun 09, 2011 9:03 am

Re: Microphone Support for LÖVE!

Post by T-Bone » Fri Apr 17, 2015 3:35 am

Jasoco wrote:So what exactly can you do with microphone support in Löve? It's not like you can process voice commands in real-time.

Maybe emulate the Famicom to kill rabbit enemies in a Zelda game or stuff the DS, 3DS and Wii U do in some games?
Once you've played the masterpiece that is Takeshi no Chousenjou, you'll never want to play a game that doesn't require you to yell at it when you lose.

User avatar
qubodup
Inner party member
Posts: 775
Joined: Sat Jun 21, 2008 9:21 pm
Location: Berlin, Germany
Contact:

Re: Microphone Support for LÖVE!

Post by qubodup » Fri Apr 17, 2015 7:50 am

Jasoco wrote:So what exactly can you do with microphone support in Löve?
Let WOOORRK! inspire you!
lg.newImage("cat.png") -- made possible by lg = love.graphics
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)

Post Reply

Who is online

Users browsing this forum: No registered users and 22 guests