Questions tagged [tuner]

Collection of tools to analyze music, extract features like MFCCs, handling wave files, read mp3, transcription, ... Also contains functions ported from the rastamat Matlab package.

33 questions
5
votes
1 answer

How to detect string tone from FFT

I've got spectrum from a Fourier transformation. It looks like this: Police was just passing nearby Color represents intensity. X axis is time. Y axis is frequency - where 0 is at top. While whistling or a police siren leave only one trace, many…
Tomáš Zato
  • 50,171
  • 52
  • 268
  • 778
4
votes
0 answers

R crashes when using for-loop with tuneR package to get length of audiofiles

First question here, hope I did asking part right. I'm trying to write a short piece of R code that will create a vector with lenghts of all of audiofiles in my 'Music' folder. I'm using RStudio 0.98.501 with R 3.0.3 on i686-pc-linux-gnu (32-bit). I…
3
votes
0 answers

Is it possible to write mp3 files from `tuneR::Wave` object in R?

mp3 to WAV is easy by monitoR::readMP3 and tuneR::writeWave. What about Wave object to mp3? I have done some audio splitting with R tuneR::Wave objects, and want to output them as mp3 files. I don't need the resolution as in WAV file which takes up…
Matthew Hui
  • 634
  • 5
  • 18
3
votes
1 answer

MySQL Optimization in 16GB RAM Server

I have a CentOS 6.5 VM with 16 GB RAM. I feel the MySQL quite slow response and I've ran the MySQLTuner script, and from the given recommendations how I can make change to my my.cny config file to improve the performance? Here are the results 2…
Rex See
  • 33
  • 1
  • 1
  • 3
2
votes
0 answers

Keras tuner: InvalidArgumentError: PyLong_AsSize_t failure

I am currently searching for the optimal hyperparameters for my model using Keras tuner RandomSearch. My tuning code is as follows: # fix random seed for reproducibility numpy.random.seed(7) # normalize the dataset scaler =…
MaikLinh
  • 21
  • 2
2
votes
1 answer

Creating a guitar tuner using Flutter and 'flutter_fft' plugin, struggling to include BottomNavigationBar with the Tuner's Stateful Widget

As the title mentions, I'm currently creating a guitar application that is to include some information on basic notes and chords, a chord generator, and of course a guitar tuner. I've decided to start with what I believe is the hardest part and…
Luke Browne
  • 131
  • 1
  • 7
2
votes
1 answer

Error using ImageDataGenerator with Keras Tuner search

I am using from tensorflow.keras.preprocessing.image import ImageDataGenerator Here is the code : (x_train, y_train), (x_test, y_test) = cifar10.load_data() x_train, x_test = x_train.astype('float32') / 255, x_test.astype('float32') / 255 y_train,…
2
votes
1 answer

startRecording() called on an uninitialized AudioRecord on Samsung S7 Phones

I have a tuner app and using Audio Record object for listening mic. I want to understand it works fine for most devices and android versions (even Android 6) but I got error report from customers on Samsung S7 Phones. I looked at similar posts here…
ugur
  • 3,604
  • 3
  • 26
  • 57
2
votes
1 answer

Invalid 'n' argument error in readBin() when trying to load a large (4GB+ audio file)

I'm trying to load a sample from a 4GB+ mono WAV file (total file duration 24h, I'm loading a 15min slice). library(tuneR) so <- readWave( "file.wav", from = 1, to = 15, units = "minutes" ) This is the traceback Error in readBin(con,…
Yasen Slavov
  • 787
  • 4
  • 16
2
votes
1 answer

Access to stream from TV usb Tuner with OpenCV

Is there any way to open video stream from tv tuner connected by usb? It is simple DVB-T tuner. I tried with VideoCapture but it didn't work (it works for me only with webcam). Ofc i know there many applications to open stream from tv tuner like VLC…
Dominik
  • 21
  • 2
1
vote
0 answers

Keras Tuner and Specifying Advanced Activation Layers

I have the following Keras (Python) code for using the Keras Tuner for a single hidden layer neural network. def build_model(hp): # Initialize sequential model = keras.Sequential() # Tune the number of units in the first Dense layer …
pdhami
  • 187
  • 1
  • 9
1
vote
1 answer

How to choose a trial from a RandomSearch in keras tuner?

I am using keras tuner in a Deep Learning project to fit hyperparameters. Because there are many combinations of hyperparameters, even with a GPU it takes more than 24 hours to run. To have reproductible results, we fixed the random state (seed of…
1
vote
1 answer

mysql high performance issue

I am starter with years of experience in building small websites. However, recently one of my website is getting large traffic and mysql has become bottleneck for growth. I have spent hours trying to figure out, how it might work. Can you suggest me…
yogicoder
  • 11
  • 1
1
vote
1 answer

kerastuner INFO:tensorflow:Oracle triggered exit

When using keras tuner to optimize my UNET AI-model, I get the following message in the terminal: {'conv_blocks1': 2, 'filters1_0': 240, 'conv_blocks2': 3, 'filters2_0': 136, 'bottle': 4, 'filtersbot_0': 184, 'filtersbot_1': 32, 'filters2_1': 200,…
1
vote
1 answer

How to convert a spectrogram matrix into wav file

Is there a way to convert a matrix representing a grayscale spectrogram (values non-complex and between 0 and 1) like the one shown in the image below back into a sound file, e.g. wav file? This post explains how to do it with a seewave spectrogram…
D.Wies
  • 53
  • 5
1
2 3