Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Apr 04 2021 12:26
    @dom96 banned @acroobat
  • Mar 03 2017 15:52
    @dom96 banned @Octopoda7
  • Feb 12 2017 23:57
    @dom96 banned @zzz125
  • Dec 23 2016 19:43
    @dom96 banned @Izrab
From IRC (bridge bot)
@FromIRC
<FromDiscord> <System64 ~ Flandre Scarlet> sent a code paste, see https://play.nim-lang.org/#ix=3prU
<FromDiscord> <System64 ~ Flandre Scarlet> But I saw an interesting message
<FromDiscord> <haxscramper> well, i literally just copy-pasted the code again and it generated out.wav file
<FromDiscord> <haxscramper> I'm still not sure why are you so convinced it would play any sound though, because that's not what it says in the example
<FromDiscord> <haxscramper> comment
<FromDiscord> <System64 ~ Flandre Scarlet> It says that, that's interesting https://media.discordapp.net/attachments/371759389889003532/852516040033828924/unknown.png
From IRC (bridge bot)
@FromIRC
<FromDiscord> <System64 ~ Flandre Scarlet> In reply to @haxscramper "I'm still not sure": 'cause with the GameMaker plugin, it plays sound
Bung
@bung87
hey , how to version dll source files, I dont want to compile every time the proc calls
From IRC (bridge bot)
@FromIRC
<FromDiscord> <System64 ~ Flandre Scarlet> Well I have a debug dll https://media.discordapp.net/attachments/371759389889003532/852519894053421096/gme.dll
Bung
@bung87
found some one compute all files hash in that dir
From IRC (bridge bot)
@FromIRC
<FromDiscord> <System64 ~ Flandre Scarlet> humm weird, seems it doesn't play any sound even in C, I dunno if I need something else to play sound
Kaushal Modi
@kaushalmodi

System64:

humm weird, seems it doesn't play any sound even in C

So you'd need to first get that working. Engage that lib's developer to help find out if you are missing any dependencies

From IRC (bridge bot)
@FromIRC
<FromDiscord> <haxscramper> sent a code paste, see https://play.nim-lang.org/#ix=3psd
<FromDiscord> <haxscramper> initialize some internal state or start playing things?
<FromDiscord> <System64 ~ Flandre Scarlet> I dunno, what I know is the program creates a wav
From IRC (bridge bot)
@FromIRC
<FromDiscord> <System64 ~ Flandre Scarlet> I think I need something to play the buffer
From IRC (bridge bot)
@FromIRC
<Arrrrrrrr> Metal
<FromDiscord> <System64 ~ Flandre Scarlet> ??
From IRC (bridge bot)
@FromIRC
<Prestige> PMunch: congrats on the 200 stars :⁠)
From IRC (bridge bot)
@FromIRC
<FromDiscord> <System64 ~ Flandre Scarlet> it's me or an audio buffer is just an array of number that describe the waveform?
<FromDiscord> <System64 ~ Flandre Scarlet> (edit) "number" => "numbers"
Kaushal Modi
@kaushalmodi
Everything on a computer is just 1's and 0's
From IRC (bridge bot)
@FromIRC
<FromDiscord> <System64 ~ Flandre Scarlet> I made a loop that prints the values of a buffer and... https://media.discordapp.net/attachments/371759389889003532/852533563878539304/unknown.png
From IRC (bridge bot)
@FromIRC
<FromDiscord> <System64 ~ Flandre Scarlet> But I think GME_PLAY just outputs a buffer
From IRC (bridge bot)
@FromIRC
<FromDiscord> <System64 ~ Flandre Scarlet> Is there a module that can play a buffer ?)
<FromDiscord> <haxscramper> IIRC sdl can work with audio buffers
From IRC (bridge bot)
@FromIRC
<FromDiscord> <System64 ~ Flandre Scarlet> Okay I have sdl2
<FromDiscord> <System64 ~ Flandre Scarlet> So I need to interop with
From IRC (bridge bot)
@FromIRC
<FromDiscord> <haxscramper> There is a SDL wrapper already
From IRC (bridge bot)
@FromIRC
<FromDiscord> <System64 ~ Flandre Scarlet> Oh nice
<FromDiscord> <System64 ~ Flandre Scarlet> Do you mean SDL or SDL_MIXER ?
From IRC (bridge bot)
@FromIRC
<FromDiscord> <System64 ~ Flandre Scarlet> I think SDL_MIXER can do sound too
From IRC (bridge bot)
@FromIRC
<FromDiscord> <Goel> https://github.com/nim-lang/sdl2
Kaushal Modi
@kaushalmodi
timotheecour: Are you here? I am trying to update a testament test. I am seeing that the Hint messages in the discard""" .. """ get shuffled. Is that expected?
Kaushal Modi
@kaushalmodi
Anyways, I created a PR ref: https://github.com/nim-lang/Nim/pull/18232/files . I see that I need to put the warnings in the exact order. I expected the line number changes but not the order of warnings.
From IRC (bridge bot)
@FromIRC
<FromDiscord> <System64 ~ Flandre Scarlet> WTF seems hard to play a buffer!
<ForumUpdaterBot> New thread by Kaushalmodi: Test for nim-lang/Nim#9070, see https://forum.nim-lang.org/t/8104
From IRC (bridge bot)
@FromIRC
<FromDiscord> <Ricky Spanish> anyone konw of any nim packages for formatting text/code files? or something to assist me in setting my own formatting rules easily
<FromDiscord> <System64 ~ Flandre Scarlet> I think I found the C++ code for playing music https://media.discordapp.net/attachments/371759389889003532/852561265595252736/message.cpp
Bung
@bung87
formatting nim code ? nimpretty
From IRC (bridge bot)
@FromIRC
<FromDiscord> <Ricky Spanish> not nim code is the issue, really i want something i can use to define my own rules for formatting text easilly
Bung
@bung87
strutils or strformat has a proc that you can define custom open char and close char
From IRC (bridge bot)
@FromIRC
<FromDiscord> <Ricky Spanish> hm ok thanks ill take a look and see
From IRC (bridge bot)
@FromIRC
<FromDiscord> <haxscramper> In reply to @Ricky Spanish "not nim code is": if you want to try I have reimplementation of google/rfmt code layout algorithm https://haxscramper.github.io/hmisc/src/hmisc/other/blockfmt.html
<FromDiscord> <Ricky Spanish> yes thats exactly the kind of thing im looking for
<FromDiscord> <haxscramper> But it is proof-of-concept at best, so not a lot of examples beyond tests.
<FromDiscord> <Ricky Spanish> worth a try, for now iv got a fairly limited usecase for it anyway so worth experimenting, thanks
From IRC (bridge bot)
@FromIRC
<FromDiscord> <Goel> sent a code paste, see https://play.nim-lang.org/#ix=3pug