Search found 13 matches
- Wed Apr 26, 2023 9:51 pm
- Forum: Libraries and Tools
- Topic: LuaPd - Real-time audio synthesis with Pd (Pure Data)
- Replies: 9
- Views: 17895
Re: LuaPd - Real-time audio synthesis with Pd (Pure Data)
What a great job. I've been working with Pure Data and Lua for a while and this library it is just amazing. But I have a question: Is it only work in Love? Or we can use this library only with a Lua code? In theory, it should be able to work with anything written in Lua. One thing to bear in mind i...
- Mon May 17, 2021 2:09 pm
- Forum: Games and Creations
- Topic: Go Board Game
- Replies: 2
- Views: 7525
Re: Go Board Game
Is AI like Alpha Go? Actually, there isn't any AI. This is basically just a GUI interface for an external AI. I recommend using GNU Go, which is probably nowhere near as sophisticated as Alpha Go, but in theory you should be able to swap out GNU Go with any other AI so long as it uses GTP (Go Text ...
- Sun May 16, 2021 11:56 pm
- Forum: Games and Creations
- Topic: Go Board Game
- Replies: 2
- Views: 7525
Go Board Game
Repository: https://github.com/myQwil/love-go go.love screenshot.png The squares with up and down arrows work by clicking and dragging up and down to change their values. The game requires GNU Go so that it can be used as an "Oracle" to generate its board positions. Getting GNU Go for Linu...
- Mon Dec 28, 2020 12:57 am
- Forum: Libraries and Tools
- Topic: LuaPd - Real-time audio synthesis with Pd (Pure Data)
- Replies: 9
- Views: 17895
Re: LuaPd - Real-time audio synthesis with Pd (Pure Data)
I recently discovered that while the Windows version was working on my end, it most likely hasn't been working for anyone else on Windows unless they had MSYS2 with a specific set of packages already installed. I worked out which libraries were needed by luapd.dll and hopefully it should now work fo...
- Mon Dec 21, 2020 8:38 pm
- Forum: Libraries and Tools
- Topic: LuaPd - Real-time audio synthesis with Pd (Pure Data)
- Replies: 9
- Views: 17895
Re: LuaPd - Real-time audio synthesis with Pd (Pure Data)
I think this is the first time in my life I've heard of JACK having more latency than Pulse; how are they both configured? It's the "Pulseaudio JACK Sink" setup, so it's still using pulse but then additionally being sent through JACK. Also it had a lot to do with the size of the buffers t...
- Sun Dec 20, 2020 8:42 pm
- Forum: Libraries and Tools
- Topic: LuaPd - Real-time audio synthesis with Pd (Pure Data)
- Replies: 9
- Views: 17895
Re: LuaPd - Real-time audio synthesis with Pd (Pure Data)
Cool, I look forward to seeing your composer project :) The first time I tried using a thread, I don't think I had a firm enough grasp over how they worked, but I've recently given it another shot and it seems to be working really well. It allows for a much smaller delay. I'll update the zip as soon...
- Sun Dec 20, 2020 8:57 am
- Forum: Libraries and Tools
- Topic: LuaPd - Real-time audio synthesis with Pd (Pure Data)
- Replies: 9
- Views: 17895
LuaPd - Real-time audio synthesis with Pd (Pure Data)
Github Repository: https://github.com/myQwil/luapd luapd.zip Pd is an open source visual programming language for multimedia. It is a major branch of the family of patcher programming languages known as Max (Max/FTS, ISPW Max, Max/MSP, etc), originally developed by Miller Puckette. More info about P...
- Sun Dec 06, 2020 3:21 am
- Forum: Support and Development
- Topic: Queueable sources don't always free buffers
- Replies: 3
- Views: 3035
Re: Queueable sources don't always free buffers
One thing I hadn't taken into account was my JACK audio server. It was running at 1024 frames/period with 2 buffers, resulting in an additional 42.7 ms of delay, so I was able to lower that to 16 ms, which makes a considerable difference.
- Sat Dec 05, 2020 11:52 pm
- Forum: Support and Development
- Topic: Queueable sources don't always free buffers
- Replies: 3
- Views: 3035
Queueable sources don't always free buffers
I'm looking to create a queueable audio source with the least amount of delay that I can possibly get away with before stuttering occurs. This is my main.lua: size ,samplerate ,bitdepth ,channels ,buffers = 128 ,48000 ,16 ,1 ,8 bufs_per_ms = (samplerate / 1000) / size function love.load() sdata = lo...
- Sat Dec 05, 2020 7:23 pm
- Forum: Support and Development
- Topic: Get the sample rate of the default playback audio device
- Replies: 7
- Views: 6797
Re: Get the sample rate of the default playback audio device
I got it to work without the Buffer class. ffi.new needs to be written as "ALCint[1]" Also, the library that Windows users need to load is "OpenAL32" Here's the full solution. samplerate.lua: local ffi = require('ffi') local openal = (ffi.os == 'Windows') and ffi.load('OpenAL32')...