Giter VIP home page Giter VIP logo

slam's Introduction

SLAM

Source Live Audio Mixer home page

Twitter

Reddit

SLAM is a new way to share sounds with your friends over the built in communication system of Source games. With SLAM's super-simple design, you will be pleasing the ears of your audience in no time!

Current features:

  • Simple in-game interface.
  • Select tracks either by their track number, or tags.
  • Import multiple media files at once with the click of a button (.mp3, .wav, .aac, .wma, .m4a, .mp4, .wmv, .avi, .m4v, and .mov file types).
  • Import tracks by YouTube URL.
  • Support for multiple games, such as: Counter-Strike: Global Offensive (CS:GO), Counter-Strike: Source (CS:S), and Team Fortress 2 (TF2)
  • Create binds to load specific songs.
  • Change track volume on the go.
  • Trim tracks on the go.

1 2 3

slam's People

Contributors

10se1ucgo avatar ammar-dayoub avatar areesedt avatar g0ddish avatar glennkintscher avatar ivoz avatar silentsys avatar substituter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

slam's Issues

Linux

Can I compile this for linux? Tried xbuild and opening .sln i monodev. No luck

Can't play any tracks

I can't hear any tracks and my errorlog said that my audio file is used by another process, what can i do?

-Errorlog.txt
--------------------28/01/2016 21:18:26--------------------
System.IO.IOException: Il processo non può accedere al file 'C:\Users\Acaba\Desktop\Slam\csgo\Funny reactions.wav' perché è in uso da un altro processo.
in System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
in System.IO.File.InternalDelete(String path, Boolean checkHost)
in System.IO.File.Delete(String path)
in SLAM.Form1.ContextDelete_Click(Object sender, EventArgs e)
--------------------28/01/2016 21:18:32--------------------
System.IO.IOException: Il processo non può accedere al file 'C:\Users\Acaba\Desktop\Slam\csgo\Funny reactions.wav' perché è in uso da un altro processo.
in System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
in System.IO.File.InternalDelete(String path, Boolean checkHost)
in System.IO.File.Delete(String path)
in SLAM.Form1.ContextDelete_Click(Object sender, EventArgs e)

Rename songs?

I know you can rename songs by going to the folder where they're stored, but if you do that it will reset any trimming that you had done.

Garry's Mod

when using with garry's mod, status gets stuck on "working" (used exec slam, still doesn't work.)
doesn't play any music when i press the bind either

Talking with voice chat stops any playing music

As in title. When I hold down "v" to chat to my team while playing music, the music stops and must be restarted.

Is there any way to do a "live mix" of both my voice and the music that's currently being played?

Binding problem

Every time I change a track by typing the song number in the console, it binds my play key to that number. e.g. if / = "slam_play" and I type "2" to change the song, it will make / = "2".

I'm using version 1.3.1. I did not have this problem with version 1.2.2.

From my console:
] bind /
"/" = "1"
] exec slam
Cannot alias an existing concommand
Alias name is too long
] bind /
"/" = "slam_play"
] 1
Host_WriteConfiguration: Wrote cfg/slam_relay.cfg
Loaded : Blue Oyster Cult - Burnin ' for You
] bind /
"/" = "1"
] 2
Host_WriteConfiguration: Wrote cfg/slam_relay.cfg
Loaded : Calvin Harris - Blame ( feat. John Newman )
] bind /
"/" = "2"
] exec slam
Cannot alias an existing concommand
Alias name is too long
] bind /
"/" = "slam_play"

Overrites radio commands

If you have a file with the word "go" for example, the radio command "GO" will no longer function. I imagine this is the same with other commands as well, such as "roger"

Allow AAC files

Usually with .aac / .mp4 / .m4a extension

Most itunes music is in this format, a lot of youtube is as well

Others youtube uses are Vorbis & Opus, incase you care

ingame console interface

after a semi-succesful installation of slam im unable to see everything what should be displayed inside the console although slam itself works fine when it comes to playing the audio files. i can type in the numbers of the files or tags in the console and change the file with it but it just doesnt gets displayed
any idea what could cause this?

A suggestion for organization

Not really sure where to put it but figured this would be a good enough spot. Have you ever thought of letting people group the songs by folder? So like a Rock folder, Pop folder, Electronic folder, Comedy folder, Rap folder, etc... Doesn't have to be a folder, could be a group. So like, instead of typing in part of the song name to select it, just type "group rock" and all the ones tagged as rock would show up to be able to play.

Slam wont play sounds anymore

Problem started when I was using slam earlier today, whenever I try selecting another audio file in console, it played the same sound I had previously. (Even though it said the new sound was selected)

Now it has gotten even worse, now when I try to play sounds, not a single sound plays. Whenever I hit the keybind to play the sounds, my microphone just echoes the people talking in the game. I have no clue how to fix this, any ideas?

