Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jun 10 00:53

    osakared-build on main

    Initial commit Add Gitter badge Merge pull request #1 from gitt… and 54 more (compare)

  • Jun 10 00:48

    osakared-build on main

    Generating docs of haxe externs… Added haxe translation of boile… (compare)

  • Sep 15 2020 03:00

    osakared-build on main

    Updated haxe version (compare)

  • Aug 26 2020 19:28

    thomasjwebb on master

    (compare)

  • Aug 26 2020 19:25

    osakared-build on main

    Updated grig versions, added ge… (compare)

  • Jul 31 2020 20:58

    osakared-build on main

    Initial commit.. nothing to see… Added license More changes and 7 more (compare)

  • Nov 13 2019 05:02

    osakared-build on master

    Initial commit Add Gitter badge Merge pull request #1 from gitt… and 52 more (compare)

  • Nov 13 2019 05:00

    osakared-build on master

    Initial work on fmod js bindings Finished adding externs to Syst… Added disclaimer (compare)

  • May 09 2019 14:48

    osakared-build on master

    Switched to using haxelib versi… (compare)

  • May 01 2019 04:43

    osakared-build on master

    Added velocity sensitivity back… (compare)

  • May 01 2019 04:36

    osakared-build on master

    Removed files I have no idea ho… (compare)

  • May 01 2019 04:28

    osakared-build on master

    Switched to using entire block … Added EG to MonoFMSynth for a c… Made examples sound a little be… (compare)

  • Apr 30 2019 04:54

    osakared-build on master

    Fading in and out to prevent cl… (compare)

  • Mar 28 2019 04:48

    osakared-build on master

    Added separate fmsynth project (compare)

  • Mar 26 2019 03:07

    osakared-build on master

    Experimenting with simple singl… (compare)

  • Mar 25 2019 02:47

    osakared-build on master

    Updated haxe version and added … Added beginning of MonoSynth ex… Work on MonoSynth example (compare)

  • Mar 10 2019 18:43

    osakared-build on master

    Removed stuff that has been mov… (compare)

  • Feb 18 2019 20:07

    osakared-build on master

    Updated to reflect python pyaud… (compare)

  • Feb 17 2019 04:05

    osakared-build on master

    Added targets that have been im… (compare)

  • Feb 05 2019 06:08

    osakared-build on master

    Downgrading to old lix version … (compare)

