IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Contribuez Discussion :

Créer et lire un fichier wav par macro


Sujet :

Contribuez

  1. #1
    Membre éprouvé
    Avatar de fred65200
    Profil pro
    Inscrit en
    Septembre 2007
    Messages
    901
    Détails du profil
    Informations personnelles :
    Âge : 57
    Localisation : France

    Informations forums :
    Inscription : Septembre 2007
    Messages : 901
    Points : 1 207
    Points
    1 207
    Par défaut Créer et lire un fichier wav par macro
    Bonjour,

    Cette macro écrit un fichier .wav dans le répertoire Temp, à partir de tableaux écrits dans la macro et le lit.

    Utilisation d'un tableau de tableaux

    Le module est trop long pour être inclus en texte sur le site.
    Les macros InitSon4, InitSon5, InitSon6 sont en pièces jointes.


    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    Option Explicit
    'Le fichier son est créé à partir d'un tableau.
    'À cause des contraintes de VBE,
    ' - ligne de 1024 caractères maximum
    ' - 25 caractères de continuité maximum
    'le tableau principal est séparé en plusieurs tableaux
     
    'Pour le chemin du répertoire Temp
    Private Declare Function GetTempPath Lib "kernel32" _
        Alias "GetTempPathA" ( _
        ByVal nBufferLength As Long, _
        ByVal lpBuffer As String) As Long
     
    Const MAX_PATH = 260
     
    Dim tabSon As Variant
    Dim tabSon1 As Variant, tabSon2 As Variant, tabSon3 As Variant
    Dim tabSon4 As Variant, tabSon5 As Variant, tabSon6 As Variant
     
    Sub CreationSon()
    Dim fichierSon As String
    Dim i As Long, j As Long
    Dim F As Integer
    Dim b As Byte
     
    fichierSon = GetTemporyFolderPath & "monSon.wav"
     
    'Obligation de séparer les macros pour éviter «les procédures trop longues»
    Call InitSon1: Call InitSon2: Call InitSon3: Call InitSon4: Call InitSon5: Call InitSon6
     
    tabSon = Array(tabSon1, tabSon2, tabSon3, tabSon4, tabSon5, tabSon6)
     
    F = FreeFile
    'boucle sur les différents tableaux pour crée le fichier son
    Open fichierSon For Binary Access Write As F
        For i = 0 To UBound(tabSon)
            For j = 0 To UBound(tabSon(i))
                b = tabSon(i)(j)
                Put #F, , b
                DoEvents
            Next j
        Next i
    Close F
     
    'Lecture du fichier son
    Application.ExecuteExcel4Macro "SOUND.PLAY( ,""" & fichierSon & """)"
     
    'Suppresson du fichier son du répertoire Temp
    Kill fichierSon
    End Sub
     
    'Fonction pour connaître le chemin du dossier Temp
    Private Function GetTemporyFolderPath() As String
     
    Dim sBuffer As String
    Dim RV As Long
     
    sBuffer = String(MAX_PATH, Chr(0))
    RV = GetTempPath(MAX_PATH, sBuffer)
    GetTemporyFolderPath = Left(sBuffer, RV)
     
    End Function
    '---------------------------------------------------------------------------------------
    'Pour les tableaux, les lignes ne doivent pas excéder 1024 caractères.
    'Ne pas avoir plus de 25 caractères de continuité _
    '---------------------------------------------------------------------------------------
     
    Sub InitSon1()
    tabSon1 = Array("82", "73", "70", "70", "92", "22", "0", "0", "87", "65", "86", "69", "102", "109", "116", "32", "18", "0", "0", "0", "1", "0", "1", "0", "17", "43", "0", "0", "17", "43", "0", "0", "1", "0", "8", "0", "0", "0", "102", "97", "99", "116", "4", "0", "0", "0", "224", "21", "0", "0", "100", "97", "116", "97", "224", "21", "0", "0", "127", "127", "127", "127", "127", "127", "128", "127", "127", "128", "128", "129", "128", "127", "128", "128", "128", "128", "128", "127", "127", "128", "129", "128", "129", "130", "128", "129", "127", "128", "127", "126", "128", "128", "128", "128", "129", "129", "129", "127", "127", _
        "128", "127", "126", "126", "128", "127", "127", "126", "127", "127", "126", "127", "128", "126", "129", "128", "129", "128", "129", "127", "126", "127", "127", "127", "128", "126", "127", "127", "127", "128", "128", "127", "127", "126", "126", "126", "126", "125", "126", "126", "127", "127", "127", "127", "128", "128", "127", "128", "128", "127", "128", "127", "128", "127", "127", "127", "126", "126", "127", "126", "127", "128", "128", "126", "127", "126", "126", "127", "127", "128", "127", "127", "127", "126", "126", "128", "128", "127", "128", "128", "127", "128", "128", "127", "128", "128", "128", "128", "128", "126", "127", "127", "128", "129", "128", "128", "129", "129", "128", "127", _
        "128", "127", "128", "128", "128", "129", "129", "129", "128", "128", "128", "127", "129", "127", "128", "128", "128", "127", "127", "127", "127", "128", "128", "127", "128", "126", "127", "128", "126", "128", "128", "128", "127", "128", "127", "127", "126", "128", "127", "128", "128", "128", "127", "126", "127", "127", "128", "128", "128", "127", "127", "127", "128", "127", "128", "128", "128", "128", "129", "127", "126", "125", "129", "128", "127", "128", "129", "129", "126", "130", "130", "130", "132", "132", "132", "127", "127", "127", "126", "122", "121", "122", "119", "115", "115", "112", "112", "113", "113", "113", "112", "117", "121", "124", "130", "132", "132", "135", "135", "139", _
        "141", "141", "140", "142", "140", "140", "145", "143", "144", "144", "146", "144", "138", "135", "132", "128", "124", "121", "119", "118", "118", "119", "120", "120", "121", "122", "123", "123", "124", "124", "125", "125", "125", "124", "125", "124", "123", "123", "124", "123", "122", "123", "122", "122", "123", "123", "122", "122", "122", "124", "124", "124", "125", "125", "125", "126", "127", "127", "125", "127", "127", "127", "126", "127", "127", "124", "122", "121", "122", "121", "120", "121", "120", "122", "125", "128", "132", "135", "140", "142", "144", "143", "146", "147", "149", "149", "149", "147", "143", "140", "136", "135", "134", "134", "133", "131", "129", "126", "124", "122", _
        "121", "119", "119", "118", "119", "118", "118", "119", "119", "118", "119", "120", "123", "124", "123", "124", "123", "123", "123", "123", "123", "122", "123", "122", "123", "124", "124", "124", "123", "124", "123", "124", "123", "126", "124", "127", "127", "128", "129", "128", "127", "129", "127", "127", "127", "128", "128", "129", "130", "130", "132", "133", "132", "133", "133", "134", "136", "135", "135", "133", "132", "131", "130", "129", "126", "124", "120", "121", "120", "119", "119", "120", "121", "123", "123", "124", "125", "125", "126", "128", "129", "129", "131", "134", "136", "136", "138", "139", "140", "140", "138", "137", "136", "133", "132", "131", "128", "126", "126", "124", _
        "122", "121", "122", "122", "122", "122", "123", "122", "123", "121", "122", "122", "123", "123", "122", "122", "123", "122", "124", "123", "125", "126", "124", "125", "127", "127", "126", "124", "126", "126", "126", "127", "128", "127", "127", "127", "130", "128", "129", "130", "130", "129", "129", "131", "130", "129", "128", "129", "128", "130", "129", "128", "129", "128", "129", "129", "126", "129", "131", "130", "130", "129", "127", "128", "130", "132", "134", "134", "133", "132", "128", "130", "130", "128", "124", "121", "120", "119", "120", "121", "122", "123", "121", "123", "124", "125", "126", "126", "126", "127", "129", "132", "130", "130", "134", "134", "136", "134", "134", "135", _
        "135", "134", "136", "133", "129", "126", "125", "124", "125", "125", "122", "123", "120", "119", "123", "123", "122", "126", "123", "123", "124", "123", "125", "125", "125", "127", "128", "124", "127", "127", "128", "129", "128", "129", "128", "127", "127", "128", "127", "128", "128", "127", "129", "129", "126", "128", "130", "127", "129", "128", "129", "128", "129", "126", "127", "125", "128", "129", "130", "130", "132", "127", "128", "127", "130", "128", "128", "129", "136", "134", "134", "129", "128", "127", "128", "127", "127", "129", "130", "126", "128", "126", "126", "129", "126", "124", "127", "127", "125", "125", "126", "128", "125", "124", "127", "125", "125", "131", "132", "130", _
        "129", "130", "130", "128", "129", "132", "131", "132", "132", "132", "129", "130", "128", "125", "129", "126", "124", "128", "127", "124", "126", "126", "125", "122", "124", "120", "124", "120", "122", "123", "124", "127", "125", "120", "124", "121", "125", "128", "130", "132", "131", "130", "128", "128", "130", "135", "132", "134", "135", "133", "128", "130", "127", "125", "124", "125", "123", "124", "130", "124", "129", "122", "127", "126", "129", "129", "134", "134", "132", "130", "130", "130", "132", "133", "132", "131", "125", "128", "122", "126", "123", "128", "124", "128", "126", "126", "125", "130", "126", "126", "127", "130", "129", "129", "129", "127", "128", "126", "126", "122", _
        "127", "127", "124", "123", "127", "123", "125", "127", "125", "129", "123", "125", "131", "130", "126", "125", "128", "124", "119", "124", "127", "126", "120", "130", "132", "133", "131", "131", "135", "135", "136", "132", "135", "132", "131", "127", "131", "123", "124", "120", "124", "115", "123", "120", "126", "124", "126", "127", "126", "124", "122", "127", "128", "129", "127", "118", "126", "127", "122", "132", "139", "139", "134", "137", "133", "131", "130", "125", "128", "124", "125", "127", "128", "130", "128", "128", "128", "127", "131", "131", "133", "126", "121", "124", "122", "123", "126", "130", "124", "122", "120", "121", "117", "123", "126", "135", "142", "142", "139", "124", _
        "124", "124", "129", "132", "127", "130", "130", "125", "122", "120", "125", "127", "125", "125", "128", "128", "127", "122", "124", "122", "123", "130", "135", "143", "136", "136", "125", "124", "121", "121", "127", "132", "137", "137", "137", "135", "123", "130", "123", "126", "116", "111", "117", "120", "111", "118", "116", "115", "124", "121", "131", "134", "138", "129", "135", "133", "135", "127", "146", "136", "147", "148", "146", "151", "148", "136", "131", "129", "128", "119", "118", "116", "122", "128", "124", "121", "111", "118", "113", "117", "117", "139", "133", "141", "135", "132", "118", "109", "103", "124", "119", "127", "135", "128", "134", "127", "125", "137", "137", "129")
     
    End Sub
    Sub InitSon2()
    tabSon2 = Array("137", "145", "137", "134", "128", "122", "121", "118", "117", "117", "128", "118", "118", "115", "102", "110", "121", "110", "134", "139", "138", "142", "148", "142", "144", "141", "139", "133", "134", "140", "131", "127", "135", "128", "126", "122", "107", "113", "113", "113", "118", "121", "131", "113", "120", "119", "124", "121", "132", "130", "141", "141", "131", "132", "141", "156", "159", "165", "164", "160", "144", "138", "136", "135", "126", "120", "124", "119", "124", "112", "113", "102", "86", "100", "101", "93", "109", "107", "120", "128", "114", "113", "118", "118", "116", "129", "138", "151", "147", "145", "137", "154", "134", "123", "144", "139", "132", "147", "149", "157", _
        "144", "129", "120", "133", "119", "128", "128", "136", "144", "144", "120", "135", "103", "108", "115", "105", "115", "116", "120", "124", "109", "109", "105", "102", "117", "127", "142", "141", "137", "133", "121", "119", "125", "121", "135", "141", "140", "157", "136", "123", "120", "110", "122", "124", "131", "133", "144", "136", "152", "155", "152", "134", "143", "126", "132", "118", "123", "119", "109", "120", "112", "131", "120", "129", "107", "117", "114", "129", "113", "129", "114", "143", "141", "129", "134", "129", "125", "122", "119", "117", "104", "117", "134", "135", "147", "139", "146", "111", "122", "110", "110", "128", "121", "134", "133", "132", "118", "112", "109", "133", _
        "126", "132", "152", "144", "139", "151", "135", "142", "143", "124", "137", "123", "145", "138", "138", "122", "130", "120", "123", "134", "123", "122", "132", "117", "108", "116", "118", "110", "111", "92", "89", "101", "120", "123", "122", "137", "122", "130", "111", "106", "126", "120", "103", "112", "139", "155", "154", "152", "112", "118", "118", "121", "112", "132", "135", "155", "145", "131", "139", "127", "137", "150", "165", "136", "132", "122", "130", "124", "142", "122", "124", "138", "119", "124", "135", "124", "116", "135", "119", "96", "97", "111", "101", "129", "139", "140", "150", "117", "117", "112", "135", "138", "147", "128", "138", "148", "145", "128", "118", "118", _
        "102", "126", "131", "124", "136", "157", "168", "126", "127", "96", "95", "101", "136", "106", "141", "159", "139", "124", "125", "121", "111", "125", "118", "145", "122", "111", "93", "127", "109", "138", "147", "146", "130", "125", "120", "121", "141", "148", "146", "161", "133", "119", "105", "101", "108", "135", "131", "137", "158", "152", "152", "132", "142", "160", "122", "98", "119", "117", "135", "134", "140", "169", "154", "122", "121", "101", "112", "115", "113", "134", "133", "121", "124", "108", "106", "94", "128", "133", "146", "116", "111", "117", "121", "103", "104", "108", "110", "104", "128", "142", "153", "140", "133", "111", "131", "128", "131", "126", "140", "123", _
        "132", "119", "120", "142", "149", "127", "163", "128", "119", "122", "120", "98", "136", "125", "123", "141", "131", "105", "143", "116", "126", "125", "131", "123", "134", "112", "114", "129", "138", "126", "126", "155", "138", "171", "146", "128", "144", "136", "119", "152", "140", "160", "145", "145", "126", "110", "109", "92", "88", "130", "120", "145", "101", "124", "126", "121", "109", "110", "109", "135", "123", "145", "123", "110", "112", "124", "105", "139", "80", "117", "105", "148", "138", "122", "168", "124", "124", "125", "147", "127", "152", "131", "156", "156", "142", "103", "140", "123", "138", "124", "122", "118", "117", "132", "115", "107", "135", "145", "143", "131", _
        "129", "117", "139", "128", "142", "149", "153", "92", "111", "110", "115", "114", "149", "148", "147", "136", "120", "125", "121", "113", "115", "108", "115", "108", "115", "126", "151", "118", "136", "115", "105", "110", "121", "133", "126", "156", "140", "142", "118", "132", "136", "150", "124", "116", "112", "146", "142", "148", "143", "164", "141", "131", "158", "129", "121", "145", "147", "134", "139", "110", "78", "114", "108", "117", "121", "133", "115", "102", "89", "93", "72", "94", "127", "121", "122", "140", "144", "137", "146", "130", "146", "147", "152", "124", "128", "170", "136", "97", "127", "113", "140", "145", "136", "151", "122", "113", "91", "100", "123", "147", _
        "126", "144", "142", "109", "142", "140", "139", "143", "134", "137", "123", "133", "118", "132", "150", "148", "156", "128", "128", "113", "110", "110", "92", "79", "143", "106", "106", "128", "129", "130", "117", "129", "133", "129", "131", "128", "122", "124", "108", "125", "132", "112", "125", "121", "134", "133", "113", "126", "108", "91", "78", "102", "109", "127", "141", "158", "134", "128", "124", "110", "105", "117", "132", "151", "165", "178", "151", "156", "137", "115", "141", "148", "166", "156", "169", "91", "124", "107", "127", "102", "117", "118", "113", "158", "127", "117", "106", "96", "113", "97", "135", "113", "115", "142", "135", "130", "136", "116", "118", "123", _
        "128", "127", "128", "126", "116", "107", "102", "125", "131", "116", "113", "129", "106", "145", "130", "164", "130", "143", "128", "130", "159", "138", "158", "146", "163", "124", "142", "115", "123", "111", "98", "119", "133", "121", "134", "113", "109", "86", "105", "103", "120", "165", "132", "134", "135", "130", "116", "129", "122", "131", "118", "117", "113", "134", "141", "153", "146", "131", "121", "141", "97", "111", "123", "140", "118", "152", "130", "152", "132", "123", "132", "128", "132", "119", "174", "131", "127", "138", "119", "113", "119", "127", "130", "131", "120", "142", "122", "155", "112", "137", "143", "141", "144", "145", "145", "139", "147", "116", "101", "116", _
        "114", "107", "126", "110", "136", "100", "99", "126", "118", "100", "124", "135", "125", "130", "121", "127", "139", "114", "108", "124", "126", "137", "152", "152", "144", "170", "144", "136", "136", "131", "123", "139", "154", "145", "141", "108", "105", "100", "115", "137", "135", "150", "132", "108", "122", "116", "120", "122", "120", "143", "157", "163", "129", "106", "80", "111", "99", "98", "106", "146", "117", "129", "122", "101", "109", "125", "104", "142", "149", "139", "133", "152", "118", "139", "136", "129", "134", "128", "105", "104", "108", "131", "130", "143", "107", "119", "99", "116", "127", "145", "142", "136", "122", "145", "114", "131", "132", "141", "120", "112", _
        "103", "123", "135", "137", "141", "121", "130", "117", "145", "129", "139", "119", "115", "122", "138", "129", "137", "132", "132", "125", "144", "136", "132", "122", "126", "133", "117", "123", "120", "89", "110", "125", "150", "138", "158", "149", "120", "133", "99", "104", "123", "138", "134", "140", "131", "110", "124", "131", "133", "123", "146", "130", "148", "157", "141", "142", "122", "124", "114", "131", "124", "125", "137", "131", "134", "131", "110", "105", "116", "130", "144", "120", "120", "135", "114", "105", "120", "152", "154", "146", "118", "143", "113", "120", "114", "142", "98", "141", "103", "136", "151", "156", "123", "127", "106", "115", "120", "141", "125", "139")
     
    End Sub
     
    Sub InitSon3()
    tabSon3 = Array("110", "104", "118", "113", "151", "118", "126", "130", "122", "128", "132", "126", "111", "88", "102", "120", "123", "126", "129", "127", "118", "145", "125", "110", "123", "144", "112", "131", "130", "102", "138", "136", "146", "129", "148", "123", "116", "123", "115", "115", "137", "133", "104", "116", "124", "109", "114", "127", "129", "116", "143", "128", "112", "100", "112", "139", "148", "136", "118", "123", "118", "105", "146", "159", "143", "145", "134", "129", "131", "119", "135", "154", "143", "146", "159", "130", "139", "125", "95", "123", "97", "140", "109", "135", "121", "131", "107", "141", "118", "122", "107", "109", "116", "128", "112", "114", "133", "82", "119", "94", _
        "117", "111", "137", "111", "168", "130", "113", "121", "114", "65", "139", "127", "150", "141", "126", "99", "111", "118", "147", "158", "155", "127", "122", "119", "156", "124", "148", "131", "183", "93", "137", "106", "128", "159", "149", "139", "135", "102", "134", "144", "138", "149", "111", "105", "105", "107", "111", "114", "108", "127", "135", "103", "124", "89", "120", "99", "148", "160", "130", "116", "86", "119", "110", "139", "130", "115", "138", "158", "107", "116", "129", "100", "150", "157", "118", "168", "134", "151", "130", "138", "107", "112", "195", "145", "130", "170", "102", "59", "200", "106", "169", "114", "140", "107", "147", "116", "122", "113", "116", "83", _
        "126", "101", "119", "143", "108", "114", "136", "145", "163", "131", "141", "88", "118", "130", "129", "126", "152", "124", "94", "145", "123", "129", "124", "136", "119", "121", "116", "156", "133", "111", "99", "147", "101", "142", "163", "126", "132", "144", "97", "176", "197", "122", "151", "106", "111", "119", "100", "122", "97", "125", "116", "123", "144", "117", "117", "131", "127", "121", "133", "148", "147", "167", "130", "109", "112", "51", "136", "117", "161", "150", "138", "143", "130", "97", "81", "148", "135", "177", "137", "142", "113", "135", "150", "120", "166", "93", "91", "70", "157", "140", "114", "153", "117", "121", "97", "129", "146", "139", "149", "149", _
        "116", "136", "109", "132", "109", "145", "140", "129", "146", "144", "151", "148", "140", "139", "141", "103", "85", "123", "119", "108", "150", "112", "129", "169", "71", "163", "109", "104", "137", "131", "121", "119", "118", "114", "119", "147", "155", "113", "142", "105", "88", "116", "150", "106", "144", "93", "92", "108", "125", "125", "125", "128", "160", "134", "125", "83", "96", "105", "183", "203", "142", "100", "65", "111", "176", "151", "109", "104", "127", "143", "155", "140", "116", "136", "129", "137", "145", "152", "187", "157", "169", "75", "94", "183", "126", "150", "93", "116", "121", "158", "148", "101", "80", "95", "103", "124", "134", "122", "156", "101", _
        "98", "201", "129", "121", "141", "134", "104", "157", "156", "115", "124", "82", "160", "78", "159", "118", "112", "126", "107", "75", "162", "122", "162", "129", "94", "50", "155", "125", "149", "183", "83", "119", "103", "119", "113", "177", "136", "111", "154", "145", "157", "140", "147", "73", "116", "135", "123", "94", "59", "177", "159", "144", "115", "111", "62", "166", "100", "195", "137", "118", "99", "130", "124", "176", "149", "117", "117", "90", "153", "131", "92", "172", "132", "168", "147", "108", "113", "71", "154", "166", "115", "155", "75", "180", "130", "141", "63", "108", "140", "121", "121", "139", "96", "151", "89", "115", "139", "140", "145", "117", _
        "155", "123", "119", "136", "153", "70", "137", "107", "137", "131", "126", "159", "68", "126", "132", "196", "96", "108", "106", "179", "166", "216", "132", "149", "135", "119", "165", "116", "119", "125", "112", "123", "86", "83", "139", "178", "158", "74", "92", "59", "133", "173", "200", "139", "104", "97", "130", "139", "198", "160", "119", "161", "137", "124", "161", "86", "190", "144", "122", "105", "127", "96", "137", "195", "136", "156", "160", "95", "118", "129", "172", "116", "89", "119", "118", "199", "188", "130", "140", "141", "130", "162", "57", "80", "95", "167", "83", "146", "129", "135", "111", "155", "85", "108", "162", "153", "146", "110", "94", "77", _
        "77", "81", "95", "118", "115", "99", "147", "151", "128", "126", "146", "83", "129", "151", "143", "137", "126", "113", "132", "80", "191", "166", "195", "111", "161", "129", "176", "146", "83", "138", "71", "147", "160", "150", "147", "117", "146", "127", "111", "103", "127", "91", "156", "92", "86", "60", "142", "177", "161", "91", "95", "159", "147", "129", "107", "67", "124", "139", "85", "154", "145", "168", "168", "121", "126", "208", "114", "187", "104", "136", "133", "137", "125", "126", "141", "192", "125", "65", "80", "123", "203", "191", "147", "120", "75", "77", "149", "163", "146", "178", "78", "106", "104", "112", "113", "90", "27", "122", "90", "156", _
        "128", "78", "96", "67", "154", "119", "124", "127", "117", "157", "130", "154", "176", "198", "140", "69", "195", "116", "152", "127", "115", "141", "126", "145", "163", "152", "141", "104", "119", "138", "110", "173", "122", "120", "108", "177", "150", "162", "68", "60", "123", "137", "164", "83", "138", "118", "88", "89", "55", "88", "94", "116", "182", "122", "138", "75", "105", "133", "186", "255", "209", "163", "114", "126", "229", "250", "134", "140", "66", "122", "255", "255", "87", "111", "112", "157", "105", "139", "68", "167", "157", "82", "32", "85", "126", "133", "165", "151", "109", "100", "54", "75", "93", "132", "180", "123", "83", "141", "110", "176", _
        "155", "123", "139", "119", "129", "70", "155", "164", "166", "85", "60", "72", "152", "192", "228", "128", "123", "82", "99", "117", "150", "63", "167", "43", "48", "112", "123", "151", "126", "165", "146", "165", "47", "105", "109", "216", "182", "141", "129", "206", "217", "230", "200", "147", "82", "53", "65", "10", "102", "45", "41", "98", "108", "132", "103", "89", "69", "82", "120", "133", "78", "68", "101", "126", "194", "186", "224", "112", "153", "221", "155", "174", "136", "161", "165", "218", "248", "237", "201", "210", "182", "218", "209", "97", "78", "89", "58", "46", "0", "51", "26", "39", "77", "39", "64", "32", "0", "40", "180", "130", _
        "140", "124", "136", "227", "205", "200", "159", "242", "255", "255", "255", "194", "199", "187", "184", "69", "35", "57", "49", "15", "0", "22", "28", "50", "27", "0", "51", "91", "91", "215", "201", "56", "119", "156", "116", "49", "13", "206", "249", "211", "115", "10", "68", "167", "136", "172", "255", "251", "255", "81", "104", "37", "85", "45", "0", "49", "0", "0", "0", "0", "0", "66", "0", "0", "44", "98", "209", "129", "217", "255", "255", "255", "255", "255", "255", "255", "207", "234", "169", "105", "118", "179", "242", "184", "83", "74", "40", "21", "80", "142", "209", "247", "255", "255", "255", "184", "136", "131", "118", "112")
     
    End Sub
    Cordialement
    Fichiers attachés Fichiers attachés

Discussions similaires

  1. Créer et lire un fichier xml
    Par Bruno1905 dans le forum C++Builder
    Réponses: 14
    Dernier message: 13/06/2007, 11h11
  2. Lire un fichier wav
    Par fabnet dans le forum Bibliothèques
    Réponses: 4
    Dernier message: 14/09/2005, 20h23
  3. Lire un fichier WAV
    Par benib8 dans le forum Langage
    Réponses: 1
    Dernier message: 31/08/2005, 12h11
  4. Réponses: 5
    Dernier message: 11/01/2004, 20h17

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo