Microphone Support for LÖVE!

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

Re: Microphone Support for LÖVE!

Post by Davidobot »

Jasoco wrote:So what exactly can you do with microphone support in Löve?
Voice communication in multiplayer games, maybe?
PM me on here or elsewhere if you'd like to discuss porting your game to Nintendo Switch via mazette!
personal page and a raycaster
User avatar
Jasoco
Inner party member
Posts: 3727
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Microphone Support for LÖVE!

Post by Jasoco »

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: 3166
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: Microphone Support for LÖVE!

Post by slime »

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 »

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 »

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 »

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 412 times
"Bump." -CMFIend420
Operarus
Prole
Posts: 7
Joined: Thu May 08, 2014 2:20 pm

Re: Microphone Support for LÖVE!

Post by Operarus »

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 »

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 »

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 »

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 3 guests