Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 26 20:59

    jcelerier on master

    [pd] Look for externals in the … (compare)

  • Nov 25 18:04

    jcelerier on master

    [ui] Clean selection stack more… [gfx] Fix swapchain double-dele… (compare)

  • Nov 25 13:14

    jcelerier on master

    [ci] Build fix due to missing i… (compare)

  • Nov 25 12:10

    jcelerier on master

    [qt6] Allow to build against Qt… (compare)

  • Nov 25 12:09

    jcelerier on master

    [controlsurface] Remove unneede… (compare)

  • Nov 25 09:57
    jcelerier demilestoned #1306
  • Nov 25 09:57
    jcelerier milestoned #1306
  • Nov 25 09:57
    jcelerier commented #1306
  • Nov 25 09:56

    jcelerier on master

    [audio] ALSA: fix period count … (compare)

  • Nov 25 09:54

    jcelerier on master

    [win32] Try to disable MSVC opt… (compare)

  • Nov 24 21:57
    thibaudk commented #1308
  • Nov 24 18:14
    jcelerier commented #1308
  • Nov 24 17:53
    jcelerier closed #1085
  • Nov 24 17:53

    jcelerier on master

    [mapper] Use floats even in the… (compare)

  • Nov 24 17:47
    jcelerier closed #732
  • Nov 24 17:47
    jcelerier commented #732
  • Nov 24 17:42
    jcelerier milestoned #1319
  • Nov 24 17:42
    jcelerier labeled #1319
  • Nov 24 17:42
    jcelerier labeled #1319
  • Nov 24 17:42
    jcelerier assigned #1319
Thibaud Keller
@thibaudk
Perfect ! we do need a lot of those
for docs, a great place to start would be that empty section on the mapper as we mentionned
you can find it here
along with evry other feature listed
Thibaud Keller
@thibaudk
Any feedback or edits would be greatly appreciated !
And of course your feedback here is already helping a lot. keep it coming !
Pia Baltazar
@bltzr

btw - how would you suggest to understand cpp better? I understand higher languages quite well and also read a 101 book on cpp - but in real life cpp looks really complicated and difficult to understand/where to start. is there any advice you can give on this topic?

I went through all of Programming: Principles and Practice Using C++
Book by Bjarne Stroustrup
It took me a few months half-time, but that was time well-spent, I guess...

gus
@gusmccallum
Hi I'm just starting out trying to work on score and had some questions on setup. I'm trying to follow the instructions on setup for use with visual studio on windows and was confused by this part. Should visual studio be installed in this dev folder? I think there's an image missing maybe that would help. Screenshot
Jean-Michaël Celerier
@jcelerier
hi @gusmccallum
hmmm
developing on windows is
though
:)
this is from the documentation right ?
my recommendation would be to follow what the build script does
but be aware that on win32 the build is fairly slow when compared to linux
here's the script that fetches the dependencies
(they have to be installed in that exact c:/ossia-sdk folder, e.g. you should have c:/ossia-sdk/llvm/bin/clang.exe)
then you can run CMake
though in your case it will look more like this (the options in the CI build script are for making the actual release builds which are more optimized, have more features, and also take much more time to build)
cmake -GNinja %BUILD_SOURCESDIRECTORY% ^
  -DCMAKE_C_COMPILER=c:/ossia-sdk/llvm/bin/clang.exe ^
  -DCMAKE_CXX_COMPILER=c:/ossia-sdk/llvm/bin/clang++.exe ^
  -DOSSIA_SDK=c:\ossia-sdk ^
  -DSCORE_PCH=1 ^
  -DCMAKE_BUILD_TYPE=Debug
(replace %BUILD_SOURCESDIRECTORY% with e.g. c:/path/to/the/git/repo/of/score)
gus
@gusmccallum
Ok thanks!
Jean-Michaël Celerier
@jcelerier
tell me if you're stuck at any point, during the day I don't have much time until the end of the week but I'll try to keep an eye open
(also I recommend ninja for building as it's the fastest option on windows but you must have it in your PATH)
the initial build will be quite slow but once you have it subsequent builds should be ok
gus
@gusmccallum
Ok will do, and thanks good to know!
Jean-Michaël Celerier
@jcelerier
then I think that VS can open the CMake build folder but I'm not sure ? Or VSCode can do it, or Qt Creator, or CLion if you have any of those
gus
@gusmccallum
Ok
I'll try in VS and use one of the other ones if it's not working
Gauthier Segay
@smoothdeveloper

not sure if this channel is ok as a "ask C++ experts in context of multimedia related development", I'm wondering if I can use constexpr to initialize a static data structure definining parameters (of std::variant kind) for a VST plugin I'm trying to refactor a bit?

I'm not super familiar with uptodate C++, but kind of a language freak (very much into F#) and trying to use C++ features better for type safety and maintainability of the code, leveraging same techniques I'm used in F# or related languages.

I haven't looked much into OSSIA score at this point (but a person working on above project on the artists side told me about it being potential use for us later on), but came here through the recent post on HN about avendish, and figured this seems like the right place to help me skill up a bit on C++, right around people doing the kind of software engineering I love :)

s.a.d.
@depfriedpizza_twitter
Hi! Score v3.0.0-rc1 crashing on startup, showing message about missing .dll file (api-ms-win-core-console-l3-2-0). I'm using win10. Any ideas on this?
Gauthier Segay
@smoothdeveloper
@depfriedpizza_twitter not sure, it could be the program "works on my machine" when some windows SDK is installed but not otherwise (making it harder for actual developers to figure the issue in the first place)

https://docs.microsoft.com/en-us/answers/questions/297861/api-ms-win-core-console-l3-2-0dll-missing-from-sdk.html

For windows 10 version lower than 10.0.17134, api-ms-win-core-console-l3-2-0 is not available.

you may check your version of windows 10, if it is lower
s.a.d.
@depfriedpizza_twitter
@smoothdeveloper Thanks, i checked another builds. 3.0 a20 works fine
Gauthier Segay
@smoothdeveloper
@depfriedpizza_twitter great, thanks for the update, so maybe there is something with the build system assembling those binaries which changed.
regarding my above question, constexpr functions look great, refactoring away now :)
Jean-Michaël Celerier
@jcelerier
hi !
@smoothdeveloper I think it's a good use of this channel too ;p

if I can use constexpr to initialize a static data structure definining parameters

yes :)

what matters is that all your data types are constexpr too
std::variant has constexpr ctors
you can even do all the operations in constexpr context if you're starting from constexpr data: https://gcc.godbolt.org/z/nfzh5P54x
that's of limited use in audio tho
@depfriedpizza_twitter thanks for the report
hmm
that's generally because of old windows versions indeed, but I wonder what did cause that requirement