brusand
@brusand
yes i saw. i have a stupid question, why there are 2 chanels in the audio callback ? and what is input and output channel ? if i want to get all the frequencies in a circular buffer, i have to add the both channel in it ?
and if i well understand , there a timestamp of capture in audiooptions ?
Thomas J. Webb
@thomasjwebb
Input is from the mic if you're connected to one and output is what goes into the speakers. It's 2 channels because it's stereo but it could be a different number if it's configured for a different number of channels. There is a timestamp so you can keep time even if there's a buffer underrun but it doesn't have true timestamps in environments that don't supply it (like webaudio and openal).
brusand
@brusand
hi thomas, i have some isssue with your audio inout buffer. When i connect to the mic, i have a lot of noise, even when no sound, i have some input in the buffer. How can i filter them ?
'''
private function audioCallbackWithInput(input:grig.audio.AudioBuffer, output:grig.audio.AudioBuffer, sampleRate:Float, audioStreamInfo:grig.audio.AudioStreamInfo)
{
var channel = output.channels[0];
var dataBytesArray:ByteArray = new ByteArray();
dataBytesArray.clear;
for (i in 0...channel.length) {
//phase += 0.1;
//channel[i] = Math.sin(phase) 0.3 + input.channels[0][i] 0.3;
dataBytesArray.writeFloat(input.channels[0][i]);
}
input.clear;
this.callBack(dataBytesArray);
}
'''
Thomas J. Webb
@thomasjwebb
What does the noise sound like? Is it just ambient noise or is there any distortion to it?
Or is it harsh digital noise?
brusand
@brusand
i don t know
Thomas J. Webb
@thomasjwebb
Does it get noisier if you clap?
brusand
@brusand
i have some note during some silence (no claping)
how can i send snapshot ?
Thomas J. Webb
@thomasjwebb
Oh you could make a callback collect the buffers and write to a file. I might not have made an example of that. What OS are you in?
And what target?
brusand
@brusand
i am on mac os and send to circular buffer
oki i try to do that
Thomas J. Webb
@thomasjwebb
Oh ok. Tonight when I’m not working for a client I can look at it more.
brusand
@brusand
rophone.hx:79: -0.000473924184916541
MyApplication.js:24657 src/media/Microphone.hx:79: -0.00028797693084925413
MyApplication.js:24657 src/media/Microphone.hx:79: -0.00024772388860583305
MyApplication.js:24657 src/media/Microphone.hx:79: -0.0002027826412813738
MyApplication.js:24657 src/media/Microphone.hx:79: -0.0002715502923820168
MyApplication.js:24657 src/media/Microphone.hx:79: -0.00020824780222028494
MyApplication.js:24657 src/media/Microphone.hx:79: -0.00017355888849124312
MyApplication.js:24657 src/media/Microphone.hx:79: -0.00031544335070066154
MyApplication.js:24657 src/media/Microphone.hx:79: -0.00013550350558944046
MyApplication.js:24657 src/media/Microphone.hx:79: -0.00020666696946136653
MyApplication.js:24657 src/media/Microphone.hx:79: -0.0001317139103775844
MyApplication.js:24657 src/media/Microphone.hx:79: -0.0002204562770202756
MyApplication.js:24657 src/media/Microphone.hx:79: -0.00029738183366134763
MyApplication.js:24657 src/media/Microphone.hx:79: 0.00017812129226513207
MyApplication.js:24657 src/media/Microphone.hx:79: 0.00010081476648338139
MyApplication.js:24657 src/media/Microphone.hx:79: -0.0002246346848551184
MyApplication.js:24657 src/media/Microphone.hx:79: -0.00003725064016180113
MyApplication.js:24657 src/media/Microphone.hx:79: 0.00007402047049254179
MyApplication.js:24657 src/media/Microphone.hx:79: -0.00032041093800216913
MyApplication.js:24657 src/media/Microphone.hx:79: -0.0002939028199762106
MyApplication.js:24657 src/media/Microphone.hx:79: -0.0000048436377255711704
MyApplication.js:24657 src/media/Microphone.hx:79: -0.0004634085635188967
MyApplication.js:24657 src/media/Microphone.hx:79: -0.0006297017098404467
MyApplication.js:24657 src/media/Microphone.hx:79: -0.0002778245252557099
MyApplication.js:24657 src/media/Microphone.hx:79: -0.0003970316029153764
MyApplication.js:24657 src/media/Microphone.hx:79: -0.0007491848664358258
MyApplication.js:24657 src/media/Microphone.hx:79: -0.0007422434282489121
MyApplication.js:24657 src/media/Microphone.hx:79: -0.0005391527665778995
MyApplication.js:24657 src/media/Microphone.hx:79: -0.0005534329684451222
MyApplication.js:24657 src/media/Microphone.hx:79: -0.00047920990618877113
1 reply
i am on a html5 and featherUi
Gonzzalezz
@Gonzzalezz
Good evening every one
Thomas J. Webb
@thomasjwebb
Hello
Gonzzalezz
@Gonzzalezz
Sorry, I got it working !
Thanks; have a good night
jobf
@jobf
hello hello
I was just trying to get the fm synth examples going again and have made the following changes to bring up to date with AudioChannelData - jamesobfisher/grig.synth@3606dcb
and now I get
SynthChannel.hx:29: characters 28-55 : haxe.io.Float32Array should be grig.audio.AudioChannelImpl
SynthChannel.hx:29: characters 28-55 : ... For function argument 'channel'
jobf
@jobf
oh hm my version of grig.audio was behind - there is no AudioChannelData anymore
Thomas J. Webb
@thomasjwebb
Oh ok. I was going to say I changed it around a lot and I have another branch on grig.audio that’s almost ready to be merged in soon. I’ll make sure to fix whatever that breaks in other repos when I do.
I see the cpp redo is coming along too ^_^
Thomas J. Webb
@thomasjwebb
Oh yeah. The cpp redo is actually done. It’s just that I refactored the interface at the same time and it’s that refactor that’s not done yet.
jobf
@jobf
I see
cool stuff
looking at it again I was actually on the cpp branch
jobf
@jobf
looks like AudioChannelData should work but for some reason it's not picking up the target specific implementation here - https://gitlab.com/haxe-grig/grig.audio/-/blob/redocpp/src/grig/audio/AudioChannelData.hx
Thomas J. Webb
@thomasjwebb
Yeah that branch doesn’t compile right now because I’m actively changing the interfaces in it.
I think I want to get it where I can make documentation including multiple targets. I can’t do thar right now because it just uses a different definition of the same classes based on the target so they can’t actually be merged.
So I might make things work more like they do in grig.controller, where I used interfaces.
jobf
@jobf
aha
I've been testing out semmi's peote gui libs - https://github.com/maitag/ - he says hi btw :)
ported my old haxe ui project over to use peote and it's pretty exciting stuff
pure open gl lib across targets
will get something published soon and share :)
Thomas J. Webb
@thomasjwebb
Ooh nice! Yeah his stuff is interesting. It was awesome seeing grig.midi used in a music video. I’ll be sure to work on grig this weekend. I did a lot of work recently using haxe for a bitwig controller script and that took time from my grig.audio fixes.
jobf
@jobf
here is the preview ^_^ https://jamesobfisher.gitlab.io/tnt/
it's very alpha, but it should work, all relies on web audio api for now but the UI can compile cross target
will see if I can port it to grig in due course!
jobf
@jobf
bound keys to track length now so you can go nuts with polymeter
polymeter-demo
Thomas J. Webb
@thomasjwebb
Nice! I might end up putting some of the synth demos I've made into grig.synth because I actually think the demo fm synth I made is better than the port I did of libfmsynth earlier.
Definitely some cool polymeter possibilities with that.