コミュニティQ&A

Audiokineticのコミュニティ主導のQ&Aフォーラムへようこそ。ここはWwiseとStrataのユーザのみなさまがお互いに協力し合う場です。弊社チームによる直接のサポートをご希望の場合はサポートチケットページをご利用ください。バグを報告するには、Audiokinetic LauncherのBug Reportオプションをご利用ください。(Q&AフォーラムではBug Reportを受け付けておりませんのでご注意ください。専用のBug Reportシステムをご利用いただくことで、バグの報告が適切な担当部門に届き、修正される可能性が高まります。)

最適な回答を迅速に得られるよう、ご質問を投稿される際は以下のヒントをご参考ください。

  • 具体的に示す:何を達成したいのか、またはどんな問題に直面しているのかを具体的に示してください。
  • 重要な詳細情報を含める:Wwiseとゲームエンジンのバージョンやご利用のOSなど詳細情報を記載してください。
  • 試したことを説明する:すでに試してみたトラブルシューティングの手順を教えてください。
  • 事実に焦点を当てる:問題の技術的な事実を記載してください。問題に焦点を当てることで、ほかのユーザのみなさまが解決策を迅速に見つけやすくなります。

0 支持

Hello, I'm trying to optimize my workflow by building a WAAPI nodejs app. Unfortunately Wwise throws an error when I try to call the import method with a path on a local hard drive.

 

Here is my code

function importSound(session){

  var path = "Y:\\Game\\Audio\\Wwise\\Game\\Originals\\intros\\"

  var newImport = {
    importOperation: "createNew",
    default: {
      importLanguage: "SFX"
    },
    imports: [
      {
        objectPath: "\\Actor-Mixer Hierarchy\\journey\\stages\\calibration",
        audioFile: path + 'intro1.wav',
        //"@Volume": 0.42
      },
      {
        objectPath: "\\Actor-Mixer Hierarchy\\journey\\stages\\calibration",
        audioFile: path + 'intro2.wav',
        //"@Volume": 0.1
      }
    ]
  }

  console.log(newImport)

  session.call('ak.wwise.core.object.import', [], newImport ).then(
    function(res) {
      console.log(res)
    },
    function (error) {
      console.log('error: ', error);
    }
  ).then(
    function() {
      connection.close();
    }
  );
}

The error that I get is the following

error:  Error {
  error: 'ak.wwise.invalid_procedure_uri',
  args: [],
  kwargs: {
    message: 'The procedure URI is unknown.',
    details: { procedureUri: 'ak.wwise.core.object.import' }
  }
}

 

I'm working on a mac (Silicon) using Wwise 2022.1.0 and the NodeJS library. I also tried writing the calls in Python but that didn't work either (I get the same error). I'm pretty sure that my files are located in the right folder. I checked multiple times based on the suggestion from the documentation.

Here is the location of my project -> (Y:\Game\Audio\Wwise\Game\Game.wproj).

This is the path to the file on my mac -> (Macintosh HD > Users > studio > Game > Audio > Wwise > Game > Originals > intros > intro1.wav)

And here is the path that I'm sending through WAAPI -> ("Y:\\Game\\Audio\\Wwise\\Game\\Originals\\intros\\intro1.wav")

I wonder what I'm missing here.

 

Thanks

 

Ando (190 ポイント) General Discussion
Samuel L. (Audiokinetic) 閉鎖

回答 1

0 支持
I believe the error in this case has to do with the URI you are using (ak.wwise.core.object.import).

The correct URI would be : ak.wwise.core.audio.import

An easy mistake to make!
Etienne R. (Audiokinetic) (1.1k ポイント)
...