Error log
--------------------7/31/2016 1:15:43 AM--------------------
System.IO.IOException: The process cannot access the file 'D:\Steam\steamapps\common\Counter-Strike Global Offensive\voice_input.wav' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at NAudio.Wave.WaveFileWriter..ctor(String filename, WaveFormat format)
at NAudio.Wave.WaveFileWriter.CreateWaveFile(String filename, IWaveProvider sourceProvider)
at SLAM.Form1.LoadTrack(SourceGame Game, Int32 index, String SteamappsPath)

--------------------7/31/2016 2:02:01 AM--------------------
System.NullReferenceException: Object reference not set to an instance of an object.
at SLAM.Form1.GetFilepath(String ProcessName)
at SLAM.Form1.PollRelayWorker_DoWork(Object sender, DoWorkEventArgs e)

Minor interface annoyances

Hey there's a lot of alingment issues like with the Settings button and the game box, or with the Import button and the track list. Pretty minor issues, but they are bugging me for a while now. Great program anyways

Alias name is too long

Upon the command "exec slam" it is now returning "Alias name is too long" this has happened on both garrys mod and cs:go. It worked the first time I used it but since then has not worked, always returning this error. I have verified my steam files, uninstalled and reinstalled, deleted all my tracks and re-added them, ran in admin mode... I've tried everything I can think of. Do you need any other information?

Getting static feedback after playing clips

Since the release of version 1.3.1, I am no longer able to play any imported audio clips (mp3s tested) using my bind key (F5 in this case)... just get a persistent hissing noise and I can hear out of game audio (keyclicks, etc.). I'm unsure of what changed that appears to have broken this.

I'm running Windows 10 Pro 64-bit (latest build) and .NET 4.6.

Upon launching CSGO the first time after firing up this version, I received the following message in a window: "Only part of a ReadProcessMemory or WriteProcessMemory request was completed.", followed by the rest of this info. logged in the errorlog.txt file contained within the running program directory:

System.ComponentModel.Win32Exception (0x80004005): Only part of a ReadProcessMemory or WriteProcessMemory request was completed
at System.Diagnostics.NtProcessManager.GetModuleInfos(Int32 processId, Boolean firstModuleOnly)
at System.Diagnostics.NtProcessManager.GetFirstModuleInfo(Int32 processId)
at System.Diagnostics.Process.get_MainModule()
at SLAM.Form1.PollRelayWorker_DoWork(Object sender, DoWorkEventArgs e)

...However, launching the application and game a second time after a complete exit did not produce this result, but I am unable to play any audio files after selecting them in the developer console. I did run the "exec slam" command, and the "la" option brings up my playlist selection, but after loading any of these tracks, the output is just static. Please advise on a fix!

Thanks for all your work on this project.

linux?

any type of linux support coming?
or it will continue to be bound on windows APIs on converting files?
its sad to have to use pulseaudio features to redirect audio :ccc

error

Upon starting SLAM after updating to v1.3.4 and pressing "Start" I get an error that reads:
"Access is denied. (Exception from HRESULT 0x80070005 (E_ACCESSDENIED)) See errorlog.txt for more info."
If I try to do exec slam in console, it simply says it couldn't execute it as if it's not running or the file isn't there although SLAM still gives me the tip and appears to be running. That's not really important, but I still thought it would be worth mentioning.
ERROR LOG
--------------------3/26/2016 7:13:44 PM-------------------- System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode) at System.Management.ManagementScope.InitializeGuts(Object o) at System.Management.ManagementScope.Initialize() at System.Management.ManagementObjectSearcher.Initialize() at System.Management.ManagementObjectSearcher.Get() at SLAM.Form1.GetFilepath(String ProcessName) at SLAM.Form1.PollRelayWorker_DoWork(Object sender, DoWorkEventArgs e)

MAC!

I'm on a mac and I would love if you could make a version for mac :), if it won't work you can always tell the user to download soundflower and use that to automatically switch to soundflower when using the application and switch back when not using it.....thanks so much for I would love to use this app :)

Linux?

Dont ignore this and make Linux version retards

The "la" command for long lists

I have over 100 audio files in SLAM, and the la command stopped working when i added (aproximately) over a hundred of them. Is this a console issue (to many rows?) or a SLAM issue?

Also for us with so many songs, some grouping or folders as someone already suggested would be nice. Maybe even a search. I would do it myself if the source code was in C# :D

(CS:GO) Can't play certain audio clips.

so, I installed a TON of new clips to have fun with on random servers. now, it's been a day since I got them. now, almost all of them stopped working.

if you need to know, I have 22 mp3s and 1 wav

Error

object reference not set to an instance of an object see errorlog.txt for more please help me

Possibly broken after 12/17/2015 CS:GO update

Hey,

