Jump to content
IGNORED

makewav with direct audio output


SvOlli

Recommended Posts

Hi there!

 

Since I'm the owner of a Supercharger for a few weeks, I took the opportunity to add a feature that I'm missing to the makewav tool, used for creating the audio output: direct soundcard support.

 

You can now run:

makewav -l

to get a list of available sound devices, that looks like that on my linux machine:

device #0: HDA Intel PCH: ALC892 Analog (hw:0,0)
device #1: HDA Intel PCH: ALC892 Digital (hw:0,1)
device #2: HDA Intel PCH: ALC892 Analog (hw:0,2)
device #3: HDA Intel PCH: HDMI 0 (hw:0,3)
device #4: HDA Intel PCH: HDMI 1 (hw:0,7)
device #5: USB PnP Sound Device: USB Audio (hw:1,0)
device #6: sysdefault
device #7: front
device #8: surround40
device #9: surround41
device #10: surround50
device #11: surround51
device #12: surround71
device #13: iec958
device #14: spdif
device #15: hdmi
device #16: pulse
device #17: dmix
device #18: default

To upload data directly to the sound card, there's the "-a" option.

makewav -a cart.bin

which will output the audio to the default device.

makewav -a"USB PnP Sound Device: USB Audio (hw:1,0)" cart.bin

Will output the audio to my USB sound card which is attached to the Supercharger.

Since I'm lazy at typing, you can *append* a star at the end of the name for substring match, so in my case it's

makewav -aUSB* cart.bin

If there are more than one matching, the first match of the list will be used.

I'm also lazy at coding, so that's why the star only works at the end of the device name.

 

If switching to Supercharger mode via "-ts" also the default speed for audio creation will be changed from 1 to 0, because 1 didn't work with my Supercharger.

 

Have fun,

SvOlli

makewav-4.3.zip

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...