Recherche avancée

Médias (0)

Mot : - Tags -/tags

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (30)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (5628)

  • I have a problem with my custom discord bot

    23 avril 2021, par madfrejen

    So, im making a discord bot for me and my friends in visual studio code, and recently i tried to make a music function where if i do the command .play it would join the channel i was in and play musik. I used ytdl-core and yt-search to play the music, but i got an error message :

    


    client.commands.get('play').execute(message, args);
                               ^

TypeError: Cannot read property 'execute' of undefined


    


    This is the code where the error seems to occur :

    


    else if(command == 'play'){
    client.commands.get('play').execute(message, args);


    


    and this is the command code

    


    module.exports = {
name: 'clear',
description: "Clears x amount of messages!",
async execute(message, args) {


    if(!args[0]) return message.reply("Skriv venligst hvor mange beskeder jeg skal slette :)");
    if(isNaN(args[0])) return message.reply("Skriv venligst et rigtigt tal!");

    if(args[0] > 100) return message.reply("Du kan ikke slette mere end 100 beskeder!");
    if(args[0] < 1) return message.reply("Du skal slette mindst 1 besked!");

    let role = message.member.roles.cache.some(r => r.name === "Admin");
    if(message.member.roles.cache.some(r => r.name === "Admin")){

        await message.channel.messages.fetch({limits: args[0]}).then(messages =>{
            message.channel.bulkDelete(messages);
        })
    
    }
}


    


    }

    


    

if you need any more code or information please text me, im new to coding :)


    


  • ffmpeg/sox audio processing : Merging files with envelope changes

    2 octobre 2020, par March Hare

    So I have two audio files. One is a music bed with an intro that segues into a looping music clip (let's call this *1). The second is the voice over audio track (referenced as *2, length n).

    


    Audio *1 is fixed, while the voice over (*2) is downloaded about 3 times a day, and can vary in length. *1 is longer than we ever expect *2 to be.

    


    What I need to do is

    


      

    1. Alter the overall gain of *1 to -7.5 dB
    2. 


    3. Begin merging VO *2 at time m, while reducing the volume envelope of *1 by -11 dB. This is fixed based on the length of the intro.
    4. 


    5. Fade everything out to -∞ dB around the end of *2
    6. 


    7. Trim off the silence at the end.
For reference, the total length of the final track should be m+n.
    8. 


    


    Unfortunately, I'm not versed enough with ffmpeg or sox to know exactly what I'm after here, and a lot of the examples tend to do one thing or another and aren't always clear when combining happens. I didn't get a lot of prior notice about this coming down the pipeline, so I'd like to get something relatively quick. We're able to do all of this stuff nicely in Adobe Audition (and I can do something similar in Audacity), but the idea is to automate it. For our envelope adjustments, we were just using linear ramps rather than smoothsteps, and that sounded fine.

    


    The TLDR : The VO track *2 governs how long the file winds up being, while audio bed *1 needs to be ducked when *2 begins, and the whole thing faded out right when *2 ends.

    


    We also have an automation system (radio station automation, specialized for something different than I need), so in a pinch if we have to just cut off the audio at the end of *2, we can get the fadeout from the radio automation system.

    


    I've been using the information at this link to some effect (specifically the bit about ffmpeg volumes), but it still isn't dynamic enough for the situation.
Envelope pattern in SoX (Sound eXchange) or ffmpeg

    


    Anyone have any advice on this one ? I've got Sox and ffmpeg available, and if need be I can probably install other tools as well.

    


  • FFmpeg Change audio filter parameters during runtime

    31 janvier 2021, par cs guy

    I am making a music app where the user can add FX to playing music through a pad. I am using FFmpeg in C++ to dsp. In FFmpeg you can create an audio filter and set it parameters just like the following :

    


        beat_fx = avfilter_get_by_name("aecho");
    beat_fx_ctx = avfilter_graph_alloc_filter(filterGraph, beat_fx, "echo");
    av_opt_set(beat_fx_ctx, "decays", std::to_string(std::max(0.00001, (beatFX.xSoundPerc + 1) / (double)2)).c_str(), AV_OPT_SEARCH_CHILDREN);
    av_opt_set(beat_fx_ctx, "delays",   std::to_string(beatFX.ms).c_str(), AV_OPT_SEARCH_CHILDREN);
    av_opt_set_double(beat_fx_ctx, "in_gain", 1.0, AV_OPT_SEARCH_CHILDREN);
    av_opt_set_double(beat_fx_ctx, "out_gain", 1.0, AV_OPT_SEARCH_CHILDREN);

    if (avfilter_init_str(beat_fx_ctx, nullptr) < 0) {
        LOGE("FXProcessor::FXProcessor Could not initialize the beat_fx_ctx filter!");
        isOff = true;
        return;
    }


    


    My problem is since the user will use a FX pad to change these parameters I need to be able to modify these parameters during runtime.

    


    Looking at ffmpeg filter documentation :

    


    


    Some options can be changed during the operation of the filter using a
command. These options are marked ’T’ on the output of ffmpeg -h
filter=. The name of the command is the name of the
option and the argument is the new value.

    


    


    I looked at aecho, agate, acrusher and more but nearly all the effects I want have 0 modifiable option which makes my FX pad nonadjustable. I am not using command line to process my effects, so maybe the link above is irrelevant.

    


    Is there a way to make ffmpeg audio filters change their parameters during runtime ?