the pre-compiled binary from your website fails to load tracks via ingame console commands and hotkeys (CS:GO) since today. If I manually load the tracks in the main form I can play the tracks via hotkey ingame.

I cloned and recompiled/debugged this project and I have the exact same issue when compiling on release. If I however compile in debug the function PollRelayWorker_DoWork gets a "2" in the command variable and loads a track on startup. After that I have no issues at all. I can loads tracks via hotkey etc. This sounds a little weird, but I am not that deep into VB to tell you where this is coming from. Just wanted to let you know.

Do i have to have a headset in cs:go?

When i type exec slam then i do la to see what i can play then i type the number to play it then i got out of console and i press the assigned key i have to play whatever music i want to play and it doesn't play it. So do i need a headset to play the music?

Unlisted Song Error

If I type a number higher (not sure if lower) the program will quit due to the error. There must not be any catching system in place, otherwise it wasn't working. (Using v1.1.1)

Doesen't work when I'm dead

I play music on CS:GO when I am alive and its working good, but when I'm dead, I keep pressing the button, but nothing happeneds.
Why is that happends and how can you update SLAM to work better ?

goldeneye source and slam?

Is there a way to get goldeneye:source 5 to work with slam? Its just a mod of hl2 so I don't see why it wont support it. How would I go about getting it work? Thanks.

CS:GO [F(1) KEYS DOESNT WORK]

SLAM works great, but (sorry)

If i play casual or any other gamemode the:

  • F1,f2,f3 Keys etc. doesn´t work.

Its a bit anoying if you heave to Vote... Kick,Vote Map,Timeout:

  • You can´t. (igonres Input)

Is there any Fix for this ?

Ty btw.

System.IO.IOException: The process cannot access the file

error log :
--------------------1/17/16 11:12:08 AM--------------------
System.IO.IOException: The process cannot access the file 'C:\Program Files (x86)\Steam\userdata\304178378\730\local\cfg\slam_relay.cfg' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
at System.IO.StreamReader..ctor(String path)

at SLAM.Form1.PollRelayWorker_DoWork(Object sender, DoWorkEventArgs e)

happens after i play 1-2 songs

[Suggestion] Make it so we can queue tracks

You could do something like this:
q index/tag -Puts a song in the queue
q clear -Clears the queue

Every time play button 'X' is pressed next track from the queue is played.

Fade in and fade out

I took the care of using Audacity to add fade in and fade out effects with to some of my WAVs before importing them in SLAM. When I keep the volume at the default 100% it seems like SLAM "maximizes" the volume dynamically so the fade in/out cannot be heard as I intended. If I set the volume at 60% it sounds pretty much like the original WAV. What is going on here? Is there an optimal volume setting in which the WAV is play as-is?

Thanks

Error

when i import the music it says Conversion complete!However,the following files failed to convert:Dawin - Dessert how to fix it?

unable to play music while dead

I noticed that I can't play music while dead on demand.

I have to keep streaming the music while alive -> dead -> keep streaming but unable to change songs.

.NET Framework exception on launch

Hi there !

Just wanted to let you know about an exception that prevent me to use the soft.

On launch, that exceptions occurs.
capture

If I click on continue, the soft become this :
capture

I'm running .NET Framework 4 on a Windows 7 x64 computer.
Cheers.

[feature request] add to Portal 2

I know it's just a cooperative game, but who doesn't want to play intense music in races of Gelocity and Portal Kart and some epic music when they are modding Portal 2 to play Singleplayer maps in co-op.

"too many commands" & "Ignoring command 'echo'"

I downloaded version 1.3.4 and loaded my songs, and when I went into a CS:GO deathmatch and typed 'exec slam' then 'la' it came up with 15-37 of my playlist even though I had all my songs loaded (1-37) in SLAM.exe. Also, when the songs loaded up in the console, it wasn't normal. It said "ignoring command 'echo'" and then the song number and song name. And at the very bottom after song 37, it said "too many commands"
Now, the 22 songs I was able to play still worked and I could select the song and play it, but I want my other songs that I loaded into SLAM aswell. Please help.
~ thorN

Host downloads on Github Releases

It's possible to tag a commit as a version number

And then use this link to make a release (or find it from the release tab on the project). You can drag and drop binaries / zips / msi's etc as downloadable files that will be part of the release.

The advantage is then you're hosting a file download from github which is a well known site, and it's easy to find the releases of the project on the releases page.

If you don't care for this method, then feel free to close this issue and move on :) Thanks for the software!

Slam dont play my Songs

So, when im Starting Slam and try to play my songs i only hear my Headset Sound. But when i load manually the songs in the Slam Programm, i can play them. But it takes too much Time to tab everytime out to load a song. And when i try to set me Userdata, it came everytime an error the folder is not exiest, but i've picked the everytime steamapps :I. I have a C; hard Drive and a D; Hardrive , and i have try to set D; Steamapps, but i dont work either. What should i do?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.