Search found 57 matches

by Dr. Peeps
Thu Jan 12, 2017 12:52 am
Forum: Libraries and Tools
Topic: Microphone Support for LÖVE!
Replies: 62
Views: 15703

Re: Microphone Support for LÖVE!

raidho36 wrote:

Code: Select all

	inputs = love.audio.getRecordingDevices ( )
	inputs[ 1 ]:start ( )
Thanks! Seems to work.

Hmm, the source lists RecordingDevice:startRecording() as a method, but that's not called in this example - just RecordingDevice:start(). :?
by Dr. Peeps
Wed Jan 11, 2017 10:11 pm
Forum: Support and Development
Topic: SoundQueues
Replies: 68
Views: 8102

Re: SoundQueues

This demo doesn't produce any sound for me (0.11). I assume that's what it's meant to do when the keyboard is pressed? I know you wrote 0.11, but just to make sure, 0.11 is not yet released, the latest löve release is 0.10.2, so if you do have 0.11, the only ways you could have it is if you either ...
by Dr. Peeps
Wed Jan 11, 2017 9:42 pm
Forum: Libraries and Tools
Topic: Microphone Support for LÖVE!
Replies: 62
Views: 15703

Re: Microphone Support for LÖVE!

I'm just looking at the new RecordingDevice class implemented in 0.11 (and excited about it!). Does anyone have some simple example code? The link given doesn't seem to contain anything (http://hastebin.com/revohalixi.lua). Thanks in advance.
by Dr. Peeps
Wed Jan 11, 2017 9:28 pm
Forum: Support and Development
Topic: SoundQueues
Replies: 68
Views: 8102

Re: SoundQueues

Nixola wrote:This is my threaded demo! It uses a fast loop anyway though, since it's meant to be played and I want responsive input.
Github repo
This demo doesn't produce any sound for me (0.11). I assume that's what it's meant to do when the keyboard is pressed?
by Dr. Peeps
Mon Oct 17, 2016 5:42 am
Forum: Support and Development
Topic: Crunching Numbers
Replies: 4
Views: 729

Re: Crunching Numbers

You're forgetting LÖVE uses LuaJIT which compiles code to native instructions, and using FFI data structures eliminates much of the overhead associated with table lookups and weakly typed variables management. Not so much forgetting ... I didn't even know that LuaJIT was now the default. :crazy: An...
by Dr. Peeps
Mon Oct 17, 2016 1:41 am
Forum: Support and Development
Topic: Crunching Numbers
Replies: 4
Views: 729

Crunching Numbers

Hi! I'm looking for recommendations from more experienced Love2D users than I. My project requires processing a fairly large amount of incoming data in real-time (audio signal processing, to be specific). I've already written the core processing functions in C/C++, and I don't think rewriting them i...
by Dr. Peeps
Sun Jun 19, 2016 8:30 pm
Forum: General
Topic: Handling Depth?
Replies: 4
Views: 1840

Re: Handling Depth?

Is it not possible to use the OpenGL z depth at all in Love then? I'm currently working on some shaders, and it would be nice to use the z coordinates that are automatically passed to the shaders anyway (which I assume are always sent as zero from Love?), rather than have to send them separately mys...