Questions tagged [music]

In programming, music refers to sound that follows properties distinct from speech or noise, or the symbolic representation, manipulation, and representation (display or audio) of musical objects, or for the metadata of these objects. Related tags, such as [audio] or [media] refer more generally to ...

0
votes
0answers
13 views

mciSendString overlay multiple sounds

I'm trying to make a sort of piano in cpp, but mciSendString waits until the end of sound file so I can't overlap the same sound. Code: if (asciiFinal != 0) { switch (asciiFinal) { ...
-1
votes
0answers
24 views

A Batch file to play all populated music in Groove Music

Please help me to play all populated music in Groove Music by a batch file with a click. The following code only opens Groove Music start mswindowsmusic: and the following code plays only the ...
1
vote
1answer
11 views

How can Android know if it is media application?

I want to know if app is media application like Google Play Music or Youtube Music. Is there any solution that I can confirm if it is music application?
0
votes
1answer
30 views

Is there a way to analyze the amplitude from a spotify song using p5.js in browser?

I am attempting to make a Spotify visualizer as a personal project, but can't seem to find a way to analyze the sound before it is played through the browser. I have the Spotify player playing music ...
1
vote
1answer
23 views

Can you use R to create music (note-by-note), such as via MIDI or another format?

I'm trying to use R to make music. I've found: package musicmakeR, which is broken. package audio, which is more for manipulating/playing existing audio files. package tuneR. I THINK tuneR can do ...
0
votes
1answer
26 views

Xamarin : Stop and restart music for android

I made a simple Xamarin app and I just want one simple action : when the user press a button, music (from the default android app music) stop for like a second, and restart. All my searches falls on ...
-1
votes
1answer
49 views

Can Anybody Help me to write my little Wave Function Generator

I trying to write a little Programm to generate Wave Files over a simple Function. I would write the Programm so that it would call a class that generate the Function. So I would call a Funktion-...
-1
votes
0answers
27 views

How to joint estimate range and angle of objects by using MUSIC algorithm in FMCW?

I have time domain raw data (4*256), which are 4RX and 256 sampling points respectively. I'm going to estimate range and DOA of objects at the same time. I tried to estimate DOA and range at the same ...
1
vote
0answers
32 views

Spotify track is not playing after I stopped `MPMusicPlayerController.systemMusicPlayer` track

In my application, I am using MPMusicPlayerController.systemMusicPlayer for the playing song of Apple music, it's working fine. But when I play back Spotify track using playSpotifyURI it's not working....
1
vote
0answers
52 views

Music link / url searching globally

I am trying to create a similar service/web site that does what https://song.link and other sites do. Basically find a song or track from youtube or wherever and find ALL (many) urls for this song ...
-1
votes
0answers
17 views

Music Collaboration coding and Web compiler for Sonic Pi

I would like to host a website on my raspberry pi that allows users to compile and run sonic-pi language in the browser and listen to the music being created. The goal being, to allow users to have ...
0
votes
0answers
14 views

Is deleting music app or providers packages from aosp build safe?

I am developing a custom aosp ROM for myself. I want to reduce it size so I wish to know If deleting Music (com.android.music) safe or not? Here is a list of safe-to-delete apps but com.android.music ...
0
votes
0answers
35 views

how to edit/insert ALBUM_ID in MediaStore.Audio.Media or an audio file?

I have a function which sets a bitmap (Music Cover) linked to the music file (mp3,m4a,wav etc) based on its "Album_ID" public static void setAlbumCover(Context context, Bitmap bitmap, int album) { ...
0
votes
1answer
23 views

Android accelerometer plays a beep when x-axis changes

I am new to Android studio i am just using online sources to learn Android. I want to make an app that plays a beeps sound when x-axis of the accelerometer changes. Here is my code: package com....
0
votes
1answer
13 views

MediaPlayer Background Service

Good morning, I have an app game with multiple activities and I want to be able to play a background music only in four of them (they follow each other) -the same music that play without interruption ...
1
vote
0answers
27 views

Color noteheads depending on their duration (lilypond)

Unfortunately, I'm not that well versed in the Lilypond/scheme syntax. What I want to do is basically this (in pseudo-code): if (noteDuration is quarter) => make noteHead blue if (noteDuration ...
0
votes
1answer
49 views

CS50 Pset3 music final calculation

trying to understand why my final calculation for the Frequency part of this Pset is not properly calculating... going through the debugger and it shows that the "steps" is counting correctly but the ...
0
votes
0answers
24 views

API to Youtube Music?

I'd like to develop a few project ideas for Youtube music. I'm not talking about "Music Videos on Youtube", but about the recently launched "Youtube Music" service; the successor for "Google Play ...
0
votes
0answers
28 views

Watch custom uploads folder for files

I'm converting a demo music player to use with wordpress. I've set up a custom post type which allows for separate media uploading, i.e. a specific folder which is unique, and does not add all the ...
-1
votes
0answers
14 views

Is it possible to remove vocals from a song completely with FL Studio, or Melodyne or SpectraLayers Pro?!!! HOW?

Which of the following software can help me to remove vocal from a song COMPLETELY? How? SpectraLayers Pro Melodyne FL Studio (which version and product?) Or if you know other applications or any ...
0
votes
1answer
31 views

PHP: getting and adding number values outside of a loop

I have a project here that I am working on which has a repeater cycling through an album's track listings (names & lengths). It takes a look at minutes and seconds (written in the format of 00:03:...
0
votes
0answers
13 views

Playing sounds for a specific amount of time

I am trying to automate sounds in python, using the winsound module. I am at a point where I can input any number of notes and a specific tempo, and computer will beep it out. I am using winsound....
1
vote
1answer
28 views

Multiple midi programs playing simultaneously?

I am using the mido library to control amsynth with python. So far this is working beautifully...but I can only play one "preset" at a time however. I'm trying to use "program_change" to switch ...
0
votes
0answers
25 views

Android Visualizer Class

My question is around the visualizer class in Android, and what it actually does, after some messing around I managed to get a visualizer working with the media player class by initialising using new ...
2
votes
3answers
71 views

How to have an object in Unity 3D that stays in scenes and does not recreate

Hi I’m trying to find a good way to play background music in Unity 3D. I want the music to keep playing consistently through scene loads. Don’t Destroy on load is fine and works, but every time I load ...
0
votes
0answers
22 views

Can Pygame music work on other computers? (How to get sound that works on other computers)

I am making a game using Pygame I use pygame.mixer.music.load(my_music.wav) I convert all my python files to exe and give them to people to try out. But the music wont play? Does anyone know how to ...
1
vote
0answers
18 views

Audio isn't lowering

var audio; function sound2(src) { this.sound2 = document.createElement("audio"); this.sound2.src = src; this.sound2.setAttribute("preload", "auto"); ...
0
votes
1answer
28 views

Playing new music once a certain score is reached

https://github.com/Mzema4818/Dragon-Escape/blob/master/index.html There is the index of my code, where i have this- myMusic = new sound2("boss.mp3"); If I create another variable called myMusic2 ...
-3
votes
2answers
19 views

How can I make everything on my page act as a button

I want to make it so that anything on my page will play music when clicked. I am a beginning coder and don't know javascript or jquery, mostly just HTML.
0
votes
1answer
34 views

Linux/PHP/JS: How to play mp3 music on the server with a browser script?

I would like to have the following setup: A Raspberry-Pi (Pi) with a "public" music directory (-web site), which is linked to my stereo amplifier from about 1986. OS is Raspbian. Now I have my ...
0
votes
0answers
15 views

Background Music using Javascript?

Normally I use this code to play background music. <embed loop="true" src="gamemusic.mp3" hidden="true" type="video/quicktime"></embed> But I need to stop it in some cases and play ...
1
vote
0answers
16 views

Get a Map With All the song on the Device and their Paths in Flutter

Ok, this question is pretty straightforward, how can I get all the Songs on a device (or If on the entire device is not possible at least in one folder, for example, the music one) in a map containing ...
-1
votes
2answers
59 views

Lambda Function that writes a S3 file's (.mp3) Metadata to Dynamo DB

Are you familiar with a lambda function that reads filename and metadata from .mp3 files uploaded to S3 bucket and stores that data into a dynamo DB table in real time?
1
vote
0answers
26 views

Passing chords to and returning music with Lilypond music substitution functions

I am trying to write functions in Lilypond which take a chord (or list of pitches) as an argument and return music with said chord inserted into a rhythm. More specifically, I would like the function ...
0
votes
1answer
35 views

Most accurate Timer in Scala for MIDI sequencer

I am working on a music application, in Scala, to generate MIDI sequences in real time. The MIDI messages are being sent to another application (Ableton DAW) and possibly even external hardware. ...
2
votes
0answers
34 views

Export music file from Apple music library to document directory

I'm exporting a music file from the Apple music library to my document with this code: func exportMusic(_ filename: String,_ dir: String,_ assetURL: URL, completionHandler: @escaping (_ fileURL: URL?,...
0
votes
1answer
88 views

Continually listen for music playing in Oreo

I have a service that uses AudioManager to continually listen for music playing in a separate music app with isMusicActive. That means the service needs to always be running in the background. ...
0
votes
0answers
13 views

VexFlow Javascript - Is there anyway to fix multi voice with rest(r/4) not overlap with note(c/5)?

How to bring rest not higher or lower (don't change key "r/4") Link demo: JSFindle Here is code demo: // Create the notes new VF.StaveNote({ keys: ["c/4", "e/4", "g/4"], duration: "q" }) Please ...
0
votes
0answers
21 views

Soundcloud auto-pause

I was wondering, if there's a way to disable this rather annoying feature/option? So, what happens is that, when I'm on my Desktop, I try to play a song, but I already have stuff playing on my HTPC (...
0
votes
0answers
22 views

Lower the volume in background music

I was asked by a client to add some background music to his website but he wants the volume to be very low. With this in mind I uploaded the music file to the assets folder and added this to the ...
0
votes
1answer
41 views

LibGDX - Using “dispose()” on a Music object inside its “OnCompletionListener()”?

It seemed like a good idea to have a Music object dispose() of itself when its song ended. Just call individual_Music.dispose() in the Music object's OnCompletionListener(), right? Well, that has ...
0
votes
0answers
8 views

How can i grab the info of a currently playing song from the control center (not just apple music but spotify, etc.)

I was wondering how i could receive the information of a currently playing song regardless of its source. Is there a way to receive the info from spotify or google music rather than only apple music?
0
votes
0answers
8 views

Filter a music player notification from others

I want to filter a music player notification, it could be any player (Play Music, Spotify, Solo, Gaana, Amazon Music, etc...) I don't have a specific list. Can this be done?
0
votes
1answer
13 views

How to open external music players (such as Pulsar, Retro Music Players) and play a song which i have selected from my listview?

I have list of songs from internal storage in listview, now onItemClickListener i added following code : Intent intent = new Intent(Intent.ACTION_VIEW); intent.setDataAndType(FileProvider....
0
votes
0answers
10 views

Using fake audio drivers to control RPi led light/music show

This project http://lightshowpi.org/usb-audio-in-support/ allows you to control lights using music (through a USB audio driver) on a Raspberry pi. I'm asking if there is a way to create a fake audio ...
0
votes
1answer
25 views

Android Java - Music button shows progress while playing

I have a simple app that when I click a button, it plays a song. When I click it again, it stops. I'd like to now have a progress bar of the music from start to end, but to save space, I'd like the ...
0
votes
0answers
11 views

Website to create a collaborative playlist from many devices and stream it to many devices?

A friend showed me this website but I can't find it anymore.... It does already exist, it might be only in spanish though, i can't remember. So this is the concept: The situation is that in a party ...
0
votes
0answers
50 views

MPMusicPlayerController applicationQueuePlayer keeps playing on app exit. Stops sending notifications

I have a applicationQueuePlayer that plays music. I have Audio enabled in my background modes. I successfully play music and get PlaybackStateChanged and NowPlayingItemDidChange notifications while ...
0
votes
0answers
9 views

how can I use tone.js for my android project

I created an ear training. In that app, I am using mp3 files to play music notes. I don't want put mp3 files in it. Instead, I want to create musical notes. tone.js have this functionality but I can't ...
0
votes
1answer
17 views

How to play Famitracker (.ftm) files in Java without .wav conversion?

I wish to create music files in famitracker and play them in a Java-based program. Is this possible? Please note: I do not want to convert the .ftm files to .wav. I wish to create a simple .ftm file ...